summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view_unittest.cc
diff options
context:
space:
mode:
authorsverrir@google.com <sverrir@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-05 15:13:30 +0000
committersverrir@google.com <sverrir@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-05 15:13:30 +0000
commit0d9935bbb0c02c301b5438e7e775a44ed661df7b (patch)
tree54623ff73e93ebb8721077610ce3de5bf28ec75c /chrome/renderer/render_view_unittest.cc
parentfe5f57c5cd60ab11df4f75060eab05d677131be8 (diff)
downloadchromium_src-0d9935bbb0c02c301b5438e7e775a44ed661df7b.zip
chromium_src-0d9935bbb0c02c301b5438e7e775a44ed661df7b.tar.gz
chromium_src-0d9935bbb0c02c301b5438e7e775a44ed661df7b.tar.bz2
Reenable unittest and fix the failure. This failed after a change in the
page sizing. BUG=none TEST=none Review URL: http://codereview.chromium.org/118271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17731 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view_unittest.cc')
-rw-r--r--chrome/renderer/render_view_unittest.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/renderer/render_view_unittest.cc b/chrome/renderer/render_view_unittest.cc
index b13c153..be6617e 100644
--- a/chrome/renderer/render_view_unittest.cc
+++ b/chrome/renderer/render_view_unittest.cc
@@ -279,7 +279,6 @@ TEST_F(RenderViewTest, OnSetTextDirection) {
}
}
-
// Tests that printing pages work and sending and receiving messages through
// that channel all works.
TEST_F(RenderViewTest, OnPrintPages) {
@@ -336,14 +335,13 @@ const struct {
"<body style=\"background-color: white;\">"
"<p style=\"font-family: arial;\">Hello World!</p>"
"</body>",
- 1, 764, 42,
+ 1, 764, 972,
NULL,
NULL,
},
};
} // namespace
-/*
TEST_F(RenderViewTest, PrintLayoutTest) {
#if defined(OS_WIN)
bool baseline = false;
@@ -400,7 +398,6 @@ TEST_F(RenderViewTest, PrintLayoutTest) {
NOTIMPLEMENTED();
#endif
}
-*/
// Test that we can receive correct DOM events when we send input events
// through the RenderWidget::OnHandleInputEvent() function.