OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 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 "SkBitmapDevice.h" | 9 #include "SkBitmapDevice.h" |
10 #include "SkColorShader.h" | 10 #include "SkColorShader.h" |
(...skipping 179 matching lines...) Loading... |
190 for (size_t i = 0; i < SK_ARRAY_COUNT(gProcs); ++i) { | 190 for (size_t i = 0; i < SK_ARRAY_COUNT(gProcs); ++i) { |
191 gProcs[i](reporter, rec); | 191 gProcs[i](reporter, rec); |
192 } | 192 } |
193 } | 193 } |
194 | 194 |
195 static void TestGradients(skiatest::Reporter* reporter) { | 195 static void TestGradients(skiatest::Reporter* reporter) { |
196 TestGradientShaders(reporter); | 196 TestGradientShaders(reporter); |
197 TestConstantGradient(reporter); | 197 TestConstantGradient(reporter); |
198 } | 198 } |
199 #include "TestClassDef.h" | 199 #include "TestClassDef.h" |
200 DEFINE_TESTCLASS("Gradients", TestGradientsClass, TestGradients) | 200 DEFINE_TESTCLASS_SHORT(TestGradients) |
OLD | NEW |