| Index: base/test/gtest_util.cc
|
| diff --git a/base/test/gtest_util.cc b/base/test/gtest_util.cc
|
| index 5432c4ac112d60237d477bb38da13a3bc2a9a78a..6da902da2e09859c1f0a2c4e039da0a50d31202b 100644
|
| --- a/base/test/gtest_util.cc
|
| +++ b/base/test/gtest_util.cc
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/files/file_path.h"
|
| #include "base/json/json_file_value_serializer.h"
|
| +#include "base/strings/string_util.h"
|
| #include "base/values.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -25,6 +26,12 @@ std::string FormatFullTestName(const std::string& test_case_name,
|
| return test_case_name + "." + test_name;
|
| }
|
|
|
| +std::string TestNameWithoutDisabledPrefix(const std::string& full_test_name) {
|
| + std::string test_name_no_disabled(full_test_name);
|
| + ReplaceSubstringsAfterOffset(&test_name_no_disabled, 0, "DISABLED_", "");
|
| + return test_name_no_disabled;
|
| +}
|
| +
|
| std::vector<TestIdentifier> GetCompiledInTests() {
|
| testing::UnitTest* const unit_test = testing::UnitTest::GetInstance();
|
|
|
|
|