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

Method AddError

library/cpp/testing/unittest/registar.cpp:314–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314void NUnitTest::TTestBase::AddError(const char* msg, const TString& backtrace, TTestContext* context) {
315 ++TestErrors_;
316 const NUnitTest::ITestSuiteProcessor::TUnit unit = {Name()};
317 const NUnitTest::ITestSuiteProcessor::TTest test = {&unit, CurrentSubtest_};
318 const NUnitTest::ITestSuiteProcessor::TError err = {&test, msg, backtrace, context};
319
320 Processor()->Error(err);
321}
322
323void NUnitTest::TTestBase::AddError(const char* msg, TTestContext* context) {
324 AddError(msg, TString(), context);

Callers 2

RaiseErrorMethod · 0.45
~TCleanUpMethod · 0.45

Calls 3

NameFunction · 0.85
AddErrorFunction · 0.50
ErrorMethod · 0.45

Tested by

no test coverage detected