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

Side by Side Diff: tests/DocumentTest.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/DiscardableMemoryTest.cpp ('k') | tests/DrawBitmapRectTest.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 #include "Test.h" 1 #include "Test.h"
2 #include "TestClassDef.h"
3 2
4 #include "SkCanvas.h" 3 #include "SkCanvas.h"
5 #include "SkDocument.h" 4 #include "SkDocument.h"
6 #include "SkOSFile.h" 5 #include "SkOSFile.h"
7 #include "SkStream.h" 6 #include "SkStream.h"
8 7
9 static void test_empty(skiatest::Reporter* reporter) { 8 static void test_empty(skiatest::Reporter* reporter) {
10 SkDynamicMemoryWStream stream; 9 SkDynamicMemoryWStream stream;
11 10
12 SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(&stream)); 11 SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(&stream));
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 REPORTER_ASSERT(reporter, stream.bytesWritten() != 0); 96 REPORTER_ASSERT(reporter, stream.bytesWritten() != 0);
98 } 97 }
99 98
100 DEF_TEST(document_tests, reporter) { 99 DEF_TEST(document_tests, reporter) {
101 test_empty(reporter); 100 test_empty(reporter);
102 test_abort(reporter); 101 test_abort(reporter);
103 test_abortWithFile(reporter); 102 test_abortWithFile(reporter);
104 test_file(reporter); 103 test_file(reporter);
105 test_close(reporter); 104 test_close(reporter);
106 } 105 }
OLDNEW
« no previous file with comments | « tests/DiscardableMemoryTest.cpp ('k') | tests/DrawBitmapRectTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698