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

Unified Diff: content/test/ppapi/ppapi_test.cc

Issue 303313002: Pepper: Move more stuff to content_browsertests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move some tests back Created 6 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
« no previous file with comments | « content/test/ppapi/ppapi_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/ppapi/ppapi_test.cc
diff --git a/content/test/ppapi/ppapi_test.cc b/content/test/ppapi/ppapi_test.cc
index 0c3e5294400f11f69100a6e3122b3558d463064e..20d4c6dc8ac367823d4b8736cc798354c3313708 100644
--- a/content/test/ppapi/ppapi_test.cc
+++ b/content/test/ppapi/ppapi_test.cc
@@ -73,6 +73,13 @@ void PPAPITestBase::RunTest(const std::string& test_case) {
RunTestURL(url);
}
+void PPAPITestBase::RunTestAndReload(const std::string& test_case) {
+ GURL url = GetTestFileUrl(test_case);
+ RunTestURL(url);
+ // If that passed, we simply run the test again, which navigates again.
+ RunTestURL(url);
+}
+
void PPAPITestBase::RunTestURL(const GURL& test_url) {
// See comment above TestingInstance in ppapi/test/testing_instance.h.
// Basically it sends messages using the DOM automation controller. The
« no previous file with comments | « content/test/ppapi/ppapi_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698