| 47 | } |
| 48 | |
| 49 | void TestSetFormatBackTraceFn() { |
| 50 | TFormatBackTraceFn prevFn = SetFormatBackTraceFn(FormatBackTraceReplacement); |
| 51 | TStringStream out; |
| 52 | FormatBackTrace(&out); |
| 53 | SetFormatBackTraceFn(prevFn); |
| 54 | UNIT_ASSERT(out.Str().Contains("WorksLikeACharm")); |
| 55 | TestPrintBackTrace(); |
| 56 | } |
| 57 | |
| 58 | void TestBackTrace() { |
| 59 | // PrintBackTrace(); |
nothing calls this directly
no test coverage detected