|
FastLED 3.9.15
|
Namespaces | |
| namespace | detail |
Classes | |
| class | Approx |
| Helper class for approximate floating-point comparisons. More... | |
| struct | AssertResult |
| struct | CompareEq |
| struct | CompareGe |
| struct | CompareGt |
| struct | CompareLe |
| struct | CompareLt |
| struct | CompareNe |
| class | DefaultReporter |
| struct | ExpressionValue |
| class | IReporter |
| class | JSONReporter |
| JSON reporter that outputs test results in JSON format. More... | |
| class | SerialReporter |
| Serial reporter for embedded devices Usage: SerialReporter reporter(mySerialPrint); fl::test::TestContext::instance().setReporter(&reporter);. More... | |
| struct | SourceLocation |
| class | Subcase |
| struct | SubcaseSignature |
| class | TAPReporter |
| TAP reporter that outputs TAP-compatible test results Can output to a string buffer or use a print function for streaming output. More... | |
| class | TestContext |
| struct | TestRegistrar |
| struct | TestStats |
| class | XMLReporter |
| XML reporter that outputs JUnit-compatible XML format The output is accumulated in a string buffer provided by the user. More... | |
Typedefs | |
| typedef fl::u32(* | GetMillisFunc) () |
| Callback type for getting current time in milliseconds Example: uint32_t getMillis() { return millis(); } // Arduino. | |
| typedef void(* | SerialPrintFunc) (const char *msg) |
| Type for the serial print function callback. | |
| typedef bool(* | TimeoutHandlerFunc) (const char *testName, fl::u32 elapsedMs) |
| Callback type for timeout handler Called when a test times out. | |
Functions | |
| template<typename L, typename R, typename Cmp> | |
| bool | binaryAssert (const L &lhs, const R &rhs, Cmp cmp, const char *lhsExpr, const char *op, const char *rhsExpr, const char *file, int line) FL_NOEXCEPT |
| void | fail (const char *msg, const char *file, int line, bool isFatal) FL_NOEXCEPT |
| Helper for FAIL macros. | |
| fl::u32 | hashSubcaseSignature (const SubcaseSignature &sig) FL_NOEXCEPT |
| bool | isTestSkipped () FL_NOEXCEPT |
| Check if current test has been marked as skipped. | |
| fl::sstream & | operator<< (fl::sstream &os, const Approx &approx) FL_NOEXCEPT |
| void | outputCapture (const char *name, const char *value, const char *file, int line) FL_NOEXCEPT |
| Helper to output CAPTURE variable. | |
| void | outputMessage (const char *msg, const char *file, int line) FL_NOEXCEPT |
| Helper to output INFO/MESSAGE during test execution. | |
| void | skipTest (const char *reason, const char *file, int line) FL_NOEXCEPT |
| Record that the current test should be skipped. | |
Variables | |
| static bool | sCurrentTestSkipped = false |
| static const char * | sSkipReason = nullptr |