| 209 | } |
| 210 | |
| 211 | void TJUnitProcessor::TransferFromCapturer(THolder<TJUnitProcessor::TOutputCapturer>& capturer, TString& out, IOutputStream& outStream) { |
| 212 | if (capturer) { |
| 213 | capturer->Uncapture(); |
| 214 | { |
| 215 | TFileInput fileStream(capturer->GetTmpFileName()); |
| 216 | TransferData(&fileStream, &outStream); |
| 217 | out = SanitizeString(capturer->GetCapturedString()); |
| 218 | } |
| 219 | capturer = nullptr; |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | void TJUnitProcessor::OnFinish(const TFinish* descr) { |
| 224 | if (!GetForkTests() || GetIsForked()) { |
nothing calls this directly
no test coverage detected