OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/file_path.h" | 6 #include "base/file_path.h" |
7 #include "base/ref_counted.h" | 7 #include "base/ref_counted.h" |
8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
9 #include "chrome/browser/browser.h" | |
10 #include "chrome/browser/tab_contents/tab_contents.h" | 9 #include "chrome/browser/tab_contents/tab_contents.h" |
| 10 #include "chrome/browser/ui/browser.h" |
11 #include "chrome/common/chrome_switches.h" | 11 #include "chrome/common/chrome_switches.h" |
12 #include "chrome/test/in_process_browser_test.h" | 12 #include "chrome/test/in_process_browser_test.h" |
13 #include "chrome/test/ui_test_utils.h" | 13 #include "chrome/test/ui_test_utils.h" |
14 | 14 |
15 // This browser test is aimed towards exercising the IndexedDB bindings and | 15 // This browser test is aimed towards exercising the IndexedDB bindings and |
16 // the actual implementation that lives in the browser side (in_process_webkit). | 16 // the actual implementation that lives in the browser side (in_process_webkit). |
17 class IndexedDBBrowserTest : public InProcessBrowserTest { | 17 class IndexedDBBrowserTest : public InProcessBrowserTest { |
18 public: | 18 public: |
19 IndexedDBBrowserTest() { | 19 IndexedDBBrowserTest() { |
20 EnableDOMAutomation(); | 20 EnableDOMAutomation(); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("object_store_test.html")))); | 61 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("object_store_test.html")))); |
62 } | 62 } |
63 | 63 |
64 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DatabaseTest) { | 64 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DatabaseTest) { |
65 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("database_test.html")))); | 65 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("database_test.html")))); |
66 } | 66 } |
67 | 67 |
68 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, TransactionTest) { | 68 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, TransactionTest) { |
69 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("transaction_test.html")))); | 69 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("transaction_test.html")))); |
70 } | 70 } |
OLD | NEW |