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

Side by Side Diff: chrome/browser/ui/webui/print_preview_handler_unittest.cc

Issue 8245012: Revert 105087 - PrintPreview: Fix printer color settings issues based on printer ppd/schema infor... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/print_preview_handler.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <cups/cups.h> 5 #include <cups/cups.h>
6 6
7 #include <cstring> 7 #include <cstring>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 it != test_cases.end(); ++it) { 213 it != test_cases.end(); ++it) {
214 num_options = 0; 214 num_options = 0;
215 options = NULL; 215 options = NULL;
216 printing_internal::parse_lpoptions(userLpOptionsFile, it->printer_name, 216 printing_internal::parse_lpoptions(userLpOptionsFile, it->printer_name,
217 &num_options, &options); 217 &num_options, &options);
218 ASSERT_EQ(num_options, it->expected_option_count); 218 ASSERT_EQ(num_options, it->expected_option_count);
219 EXPECT_EQ(num_options != 0, options != NULL); 219 EXPECT_EQ(num_options != 0, options != NULL);
220 cupsFreeOptions(num_options, options); 220 cupsFreeOptions(num_options, options);
221 } 221 }
222 } 222 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/print_preview_handler.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698