diff options
Diffstat (limited to 'src/backends/backendsCommon/test')
-rw-r--r-- | src/backends/backendsCommon/test/DynamicBackendTests.hpp | 4 | ||||
-rw-r--r-- | src/backends/backendsCommon/test/JsonPrinterTestImpl.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backends/backendsCommon/test/DynamicBackendTests.hpp b/src/backends/backendsCommon/test/DynamicBackendTests.hpp index f49c36e5b1..046ee3a488 100644 --- a/src/backends/backendsCommon/test/DynamicBackendTests.hpp +++ b/src/backends/backendsCommon/test/DynamicBackendTests.hpp @@ -146,7 +146,7 @@ std::string GetBasePath(const std::string& basePath) // This is the base path from the build where the test libraries were built. path sharedObjectPath = programLocation.append(basePath); REQUIRE_MESSAGE(exists(sharedObjectPath), - "Base path for shared objects does not exist: " + sharedObjectPath.string()); + ("Base path for shared objects does not exist: " + sharedObjectPath.string())); return sharedObjectPath.string(); } @@ -385,7 +385,7 @@ void CreateValidDynamicBackendObjectTestImpl() // We expect this path to exists so we can load a valid dynamic backend. CHECK_MESSAGE(fs::exists(testSubDirectory), - "Base path for shared objects does not exist: " + testSubDirectory); + ("Base path for shared objects does not exist: " + testSubDirectory)); std::string sharedObjectFilePath = GetTestFilePath(testSubDirectory, g_TestValidTestDynamicBackendFileName); diff --git a/src/backends/backendsCommon/test/JsonPrinterTestImpl.cpp b/src/backends/backendsCommon/test/JsonPrinterTestImpl.cpp index c4c9f7f31c..a1128cfcb9 100644 --- a/src/backends/backendsCommon/test/JsonPrinterTestImpl.cpp +++ b/src/backends/backendsCommon/test/JsonPrinterTestImpl.cpp @@ -68,7 +68,7 @@ std::vector<double> ExtractMeasurements(const std::string& exp) } catch (std::invalid_argument const&) { - FAIL("Could not convert measurements to double: " + numberString); + FAIL(("Could not convert measurements to double: " + numberString)); } numberString.clear(); @@ -83,7 +83,7 @@ std::vector<double> ExtractMeasurements(const std::string& exp) } catch (std::invalid_argument const&) { - FAIL("Could not convert measurements to double: " + numberString); + FAIL(("Could not convert measurements to double: " + numberString)); } numberString.clear(); } |