| OLD | NEW |
| 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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 | 717 |
| 718 test_file = s_corrupt_db_test_prefix + "corrupted_open_db_recovery.html"; | 718 test_file = s_corrupt_db_test_prefix + "corrupted_open_db_recovery.html"; |
| 719 SimpleTest(embedded_test_server()->GetURL(test_file)); | 719 SimpleTest(embedded_test_server()->GetURL(test_file)); |
| 720 } | 720 } |
| 721 | 721 |
| 722 INSTANTIATE_TEST_CASE_P(IndexedDBBrowserTestInstantiation, | 722 INSTANTIATE_TEST_CASE_P(IndexedDBBrowserTestInstantiation, |
| 723 IndexedDBBrowserTest, | 723 IndexedDBBrowserTest, |
| 724 ::testing::Values("failGetBlobJournal", | 724 ::testing::Values("failGetBlobJournal", |
| 725 "get", | 725 "get", |
| 726 "getAll", | 726 "getAll", |
| 727 "failWebkitGetDatabaseNames", |
| 727 "iterate", | 728 "iterate", |
| 728 "failTransactionCommit", | 729 "failTransactionCommit", |
| 729 "clearObjectStore")); | 730 "clearObjectStore")); |
| 730 | 731 |
| 731 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DeleteCompactsBackingStore) { | 732 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DeleteCompactsBackingStore) { |
| 732 const GURL test_url = GetTestUrl("indexeddb", "delete_compact.html"); | 733 const GURL test_url = GetTestUrl("indexeddb", "delete_compact.html"); |
| 733 SimpleTest(GURL(test_url.spec() + "#fill")); | 734 SimpleTest(GURL(test_url.spec() + "#fill")); |
| 734 int64_t after_filling = RequestDiskUsage(); | 735 int64_t after_filling = RequestDiskUsage(); |
| 735 EXPECT_GT(after_filling, 0); | 736 EXPECT_GT(after_filling, 0); |
| 736 | 737 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 command_line->AppendSwitch(switches::kSingleProcess); | 851 command_line->AppendSwitch(switches::kSingleProcess); |
| 851 } | 852 } |
| 852 }; | 853 }; |
| 853 | 854 |
| 854 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, | 855 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, |
| 855 RenderThreadShutdownTest) { | 856 RenderThreadShutdownTest) { |
| 856 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); | 857 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); |
| 857 } | 858 } |
| 858 | 859 |
| 859 } // namespace content | 860 } // namespace content |
| OLD | NEW |