blob: 396da7864ac074f11f94ee8172a8f09d8aa08914 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// Copyright (c) 2012 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.
#import <Cocoa/Cocoa.h>
#include "base/memory/ref_counted.h"
#include "chrome/browser/profiles/profile.h"
#import "chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h"
#include "chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/test_browser_thread.h"
using content::BrowserThread;
namespace {
class CollectedCookiesWindowControllerTest
: public TabContentsWrapperTestHarness {
public:
CollectedCookiesWindowControllerTest()
: ui_thread_(BrowserThread::UI, MessageLoopForUI::current()) {
}
private:
content::TestBrowserThread ui_thread_;
};
TEST_F(CollectedCookiesWindowControllerTest, Construction) {
CollectedCookiesWindowController* controller =
[[CollectedCookiesWindowController alloc]
initWithTabContentsWrapper:contents_wrapper()];
[controller release];
}
} // namespace
|