diff options
Diffstat (limited to 'ppapi/tests/test_graphics_2d.cc')
-rw-r--r-- | ppapi/tests/test_graphics_2d.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ppapi/tests/test_graphics_2d.cc b/ppapi/tests/test_graphics_2d.cc index e46bea9..38b5d11 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() { |