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

Side by Side Diff: tests/GrMemoryPoolTest.cpp

Issue 138563004: Move macros from TestClassDef.h to Test.h (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: upload Created 6 years, 11 months 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
« no previous file with comments | « tests/GrDrawTargetTest.cpp ('k') | tests/GrSurfaceTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 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 #include "Test.h" 8 #include "Test.h"
9 #include "TestClassDef.h"
10 // This is a GPU-backend specific test 9 // This is a GPU-backend specific test
11 #if SK_SUPPORT_GPU 10 #if SK_SUPPORT_GPU
12 #include "GrMemoryPool.h" 11 #include "GrMemoryPool.h"
13 #include "SkRandom.h" 12 #include "SkRandom.h"
14 #include "SkTDArray.h" 13 #include "SkTDArray.h"
15 #include "SkTemplates.h" 14 #include "SkTemplates.h"
16 #include "SkInstCnt.h" 15 #include "SkInstCnt.h"
17 16
18 // A is the top of an inheritance tree of classes that overload op new and 17 // A is the top of an inheritance tree of classes that overload op new and
19 // and delete to use a GrMemoryPool. The objects have values of different types 18 // and delete to use a GrMemoryPool. The objects have values of different types
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 delete rec.fInstance; 233 delete rec.fInstance;
235 } 234 }
236 #if SK_ENABLE_INST_COUNT 235 #if SK_ENABLE_INST_COUNT
237 REPORTER_ASSERT(reporter, !A::GetInstanceCount()); 236 REPORTER_ASSERT(reporter, !A::GetInstanceCount());
238 #endif 237 #endif
239 } 238 }
240 } 239 }
241 } 240 }
242 241
243 #endif 242 #endif
OLDNEW
« no previous file with comments | « tests/GrDrawTargetTest.cpp ('k') | tests/GrSurfaceTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698