Files | |
file | testframe.h |
Main include for Testframe testing framework. | |
Defines | |
#define | TEST_PASSED 0 |
Status code to indicate test success. | |
#define | TEST_FAILED 1 |
Status code to indicate test failure. | |
#define | TEST_ERROR 2 |
Status code to indicate error. | |
#define | TEST_LIST_START TestDescriptor testDescriptor[] = { |
Helper macro to start test list declarion. | |
#define | TEST(name) {#name , name}, |
Helper macro to include a test case into test list for execution engine. | |
#define | TEST_LIST_END {NULL, NULL}}; |
Helper macro to end test list declarion. | |
Functions | |
void | setup () |
Setup function for test case. | |
void | teardown () |
Clean up function for test case. | |
int | default_main (int argc, char *argv[]) |
Engin for running test case. |
#define TEST_PASSED 0 |
Status code to indicate test success.
#define TEST_FAILED 1 |
Status code to indicate test failure.
#define TEST_ERROR 2 |
Status code to indicate error.
#define TEST_LIST_START TestDescriptor testDescriptor[] = { |
Helper macro to start test list declarion.
This list is necessary for test case execution engine.
#define TEST | ( | name | ) | {#name , name}, |
Helper macro to include a test case into test list for execution engine.
name | of function, which implements test case |
#define TEST_LIST_END {NULL, NULL}}; |
Helper macro to end test list declarion.
This list is necessary for test case execution engine.
void setup | ( | ) |
Setup function for test case.
Must be implemented by test writer.
void teardown | ( | ) |
Clean up function for test case.
Must be implemented by test writer
int default_main | ( | int | argc, | |
char * | argv[] | |||
) |
Engin for running test case.
Should be included in the main() in form
return default_main(int argc, char *argv[]);
argc | - number of command line arguments | |
argv | - command line arguments (list of names of test cases to run) |
Genereated on Tue Mar 11 19:26:09 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.