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

Unified Diff: ppapi/shared_impl/test_harness_utils.cc

Issue 1062163004: Plugins: Move Prerender tests to PPAPI and some refactoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « ppapi/shared_impl/test_harness_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/test_harness_utils.cc
diff --git a/ppapi/shared_impl/test_harness_utils.cc b/ppapi/shared_impl/test_harness_utils.cc
deleted file mode 100644
index 93ba755c958d6af6a0b47d12b58c5f0e9e3ff5b8..0000000000000000000000000000000000000000
--- a/ppapi/shared_impl/test_harness_utils.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2014 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.
-
-#include "ppapi/shared_impl/test_harness_utils.h"
-
-#include <string>
-#include "base/macros.h"
-
-namespace ppapi {
-
-std::string StripTestPrefixes(const std::string& test_name) {
- const char* const kTestPrefixes[] = {
- "FAILS_", "FLAKY_", "DISABLED_", "SLOW_" };
- for (size_t i = 0; i < arraysize(kTestPrefixes); ++i)
- if (test_name.find(kTestPrefixes[i]) == 0)
- return test_name.substr(strlen(kTestPrefixes[i]));
- return test_name;
-}
-
-base::FilePath::StringType GetTestLibraryName() {
-#if defined(OS_WIN)
- return L"ppapi_tests.dll";
-#elif defined(OS_MACOSX)
- return "ppapi_tests.plugin";
-#elif defined(OS_POSIX)
- return "libppapi_tests.so";
-#endif
-}
-
-} // namespace ppapi
« no previous file with comments | « ppapi/shared_impl/test_harness_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698