| OLD | NEW | 
|---|
| 1 #library('WebDBTest'); | 1 library WebDBTest; | 
| 2 #import('../../pkg/unittest/unittest.dart'); | 2 import '../../pkg/unittest/lib/unittest.dart'; | 
| 3 #import('../../pkg/unittest/html_config.dart'); | 3 import '../../pkg/unittest/lib/html_config.dart'; | 
| 4 #import('dart:html'); | 4 import 'dart:html'; | 
| 5 | 5 | 
| 6 void fail(message) { | 6 void fail(message) { | 
| 7   guardAsync(() { | 7   guardAsync(() { | 
| 8       expect(false, isTrue, reason: message); | 8       expect(false, isTrue, reason: message); | 
| 9     }); | 9     }); | 
| 10 } | 10 } | 
| 11 | 11 | 
| 12 Future<SQLTransaction> createTransaction(Database db) { | 12 Future<SQLTransaction> createTransaction(Database db) { | 
| 13   final completer = new Completer<SQLTransaction>(); | 13   final completer = new Completer<SQLTransaction>(); | 
| 14 | 14 | 
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 107           expect(resultSet.rows.length, 1); | 107           expect(resultSet.rows.length, 1); | 
| 108           var row = resultSet.rows.item(0); | 108           var row = resultSet.rows.item(0); | 
| 109           expect(row.containsKey(columnName), isTrue); | 109           expect(row.containsKey(columnName), isTrue); | 
| 110           expect(row[columnName], 'Some text data'); | 110           expect(row[columnName], 'Some text data'); | 
| 111         }); | 111         }); | 
| 112       })) | 112       })) | 
| 113       .chain(dropTable(tableName)) | 113       .chain(dropTable(tableName)) | 
| 114       .then(expectAsync1((tx) {})); | 114       .then(expectAsync1((tx) {})); | 
| 115   }); | 115   }); | 
| 116 } | 116 } | 
| OLD | NEW | 
|---|