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

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

Issue 1814002: Remove deprecated things from net test suite: (Closed)
Patch Set: Created 10 years, 8 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/printing_layout_uitest.cc
diff --git a/chrome/browser/printing/printing_layout_uitest.cc b/chrome/browser/printing/printing_layout_uitest.cc
index d205f7be8d849a451e352e2205cd1302880e84e3..5cfe387c45c3505e1126e31a5aecce02b0096367 100644
--- a/chrome/browser/printing/printing_layout_uitest.cc
+++ b/chrome/browser/printing/printing_layout_uitest.cc
@@ -304,19 +304,19 @@ TEST_F(PrintingLayoutTextTest, DISABLED_Complex) {
}
struct TestPool {
- const wchar_t* source;
+ const char* source;
const wchar_t* result;
};
const TestPool kTestPool[] = {
// ImagesB&W
- L"files/printing/test2.html", L"test2",
+ "files/printing/test2.html", L"test2",
// ImagesTransparent
- L"files/printing/test3.html", L"test3",
+ "files/printing/test3.html", L"test3",
// ImageColor
- L"files/printing/test4.html", L"test4",
+ "files/printing/test4.html", L"test4",
// TODO(maruel): http://b/1171450 Transparent overlays are drawn opaque
- // L"files/printing/test5.html", L"test5",
+ // "files/printing/test5.html", L"test5",
};
// TODO(maruel:) http://code.google.com/p/chromium/issues/detail?id=7721
@@ -334,7 +334,7 @@ TEST_F(PrintingLayoutTestHidden, DISABLED_ManyTimes) {
if (i)
CleanupDumpDirectory();
const TestPool& test = kTestPool[i % arraysize(kTestPool)];
- NavigateToURL(server->TestServerPageW(test.source));
+ NavigateToURL(server->TestServerPage(test.source));
base::DelegateSimpleThread close_printdlg_thread1(&dismisser,
"close_printdlg_thread");
EXPECT_EQ(NULL, FindDialogWindow(dismisser.owner_process()));

Powered by Google App Engine
This is Rietveld 408576698