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

Unified Diff: ppapi/tests/test_graphics_2d.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_graphics_2d.h ('k') | ppapi/tests/test_graphics_3d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_graphics_2d.cc
diff --git a/ppapi/tests/test_graphics_2d.cc b/ppapi/tests/test_graphics_2d.cc
index e46bea9c5a029b1c62900d66d3daf3bed062837b..38b5d118adcef8c0114447a51b6c90a9aeb5e848 100644
--- a/ppapi/tests/test_graphics_2d.cc
+++ b/ppapi/tests/test_graphics_2d.cc
@@ -41,16 +41,16 @@ bool TestGraphics2D::Init() {
InitTestingInterface();
}
-void TestGraphics2D::RunTest() {
- RUN_TEST(InvalidResource);
- RUN_TEST(InvalidSize);
- RUN_TEST(Humongous);
- RUN_TEST(InitToZero);
- RUN_TEST(Describe);
- RUN_TEST_FORCEASYNC_AND_NOT(Paint);
- // RUN_TEST_FORCEASYNC_AND_NOT(Scroll); // TODO(brettw) implement.
- RUN_TEST_FORCEASYNC_AND_NOT(Replace);
- RUN_TEST_FORCEASYNC_AND_NOT(Flush);
+void TestGraphics2D::RunTests(const std::string& filter) {
+ RUN_TEST(InvalidResource, filter);
+ RUN_TEST(InvalidSize, filter);
+ RUN_TEST(Humongous, filter);
+ RUN_TEST(InitToZero, filter);
+ RUN_TEST(Describe, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(Paint, filter);
+ // RUN_TEST_FORCEASYNC_AND_NOT(Scroll); // TODO(brettw, filter) implement.
+ RUN_TEST_FORCEASYNC_AND_NOT(Replace, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(Flush, filter);
}
void TestGraphics2D::QuitMessageLoop() {
« no previous file with comments | « ppapi/tests/test_graphics_2d.h ('k') | ppapi/tests/test_graphics_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698