Data Fields

TestCase Struct Reference

#include <shortcut.h>

Data Fields

const char * name
bool success
void(* test_function )(struct TestCase *tc)

Detailed Description

TestCase is the struct to define one test case. A test case can be added to a test. If the test is run all added test cases are run and the result of the run of each test case is checked automatically.


Field Documentation

const char* name
bool success

true if the test passed, false otherwise.

void(* test_function)(struct TestCase *tc)

The test function which is executed by the test framework.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines