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

Side by Side Diff: tests/Test.cpp

Issue 131103009: update pathops to circle sort (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: disable old test that still fails on linux 32 release Created 6 years, 8 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
« no previous file with comments | « tests/PathOpsSkpTest.cpp ('k') | tests/skia_test.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 /* 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 9
10 #include "SkCommandLineFlags.h" 10 #include "SkCommandLineFlags.h"
(...skipping 10 matching lines...) Expand all
21 #endif 21 #endif
22 22
23 DEFINE_string2(tmpDir, t, NULL, "tmp directory for tests to use."); 23 DEFINE_string2(tmpDir, t, NULL, "tmp directory for tests to use.");
24 24
25 using namespace skiatest; 25 using namespace skiatest;
26 26
27 Reporter::Reporter() : fTestCount(0) { 27 Reporter::Reporter() : fTestCount(0) {
28 } 28 }
29 29
30 void Reporter::startTest(Test* test) { 30 void Reporter::startTest(Test* test) {
31 this->bumpTestCount();
32 this->onStart(test); 31 this->onStart(test);
33 } 32 }
34 33
35 void Reporter::reportFailed(const SkString& desc) { 34 void Reporter::reportFailed(const SkString& desc) {
36 this->onReportFailed(desc); 35 this->onReportFailed(desc);
37 } 36 }
38 37
39 void Reporter::endTest(Test* test) { 38 void Reporter::endTest(Test* test) {
40 this->onEnd(test); 39 this->onEnd(test);
41 } 40 }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 const char* tmpDir = FLAGS_tmpDir.isEmpty() ? NULL : FLAGS_tmpDir[0]; 120 const char* tmpDir = FLAGS_tmpDir.isEmpty() ? NULL : FLAGS_tmpDir[0];
122 return SkString(tmpDir); 121 return SkString(tmpDir);
123 } 122 }
124 123
125 static const char* gResourcePath = NULL; 124 static const char* gResourcePath = NULL;
126 void Test::SetResourcePath(const char* resourcePath) { gResourcePath = resourceP ath; } 125 void Test::SetResourcePath(const char* resourcePath) { gResourcePath = resourceP ath; }
127 126
128 SkString Test::GetResourcePath() { 127 SkString Test::GetResourcePath() {
129 return SkString(gResourcePath); 128 return SkString(gResourcePath);
130 } 129 }
OLDNEW
« no previous file with comments | « tests/PathOpsSkpTest.cpp ('k') | tests/skia_test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698