| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 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 "SkDeque.h" | 9 #include "SkDeque.h" |
| 10 | 10 |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 assert_blocks(reporter, deq, allocCount); | 161 assert_blocks(reporter, deq, allocCount); |
| 162 } | 162 } |
| 163 | 163 |
| 164 static void TestDeque(skiatest::Reporter* reporter) { | 164 static void TestDeque(skiatest::Reporter* reporter) { |
| 165 // test it once with the default allocation count | 165 // test it once with the default allocation count |
| 166 TestSub(reporter, 1); | 166 TestSub(reporter, 1); |
| 167 // test it again with a generous allocation count | 167 // test it again with a generous allocation count |
| 168 TestSub(reporter, 10); | 168 TestSub(reporter, 10); |
| 169 } | 169 } |
| 170 #include "TestClassDef.h" | 170 #include "TestClassDef.h" |
| 171 DEFINE_TESTCLASS("Deque", TestDequeClass, TestDeque) | 171 DEFINE_TESTCLASS_SHORT(TestDeque) |
| OLD | NEW |