ooc  1.3c
Object Oriented tollkit fo ANSI C
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TestCaseMethod Struct Reference

Test method order table. More...

#include <testcase.h>

Collaboration diagram for TestCaseMethod:

Detailed Description

Test method order table.

Table storing the test methods' names and entry points. Must be defined in constant (e.g. ROM) memory area. Fill the table with the TEST macro. This table must be the constructor parameter of your TestCase class. The table must end with a NULL pair.
Use of the table:

ROM_ALLOC
struct TestCaseMethod methods[] =
{
TEST(my_first_test_method),
TEST(my_second_test_method),
{NULL, NULL}
};

In your main code create your testcase like:

MyTest mytest;
ooc_init_class( MyTest );
mytest = ooc_new( MyTest, &methods );
See Also
TEST

The documentation for this struct was generated from the following file: