OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 | 8 |
9 #include "Test.h" | 9 #include "Test.h" |
10 | 10 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 cache.remove(0, &posHashElements[0]); | 149 cache.remove(0, &posHashElements[0]); |
150 REPORTER_ASSERT(reporter, 18 == cache.count()); | 150 REPORTER_ASSERT(reporter, 18 == cache.count()); |
151 | 151 |
152 HashElement* found = cache.find(0); | 152 HashElement* found = cache.find(0); |
153 REPORTER_ASSERT(reporter, NULL == found); | 153 REPORTER_ASSERT(reporter, NULL == found); |
154 } | 154 } |
155 } | 155 } |
156 | 156 |
157 //////////////////////////////////////////////////////////////////////////////// | 157 //////////////////////////////////////////////////////////////////////////////// |
158 #include "TestClassDef.h" | 158 #include "TestClassDef.h" |
159 DEFINE_TESTCLASS("HashCache", HashCacheTestClass, TestHashCache) | 159 DEFINE_TESTCLASS_SHORT(TestHashCache) |
160 | 160 |
161 #endif | 161 #endif |
OLD | NEW |