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

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

Issue 8662017: IndexedDB: Cursor pre-fetching. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tighten the browser test a little Created 9 years 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
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTest) { 63 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTest) {
64 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_test.html")))); 64 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_test.html"))));
65 } 65 }
66 66
67 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTestIncognito) { 67 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTestIncognito) {
68 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_test.html"))), 68 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_test.html"))),
69 true /* incognito */); 69 true /* incognito */);
70 } 70 }
71 71
72 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorPrefetch) {
73 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_prefetch.html"))));
74 }
75
72 // Flaky: http://crbug.com/70773 76 // Flaky: http://crbug.com/70773
73 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_IndexTest) { 77 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_IndexTest) {
74 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("index_test.html")))); 78 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("index_test.html"))));
75 } 79 }
76 80
77 // Flaky: http://crbug.com/70773 81 // Flaky: http://crbug.com/70773
78 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_KeyPathTest) { 82 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_KeyPathTest) {
79 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("key_path_test.html")))); 83 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("key_path_test.html"))));
80 } 84 }
81 85
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 virtual void SetUpCommandLine(CommandLine* command_line) { 256 virtual void SetUpCommandLine(CommandLine* command_line) {
253 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); 257 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc");
254 } 258 }
255 }; 259 };
256 260
257 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed, 261 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed,
258 DatabaseCallbacksTest) { 262 DatabaseCallbacksTest) {
259 SimpleTest( 263 SimpleTest(
260 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html")))); 264 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html"))));
261 } 265 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698