summaryrefslogtreecommitdiffstats
path: root/base/test/gtest_xml_util.cc
diff options
context:
space:
mode:
authorsergiyb@chromium.org <sergiyb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-05 22:56:43 +0000
committersergiyb@chromium.org <sergiyb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-05 22:56:43 +0000
commit4983b81b070f83257e5bc198eeee91c5760075da (patch)
treea0f2d16dae8179c5749af7c4a374f6053feef438 /base/test/gtest_xml_util.cc
parent35f5421c0ebda7ab13426c9453bd7be40b262d2c (diff)
downloadchromium_src-4983b81b070f83257e5bc198eeee91c5760075da.zip
chromium_src-4983b81b070f83257e5bc198eeee91c5760075da.tar.gz
chromium_src-4983b81b070f83257e5bc198eeee91c5760075da.tar.bz2
Factored out duplicate code for formatting full test name
R=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/418093004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287628 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test/gtest_xml_util.cc')
-rw-r--r--base/test/gtest_xml_util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/test/gtest_xml_util.cc b/base/test/gtest_xml_util.cc
index 75d023a..f52c2f6 100644
--- a/base/test/gtest_xml_util.cc
+++ b/base/test/gtest_xml_util.cc
@@ -146,7 +146,8 @@ bool ProcessGTestOutput(const base::FilePath& output_file,
std::string test_name;
if (!xml_reader.NodeAttribute("name", &test_name))
return false;
- result.full_name = test_case_name + "." + test_name;
+ result.full_name = TestLauncher::FormatFullTestName(test_case_name,
+ test_name);
result.elapsed_time = TimeDelta();