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

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

Issue 9212038: Distinguish null IDBKey (no value) and invalid IDBKey (value is not valid key) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-enable IndexedDBUILayoutTest.LayoutTests Created 8 years, 11 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
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/file_path.h" 5 #include "base/file_path.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/test/test_timeouts.h" 7 #include "base/test/test_timeouts.h"
8 #include "chrome/test/automation/tab_proxy.h" 8 #include "chrome/test/automation/tab_proxy.h"
9 #include "chrome/test/base/ui_test_utils.h" 9 #include "chrome/test/base/ui_test_utils.h"
10 #include "chrome/test/ui/ui_layout_test.h" 10 #include "chrome/test/ui/ui_layout_test.h"
(...skipping 18 matching lines...) Expand all
29 void AddJSTestResources() { 29 void AddJSTestResources() {
30 // Add other paths our tests require. 30 // Add other paths our tests require.
31 FilePath js_dir = FilePath(). 31 FilePath js_dir = FilePath().
32 AppendASCII("fast").AppendASCII("js"); 32 AppendASCII("fast").AppendASCII("js");
33 AddResourceForLayoutTest(js_dir, FilePath().AppendASCII("resources")); 33 AddResourceForLayoutTest(js_dir, FilePath().AppendASCII("resources"));
34 } 34 }
35 35
36 FilePath test_dir_; 36 FilePath test_dir_;
37 }; 37 };
38 38
39 TEST_F(IndexedDBUILayoutTest, DISABLED_LayoutTests) { 39 TEST_F(IndexedDBUILayoutTest, LayoutTests) {
40 const int port = kNoHttpPort; 40 const int port = kNoHttpPort;
41 InitializeForLayoutTest(test_dir_, FilePath(), port); 41 InitializeForLayoutTest(test_dir_, FilePath(), port);
42 AddJSTestResources(); 42 AddJSTestResources();
43 for (size_t i = 0; i < arraysize(kLayoutTestFileNames); ++i) 43 for (size_t i = 0; i < arraysize(kLayoutTestFileNames); ++i)
44 RunLayoutTest(kLayoutTestFileNames[i], port); 44 RunLayoutTest(kLayoutTestFileNames[i], port);
45 } 45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698