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

Side by Side Diff: chrome/browser/ui/cocoa/about_ipc_controller_unittest.mm

Issue 10500016: Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that i… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #import "base/memory/scoped_nsobject.h" 7 #import "base/memory/scoped_nsobject.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #import "chrome/browser/ui/cocoa/about_ipc_controller.h" 9 #import "chrome/browser/ui/cocoa/about_ipc_controller.h"
10 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h" 10 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h"
11 #include "content/test/test_browser_thread.h" 11 #include "content/public/test/test_browser_thread.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "testing/platform_test.h" 13 #include "testing/platform_test.h"
14 14
15 #if defined(IPC_MESSAGE_LOG_ENABLED) 15 #if defined(IPC_MESSAGE_LOG_ENABLED)
16 16
17 namespace { 17 namespace {
18 18
19 class AboutIPCControllerTest : public CocoaTest { 19 class AboutIPCControllerTest : public CocoaTest {
20 public: 20 public:
21 virtual void SetUp() { 21 virtual void SetUp() {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 [controller setDisplayViewMessages:NO]; 58 [controller setDisplayViewMessages:NO];
59 EXPECT_TRUE([controller filterOut:cdata.get()]); 59 EXPECT_TRUE([controller filterOut:cdata.get()]);
60 [controller setDisplayViewMessages:YES]; 60 [controller setDisplayViewMessages:YES];
61 EXPECT_FALSE([controller filterOut:cdata.get()]); 61 EXPECT_FALSE([controller filterOut:cdata.get()]);
62 [controller close]; 62 [controller close];
63 } 63 }
64 64
65 } // namespace 65 } // namespace
66 66
67 #endif // IPC_MESSAGE_LOG_ENABLED 67 #endif // IPC_MESSAGE_LOG_ENABLED
OLDNEW
« no previous file with comments | « chrome/browser/translate/translate_manager_browsertest.cc ('k') | chrome/browser/ui/cocoa/cocoa_profile_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698