MCPcopy Create free account
hub / github.com/catboost/catboost / OnError

Method OnError

library/cpp/testing/unittest/junit.cpp:202–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202void TJUnitProcessor::OnError(const TError* descr) {
203 if (!GetForkTests() || GetIsForked()) {
204 auto* testCase = GetTestCase(descr->test);
205 TFailure& failure = testCase->Failures.emplace_back();
206 failure.Message = SanitizeString(descr->msg);
207 failure.BackTrace = SanitizeString(descr->BackTrace);
208 }
209}
210
211void TJUnitProcessor::TransferFromCapturer(THolder<TJUnitProcessor::TOutputCapturer>& capturer, TString& out, IOutputStream& outStream) {
212 if (capturer) {

Callers 1

SignalHandlerMethod · 0.45

Calls 3

GetTestCaseFunction · 0.85
SanitizeStringFunction · 0.85
emplace_backMethod · 0.45

Tested by

no test coverage detected