OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 #include "Test.h" | 8 #include "Test.h" |
9 #include "TestClassDef.h" | |
10 | 9 |
11 // This is a GPU-backend specific test | 10 // This is a GPU-backend specific test |
12 #if SK_SUPPORT_GPU | 11 #if SK_SUPPORT_GPU |
13 #include "GrBinHashKey.h" | 12 #include "GrBinHashKey.h" |
14 #include "GrDrawTarget.h" | 13 #include "GrDrawTarget.h" |
15 #include "SkMatrix.h" | 14 #include "SkMatrix.h" |
16 #include "GrRedBlackTree.h" | 15 #include "GrRedBlackTree.h" |
17 | 16 |
18 // If we aren't inheriting these as #defines from elsewhere, | 17 // If we aren't inheriting these as #defines from elsewhere, |
19 // clang demands they be declared before we #include the template | 18 // clang demands they be declared before we #include the template |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 REPORTER_ASSERT(reporter, keyA.getHash() != keyB.getHash()); | 67 REPORTER_ASSERT(reporter, keyA.getHash() != keyB.getHash()); |
69 } | 68 } |
70 | 69 |
71 | 70 |
72 DEF_TEST(GrUnitTests_redBlackTree, reporter) { | 71 DEF_TEST(GrUnitTests_redBlackTree, reporter) { |
73 // TODO(mtklein): unwrap this and use reporter. | 72 // TODO(mtklein): unwrap this and use reporter. |
74 GrRedBlackTree<int>::UnitTest(); | 73 GrRedBlackTree<int>::UnitTest(); |
75 } | 74 } |
76 | 75 |
77 #endif | 76 #endif |
OLD | NEW |