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

Side by Side Diff: tests/FontHostStreamTest.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 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 #include "SkTypes.h" 7 #include "SkTypes.h"
8 8
9 #include "Test.h" 9 #include "Test.h"
10 #include "SkBitmap.h" 10 #include "SkBitmap.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 streamCanvas.drawPosText("A", 1, &point, paint); 107 streamCanvas.drawPosText("A", 1, &point, paint);
108 108
109 REPORTER_ASSERT(reporter, 109 REPORTER_ASSERT(reporter,
110 compare(origBitmap, origRect, streamBitmap, streamRect)) ; 110 compare(origBitmap, origRect, streamBitmap, streamRect)) ;
111 } 111 }
112 //Make sure the typeface is deleted and removed. 112 //Make sure the typeface is deleted and removed.
113 SkGraphics::PurgeFontCache(); 113 SkGraphics::PurgeFontCache();
114 } 114 }
115 115
116 #include "TestClassDef.h" 116 #include "TestClassDef.h"
117 DEFINE_TESTCLASS("FontHost::CreateTypefaceFromStream", FontHostStreamTestClass, test_fontHostStream) 117 DEFINE_TESTCLASS_SHORT(test_fontHostStream)
OLDNEW
« tests/AnnotationTest.cpp ('K') | « tests/FlateTest.cpp ('k') | tests/FontHostTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698