Commit 28324935 authored by Markus Kauppila's avatar Markus Kauppila

Renamed tests in dummy suite.

parent 499e8b0f
...@@ -35,16 +35,16 @@ ...@@ -35,16 +35,16 @@
/* Test case references */ /* Test case references */
static const TestCaseReference test1 = static const TestCaseReference test1 =
(TestCaseReference){ "dummycase1", "description", TEST_ENABLED, 0, 4}; (TestCaseReference){ "test_dummy1", "description", TEST_ENABLED, 0, 4};
static const TestCaseReference test2 = static const TestCaseReference test2 =
(TestCaseReference){ "dummycase2", "description", TEST_ENABLED, 0, 0}; (TestCaseReference){ "test_dummy2", "description", TEST_ENABLED, 0, 0};
static const TestCaseReference test3 = static const TestCaseReference test3 =
(TestCaseReference){ "testfuzzy_case3", "description", TEST_ENABLED, 0, 2}; (TestCaseReference){ "test_fuzzy", "description", TEST_ENABLED, 0, 2};
static const TestCaseReference test4 = static const TestCaseReference test4 =
(TestCaseReference){ "testfuzzy_case4", "description", TEST_ENABLED, 0, 2}; (TestCaseReference){ "test_leak", "description", TEST_ENABLED, 0, 2};
/* Test suite */ /* Test suite */
extern const TestCaseReference *testSuite[] = { extern const TestCaseReference *testSuite[] = {
...@@ -92,7 +92,7 @@ TearDown(void *arg) ...@@ -92,7 +92,7 @@ TearDown(void *arg)
/* Test case functions */ /* Test case functions */
void void
dummycase1(void *arg) test_dummy1(void *arg)
{ {
AssertEquals(5, 5, "Assert message"); AssertEquals(5, 5, "Assert message");
...@@ -134,7 +134,7 @@ dummycase1(void *arg) ...@@ -134,7 +134,7 @@ dummycase1(void *arg)
} }
void void
dummycase2(void *arg) test_dummy2(void *arg)
{ {
char *msg = "eello"; char *msg = "eello";
//msg[0] = 'H'; //msg[0] = 'H';
...@@ -142,7 +142,7 @@ dummycase2(void *arg) ...@@ -142,7 +142,7 @@ dummycase2(void *arg)
} }
void void
testfuzzy_case3(void *arg) test_fuzzy(void *arg)
{ {
// Simulates a fuzzing failure // Simulates a fuzzing failure
AssertTrue(RandomUint8() != 100, "Value is 100"); AssertTrue(RandomUint8() != 100, "Value is 100");
...@@ -156,7 +156,7 @@ f(void) { ...@@ -156,7 +156,7 @@ f(void) {
void void
testfuzzy_case4(void *arg) test_leak(void *arg)
{ {
// Creates a memory leak // Creates a memory leak
f(); f();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment