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

Side by Side Diff: tests/ErrorTest.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 /* 2 /*
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #include "Test.h" 8 #include "Test.h"
9 #include "SkError.h" 9 #include "SkError.h"
10 #include "SkPath.h" 10 #include "SkPath.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 CHECK(kInvalidArgument_SkError); 54 CHECK(kInvalidArgument_SkError);
55 CHECK(kNoError_SkError); 55 CHECK(kNoError_SkError);
56 56
57 // should trigger *our* callback. 57 // should trigger *our* callback.
58 path.addRoundRect(r, -10, -10); 58 path.addRoundRect(r, -10, -10);
59 CHECK(kInvalidArgument_SkError); 59 CHECK(kInvalidArgument_SkError);
60 CHECK(kNoError_SkError); 60 CHECK(kNoError_SkError);
61 } 61 }
62 62
63 #include "TestClassDef.h" 63 #include "TestClassDef.h"
64 DEFINE_TESTCLASS("Error", ErrorTestClass, ErrorTest) 64 DEFINE_TESTCLASS_SHORT(ErrorTest)
OLDNEW
« tests/AnnotationTest.cpp ('K') | « tests/EmptyPathTest.cpp ('k') | tests/FillPathTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698