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

Unified Diff: chrome/browser/ui/cocoa/find_bar_bridge_unittest.mm

Issue 6366001: [Mac] Move the associated find bar files into a subdir of c/b/ui/cocoa/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « chrome/browser/ui/cocoa/find_bar_bridge.mm ('k') | chrome/browser/ui/cocoa/find_bar_cocoa_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/find_bar_bridge_unittest.mm
===================================================================
--- chrome/browser/ui/cocoa/find_bar_bridge_unittest.mm (revision 71508)
+++ chrome/browser/ui/cocoa/find_bar_bridge_unittest.mm (working copy)
@@ -1,30 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ui/cocoa/cocoa_test_helper.h"
-#include "chrome/browser/ui/cocoa/find_bar_bridge.h"
-#include "chrome/browser/ui/find_bar/find_bar_controller.h"
-
-namespace {
-
-class FindBarBridgeTest : public CocoaTest {
-};
-
-TEST_F(FindBarBridgeTest, Creation) {
- // Make sure the FindBarBridge constructor doesn't crash and
- // properly initializes its FindBarCocoaController.
- FindBarBridge bridge;
- EXPECT_TRUE(bridge.find_bar_cocoa_controller() != NULL);
-}
-
-TEST_F(FindBarBridgeTest, Accessors) {
- // Get/SetFindBarController are virtual methods implemented in
- // FindBarBridge, so we test them here.
- FindBarBridge* bridge = new FindBarBridge();
- FindBarController controller(bridge); // takes ownership of |bridge|.
- bridge->SetFindBarController(&controller);
-
- EXPECT_EQ(&controller, bridge->GetFindBarController());
-}
-} // namespace
« no previous file with comments | « chrome/browser/ui/cocoa/find_bar_bridge.mm ('k') | chrome/browser/ui/cocoa/find_bar_cocoa_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698