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

Unified Diff: ppapi/tests/test_file_io.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_file_io.h ('k') | ppapi/tests/test_file_ref.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_file_io.cc
diff --git a/ppapi/tests/test_file_io.cc b/ppapi/tests/test_file_io.cc
index d245b877cd837b8b0f0a19aedb75107db8b8ed69..79995ff083edaae91e48ccd150a7b90523039713 100644
--- a/ppapi/tests/test_file_io.cc
+++ b/ppapi/tests/test_file_io.cc
@@ -111,15 +111,15 @@ bool TestFileIO::Init() {
return InitTestingInterface() && EnsureRunningOverHTTP();
}
-void TestFileIO::RunTest() {
- RUN_TEST_FORCEASYNC_AND_NOT(Open);
- RUN_TEST_FORCEASYNC_AND_NOT(ReadWriteSetLength);
- RUN_TEST_FORCEASYNC_AND_NOT(TouchQuery);
- RUN_TEST_FORCEASYNC_AND_NOT(AbortCalls);
- RUN_TEST_FORCEASYNC_AND_NOT(ParallelReads);
- RUN_TEST_FORCEASYNC_AND_NOT(ParallelWrites);
- RUN_TEST_FORCEASYNC_AND_NOT(NotAllowMixedReadWrite);
- RUN_TEST_FORCEASYNC_AND_NOT(WillWriteWillSetLength);
+void TestFileIO::RunTests(const std::string& filter) {
+ RUN_TEST_FORCEASYNC_AND_NOT(Open, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(ReadWriteSetLength, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(TouchQuery, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(AbortCalls, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(ParallelReads, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(ParallelWrites, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(NotAllowMixedReadWrite, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(WillWriteWillSetLength, filter);
// TODO(viettrungluu): add tests:
// - that PP_ERROR_PENDING is correctly returned
« no previous file with comments | « ppapi/tests/test_file_io.h ('k') | ppapi/tests/test_file_ref.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698