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

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

Issue 295093006: Disable IndexedDBBrowserTest.DeleteCompactsBackingStore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« 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/bind.h" 5 #include "base/bind.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/files/file_enumerator.h" 9 #include "base/files/file_enumerator.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 test_file = s_corrupt_db_test_prefix + "corrupted_open_db_recovery.html"; 495 test_file = s_corrupt_db_test_prefix + "corrupted_open_db_recovery.html";
496 SimpleTest(embedded_test_server()->GetURL(test_file)); 496 SimpleTest(embedded_test_server()->GetURL(test_file));
497 } 497 }
498 498
499 INSTANTIATE_TEST_CASE_P(IndexedDBBrowserCorruptionTestInstantiation, 499 INSTANTIATE_TEST_CASE_P(IndexedDBBrowserCorruptionTestInstantiation,
500 IndexedDBBrowserCorruptionTest, 500 IndexedDBBrowserCorruptionTest,
501 ::testing::Values("get", 501 ::testing::Values("get",
502 "iterate", 502 "iterate",
503 "clearObjectStore")); 503 "clearObjectStore"));
504 504
505 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DeleteCompactsBackingStore) { 505 // Crashes flakily on various platforms. crbug.com/375856
506 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest,
507 DISABLED_DeleteCompactsBackingStore) {
506 const GURL test_url = GetTestUrl("indexeddb", "delete_compact.html"); 508 const GURL test_url = GetTestUrl("indexeddb", "delete_compact.html");
507 SimpleTest(GURL(test_url.spec() + "#fill")); 509 SimpleTest(GURL(test_url.spec() + "#fill"));
508 int64 after_filling = RequestDiskUsage(); 510 int64 after_filling = RequestDiskUsage();
509 EXPECT_GT(after_filling, 0); 511 EXPECT_GT(after_filling, 0);
510 512
511 SimpleTest(GURL(test_url.spec() + "#purge")); 513 SimpleTest(GURL(test_url.spec() + "#purge"));
512 int64 after_deleting = RequestDiskUsage(); 514 int64 after_deleting = RequestDiskUsage();
513 EXPECT_LT(after_deleting, after_filling); 515 EXPECT_LT(after_deleting, after_filling);
514 516
515 // The above tests verify basic assertions - that filling writes data and 517 // The above tests verify basic assertions - that filling writes data and
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 #define MAYBE_RenderThreadShutdownTest DISABLED_RenderThreadShutdownTest 613 #define MAYBE_RenderThreadShutdownTest DISABLED_RenderThreadShutdownTest
612 #else 614 #else
613 #define MAYBE_RenderThreadShutdownTest RenderThreadShutdownTest 615 #define MAYBE_RenderThreadShutdownTest RenderThreadShutdownTest
614 #endif 616 #endif
615 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, 617 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess,
616 MAYBE_RenderThreadShutdownTest) { 618 MAYBE_RenderThreadShutdownTest) {
617 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); 619 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html"));
618 } 620 }
619 621
620 } // namespace content 622 } // 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