ooc 1.3
Object Oriented tollkit fo ANSI C

TestCaseMethod Struct Reference

Test method order table. More...

#include <testcase.h>


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:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines