Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Unified Diff: ppapi/shared_impl/test_utils.h

Issue 1140953003: PPAPI Testing: Clean up location of ppapi::StripTestPrefixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to shared_impl Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/shared_impl/test_utils.h
diff --git a/ppapi/shared_impl/unittest_utils.h b/ppapi/shared_impl/test_utils.h
similarity index 79%
rename from ppapi/shared_impl/unittest_utils.h
rename to ppapi/shared_impl/test_utils.h
index a6fb296ea64cd7fc6da0c512bada0aa4aaa82c1f..876b93495098dc963af303f69f5bb197ccf17c43 100644
--- a/ppapi/shared_impl/unittest_utils.h
+++ b/ppapi/shared_impl/test_utils.h
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PPAPI_SHARED_IMPL_UNITTEST_UTILS_H_
-#define PPAPI_SHARED_IMPL_UNITTEST_UTILS_H_
+#ifndef PPAPI_SHARED_IMPL_TEST_UTILS_H_
+#define PPAPI_SHARED_IMPL_TEST_UTILS_H_
+
+#include <string>
#include "ppapi/c/pp_var.h"
@@ -19,6 +21,8 @@ bool TestEqual(const PP_Var& expected,
const PP_Var& actual,
bool test_string_references);
+std::string StripTestPrefixes(const std::string& test_name);
+
} // namespace ppapi
-#endif // PPAPI_SHARED_IMPL_UNITTEST_UTILS_H_
+#endif // PPAPI_SHARED_IMPL_TEST_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698