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

Unified Diff: ppapi/tests/test_file_ref.cc

Issue 8477015: Make it possible to enable/disable specific ppapi tests. Migrate PostMessage tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix license headers. 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_file_ref.h ('k') | ppapi/tests/test_file_system.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_file_ref.cc
diff --git a/ppapi/tests/test_file_ref.cc b/ppapi/tests/test_file_ref.cc
index d6b3b366dbcae6a78d39aed3b53e1f0e0cab8f0b..b17450d182d73d6095c3335490dea751241fd7f6 100644
--- a/ppapi/tests/test_file_ref.cc
+++ b/ppapi/tests/test_file_ref.cc
@@ -44,16 +44,16 @@ bool TestFileRef::Init() {
return InitTestingInterface() && EnsureRunningOverHTTP();
}
-void TestFileRef::RunTest() {
- RUN_TEST_FORCEASYNC_AND_NOT(Create);
- RUN_TEST_FORCEASYNC_AND_NOT(GetFileSystemType);
- RUN_TEST_FORCEASYNC_AND_NOT(GetName);
- RUN_TEST_FORCEASYNC_AND_NOT(GetPath);
- RUN_TEST_FORCEASYNC_AND_NOT(GetParent);
- RUN_TEST_FORCEASYNC_AND_NOT(MakeDirectory);
- RUN_TEST_FORCEASYNC_AND_NOT(QueryAndTouchFile);
- RUN_TEST_FORCEASYNC_AND_NOT(DeleteFileAndDirectory);
- RUN_TEST_FORCEASYNC_AND_NOT(RenameFileAndDirectory);
+void TestFileRef::RunTests(const std::string& filter) {
+ RUN_TEST_FORCEASYNC_AND_NOT(Create, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(GetFileSystemType, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(GetName, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(GetPath, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(GetParent, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(MakeDirectory, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(QueryAndTouchFile, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(DeleteFileAndDirectory, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(RenameFileAndDirectory, filter);
}
std::string TestFileRef::TestCreate() {
« no previous file with comments | « ppapi/tests/test_file_ref.h ('k') | ppapi/tests/test_file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698