Sha256: 6ca677ad79d59cd09b8e3a4f7962df4b668099c788572d8b688afae43dbd4c08

Contents?: true

Size: 814 Bytes

Versions: 26

Compression:

Stored size: 814 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 "stanky.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

26 entries across 14 versions & 1 rubygems

Version Path
ceedling-0.19.0 vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testsample.c
ceedling-0.19.0 vendor/c_exception/vendor/unity/test/testdata/testsample.c
ceedling-0.18.0 vendor/unity/test/testdata/testsample.c
ceedling-0.17.0 vendor/unity/test/testdata/testsample.c
ceedling-0.16.0 vendor/unity/test/testdata/testsample.c
ceedling-0.15.6 vendor/unity/test/testdata/testsample.c
ceedling-0.15.5 vendor/unity/test/testdata/testsample.c
ceedling-0.15.4 vendor/unity/test/testdata/testsample.c
ceedling-0.15.3 vendor/unity/test/testdata/testsample.c
ceedling-0.15.2 vendor/unity/test/testdata/testsample.c
ceedling-0.15.1 vendor/c_exception/vendor/unity/test/testdata/testsample.c
ceedling-0.15.1 vendor/cmock/vendor/unity/test/testdata/testsample.c
ceedling-0.15.1 vendor/unity/test/testdata/testsample.c
ceedling-0.15.0 vendor/unity/test/testdata/testsample.c
ceedling-0.15.0 vendor/cmock/vendor/unity/test/testdata/testsample.c
ceedling-0.15.0 vendor/c_exception/vendor/unity/test/testdata/testsample.c
ceedling-0.13.0 vendor/c_exception/vendor/unity/test/testdata/testsample.c
ceedling-0.13.0 vendor/unity/test/testdata/testsample.c
ceedling-0.0.2 new_project_template/vendor/ceedling/vendor/unity/test/testdata/testsample.c
ceedling-0.0.2 new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/testsample.c