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

Unified Diff: dm/DM.cpp

Issue 1733113002: Unit Tests: eliminate stray SkDebugf()s. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/AAClipTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 236fce870808b2b220c3378c2711d84e8a35d13f..762d0b86eac8bbd87228246573fecf8da0f1da30 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -10,6 +10,7 @@
#include "DMSrcSink.h"
#include "DMSrcSinkAndroid.h"
#include "ProcStats.h"
+#include "Resources.h"
#include "SkBBHFactory.h"
#include "SkChecksum.h"
#include "SkCodec.h"
@@ -1145,6 +1146,13 @@ int dm_main() {
SkTaskGroup::Enabler enabled(FLAGS_threads);
gCreateTypefaceDelegate = &create_from_name;
+ {
+ SkString testResourcePath = GetResourcePath("color_wheel.png");
+ SkFILEStream testResource(testResourcePath.c_str());
+ if (!testResource.isValid()) {
+ SkDebugf("Some resources are missing. Do you need to set --resourcePath?\n");
+ }
+ }
gather_gold();
gather_uninteresting_hashes();
« no previous file with comments | « no previous file | tests/AAClipTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698