Changeset 129170 in webkit
- Timestamp:
- Sep 20, 2012 2:45:57 PM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r129167 r129170 1 2012-09-20 David Grogan <dgrogan@chromium.org> 2 3 Fix IndexedDB unit tests 4 https://bugs.webkit.org/show_bug.cgi?id=97149 5 6 Reviewed by Tony Chang. 7 8 * tests/IDBDatabaseBackendTest.cpp: 9 Specify a desired version of -1 so that no version change transaction 10 is run. 11 1 12 2012-09-20 Dirk Pranke <dpranke@chromium.org> 2 13 -
trunk/Source/WebKit/chromium/tests/IDBDatabaseBackendTest.cpp
r129048 r129170 114 114 }; 115 115 116 TEST(IDBDatabaseBackendTest, DISABLED_ConnectionLifecycle)116 TEST(IDBDatabaseBackendTest, ConnectionLifecycle) 117 117 { 118 118 RefPtr<IDBFakeBackingStore> backingStore = adoptRef(new IDBFakeBackingStore()); … … 126 126 RefPtr<MockIDBCallbacks> request1 = MockIDBCallbacks::create(); 127 127 RefPtr<FakeIDBDatabaseCallbacks> connection1 = FakeIDBDatabaseCallbacks::create(); 128 db->openConnection (request1, connection1);128 db->openConnectionWithVersion(request1, connection1, IDBDatabaseMetadata::NoIntVersion); 129 129 130 130 RefPtr<MockIDBCallbacks> request2 = MockIDBCallbacks::create(); 131 131 RefPtr<FakeIDBDatabaseCallbacks> connection2 = FakeIDBDatabaseCallbacks::create(); 132 db->openConnection (request2, connection2);132 db->openConnectionWithVersion(request2, connection2, IDBDatabaseMetadata::NoIntVersion); 133 133 134 134 db->close(connection1); … … 173 173 }; 174 174 175 TEST(IDBDatabaseBackendTest, DISABLED_ForcedClose)175 TEST(IDBDatabaseBackendTest, ForcedClose) 176 176 { 177 177 RefPtr<IDBFakeBackingStore> backingStore = adoptRef(new IDBFakeBackingStore()); … … 189 189 RefPtr<MockIDBDatabaseBackendProxy> proxy = MockIDBDatabaseBackendProxy::create(webDatabase); 190 190 RefPtr<MockIDBCallbacks> request = MockIDBCallbacks::create(); 191 backend->openConnection (request, connectionProxy);191 backend->openConnectionWithVersion(request, connectionProxy, IDBDatabaseMetadata::NoIntVersion); 192 192 193 193 ScriptExecutionContext* context = 0;
Note: See TracChangeset
for help on using the changeset viewer.