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

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

Issue 8600003: Add FAIL to IndexedDBBrowserTestWithLowQuota.QuotaTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/scoped_temp_dir.h" 10 #include "base/scoped_temp_dir.h"
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 qm->SetTemporaryGlobalOverrideQuota(bytes, quota::QuotaCallback()); 236 qm->SetTemporaryGlobalOverrideQuota(bytes, quota::QuotaCallback());
237 // Don't return until the quota has been set. 237 // Don't return until the quota has been set.
238 scoped_refptr<base::ThreadTestHelper> helper( 238 scoped_refptr<base::ThreadTestHelper> helper(
239 new base::ThreadTestHelper( 239 new base::ThreadTestHelper(
240 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB))); 240 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB)));
241 ASSERT_TRUE(helper->Run()); 241 ASSERT_TRUE(helper->Run());
242 } 242 }
243 243
244 }; 244 };
245 245
246 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithLowQuota, QuotaTest) { 246 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithLowQuota, FAILS_QuotaTest) {
247 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("quota_test.html")))); 247 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("quota_test.html"))));
248 } 248 }
249 249
250 class IndexedDBBrowserTestWithGCExposed : public IndexedDBBrowserTest { 250 class IndexedDBBrowserTestWithGCExposed : public IndexedDBBrowserTest {
251 public: 251 public:
252 virtual void SetUpCommandLine(CommandLine* command_line) { 252 virtual void SetUpCommandLine(CommandLine* command_line) {
253 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); 253 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc");
254 } 254 }
255 }; 255 };
256 256
257 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed, 257 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed,
258 DatabaseCallbacksTest) { 258 DatabaseCallbacksTest) {
259 SimpleTest( 259 SimpleTest(
260 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html")))); 260 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html"))));
261 } 261 }
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