| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1751,6 +1751,7 @@ class TestWithParam : public Test, public WithParamInterface<T> {}; | |||
| 1751 | 1751 | // generic name and clashes with some other libraries. | |
| 1752 | 1752 | #if !(defined(GTEST_DONT_DEFINE_FAIL) && GTEST_DONT_DEFINE_FAIL) | |
| 1753 | 1753 | #define FAIL() GTEST_FAIL() | |
| 1754 | + #define FAIL_AT(file, line) GTEST_FAIL_AT(file, line) | ||
| 1754 | 1755 | #endif | |
| 1755 | 1756 | ||
| 1756 | 1757 | // Generates a success with a generic message. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6203,8 +6203,8 @@ void UnitTestImpl::ListTestsMatchingFilter() { | |||
| 6203 | 6203 | #if GTEST_HAS_FILE_SYSTEM | |
| 6204 | 6204 | const std::string& output_format = UnitTestOptions::GetOutputFormat(); | |
| 6205 | 6205 | if (output_format == "xml" || output_format == "json") { | |
| 6206 | - FILE* fileout = OpenFileForWriting( | ||
| 6207 | - UnitTestOptions::GetAbsolutePathToOutputFile().c_str()); | ||
| 6206 | + FILE* fileout = | ||
| 6207 | + OpenFileForWriting(UnitTestOptions::GetAbsolutePathToOutputFile()); | ||
| 6208 | 6208 | std::stringstream stream; | |
| 6209 | 6209 | if (output_format == "xml") { | |
| 6210 | 6210 | XmlUnitTestResultPrinter( | |
| Back | FazBrowse Home | New Git URL |
0 commit comments