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

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