Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: tests/HashCacheTest.cpp

Issue 100113004: Use DEFINE_TESTCLASS_SHORT macro in tests. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« tests/AnnotationTest.cpp ('K') | « tests/GradientTest.cpp ('k') | tests/ImageCacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698