TESTS: convert READ6 tests to the new framework

This commit is contained in:
Ronnie Sahlberg
2013-01-20 17:02:13 -08:00
parent 2a1a7bc2bb
commit 192ee4d61b
8 changed files with 254 additions and 1 deletions

View File

@@ -62,6 +62,13 @@ static CU_TestInfo tests_testunitready[] = {
CU_TEST_INFO_NULL
};
static CU_TestInfo tests_read6[] = {
{ (char *)"testRead6Simple", test_read6_simple },
{ (char *)"testRead6BeyondEol", test_read6_beyond_eol },
{ (char *)"testRead6ZeroBlocks", test_read6_0blocks },
CU_TEST_INFO_NULL
};
static CU_TestInfo tests_read10[] = {
{ (char *)"testRead10Simple", test_read10_simple },
{ (char *)"testRead10BeyondEol", test_read10_beyond_eol },
@@ -80,6 +87,8 @@ static CU_TestInfo tests_readcapacity10[] = {
static CU_SuiteInfo suites[] = {
{ (char *)"TestTestUnitReady", test_setup, test_teardown,
tests_testunitready },
{ (char *)"TestRead6", test_setup, test_teardown,
tests_read6 },
{ (char *)"TestRead10", test_setup, test_teardown,
tests_read10 },
{ (char *)"TestReadCapacity10", test_setup, test_teardown,