Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Pimenov <m@maps.me>2015-09-09 16:09:47 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:04:12 +0300
commitca800e1319c395d75e884b98487a2023acf97871 (patch)
tree829e7b40f85506ac01962bec8abecd808445ef09 /testing
parentade195af4d40c5cf42e34e159632c8bda3fc7dff (diff)
[omim] [testing] Changed the output of failed tests to the conventional filename:linenumber format.
Diffstat (limited to 'testing')
-rw-r--r--testing/testing.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/testing.hpp b/testing/testing.hpp
index 37d33427d0..634e41853e 100644
--- a/testing/testing.hpp
+++ b/testing/testing.hpp
@@ -22,7 +22,7 @@ namespace my
inline void OnTestFailed(SrcPoint const & srcPoint, string const & msg)
{
LOG(LINFO, ("FAILED"));
- LOG(LINFO, (srcPoint.FileName(), ":", srcPoint.Line(), msg));
+ LOG(LINFO, (DebugPrint(srcPoint.FileName()) + ":" + DebugPrint(srcPoint.Line()), msg));
MYTHROW(TestFailureException, (srcPoint.FileName(), srcPoint.Line(), msg));
}
}