| 121 | } |
| 122 | |
| 123 | void TestFixture::teardownTest() |
| 124 | { |
| 125 | teardownTestInternal(); |
| 126 | |
| 127 | if (mTimer) |
| 128 | mTimer->stop(); |
| 129 | |
| 130 | { |
| 131 | const std::string s = errout_str(); |
| 132 | if (!s.empty()) |
| 133 | throw std::runtime_error("unconsumed ErrorLogger err: " + s); |
| 134 | } |
| 135 | { |
| 136 | const std::string s = output_str(); |
| 137 | if (!s.empty()) |
| 138 | throw std::runtime_error("unconsumed ErrorLogger out: " + s); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | std::string TestFixture::getLocationStr(const char * const filename, const unsigned int linenr) const |
| 143 | { |