Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Basic.c File Reference


Detailed Description

Basic interface with output to stdout.

#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


Generated on Thu Apr 28 12:36:09 2005 for CUnit by  doxygen 1.3.9.1