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

Unified Diff: tests/html/indexeddb_5_test.dart

Issue 12388094: Removing futureTest test method (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: tests/html/indexeddb_5_test.dart
diff --git a/tests/html/indexeddb_5_test.dart b/tests/html/indexeddb_5_test.dart
index 6b58ed07517e80fadd539c3e88c6ce28f13f95e3..d2c2a1cfbd476fb5fb4ee022da2e44929debbf9b 100644
--- a/tests/html/indexeddb_5_test.dart
+++ b/tests/html/indexeddb_5_test.dart
@@ -25,7 +25,7 @@ main() {
var indexName = 'name_index';
var db;
- futureTest('init', () {
+ test('init', () {
return html.window.indexedDB.deleteDatabase(dbName).then((_) {
return html.window.indexedDB.open(dbName, version: 1,
onUpgradeNeeded: (e) {
@@ -41,7 +41,7 @@ main() {
});
if (html.window.indexedDB.supportsDatabaseNames) {
- futureTest('getDatabaseNames', () {
+ test('getDatabaseNames', () {
return html.window.indexedDB.getDatabaseNames().then((names) {
expect(names.contains(dbName), isTrue);
});
@@ -49,7 +49,7 @@ main() {
}
var value = {'name_index': 'one', 'value': 'add_value'};
- futureTest('add/delete', () {
+ test('add/delete', () {
var transaction = db.transaction([storeName], 'readwrite');
var key;
return transaction.objectStore(storeName).add(value).then((addedKey) {
@@ -75,7 +75,7 @@ main() {
});
});
- futureTest('clear/count', () {
+ test('clear/count', () {
var transaction = db.transaction([storeName], 'readwrite');
transaction.objectStore(storeName).add(value);
@@ -98,7 +98,7 @@ main() {
});
});
- futureTest('index', () {
+ test('index', () {
var transaction = db.transaction([storeName], 'readwrite');
transaction.objectStore(storeName).add(value);
transaction.objectStore(storeName).add(value);
@@ -143,7 +143,7 @@ main() {
var deleteValue = {'name_index': 'two', 'value': 'delete_value'};
var updateValue = {'name_index': 'three', 'value': 'update_value'};
var updatedValue = {'name_index': 'three', 'value': 'updated_value'};
- futureTest('cursor', () {
+ test('cursor', () {
var transaction = db.transaction([storeName], 'readwrite');
transaction.objectStore(storeName).add(value);
transaction.objectStore(storeName).add(deleteValue);

Powered by Google App Engine
This is Rietveld 408576698