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

Side by Side Diff: tests/PathOpsSkpTest.cpp

Issue 138563004: Move macros from TestClassDef.h to Test.h (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: upload Created 6 years, 11 months 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
« no previous file with comments | « tests/PathOpsSkpClipTest.cpp ('k') | tests/PathOpsTypesTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 #include "PathOpsExtendedTest.h" 7 #include "PathOpsExtendedTest.h"
8 8
9 #include "TestClassDef.h"
10 9
11 #define TEST(name) { name, #name } 10 #define TEST(name) { name, #name }
12 11
13 static void skpcheeseandburger_com225(skiatest::Reporter* reporter) { 12 static void skpcheeseandburger_com225(skiatest::Reporter* reporter) {
14 SkPath path; 13 SkPath path;
15 path.setFillType(SkPath::kEvenOdd_FillType); 14 path.setFillType(SkPath::kEvenOdd_FillType);
16 path.moveTo(555, 468); 15 path.moveTo(555, 468);
17 path.lineTo(555, 362); 16 path.lineTo(555, 362);
18 path.lineTo(872, 362); 17 path.lineTo(872, 362);
19 path.lineTo(872, 468); 18 path.lineTo(872, 468);
(...skipping 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after
1658 1657
1659 static bool runReverse = false; 1658 static bool runReverse = false;
1660 static void (*stopTest)(skiatest::Reporter* ) = 0; 1659 static void (*stopTest)(skiatest::Reporter* ) = 0;
1661 1660
1662 DEF_TEST(PathOpsSkp, reporter) { 1661 DEF_TEST(PathOpsSkp, reporter) {
1663 #if DEBUG_SHOW_TEST_NAME 1662 #if DEBUG_SHOW_TEST_NAME
1664 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH); 1663 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH);
1665 #endif 1664 #endif
1666 RunTestSet(reporter, tests, testCount, firstTest, stopTest, runReverse); 1665 RunTestSet(reporter, tests, testCount, firstTest, stopTest, runReverse);
1667 } 1666 }
OLDNEW
« no previous file with comments | « tests/PathOpsSkpClipTest.cpp ('k') | tests/PathOpsTypesTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698