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

Unified Diff: tests/StreamTest.cpp

Issue 12521016: Add --resourcePath flag to the test program. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 9 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/Test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/StreamTest.cpp
diff --git a/tests/StreamTest.cpp b/tests/StreamTest.cpp
index 2b86e7bca347097295e3c9d9dbc8dbe3b52cd144..d0a850724107cd46c62b993f029b967d8b57c698 100644
--- a/tests/StreamTest.cpp
+++ b/tests/StreamTest.cpp
@@ -155,8 +155,8 @@ static void TestWStream(skiatest::Reporter* reporter) {
}
delete[] dst;
- if (skiatest::Test::GetTmpDir()) {
- test_filestreams(reporter, skiatest::Test::GetTmpDir());
+ if (!skiatest::Test::GetTmpDir().isEmpty()) {
+ test_filestreams(reporter, skiatest::Test::GetTmpDir().c_str());
}
}
« no previous file with comments | « no previous file | tests/Test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698