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

Unified Diff: ppapi/tests/test_url_util.cc

Issue 8536031: Reland http://codereview.chromium.org/8477015 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge AGAIN Created 9 years, 1 month 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/tests/test_url_util.h ('k') | ppapi/tests/test_var.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_url_util.cc
diff --git a/ppapi/tests/test_url_util.cc b/ppapi/tests/test_url_util.cc
index dc6cb4737736853f2bbca1a7b671a6bdc99b265e..179aeeb56d5dba944b0e2d8364ac6b150ae671ec 100644
--- a/ppapi/tests/test_url_util.cc
+++ b/ppapi/tests/test_url_util.cc
@@ -20,14 +20,14 @@ bool TestURLUtil::Init() {
return !!util_;
}
-void TestURLUtil::RunTest() {
- RUN_TEST(Canonicalize);
- RUN_TEST(ResolveRelative);
- RUN_TEST(IsSameSecurityOrigin);
- RUN_TEST(DocumentCanRequest);
- RUN_TEST(DocumentCanAccessDocument);
- RUN_TEST(GetDocumentURL);
- RUN_TEST(GetPluginInstanceURL);
+void TestURLUtil::RunTests(const std::string& filter) {
+ RUN_TEST(Canonicalize, filter);
+ RUN_TEST(ResolveRelative, filter);
+ RUN_TEST(IsSameSecurityOrigin, filter);
+ RUN_TEST(DocumentCanRequest, filter);
+ RUN_TEST(DocumentCanAccessDocument, filter);
+ RUN_TEST(GetDocumentURL, filter);
+ RUN_TEST(GetPluginInstanceURL, filter);
}
std::string TestURLUtil::TestCanonicalize() {
« no previous file with comments | « ppapi/tests/test_url_util.h ('k') | ppapi/tests/test_var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698