| 377 | } |
| 378 | |
| 379 | void TestContext::exitSubcase(const SubcaseSignature& sig) FL_NOEXCEPT { |
| 380 | mCurrentSubcaseDepth--; |
| 381 | mSubcaseDiscoveryDepth--; |
| 382 | |
| 383 | // If we don't have a next path queued, we might need to reenter |
| 384 | // to explore sibling subcases |
| 385 | if (mNextSubcaseStack.empty() && mSubcaseDiscoveryDepth < mSubcaseStack.size()) { |
| 386 | // Mark this path as traversed |
| 387 | markFullyTraversed(hashCurrentPath(sig)); |
| 388 | } else if (mNextSubcaseStack.size() > 0) { |
| 389 | // We have more paths to explore |
| 390 | mShouldReenter = true; |
| 391 | } |
| 392 | |
| 393 | mReporter->subcaseEnd(); |
| 394 | } |
| 395 | |
| 396 | void TestContext::reportAssert(const AssertResult& result) FL_NOEXCEPT { |
| 397 | if (result.mPassed) { |
no test coverage detected