FastLED 3.10.6
Loading...
Searching...
No Matches

◆ reportAssert()

void fl::test::TestContext::reportAssert ( const AssertResult & result)

Definition at line 405 of file fltest.cpp.hpp.

405 {
406 if (result.mPassed) {
407 mStats.mAssertsPassed++;
408 } else {
409 mStats.mAssertsFailed++;
410 mCurrentTestFailed = true;
411 }
412 mReporter->assertResult(result);
413}
IReporter * mReporter
Definition fltest.h:256
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

References fl::FL_NO_EXCEPT, mCurrentTestFailed, mReporter, and mStats.

Referenced by checkFailed(), and fl::test::fail().

+ Here is the caller graph for this function: