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

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: 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
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..d612cc3caabd64e6d11406d685e9b0a2342b0e71 100644
--- a/ppapi/tests/test_paint_aggregator.cc
+++ b/ppapi/tests/test_paint_aggregator.cc
@@ -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() {

Powered by Google App Engine
This is Rietveld 408576698