Sha256: 448642ea9c4c5ee7c97e89402c1dd5fe243ff374e51da2a9fad85df74b8150fa
Contents?: true
Size: 767 Bytes
Versions: 10
Compression:
Stored size: 767 Bytes
Contents
// This is just a sample test file to be used to test the generator script #ifndef TEST_SAMPLE_H #define TEST_SAMPLE_H #include <setjmp.h> #include "unity.h" #include "funky.h" #include "Mockstanky.h" void setUp(void) { CustomSetupStuff(); } void tearDown(void) { CustomTeardownStuff } //Yup, nice comment void test_TheFirstThingToTest(void) { TEST_ASSERT(1); TEST_ASSERT_TRUE(1); } /* void test_ShouldBeIgnored(void) { DoesStuff(); } */ //void test_ShouldAlsoNotBeTested(void) //{ // Call_An_Expect(); // // CallAFunction(); // test_CallAFunctionThatLooksLikeATest(); //} void test_TheSecondThingToTest(void) { Call_An_Expect(); CallAFunction(); test_CallAFunctionThatLooksLikeATest(); } #endif //TEST_SAMPLE_H
Version data entries
10 entries across 3 versions & 1 rubygems