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

Unified Diff: chrome/test/ui/ppapi_uitest.h

Issue 9791003: Added pepper test for SSLHandshake (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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 | « no previous file | chrome/test/ui/ppapi_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui/ppapi_uitest.h
diff --git a/chrome/test/ui/ppapi_uitest.h b/chrome/test/ui/ppapi_uitest.h
index 1f04a2156c76280b99b20ef8b24573b282a4d11d..91b4c9a43e0eee1b712e58d28568c3735792186e 100644
--- a/chrome/test/ui/ppapi_uitest.h
+++ b/chrome/test/ui/ppapi_uitest.h
@@ -26,6 +26,7 @@ class PPAPITestBase : public InProcessBrowserTest {
// instance object vars.
void RunTestAndReload(const std::string& test_case);
void RunTestViaHTTP(const std::string& test_case);
+ void RunTestWithSSLServer(const std::string& test_case);
void RunTestWithWebSocketServer(const std::string& test_case);
std::string StripPrefixes(const std::string& test_name);
@@ -33,6 +34,15 @@ class PPAPITestBase : public InProcessBrowserTest {
// Runs the test for a tab given the tab that's already navigated to the
// given URL.
void RunTestURL(const GURL& test_url);
+ // Run the given |test_case| on a HTTP test server whose document root is
+ // specified by |document_root|. |extra_params| will be passed as URL
+ // parameters to the test.
+ void RunHTTPTestServer(const FilePath& document_root,
+ const std::string& test_case,
+ const std::string& extra_params);
+ // Return the document root for the HTTP server on which tests will be run.
+ // The result is placed in |document_root|. False is returned upon failure.
+ bool GetHTTPDocumentRoot(FilePath* document_root);
};
// In-process plugin test runner. See OutOfProcessPPAPITest below for the
« no previous file with comments | « no previous file | chrome/test/ui/ppapi_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698