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

Unified Diff: gm/gm_expectations.cpp

Issue 15014011: GM: include filename extension (.png) of each output file in JSON summary (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: add_file_extension_to_json Created 7 years, 7 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 | gm/gmmain.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gm_expectations.cpp
===================================================================
--- gm/gm_expectations.cpp (revision 9067)
+++ gm/gm_expectations.cpp (working copy)
@@ -165,7 +165,9 @@
}
Expectations JsonExpectationsSource::get(const char *testName) {
- return Expectations(fJsonExpectedResults[testName]);
+ SkString testNameWithExtension(testName);
+ testNameWithExtension.append(".png");
epoger 2013/05/08 19:45:08 Patchset 2 adds ".png" extension to the lines in t
+ return Expectations(fJsonExpectedResults[testNameWithExtension.c_str()]);
}
/*static*/ SkData* JsonExpectationsSource::readIntoSkData(SkStream &stream, size_t maxBytes) {
« no previous file with comments | « no previous file | gm/gmmain.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698