Chromium Code Reviews

Side by Side Diff: tests/GradientTest.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.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
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...)
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)
OLDNEW

Powered by Google App Engine