|
arduino-dataflash
|
Modules | |
| Values test. | |
| String conversion functions. | |
Namespaces | |
| namespace | Dummy |
Macros | |
| #define | CHECK(expected, value) |
| Check value against expected. | |
| #define | TEST(TestName) |
| Declares a new test. | |
| #define | TEST_FIXTURE(TestName, Fixture) |
| Declares a new test with fixture. | |
| #define | SUITE(SuiteName) |
| A test suite is basically a namespace. | |
Functions | |
| const char * | GetSuiteName () |
| Get current test suite name. | |
| #define CHECK | ( | expected, | |
| value | |||
| ) |
Check value against expected.
The test is considered to have failed if the value and expected don't match.
| #define SUITE | ( | SuiteName | ) |
A test suite is basically a namespace.
You can use it to group tests.
| #define TEST | ( | TestName | ) |
Declares a new test.
| #define TEST_FIXTURE | ( | TestName, | |
| Fixture | |||
| ) |
Declares a new test with fixture.
The Fixture public and protected members can be accessed by the test. It must also implement a Setup() and TearDown() methods. Setup() and TearDown() will be called respectively before and after the test.
| const char * GetSuiteName | ( | ) |
Get current test suite name.