xref: /third_party/unity/examples/example_1/test/TestProductionCode2.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/unity/examples/example_1/test/
135375f98Sopenharmony_ci
235375f98Sopenharmony_ci#include "ProductionCode2.h"
335375f98Sopenharmony_ci#include "unity.h"
435375f98Sopenharmony_ci
535375f98Sopenharmony_ci/* These should be ignored because they are commented out in various ways:
635375f98Sopenharmony_ci#include "whatever.h"
735375f98Sopenharmony_ci#include "somethingelse.h"
835375f98Sopenharmony_ci*/
935375f98Sopenharmony_ci
1035375f98Sopenharmony_civoid setUp(void)
1135375f98Sopenharmony_ci{
1235375f98Sopenharmony_ci}
1335375f98Sopenharmony_ci
1435375f98Sopenharmony_civoid tearDown(void)
1535375f98Sopenharmony_ci{
1635375f98Sopenharmony_ci}
1735375f98Sopenharmony_ci
1835375f98Sopenharmony_civoid test_IgnoredTest(void)
1935375f98Sopenharmony_ci{
2035375f98Sopenharmony_ci    TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose");
2135375f98Sopenharmony_ci}
2235375f98Sopenharmony_ci
2335375f98Sopenharmony_civoid test_AnotherIgnoredTest(void)
2435375f98Sopenharmony_ci{
2535375f98Sopenharmony_ci    TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet");
2635375f98Sopenharmony_ci}
2735375f98Sopenharmony_ci
2835375f98Sopenharmony_civoid test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void)
2935375f98Sopenharmony_ci{
3035375f98Sopenharmony_ci    TEST_IGNORE(); /* Like This */
3135375f98Sopenharmony_ci}
32

Indexes created Thu Nov 07 10:32:03 CST 2024