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

test_cunit.c File Reference


Detailed Description

CUnit internal testingfunctions (implementation).

#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "CUnit.h"
#include "MyMem.h"
#include "Util.h"
#include "test_cunit.h"

Functions

void test_cunit_initialize (void)
void test_cunit_report_results (void)
int main ()
void test_cunit_start_tests (const char *strName)
 Notify the test system that a set of tests is starting.
void test_cunit_end_tests (void)
 Notify the test system that a set of tests is complete.
void test_cunit_add_test (void)
 Register running a test (assertion).
void test_cunit_add_failure (void)
 Register failure of a test.
unsigned int test_cunit_test_count (void)
 Retrieve the number of tests run.
unsigned int test_cunit_failure_count (void)
 Retrieve the number of failed tests.
BOOL test_cunit_assert_impl (BOOL value, const char *condition, const char *file, unsigned int line)

Variables

unsigned int f_nTests = 0
unsigned int f_nFailures = 0
unsigned int f_nTests_stored = 0
unsigned int f_nFails_stored = 0
clock_t f_start_time


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