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

Side by Side Diff: content/browser/database_browsertest.cc

Issue 2422883002: Hypothesis: database_browsertest does not run on Android. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/strings/string_number_conversions.h" 5 #include "base/strings/string_number_conversions.h"
6 #include "base/strings/utf_string_conversions.h" 6 #include "base/strings/utf_string_conversions.h"
7 #include "content/public/browser/browser_context.h" 7 #include "content/public/browser/browser_context.h"
8 #include "content/public/browser/download_manager.h" 8 #include "content/public/browser/download_manager.h"
9 #include "content/public/browser/notification_service.h" 9 #include "content/public/browser/notification_service.h"
10 #include "content/public/browser/notification_types.h" 10 #include "content/public/browser/notification_types.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 } 211 }
212 212
213 // Verify database modifications persist after restarting browser. 213 // Verify database modifications persist after restarting browser.
214 IN_PROC_BROWSER_TEST_F(DatabaseTest, PRE_DatabasePersistsAfterRelaunch) { 214 IN_PROC_BROWSER_TEST_F(DatabaseTest, PRE_DatabasePersistsAfterRelaunch) {
215 Navigate(shell()); 215 Navigate(shell());
216 CreateTable(shell()); 216 CreateTable(shell());
217 InsertRecord(shell(), "text"); 217 InsertRecord(shell(), "text");
218 } 218 }
219 219
220 IN_PROC_BROWSER_TEST_F(DatabaseTest, DatabasePersistsAfterRelaunch) { 220 IN_PROC_BROWSER_TEST_F(DatabaseTest, DatabasePersistsAfterRelaunch) {
221 NOTREACHED();
221 Navigate(shell()); 222 Navigate(shell());
222 CompareRecords(shell(), "text"); 223 CompareRecords(shell(), "text");
223 } 224 }
224 225
225 // Verify OTR database is removed after OTR window closes. 226 // Verify OTR database is removed after OTR window closes.
226 IN_PROC_BROWSER_TEST_F(DatabaseTest, PRE_OffTheRecordDatabaseNotPersistent) { 227 IN_PROC_BROWSER_TEST_F(DatabaseTest, PRE_OffTheRecordDatabaseNotPersistent) {
227 Shell* otr = CreateOffTheRecordBrowser(); 228 Shell* otr = CreateOffTheRecordBrowser();
228 Navigate(otr); 229 Navigate(otr);
229 CreateTable(otr); 230 CreateTable(otr);
230 InsertRecord(otr, "text"); 231 InsertRecord(otr, "text");
(...skipping 23 matching lines...) Expand all
254 Navigate(otr1); 255 Navigate(otr1);
255 CreateTable(otr1); 256 CreateTable(otr1);
256 InsertRecord(otr1, "text"); 257 InsertRecord(otr1, "text");
257 258
258 Shell* otr2 = CreateOffTheRecordBrowser(); 259 Shell* otr2 = CreateOffTheRecordBrowser();
259 Navigate(otr2); 260 Navigate(otr2);
260 CompareRecords(otr2, "text"); 261 CompareRecords(otr2, "text");
261 } 262 }
262 263
263 } // namespace content 264 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698