summaryrefslogtreecommitdiffstats
path: root/ppapi/tests/test_paint_aggregator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/tests/test_paint_aggregator.cc')
-rw-r--r--ppapi/tests/test_paint_aggregator.cc44
1 files changed, 22 insertions, 22 deletions
diff --git a/ppapi/tests/test_paint_aggregator.cc b/ppapi/tests/test_paint_aggregator.cc
index be3f19c..77e2174 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() {