MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / resetAssertionInfo

Method resetAssertionInfo

unittests/catch.hpp:8648–8651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8646 m_lastResult = result;
8647 }
8648 void RunContext::resetAssertionInfo() {
8649 m_lastAssertionInfo.macroName = StringRef();
8650 m_lastAssertionInfo.capturedExpression = "{Unknown expression after the reported line}"_sr;
8651 }
8652
8653 bool RunContext::sectionStarted(SectionInfo const & sectionInfo, Counts & assertions) {
8654 ITracker& sectionTracker = SectionTracker::acquire(m_trackerContext, TestCaseTracking::NameAndLocation(sectionInfo.name, sectionInfo.lineInfo));

Callers

nothing calls this directly

Calls 1

StringRefClass · 0.85

Tested by

no test coverage detected