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

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

Issue 3095004: [Mac] Use the new {EXPECT,ASSERT}_NS{EQ,NE} macros where possible. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix compile Created 10 years, 4 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
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/cocoa/cocoa_test_helper.h" 6 #import "chrome/browser/cocoa/cocoa_test_helper.h"
7 #include "chrome/browser/cocoa/cookie_details.h" 7 #include "chrome/browser/cocoa/cookie_details.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #import "testing/gtest_mac.h"
9 10
10 namespace { 11 namespace {
11 12
12 class CookiesDetailsTest : public CocoaTest { 13 class CookiesDetailsTest : public CocoaTest {
13 }; 14 };
14 15
15 TEST_F(CookiesDetailsTest, CreateForFolder) { 16 TEST_F(CookiesDetailsTest, CreateForFolder) {
16 scoped_nsobject<CocoaCookieDetails> details; 17 scoped_nsobject<CocoaCookieDetails> details;
17 details.reset([[CocoaCookieDetails alloc] initAsFolder]); 18 details.reset([[CocoaCookieDetails alloc] initAsFolder]);
18 19
19 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypeFolder); 20 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypeFolder);
20 } 21 }
21 22
22 TEST_F(CookiesDetailsTest, CreateForCookie) { 23 TEST_F(CookiesDetailsTest, CreateForCookie) {
23 scoped_nsobject<CocoaCookieDetails> details; 24 scoped_nsobject<CocoaCookieDetails> details;
24 GURL url("http://chromium.org"); 25 GURL url("http://chromium.org");
25 std::string cookieLine( 26 std::string cookieLine(
26 "PHPSESSID=0123456789abcdef0123456789abcdef; path=/"); 27 "PHPSESSID=0123456789abcdef0123456789abcdef; path=/");
27 net::CookieMonster::ParsedCookie pc(cookieLine); 28 net::CookieMonster::ParsedCookie pc(cookieLine);
28 net::CookieMonster::CanonicalCookie cookie(url, pc); 29 net::CookieMonster::CanonicalCookie cookie(url, pc);
29 NSString* origin = base::SysUTF8ToNSString("http://chromium.org"); 30 NSString* origin = base::SysUTF8ToNSString("http://chromium.org");
30 details.reset([[CocoaCookieDetails alloc] initWithCookie:&cookie 31 details.reset([[CocoaCookieDetails alloc] initWithCookie:&cookie
31 origin:origin 32 origin:origin
32 canEditExpiration:NO]); 33 canEditExpiration:NO]);
33 34
34 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypeCookie); 35 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypeCookie);
35 EXPECT_TRUE([@"PHPSESSID" isEqualToString:[details.get() name]]); 36 EXPECT_NSEQ(@"PHPSESSID", [details.get() name]);
36 EXPECT_TRUE([@"0123456789abcdef0123456789abcdef" 37 EXPECT_NSEQ(@"0123456789abcdef0123456789abcdef",
37 isEqualToString:[details.get() content]]); 38 [details.get() content]);
38 EXPECT_TRUE([@"http://chromium.org" isEqualToString:[details.get() domain]]); 39 EXPECT_NSEQ(@"http://chromium.org", [details.get() domain]);
39 EXPECT_TRUE([@"/" isEqualToString:[details.get() path]]); 40 EXPECT_NSEQ(@"/", [details.get() path]);
40 EXPECT_FALSE([@"" isEqualToString:[details.get() lastModified]]); 41 EXPECT_NSNE(@"", [details.get() lastModified]);
41 EXPECT_FALSE([@"" isEqualToString:[details.get() created]]); 42 EXPECT_NSNE(@"", [details.get() created]);
42 EXPECT_FALSE([@"" isEqualToString:[details.get() sendFor]]); 43 EXPECT_NSNE(@"", [details.get() sendFor]);
43 44
44 EXPECT_FALSE([details.get() shouldHideCookieDetailsView]); 45 EXPECT_FALSE([details.get() shouldHideCookieDetailsView]);
45 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]); 46 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]);
46 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]); 47 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]);
47 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]); 48 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]);
48 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]); 49 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]);
49 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]); 50 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]);
50 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]); 51 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]);
51 } 52 }
52 53
53 TEST_F(CookiesDetailsTest, CreateForTreeDatabase) { 54 TEST_F(CookiesDetailsTest, CreateForTreeDatabase) {
54 scoped_nsobject<CocoaCookieDetails> details; 55 scoped_nsobject<CocoaCookieDetails> details;
55 std::string host("http://chromium.org"); 56 std::string host("http://chromium.org");
56 std::string database_name("sassolungo"); 57 std::string database_name("sassolungo");
57 std::string origin_identifier("dolomites"); 58 std::string origin_identifier("dolomites");
58 std::string description("a great place to climb"); 59 std::string description("a great place to climb");
59 int64 size = 1234; 60 int64 size = 1234;
60 base::Time last_modified = base::Time::Now(); 61 base::Time last_modified = base::Time::Now();
61 BrowsingDataDatabaseHelper::DatabaseInfo info(host, database_name, 62 BrowsingDataDatabaseHelper::DatabaseInfo info(host, database_name,
62 origin_identifier, description, host, size, last_modified); 63 origin_identifier, description, host, size, last_modified);
63 details.reset([[CocoaCookieDetails alloc] initWithDatabase:&info]); 64 details.reset([[CocoaCookieDetails alloc] initWithDatabase:&info]);
64 65
65 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypeTreeDatabase); 66 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypeTreeDatabase);
66 EXPECT_TRUE([@"a great place to climb" isEqualToString:[details.get() 67 EXPECT_NSEQ(@"a great place to climb", [details.get() databaseDescription]);
67 databaseDescription]]); 68 EXPECT_NSEQ(@"1234 B", [details.get() fileSize]);
68 EXPECT_TRUE([@"1234 B" isEqualToString:[details.get() fileSize]]); 69 EXPECT_NSNE(@"", [details.get() lastModified]);
69 EXPECT_FALSE([@"" isEqualToString:[details.get() lastModified]]);
70 70
71 EXPECT_TRUE([details.get() shouldHideCookieDetailsView]); 71 EXPECT_TRUE([details.get() shouldHideCookieDetailsView]);
72 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]); 72 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]);
73 EXPECT_TRUE([details.get() shouldShowDatabaseTreeDetailsView]); 73 EXPECT_TRUE([details.get() shouldShowDatabaseTreeDetailsView]);
74 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]); 74 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]);
75 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]); 75 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]);
76 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]); 76 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]);
77 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]); 77 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]);
78 } 78 }
79 79
80 TEST_F(CookiesDetailsTest, CreateForTreeLocalStorage) { 80 TEST_F(CookiesDetailsTest, CreateForTreeLocalStorage) {
81 scoped_nsobject<CocoaCookieDetails> details; 81 scoped_nsobject<CocoaCookieDetails> details;
82 std::string protocol("http"); 82 std::string protocol("http");
83 std::string host("chromium.org"); 83 std::string host("chromium.org");
84 unsigned short port = 80; 84 unsigned short port = 80;
85 std::string database_identifier("id"); 85 std::string database_identifier("id");
86 std::string origin("chromium.org"); 86 std::string origin("chromium.org");
87 FilePath file_path(FilePath::FromWStringHack(std::wstring(L"/"))); 87 FilePath file_path(FilePath::FromWStringHack(std::wstring(L"/")));
88 int64 size = 1234; 88 int64 size = 1234;
89 base::Time last_modified = base::Time::Now(); 89 base::Time last_modified = base::Time::Now();
90 BrowsingDataLocalStorageHelper::LocalStorageInfo info(protocol, host, port, 90 BrowsingDataLocalStorageHelper::LocalStorageInfo info(protocol, host, port,
91 database_identifier, origin, file_path, size, last_modified); 91 database_identifier, origin, file_path, size, last_modified);
92 details.reset([[CocoaCookieDetails alloc] initWithLocalStorage:&info]); 92 details.reset([[CocoaCookieDetails alloc] initWithLocalStorage:&info]);
93 93
94 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypeTreeLocalStorage); 94 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypeTreeLocalStorage);
95 EXPECT_TRUE([@"chromium.org" isEqualToString:[details.get() domain]]); 95 EXPECT_NSEQ(@"chromium.org", [details.get() domain]);
96 EXPECT_TRUE([@"1234 B" isEqualToString:[details.get() fileSize]]); 96 EXPECT_NSEQ(@"1234 B", [details.get() fileSize]);
97 EXPECT_FALSE([@"" isEqualToString:[details.get() lastModified]]); 97 EXPECT_NSNE(@"", [details.get() lastModified]);
98 98
99 EXPECT_TRUE([details.get() shouldHideCookieDetailsView]); 99 EXPECT_TRUE([details.get() shouldHideCookieDetailsView]);
100 EXPECT_TRUE([details.get() shouldShowLocalStorageTreeDetailsView]); 100 EXPECT_TRUE([details.get() shouldShowLocalStorageTreeDetailsView]);
101 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]); 101 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]);
102 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]); 102 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]);
103 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]); 103 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]);
104 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]); 104 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]);
105 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]); 105 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]);
106 } 106 }
107 107
108 TEST_F(CookiesDetailsTest, CreateForTreeAppCache) { 108 TEST_F(CookiesDetailsTest, CreateForTreeAppCache) {
109 scoped_nsobject<CocoaCookieDetails> details; 109 scoped_nsobject<CocoaCookieDetails> details;
110 110
111 GURL url("http://chromium.org/stuff.manifest"); 111 GURL url("http://chromium.org/stuff.manifest");
112 appcache::AppCacheInfo info; 112 appcache::AppCacheInfo info;
113 info.creation_time = base::Time::Now(); 113 info.creation_time = base::Time::Now();
114 info.last_update_time = base::Time::Now(); 114 info.last_update_time = base::Time::Now();
115 info.last_access_time = base::Time::Now(); 115 info.last_access_time = base::Time::Now();
116 info.size=2678; 116 info.size=2678;
117 info.manifest_url = url; 117 info.manifest_url = url;
118 details.reset([[CocoaCookieDetails alloc] initWithAppCacheInfo:&info]); 118 details.reset([[CocoaCookieDetails alloc] initWithAppCacheInfo:&info]);
119 119
120 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypeTreeAppCache); 120 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypeTreeAppCache);
121 EXPECT_TRUE([@"http://chromium.org/stuff.manifest" 121 EXPECT_NSEQ(@"http://chromium.org/stuff.manifest",
122 isEqualToString:[details.get() manifestURL]]); 122 [details.get() manifestURL]);
123 EXPECT_TRUE([@"2678 B" isEqualToString:[details.get() fileSize]]); 123 EXPECT_NSEQ(@"2678 B", [details.get() fileSize]);
124 EXPECT_FALSE([@"" isEqualToString:[details.get() lastAccessed]]); 124 EXPECT_NSNE(@"", [details.get() lastAccessed]);
125 EXPECT_FALSE([@"" isEqualToString:[details.get() created]]); 125 EXPECT_NSNE(@"", [details.get() created]);
126 126
127 EXPECT_TRUE([details.get() shouldHideCookieDetailsView]); 127 EXPECT_TRUE([details.get() shouldHideCookieDetailsView]);
128 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]); 128 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]);
129 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]); 129 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]);
130 EXPECT_TRUE([details.get() shouldShowAppCacheTreeDetailsView]); 130 EXPECT_TRUE([details.get() shouldShowAppCacheTreeDetailsView]);
131 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]); 131 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]);
132 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]); 132 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]);
133 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]); 133 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]);
134 } 134 }
135 135
136 TEST_F(CookiesDetailsTest, CreateForPromptDatabase) { 136 TEST_F(CookiesDetailsTest, CreateForPromptDatabase) {
137 scoped_nsobject<CocoaCookieDetails> details; 137 scoped_nsobject<CocoaCookieDetails> details;
138 std::string domain("chromium.org"); 138 std::string domain("chromium.org");
139 string16 name(base::SysNSStringToUTF16(@"wicked_name")); 139 string16 name(base::SysNSStringToUTF16(@"wicked_name"));
140 string16 desc(base::SysNSStringToUTF16(@"desc")); 140 string16 desc(base::SysNSStringToUTF16(@"desc"));
141 details.reset([[CocoaCookieDetails alloc] initWithDatabase:domain 141 details.reset([[CocoaCookieDetails alloc] initWithDatabase:domain
142 databaseName:name 142 databaseName:name
143 databaseDescription:desc 143 databaseDescription:desc
144 fileSize:94]); 144 fileSize:94]);
145 145
146 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypePromptDatabase); 146 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypePromptDatabase);
147 EXPECT_TRUE([@"chromium.org" isEqualToString:[details.get() domain]]); 147 EXPECT_NSEQ(@"chromium.org", [details.get() domain]);
148 EXPECT_TRUE([@"wicked_name" isEqualToString:[details.get() name]]); 148 EXPECT_NSEQ(@"wicked_name", [details.get() name]);
149 EXPECT_TRUE([@"desc" isEqualToString:[details.get() databaseDescription]]); 149 EXPECT_NSEQ(@"desc", [details.get() databaseDescription]);
150 EXPECT_TRUE([@"94 B" isEqualToString:[details.get() fileSize]]); 150 EXPECT_NSEQ(@"94 B", [details.get() fileSize]);
151 151
152 EXPECT_TRUE([details.get() shouldHideCookieDetailsView]); 152 EXPECT_TRUE([details.get() shouldHideCookieDetailsView]);
153 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]); 153 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]);
154 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]); 154 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]);
155 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]); 155 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]);
156 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]); 156 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]);
157 EXPECT_TRUE([details.get() shouldShowDatabasePromptDetailsView]); 157 EXPECT_TRUE([details.get() shouldShowDatabasePromptDetailsView]);
158 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]); 158 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]);
159 } 159 }
160 160
161 TEST_F(CookiesDetailsTest, CreateForPromptLocalStorage) { 161 TEST_F(CookiesDetailsTest, CreateForPromptLocalStorage) {
162 scoped_nsobject<CocoaCookieDetails> details; 162 scoped_nsobject<CocoaCookieDetails> details;
163 std::string domain("chromium.org"); 163 std::string domain("chromium.org");
164 string16 key(base::SysNSStringToUTF16(@"testKey")); 164 string16 key(base::SysNSStringToUTF16(@"testKey"));
165 string16 value(base::SysNSStringToUTF16(@"testValue")); 165 string16 value(base::SysNSStringToUTF16(@"testValue"));
166 details.reset([[CocoaCookieDetails alloc] initWithLocalStorage:domain 166 details.reset([[CocoaCookieDetails alloc] initWithLocalStorage:domain
167 key:key 167 key:key
168 value:value]); 168 value:value]);
169 169
170 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypePromptLocalStorage); 170 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypePromptLocalStorage);
171 EXPECT_TRUE([@"chromium.org" isEqualToString:[details.get() domain]]); 171 EXPECT_NSEQ(@"chromium.org", [details.get() domain]);
172 EXPECT_TRUE([@"testKey" isEqualToString:[details.get() localStorageKey]]); 172 EXPECT_NSEQ(@"testKey", [details.get() localStorageKey]);
173 EXPECT_TRUE([@"testValue" isEqualToString:[details.get() localStorageValue]]); 173 EXPECT_NSEQ(@"testValue", [details.get() localStorageValue]);
174 174
175 EXPECT_TRUE([details.get() shouldHideCookieDetailsView]); 175 EXPECT_TRUE([details.get() shouldHideCookieDetailsView]);
176 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]); 176 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]);
177 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]); 177 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]);
178 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]); 178 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]);
179 EXPECT_TRUE([details.get() shouldShowLocalStoragePromptDetailsView]); 179 EXPECT_TRUE([details.get() shouldShowLocalStoragePromptDetailsView]);
180 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]); 180 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]);
181 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]); 181 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]);
182 } 182 }
183 183
184 TEST_F(CookiesDetailsTest, CreateForPromptAppCache) { 184 TEST_F(CookiesDetailsTest, CreateForPromptAppCache) {
185 scoped_nsobject<CocoaCookieDetails> details; 185 scoped_nsobject<CocoaCookieDetails> details;
186 std::string manifestURL("http://html5demos.com/html5demo.manifest"); 186 std::string manifestURL("http://html5demos.com/html5demo.manifest");
187 details.reset([[CocoaCookieDetails alloc] 187 details.reset([[CocoaCookieDetails alloc]
188 initWithAppCacheManifestURL:manifestURL.c_str()]); 188 initWithAppCacheManifestURL:manifestURL.c_str()]);
189 189
190 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypePromptAppCache); 190 EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypePromptAppCache);
191 EXPECT_TRUE([@"http://html5demos.com/html5demo.manifest" 191 EXPECT_NSEQ(@"http://html5demos.com/html5demo.manifest",
192 isEqualToString:[details.get() manifestURL]]); 192 [details.get() manifestURL]);
193 193
194 EXPECT_TRUE([details.get() shouldHideCookieDetailsView]); 194 EXPECT_TRUE([details.get() shouldHideCookieDetailsView]);
195 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]); 195 EXPECT_FALSE([details.get() shouldShowLocalStorageTreeDetailsView]);
196 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]); 196 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]);
197 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]); 197 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]);
198 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]); 198 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]);
199 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]); 199 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]);
200 EXPECT_TRUE([details.get() shouldShowAppCachePromptDetailsView]); 200 EXPECT_TRUE([details.get() shouldShowAppCachePromptDetailsView]);
201 } 201 }
202 202
203 } 203 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698