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

Side by Side Diff: chrome/browser/cocoa/disclosure_view_controller_unittest.mm

Issue 2673006: AutoFill Profiles dialog implemented according to new mocks on Mac (Closed)
Patch Set: Revisions based on review comments. Created 10 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
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/scoped_nsobject.h"
6 #include "chrome/browser/cocoa/browser_test_helper.h"
7 #import "chrome/browser/cocoa/cocoa_test_helper.h"
8 #import "chrome/browser/cocoa/disclosure_view_controller.h"
9 #include "testing/gtest/include/gtest/gtest.h"
10
11 namespace {
12 class DisclosureViewControllerTest : public CocoaTest {
13 public:
14 DisclosureViewControllerTest() {}
15
16 private:
17 DISALLOW_COPY_AND_ASSIGN(DisclosureViewControllerTest);
18 };
19
20 TEST_F(DisclosureViewControllerTest, Basic) {
21 // A basic test that creates a new instance and releases.
22 // Aids valgrind leak detection.
23 scoped_nsobject<DisclosureViewController> controller(
24 [[DisclosureViewController alloc]
25 initWithNibName:@"" bundle:nil disclosure:NSOnState]);
26 EXPECT_TRUE(controller.get());
27 }
28
29 }
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/disclosure_view_controller.mm ('k') | chrome/browser/cocoa/section_separator_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698