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

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

Issue 12087103: Revert "Rename mappedBy to map." (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/html/element_test.dart ('k') | tests/lib/async/stream_controller_async_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 test('asBroadcastStream', () { 180 test('asBroadcastStream', () {
181 stream.asBroadcastStream().listen((_) {}); 181 stream.asBroadcastStream().listen((_) {});
182 }); 182 });
183 183
184 test('where', () { 184 test('where', () {
185 stream.where((_) => true).listen((_) {}); 185 stream.where((_) => true).listen((_) {});
186 }); 186 });
187 187
188 test('mappedBy', () { 188 test('mappedBy', () {
189 stream.map((_) => null).listen((_) {}); 189 stream.mappedBy((_) => null).listen((_) {});
190 }); 190 });
191 191
192 test('reduce', () { 192 test('reduce', () {
193 stream.reduce(null, (a, b) => null).then((_) {}); 193 stream.reduce(null, (a, b) => null).then((_) {});
194 }); 194 });
195 195
196 test('contains', () { 196 test('contains', () {
197 stream.contains((_) => true).then((_) {}); 197 stream.contains((_) => true).then((_) {});
198 }); 198 });
199 199
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 }); 270 });
271 271
272 test('singleMatching', () { 272 test('singleMatching', () {
273 stream.singleMatching((_) => true).then((_) {}); 273 stream.singleMatching((_) => true).then((_) {});
274 }); 274 });
275 275
276 test('elementAt', () { 276 test('elementAt', () {
277 stream.elementAt(0).then((_) {}); 277 stream.elementAt(0).then((_) {});
278 }); 278 });
279 } 279 }
OLDNEW
« no previous file with comments | « tests/html/element_test.dart ('k') | tests/lib/async/stream_controller_async_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698