Index: base/test/launcher/test_id.h |
diff --git a/base/test/launcher/test_id.h b/base/test/launcher/test_id.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3c36bfa290fb342dc9365151de0ecc7e556e4570 |
--- /dev/null |
+++ b/base/test/launcher/test_id.h |
@@ -0,0 +1,30 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef BASE_TEST_LAUNCHER_TEST_ID_H_ |
+#define BASE_TEST_LAUNCHER_TEST_ID_H_ |
+ |
+#include <string> |
+ |
+namespace base { |
+ |
+class TestID { |
+ explicit TestId(const std::string& original_name); |
+ |
+ std::string original_name() const { return original_name_; } |
+ |
+ std::string GetDisplayName() const; |
+ std::string GetTestName() const; |
+ std::string GetTestCaseName() const; |
+ |
+ bool IsDisabled() const; |
+ bool IsSerialized() const; |
+ |
+ private: |
+ std::string original_name_; |
+}; |
+ |
+} // namespace base |
+ |
+#endif // BASE_TEST_LAUNCHER_TEST_ID_H_ |