summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-26 07:28:34 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-26 07:28:34 +0000
commitdd3eac25b4b1600058cfb88a45fdc3be5dbf52a6 (patch)
treecc7b3346263a97fc3edc901b8a4cfd552a5e7fb2 /chrome/browser/printing
parent036284dcd16ca460fac90dd9d26b80c32e879b05 (diff)
downloadchromium_src-dd3eac25b4b1600058cfb88a45fdc3be5dbf52a6.zip
chromium_src-dd3eac25b4b1600058cfb88a45fdc3be5dbf52a6.tar.gz
chromium_src-dd3eac25b4b1600058cfb88a45fdc3be5dbf52a6.tar.bz2
fix unit tests
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1371 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing')
-rw-r--r--chrome/browser/printing/page_overlays_unittest.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/printing/page_overlays_unittest.cc b/chrome/browser/printing/page_overlays_unittest.cc
index 398b625..beca2ae 100644
--- a/chrome/browser/printing/page_overlays_unittest.cc
+++ b/chrome/browser/printing/page_overlays_unittest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/message_loop.h"
#include "base/string_util.h"
#include "chrome/browser/printing/page_overlays.h"
#include "chrome/browser/printing/print_settings.h"
@@ -12,6 +13,11 @@
namespace {
+class PageOverlaysTest : public testing::Test {
+ private:
+ MessageLoop message_loop_;
+};
+
struct Keys {
const wchar_t* key;
const wchar_t* expected;
@@ -46,7 +52,7 @@ class PagesSource : public printing::PrintedPagesSource {
} // namespace
-TEST(PageOverlaysTest, StringConversion) {
+TEST_F(PageOverlaysTest, StringConversion) {
printing::PageOverlays overlays;
overlays.GetOverlay(printing::PageOverlays::LEFT,
printing::PageOverlays::BOTTOM);