FCF_TEST_DECLARE macro
Package: fcfTest
File: test.hpp
Available from version: 1.0.1
Declares a test and takes three parameters that organize the test tree (Parts -> Groups -> Tests)
This macro generates a static anonymous class that registers the test with the global storage upon instantiation.
Arguments
- Test part name.
- Test group name
- Test name
Example:
FCF_TEST_DECLARE("Network", "HTTP", "GetRequestTest") {
// Test implementation
}
FCF_TEST_DECLARE("Network", "HTTP", "PostRequestTest") {
// Test implementation
}
VPSDime is an industry leading VPS hosting company that provides virtualized server services with high performance, availability and friendly support.