#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#include <string.h>
#include "CUnit.h"
#include "TestDB.h"
#include "Util.h"
#include "TestRun.h"
#include "Basic.h"
Functions | |
CU_ErrorCode | basic_initialize (void) |
Perform inialization actions for the basic interface. | |
CU_ErrorCode | basic_run_all_tests (CU_pTestRegistry pRegistry) |
Run all tests within the basic interface. | |
CU_ErrorCode | basic_run_suite (CU_pSuite pSuite) |
Run a specified suite within the basic interface. | |
CU_ErrorCode | basic_run_single_test (CU_pSuite pSuite, CU_pTest pTest) |
Run a single test for the specified suite within the console interface. | |
void | basic_test_start_message_handler (const CU_pTest pTest, const CU_pSuite pSuite) |
Handler function called at start of each test. | |
void | basic_test_complete_message_handler (const CU_pTest pTest, const CU_pSuite pSuite, const CU_pFailureRecord pFailure) |
Handler function called at completion of each test. | |
void | basic_all_tests_complete_message_handler (const CU_pFailureRecord pFailure) |
Handler function called at completion of all tests in a suite. | |
void | basic_suite_init_failure_message_handler (const CU_pSuite pSuite) |
Handler function called when suite initialization fails. | |
Variables | |
CU_pSuite | f_pRunningSuite = NULL |
Name of currently running suite. | |
CU_BasicRunMode | f_run_mode = CU_BRM_NORMAL |