| OLD | NEW |
| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 76 |
| 77 // Flaky: http://crbug.com/70773 | 77 // Flaky: http://crbug.com/70773 |
| 78 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_KeyPathTest) { | 78 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_KeyPathTest) { |
| 79 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("key_path_test.html")))); | 79 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("key_path_test.html")))); |
| 80 } | 80 } |
| 81 | 81 |
| 82 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, TransactionGetTest) { | 82 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, TransactionGetTest) { |
| 83 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("transaction_get_test.html")))); | 83 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("transaction_get_test.html")))); |
| 84 } | 84 } |
| 85 | 85 |
| 86 #if defined(OS_WIN) |
| 87 // http://crbug.com/104306 |
| 88 #define KeyTypesTest FLAKY_KeyTypesTest |
| 89 #endif |
| 86 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, KeyTypesTest) { | 90 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, KeyTypesTest) { |
| 87 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("key_types_test.html")))); | 91 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("key_types_test.html")))); |
| 88 } | 92 } |
| 89 | 93 |
| 90 // Flaky: http://crbug.com/70773 | 94 // Flaky: http://crbug.com/70773 |
| 91 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_ObjectStoreTest) { | 95 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_ObjectStoreTest) { |
| 92 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("object_store_test.html")))); | 96 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("object_store_test.html")))); |
| 93 } | 97 } |
| 94 | 98 |
| 95 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DatabaseTest) { | 99 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DatabaseTest) { |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 virtual void SetUpCommandLine(CommandLine* command_line) { | 252 virtual void SetUpCommandLine(CommandLine* command_line) { |
| 249 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); | 253 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); |
| 250 } | 254 } |
| 251 }; | 255 }; |
| 252 | 256 |
| 253 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed, | 257 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed, |
| 254 DatabaseCallbacksTest) { | 258 DatabaseCallbacksTest) { |
| 255 SimpleTest( | 259 SimpleTest( |
| 256 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html")))); | 260 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html")))); |
| 257 } | 261 } |
| OLD | NEW |