| OLD | NEW |
| 1 library streams_test; | 1 library streams_test; |
| 2 import '../../pkg/unittest/lib/unittest.dart'; | 2 import '../../pkg/unittest/lib/unittest.dart'; |
| 3 import '../../pkg/unittest/lib/html_config.dart'; | 3 import '../../pkg/unittest/lib/html_config.dart'; |
| 4 import 'dart:async'; | 4 import 'dart:async'; |
| 5 import 'dart:html'; | 5 import 'dart:html'; |
| 6 | 6 |
| 7 class StreamHelper { | 7 class StreamHelper { |
| 8 var _a; | 8 var _a; |
| 9 StreamHelper() { | 9 StreamHelper() { |
| 10 _a = new TextInputElement(); | 10 _a = new TextInputElement(); |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 }); | 184 }); |
| 185 | 185 |
| 186 test('asBroadcastStream', () { | 186 test('asBroadcastStream', () { |
| 187 stream.asBroadcastStream().listen((_) {}); | 187 stream.asBroadcastStream().listen((_) {}); |
| 188 }); | 188 }); |
| 189 | 189 |
| 190 test('where', () { | 190 test('where', () { |
| 191 stream.where((_) => true).listen((_) {}); | 191 stream.where((_) => true).listen((_) {}); |
| 192 }); | 192 }); |
| 193 | 193 |
| 194 test('mappedBy', () { | 194 test('map', () { |
| 195 stream.map((_) => null).listen((_) {}); | 195 stream.map((_) => null).listen((_) {}); |
| 196 }); | 196 }); |
| 197 | 197 |
| 198 test('reduce', () { | 198 test('reduce', () { |
| 199 stream.reduce(null, (a, b) => null).then((_) {}); | 199 stream.reduce(null, (a, b) => null).then((_) {}); |
| 200 }); | 200 }); |
| 201 | 201 |
| 202 test('contains', () { | 202 test('contains', () { |
| 203 stream.contains((_) => true).then((_) {}); | 203 stream.contains((_) => true).then((_) {}); |
| 204 }); | 204 }); |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 }); | 276 }); |
| 277 | 277 |
| 278 test('singleMatching', () { | 278 test('singleMatching', () { |
| 279 stream.singleMatching((_) => true).then((_) {}); | 279 stream.singleMatching((_) => true).then((_) {}); |
| 280 }); | 280 }); |
| 281 | 281 |
| 282 test('elementAt', () { | 282 test('elementAt', () { |
| 283 stream.elementAt(0).then((_) {}); | 283 stream.elementAt(0).then((_) {}); |
| 284 }); | 284 }); |
| 285 } | 285 } |
| OLD | NEW |