| 200 | } |
| 201 | |
| 202 | void 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 | |
| 211 | void TJUnitProcessor::TransferFromCapturer(THolder<TJUnitProcessor::TOutputCapturer>& capturer, TString& out, IOutputStream& outStream) { |
| 212 | if (capturer) { |
no test coverage detected