| 1 | #ifndef TEST_ITEM_H |
| 2 | #define TEST_ITEM_H |
| 3 | |
| 4 | /* The name of a test is either a named mangled from the name of the |
| 5 | context, if any, and the actual test name. Names (or patterns) on |
| 6 | the command line is formatted as a symbolic name composed of the |
| 7 | context name, a colon and the test name. The variable naming below |
| 8 | is trying to be clear about which type of name it is. */ |
| 9 | |
| 10 | typedef struct test_item { |
| 11 | const char *specification_name; |
| 12 | const char *context_name; |
| 13 | const char *test_name; |
| 14 | } TestItem; |
| 15 | |
| 16 | extern TestItem *create_test_item_from(const char *specification_name); |
| 17 | extern void destroy_test_item(TestItem *item); |
| 18 | |
| 19 | #endif |