| 312 | } |
| 313 | |
| 314 | void 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 | |
| 323 | void NUnitTest::TTestBase::AddError(const char* msg, TTestContext* context) { |
| 324 | AddError(msg, TString(), context); |
no test coverage detected