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

Side by Side Diff: tests/ClampRangeTest.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 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 "gradients/SkClampRange.h" 9 #include "gradients/SkClampRange.h"
10 #include "SkRandom.h" 10 #include "SkRandom.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 SkFixed fx = rand.nextS(); 123 SkFixed fx = rand.nextS();
124 SkFixed dx = rand.nextS(); 124 SkFixed dx = rand.nextS();
125 int count = rand.nextU() % 1000 + 1; 125 int count = rand.nextU() % 1000 + 1;
126 test_range(fx, dx, count); 126 test_range(fx, dx, count);
127 } 127 }
128 } 128 }
129 129
130 #ifdef USE_REPORTER 130 #ifdef USE_REPORTER
131 131
132 #include "TestClassDef.h" 132 #include "TestClassDef.h"
133 DEFINE_TESTCLASS("ClampRange", ClampRangeClass, TestClampRange) 133 DEFINE_TESTCLASS_SHORT(TestClampRange)
134 134
135 #endif 135 #endif
OLDNEW
« tests/AnnotationTest.cpp ('K') | « tests/CanvasTest.cpp ('k') | tests/ClipCubicTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698