summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing
diff options
context:
space:
mode:
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);