OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_TESTS_TEST_PAINT_AGGREGATOR_H_ | 5 #ifndef PPAPI_TESTS_TEST_PAINT_AGGREGATOR_H_ |
6 #define PPAPI_TESTS_TEST_PAINT_AGGREGATOR_H_ | 6 #define PPAPI_TESTS_TEST_PAINT_AGGREGATOR_H_ |
7 | 7 |
8 #include "ppapi/tests/test_case.h" | 8 #include "ppapi/tests/test_case.h" |
9 | 9 |
10 class TestPaintAggregator : public TestCase { | 10 class TestPaintAggregator : public TestCase { |
11 public: | 11 public: |
12 TestPaintAggregator(TestingInstance* instance) : TestCase(instance) {} | 12 TestPaintAggregator(TestingInstance* instance) : TestCase(instance) {} |
13 | 13 |
14 // TestCase implementation. | 14 // TestCase implementation. |
15 virtual bool Init(); | 15 virtual bool Init(); |
16 virtual void RunTest(); | 16 virtual void RunTests(const std::string& filter); |
17 | 17 |
18 private: | 18 private: |
19 std::string TestInitialState(); | 19 std::string TestInitialState(); |
20 std::string TestSingleInvalidation(); | 20 std::string TestSingleInvalidation(); |
21 std::string TestDoubleDisjointInvalidation(); | 21 std::string TestDoubleDisjointInvalidation(); |
22 std::string TestSingleScroll(); | 22 std::string TestSingleScroll(); |
23 std::string TestDoubleOverlappingScroll(); | 23 std::string TestDoubleOverlappingScroll(); |
24 std::string TestNegatingScroll(); | 24 std::string TestNegatingScroll(); |
25 std::string TestDiagonalScroll(); | 25 std::string TestDiagonalScroll(); |
26 std::string TestContainedPaintAfterScroll(); | 26 std::string TestContainedPaintAfterScroll(); |
27 std::string TestContainedPaintBeforeScroll(); | 27 std::string TestContainedPaintBeforeScroll(); |
28 std::string TestContainedPaintsBeforeAndAfterScroll(); | 28 std::string TestContainedPaintsBeforeAndAfterScroll(); |
29 std::string TestLargeContainedPaintAfterScroll(); | 29 std::string TestLargeContainedPaintAfterScroll(); |
30 std::string TestLargeContainedPaintBeforeScroll(); | 30 std::string TestLargeContainedPaintBeforeScroll(); |
31 std::string TestOverlappingPaintBeforeScroll(); | 31 std::string TestOverlappingPaintBeforeScroll(); |
32 std::string TestOverlappingPaintAfterScroll(); | 32 std::string TestOverlappingPaintAfterScroll(); |
33 std::string TestDisjointPaintBeforeScroll(); | 33 std::string TestDisjointPaintBeforeScroll(); |
34 std::string TestDisjointPaintAfterScroll(); | 34 std::string TestDisjointPaintAfterScroll(); |
35 std::string TestContainedPaintTrimmedByScroll(); | 35 std::string TestContainedPaintTrimmedByScroll(); |
36 std::string TestContainedPaintEliminatedByScroll(); | 36 std::string TestContainedPaintEliminatedByScroll(); |
37 std::string TestContainedPaintAfterScrollTrimmedByScrollDamage(); | 37 std::string TestContainedPaintAfterScrollTrimmedByScrollDamage(); |
38 std::string TestContainedPaintAfterScrollEliminatedByScrollDamage(); | 38 std::string TestContainedPaintAfterScrollEliminatedByScrollDamage(); |
39 }; | 39 }; |
40 | 40 |
41 #endif // PPAPI_TESTS_TEST_PAINT_AGGREGATOR_H_ | 41 #endif // PPAPI_TESTS_TEST_PAINT_AGGREGATOR_H_ |
OLD | NEW |