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

Side by Side Diff: chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm

Issue 6294008: [Mac] Organize some files into chrome/browser/ui/cocoa/content_settings/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 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 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 #include "base/sys_string_conversions.h" 5 #include "base/sys_string_conversions.h"
6 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 6 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
7 #include "chrome/browser/ui/cocoa/cookie_details.h" 7 #include "chrome/browser/ui/cocoa/content_settings/cookie_details.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #import "testing/gtest_mac.h" 9 #import "testing/gtest_mac.h"
10 10
11 namespace { 11 namespace {
12 12
13 class CookiesDetailsTest : public CocoaTest { 13 class CookiesDetailsTest : public CocoaTest {
14 }; 14 };
15 15
16 TEST_F(CookiesDetailsTest, CreateForFolder) { 16 TEST_F(CookiesDetailsTest, CreateForFolder) {
17 scoped_nsobject<CocoaCookieDetails> details; 17 scoped_nsobject<CocoaCookieDetails> details;
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]); 238 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]);
239 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]); 239 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]);
240 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]); 240 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]);
241 EXPECT_FALSE([details.get() shouldShowIndexedDBTreeDetailsView]); 241 EXPECT_FALSE([details.get() shouldShowIndexedDBTreeDetailsView]);
242 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]); 242 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]);
243 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]); 243 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]);
244 EXPECT_TRUE([details.get() shouldShowAppCachePromptDetailsView]); 244 EXPECT_TRUE([details.get() shouldShowAppCachePromptDetailsView]);
245 } 245 }
246 246
247 } 247 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698