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

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

Issue 231413003: using unittest via package import (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nits Created 6 years, 8 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/storage_test.dart ('k') | tests/html/table_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 'package:unittest/unittest.dart';
3 import '../../pkg/unittest/lib/html_config.dart'; 3 import 'package:unittest/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();
11 document.body.append(_a); 11 document.body.append(_a);
12 } 12 }
13 13
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 }); 267 });
268 268
269 test('singleWhere', () { 269 test('singleWhere', () {
270 stream.singleWhere((_) => true).then((_) {}); 270 stream.singleWhere((_) => true).then((_) {});
271 }); 271 });
272 272
273 test('elementAt', () { 273 test('elementAt', () {
274 stream.elementAt(0).then((_) {}); 274 stream.elementAt(0).then((_) {});
275 }); 275 });
276 } 276 }
OLDNEW
« no previous file with comments | « tests/html/storage_test.dart ('k') | tests/html/table_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698