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

Side by Side Diff: chrome/browser/cocoa/vertical_layout_view_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
« no previous file with comments | « chrome/browser/cocoa/vertical_layout_view.mm ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/vertical_layout_view.h"
9 #include "testing/gtest/include/gtest/gtest.h"
10
11 namespace {
12 class VerticalLayoutViewTest : public CocoaTest {
13 public:
14 VerticalLayoutViewTest() {}
15
16 private:
17 DISALLOW_COPY_AND_ASSIGN(VerticalLayoutViewTest);
18 };
19
20 TEST_F(VerticalLayoutViewTest, Basic) {
21 // A basic test that creates a new instance and releases.
22 // Aids valgrind leak detection.
23 scoped_nsobject<VerticalLayoutView> view([[VerticalLayoutView alloc]
24 initWithFrame:NSMakeRect(0, 0, 10, 10)]);
25 EXPECT_TRUE(view.get());
26 }
27
28 }
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/vertical_layout_view.mm ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698