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

Unified Diff: chrome/utility/cloud_print/pwg_encoder_unittest.cc

Issue 214243006: Minimal patch to add rotation to PWG raster generation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « chrome/utility/cloud_print/pwg_encoder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/cloud_print/pwg_encoder_unittest.cc
diff --git a/chrome/utility/cloud_print/pwg_encoder_unittest.cc b/chrome/utility/cloud_print/pwg_encoder_unittest.cc
index eafc6ba4818ab3ef6f814b89198726cc0684c8d1..c455f35caf658bc484b68fb4d93abaf1142512f6 100644
--- a/chrome/utility/cloud_print/pwg_encoder_unittest.cc
+++ b/chrome/utility/cloud_print/pwg_encoder_unittest.cc
@@ -63,16 +63,16 @@ scoped_ptr<BitmapImage> MakeSampleBitmap() {
} // namespace
+// TODO(noamsml): Add tests for rotated cases.
TEST(PwgRasterTest, CompareWithMaster) {
std::string output;
PwgEncoder encoder;
scoped_ptr<BitmapImage> image = MakeSampleBitmap();
encoder.EncodeDocumentHeader(&output);
- encoder.EncodePage(*image, kRasterDPI, 1, &output);
+ encoder.EncodePage(*image, kRasterDPI, 1, &output, false);
EXPECT_EQ(kPWGFileSha1, base::SHA1HashString(output));
}
} // namespace cloud_print
-
« no previous file with comments | « chrome/utility/cloud_print/pwg_encoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698