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

Side by Side Diff: tests/DataRefTest.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/ColorTest.cpp ('k') | tests/DeferredCanvasTest.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 #include "SkData.h" 9 #include "SkData.h"
11 #include "SkDataTable.h" 10 #include "SkDataTable.h"
12 #include "SkOrderedReadBuffer.h" 11 #include "SkOrderedReadBuffer.h"
13 #include "SkOrderedWriteBuffer.h" 12 #include "SkOrderedWriteBuffer.h"
14 #include "SkOSFile.h" 13 #include "SkOSFile.h"
15 #include "SkStream.h" 14 #include "SkStream.h"
16 15
17 static void test_is_equal(skiatest::Reporter* reporter, 16 static void test_is_equal(skiatest::Reporter* reporter,
18 const SkDataTable* a, const SkDataTable* b) { 17 const SkDataTable* a, const SkDataTable* b) {
19 REPORTER_ASSERT(reporter, a->count() == b->count()); 18 REPORTER_ASSERT(reporter, a->count() == b->count());
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 SkData* tmp = SkData::NewSubset(r1, strlen(str), 10); 225 SkData* tmp = SkData::NewSubset(r1, strlen(str), 10);
227 assert_len(reporter, tmp, 0); 226 assert_len(reporter, tmp, 0);
228 tmp->unref(); 227 tmp->unref();
229 tmp = SkData::NewSubset(r1, 0, 0); 228 tmp = SkData::NewSubset(r1, 0, 0);
230 assert_len(reporter, tmp, 0); 229 assert_len(reporter, tmp, 0);
231 tmp->unref(); 230 tmp->unref();
232 231
233 test_cstring(reporter); 232 test_cstring(reporter);
234 test_files(reporter); 233 test_files(reporter);
235 } 234 }
OLDNEW
« no previous file with comments | « tests/ColorTest.cpp ('k') | tests/DeferredCanvasTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698