MCPcopy Create free account
hub / github.com/Snapchat/Valdi / submitFailure

Method submitFailure

tsn/src/test262/runner/TestReporter.cpp:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void TestReporter::submitFailure(const std::string& suite,
46 const std::string& name,
47 const std::string& failureReason,
48 bool isStrict) {
49 const TestReport report = {.result = TestResult::Fail, .message = failureReason};
50 submitReport(suite, name, report, isStrict);
51}
52
53bool TestReporter::hasFailure() {
54 return _aggregateStats.fail > 0;

Callers 1

evaluateTestCaseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected