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

Unified Diff: ppapi/tests/test_paint_aggregator.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_paint_aggregator.h ('k') | ppapi/tests/test_post_message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_paint_aggregator.cc
diff --git a/ppapi/tests/test_paint_aggregator.cc b/ppapi/tests/test_paint_aggregator.cc
index be3f19c2cc15f6c67c449cbd21c8ff04e1b14ed2..77e2174ecc24c08f1af4d219c058eda9db5181d6 100644
--- a/ppapi/tests/test_paint_aggregator.cc
+++ b/ppapi/tests/test_paint_aggregator.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -13,27 +13,27 @@ bool TestPaintAggregator::Init() {
return true;
}
-void TestPaintAggregator::RunTest() {
- RUN_TEST(InitialState);
- RUN_TEST(SingleInvalidation);
- RUN_TEST(DoubleDisjointInvalidation);
- RUN_TEST(SingleScroll);
- RUN_TEST(DoubleOverlappingScroll);
- RUN_TEST(NegatingScroll);
- RUN_TEST(DiagonalScroll);
- RUN_TEST(ContainedPaintAfterScroll);
- RUN_TEST(ContainedPaintBeforeScroll);
- RUN_TEST(ContainedPaintsBeforeAndAfterScroll);
- RUN_TEST(LargeContainedPaintAfterScroll);
- RUN_TEST(LargeContainedPaintBeforeScroll);
- RUN_TEST(OverlappingPaintBeforeScroll);
- RUN_TEST(OverlappingPaintAfterScroll);
- RUN_TEST(DisjointPaintBeforeScroll);
- RUN_TEST(DisjointPaintAfterScroll);
- RUN_TEST(ContainedPaintTrimmedByScroll);
- RUN_TEST(ContainedPaintEliminatedByScroll);
- RUN_TEST(ContainedPaintAfterScrollTrimmedByScrollDamage);
- RUN_TEST(ContainedPaintAfterScrollEliminatedByScrollDamage);
+void TestPaintAggregator::RunTests(const std::string& filter) {
+ RUN_TEST(InitialState, filter);
+ RUN_TEST(SingleInvalidation, filter);
+ RUN_TEST(DoubleDisjointInvalidation, filter);
+ RUN_TEST(SingleScroll, filter);
+ RUN_TEST(DoubleOverlappingScroll, filter);
+ RUN_TEST(NegatingScroll, filter);
+ RUN_TEST(DiagonalScroll, filter);
+ RUN_TEST(ContainedPaintAfterScroll, filter);
+ RUN_TEST(ContainedPaintBeforeScroll, filter);
+ RUN_TEST(ContainedPaintsBeforeAndAfterScroll, filter);
+ RUN_TEST(LargeContainedPaintAfterScroll, filter);
+ RUN_TEST(LargeContainedPaintBeforeScroll, filter);
+ RUN_TEST(OverlappingPaintBeforeScroll, filter);
+ RUN_TEST(OverlappingPaintAfterScroll, filter);
+ RUN_TEST(DisjointPaintBeforeScroll, filter);
+ RUN_TEST(DisjointPaintAfterScroll, filter);
+ RUN_TEST(ContainedPaintTrimmedByScroll, filter);
+ RUN_TEST(ContainedPaintEliminatedByScroll, filter);
+ RUN_TEST(ContainedPaintAfterScrollTrimmedByScrollDamage, filter);
+ RUN_TEST(ContainedPaintAfterScrollEliminatedByScrollDamage, filter);
}
std::string TestPaintAggregator::TestInitialState() {
« no previous file with comments | « ppapi/tests/test_paint_aggregator.h ('k') | ppapi/tests/test_post_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698