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

Unified Diff: chrome/browser/printing/print_system_task_proxy_unittest.cc

Issue 8226024: Reland 105087: PrintPreview: Fix printer color settings issues based on printer ppd/schema info. (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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/printing/print_system_task_proxy_unittest.cc
diff --git a/chrome/browser/ui/webui/print_preview_handler_unittest.cc b/chrome/browser/printing/print_system_task_proxy_unittest.cc
similarity index 97%
rename from chrome/browser/ui/webui/print_preview_handler_unittest.cc
rename to chrome/browser/printing/print_system_task_proxy_unittest.cc
index c4fc995061cee2636009b7b998d42f388e9092e4..836baa3c51ba4d61804d2ee69c26341107e6d58d 100644
--- a/chrome/browser/ui/webui/print_preview_handler_unittest.cc
+++ b/chrome/browser/printing/print_system_task_proxy_unittest.cc
@@ -11,7 +11,8 @@
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/scoped_temp_dir.h"
-#include "chrome/browser/ui/webui/print_preview_handler.h"
+#include "chrome/browser/printing/print_system_task_proxy.h"
+#include "printing/backend/print_backend.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -45,7 +46,7 @@ void verifyOptionValue(ppd_file_t* ppd,
using printing_internal::parse_lpoptions;
// Test to verify that lpoption custom settings are marked on the ppd file.
-TEST(PrintPreviewHandlerTest, MarkLpoptionsInPPD) {
+TEST(PrintSystemTaskProxyTest, MarkLpoptionsInPPD) {
const std::string kColorModel = "ColorModel";
const std::string kBlack = "Black";
const std::string kGray = "Gray";
@@ -152,7 +153,7 @@ TEST(PrintPreviewHandlerTest, MarkLpoptionsInPPD) {
}
// Test the lpoption parsing code.
-TEST(PrintPreviewHandlerTest, ParseLpoptionData) {
+TEST(PrintSystemTaskProxyTest, ParseLpoptionData) {
// Specifies the user lpoption data.
std::string user_lpoptions;
« no previous file with comments | « chrome/browser/printing/print_system_task_proxy.cc ('k') | chrome/browser/resources/print_preview/color_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698