FastLED 3.9.15
Loading...
Searching...
No Matches

◆ reportAssert()

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

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

396 {
397 if (result.mPassed) {
398 mStats.mAssertsPassed++;
399 } else {
400 mStats.mAssertsFailed++;
401 mCurrentTestFailed = true;
402 }
403 mReporter->assertResult(result);
404}
IReporter * mReporter
Definition fltest.h:256
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

References FL_NOEXCEPT, mCurrentTestFailed, mReporter, and mStats.

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

+ Here is the caller graph for this function: