OLD | NEW |
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 Loading... |
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) |
OLD | NEW |