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 "SkShader.h" | 9 #include "SkShader.h" |
10 #include "SkGradientShader.h" | 10 #include "SkGradientShader.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 } | 109 } |
110 | 110 |
111 static void test_shader_opacity(skiatest::Reporter* reporter) | 111 static void test_shader_opacity(skiatest::Reporter* reporter) |
112 { | 112 { |
113 test_gradient(reporter); | 113 test_gradient(reporter); |
114 test_color(reporter); | 114 test_color(reporter); |
115 test_bitmap(reporter); | 115 test_bitmap(reporter); |
116 } | 116 } |
117 | 117 |
118 #include "TestClassDef.h" | 118 #include "TestClassDef.h" |
119 DEFINE_TESTCLASS("ShaderOpacity", ShaderOpacityTestClass, test_shader_opacity) | 119 DEFINE_TESTCLASS_SHORT(test_shader_opacity) |
OLD | NEW |