| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |