69 while (*p !=
nullptr) {
70 if (compareString(
getName(), (*p)->getName()) < 0)
break;
virtual void once()=0
User-provided test case.
Base class of all test cases.
static const uint8_t kStatusFailed
Test has failed, or failed() was called.
Test(const char *name)
Constructor taking the name of the given test case.
Various macros (test(), testing(), externTest(), externTesting()) are defined in this header...
void setPassOrFail(bool ok)
Set the status to Passed or Failed depending on ok.
void pass()
Mark the test as passed.
static Test ** getRoot()
Get the pointer to the root pointer.
virtual void loop() override
Calls the user-provided once() method.
static const uint8_t kStatusSetup
Test is set up.
const FCString & getName()
Get the name of the test.
uint8_t getStatus()
Get the status of the test.