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

Side by Side Diff: content/browser/indexed_db/indexed_db_browsertest.cc

Issue 2818173003: Indexed DB: Remove nonstandard IDBFactory.webkitGetDatabaseNames() (Closed)
Patch Set: Remove content_browsertest for wGDN Created 3 years, 7 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 | content/test/data/indexeddb/corrupted_open_db_detection.html » ('j') | 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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 724
725 test_file = s_corrupt_db_test_prefix + "corrupted_open_db_recovery.html"; 725 test_file = s_corrupt_db_test_prefix + "corrupted_open_db_recovery.html";
726 SimpleTest(embedded_test_server()->GetURL(test_file)); 726 SimpleTest(embedded_test_server()->GetURL(test_file));
727 } 727 }
728 728
729 INSTANTIATE_TEST_CASE_P(IndexedDBBrowserTestInstantiation, 729 INSTANTIATE_TEST_CASE_P(IndexedDBBrowserTestInstantiation,
730 IndexedDBBrowserTest, 730 IndexedDBBrowserTest,
731 ::testing::Values("failGetBlobJournal", 731 ::testing::Values("failGetBlobJournal",
732 "get", 732 "get",
733 "getAll", 733 "getAll",
734 "failWebkitGetDatabaseNames",
735 "iterate", 734 "iterate",
736 "failTransactionCommit", 735 "failTransactionCommit",
737 "clearObjectStore")); 736 "clearObjectStore"));
738 737
739 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DeleteCompactsBackingStore) { 738 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DeleteCompactsBackingStore) {
740 const GURL test_url = GetTestUrl("indexeddb", "delete_compact.html"); 739 const GURL test_url = GetTestUrl("indexeddb", "delete_compact.html");
741 SimpleTest(GURL(test_url.spec() + "#fill")); 740 SimpleTest(GURL(test_url.spec() + "#fill"));
742 int64_t after_filling = RequestDiskUsage(); 741 int64_t after_filling = RequestDiskUsage();
743 EXPECT_GT(after_filling, 0); 742 EXPECT_GT(after_filling, 0);
744 743
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 command_line->AppendSwitch(switches::kSingleProcess); 857 command_line->AppendSwitch(switches::kSingleProcess);
859 } 858 }
860 }; 859 };
861 860
862 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, 861 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess,
863 RenderThreadShutdownTest) { 862 RenderThreadShutdownTest) {
864 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); 863 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html"));
865 } 864 }
866 865
867 } // namespace content 866 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/test/data/indexeddb/corrupted_open_db_detection.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698