1 // Copyright (c) 2009 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.
5 #import "chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.h"
7 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
11 class SadTabViewTest : public CocoaTest {
14 NSRect content_frame = [[test_window() contentView] frame];
15 base::scoped_nsobject<SadTabView> view(
16 [[SadTabView alloc] initWithFrame:content_frame]);
18 [[test_window() contentView] addSubview:view_];
21 SadTabView* view_; // Weak. Owned by the view hierarchy.
24 TEST_VIEW(SadTabViewTest, view_);