--- a/test/test-automation/tests/testdummy/testdummy.c Sun Aug 14 21:29:00 2011 +0300
+++ b/test/test-automation/tests/testdummy/testdummy.c Sun Aug 14 21:36:43 2011 +0300
@@ -35,16 +35,16 @@
/* Test case references */
static const TestCaseReference test1 =
- (TestCaseReference){ "dummycase1", "description", TEST_ENABLED, 0, 4};
+ (TestCaseReference){ "test_dummy1", "description", TEST_ENABLED, 0, 4};
static const TestCaseReference test2 =
- (TestCaseReference){ "dummycase2", "description", TEST_ENABLED, 0, 0};
+ (TestCaseReference){ "test_dummy2", "description", TEST_ENABLED, 0, 0};
static const TestCaseReference test3 =
- (TestCaseReference){ "testfuzzy_case3", "description", TEST_ENABLED, 0, 2};
+ (TestCaseReference){ "test_fuzzy", "description", TEST_ENABLED, 0, 2};
static const TestCaseReference test4 =
- (TestCaseReference){ "testfuzzy_case4", "description", TEST_ENABLED, 0, 2};
+ (TestCaseReference){ "test_leak", "description", TEST_ENABLED, 0, 2};
/* Test suite */
extern const TestCaseReference *testSuite[] = {
@@ -92,7 +92,7 @@
/* Test case functions */
void
-dummycase1(void *arg)
+test_dummy1(void *arg)
{
AssertEquals(5, 5, "Assert message");
@@ -134,7 +134,7 @@
}
void
-dummycase2(void *arg)
+test_dummy2(void *arg)
{
char *msg = "eello";
//msg[0] = 'H';
@@ -142,7 +142,7 @@
}
void
-testfuzzy_case3(void *arg)
+test_fuzzy(void *arg)
{
// Simulates a fuzzing failure
AssertTrue(RandomUint8() != 100, "Value is 100");
@@ -156,7 +156,7 @@
void
-testfuzzy_case4(void *arg)
+test_leak(void *arg)
{
// Creates a memory leak
f();