#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <stdarg.h>
#include "CUnit.h"
#include "MyMem.h"
#include "TestDB.h"
#include "TestRun.h"
#include "Util.h"
#include "test_cunit.h"
| Functions | |
| void | cleanup_test_registry (CU_pTestRegistry pRegistry) | 
| Internal function to clean up the specified test registry. | |
| CU_pSuite | create_suite (const char *strName, CU_InitializeFunc pInit, CU_CleanupFunc pClean) | 
| Internal function to create a new test suite having the specified parameters. | |
| void | cleanup_suite (CU_pSuite pSuite) | 
| Internal function to clean up the specified test suite. | |
| void | insert_suite (CU_pTestRegistry pRegistry, CU_pSuite pSuite) | 
| Internal function to insert a suite into a registry. | |
| CU_pTest | create_test (const char *strName, CU_TestFunc pTestFunc) | 
| Internal function to create a new test case having the specified parameters. | |
| void | cleanup_test (CU_pTest pTest) | 
| Internal function to clean up the specified test. | |
| void | insert_test (CU_pSuite pSuite, CU_pTest pTest) | 
| Internal function to insert a test into a suite. | |
| BOOL | suite_exists (CU_pTestRegistry pRegistry, const char *szSuiteName) | 
| Internal function to check whether a suite having a specified name already exists. | |
| BOOL | test_exists (CU_pSuite pSuite, const char *szTestName) | 
| Internal function to check whether a test having a specified name is already registered in a given suite. | |
| int | sfunc1 (void) | 
| void | test1 (void) | 
| void | test_CU_initialize_registry (void) | 
| void | test_CU_cleanup_registry (void) | 
| void | test_CU_add_suite (void) | 
| void | test_CU_add_test (void) | 
| void | test_CU_get_registry (void) | 
| void | test_CU_set_registry (void) | 
| void | test_CU_create_new_registry (void) | 
| void | test_CU_destroy_existing_registry (void) | 
| void | test_CU_get_suite_by_name (void) | 
| void | test_CU_get_test_by_name (void) | 
| void | test_cleanup_test_registry (void) | 
| void | test_create_suite (void) | 
| void | test_cleanup_suite (void) | 
| void | test_insert_suite (void) | 
| void | test_create_test (void) | 
| void | test_insert_test (void) | 
| void | test_cleanup_test (void) | 
| void | test_suite_exists (void) | 
| void | test_test_exists (void) | 
| void | group_A_case_1 (void) | 
| void | group_A_case_2 (void) | 
| void | group_B_case_1 (void) | 
| void | group_B_case_2 (void) | 
| void | test_register_suite (void) | 
| void | test_cunit_TestDB (void) | 
| Variables | |
| CU_pTestRegistry | f_pTestRegistry = NULL | 
| The active internal Test Registry. | |
| CU_TestInfo | group_A_test_cases [] | 
| CU_TestInfo | group_B_test_cases [] | 
| CU_SuiteInfo | suites0 [] | 
| CU_SuiteInfo | suites1 [] | 
| CU_SuiteInfo | suites2 [] | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| Initial value:  {
        { "1", group_A_case_1 },
        { "2", group_A_case_2 },
        CU_TEST_INFO_NULL,
}
 | 
| 
 | 
| Initial value:  {
        { "1", group_B_case_1 },
        { "2", group_B_case_2 },
        CU_TEST_INFO_NULL,
}
 | 
| 
 | 
| Initial value:  {
        CU_SUITE_INFO_NULL,
}
 | 
| 
 | 
| Initial value:  {
        { "A1", NULL, NULL, group_A_test_cases },
        { "B1", NULL, NULL, group_B_test_cases },
        CU_SUITE_INFO_NULL,
}
 | 
| 
 | 
| Initial value:  {
        { "A2", NULL, NULL, group_A_test_cases },
        { "B2", NULL, NULL, group_B_test_cases },
        CU_SUITE_INFO_NULL,
}
 | 
 1.3.9.1
 1.3.9.1