OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ |
| 6 #define CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/files/file_path.h" |
| 11 |
| 12 namespace base { |
| 13 class CommandLine; |
| 14 } |
| 15 |
| 16 // This file specifies utility functions used in Pepper testing in |
| 17 // browser_tests and content_browsertests. |
| 18 namespace ppapi { |
| 19 |
| 20 // Strips prefixes used to annotate tests from a test name. |
| 21 std::string StripTestPrefixes(const std::string& test_name); |
| 22 |
| 23 // Registers the PPAPI test plugin to application/x-ppapi-tests. |
| 24 void RegisterTestPlugin(base::CommandLine* command_line); |
| 25 |
| 26 // Registers the PPAPI test plugin with some some extra parameters. |
| 27 void RegisterTestPluginWithExtraParameters( |
| 28 base::CommandLine* command_line, |
| 29 const base::FilePath::StringType& extra_registration_parameters); |
| 30 |
| 31 } // namespace ppapi |
| 32 |
| 33 #endif // CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ |
OLD | NEW |