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

Side by Side Diff: dart/tests/html/streams_test.dart

Issue 12296011: Version 0.3.7.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « dart/tests/html/element_test.dart ('k') | dart/tests/lib/async/stream_controller_async_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698