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

Side by Side Diff: tests/standalone/src/ListInputStreamTest.dart

Issue 9254026: Split dart:builtin into dart:builtin and dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment and add binaries. Created 8 years, 11 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/standalone/src/FileTest.dart ('k') | tests/standalone/src/ListOutputStreamTest.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 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #import("dart:io");
6
5 void testEmptyListInputStream() { 7 void testEmptyListInputStream() {
6 InputStream stream = new ListInputStream([]); 8 InputStream stream = new ListInputStream([]);
7 ReceivePort donePort = new ReceivePort(); 9 ReceivePort donePort = new ReceivePort();
8 10
9 void onData() { 11 void onData() {
10 throw "No data expected"; 12 throw "No data expected";
11 } 13 }
12 14
13 void onClose() { 15 void onClose() {
14 donePort.toSendPort().send(null); 16 donePort.toSendPort().send(null);
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 testListInputStream1(); 265 testListInputStream1();
264 testListInputStream2(); 266 testListInputStream2();
265 testListInputStreamPipe1(); 267 testListInputStreamPipe1();
266 testListInputStreamPipe2(); 268 testListInputStreamPipe2();
267 testListInputClose1(); 269 testListInputClose1();
268 testListInputClose2(); 270 testListInputClose2();
269 testDynamicListInputStream(); 271 testDynamicListInputStream();
270 testDynamicListInputClose1(); 272 testDynamicListInputClose1();
271 testDynamicListInputClose2(); 273 testDynamicListInputClose2();
272 } 274 }
OLDNEW
« no previous file with comments | « tests/standalone/src/FileTest.dart ('k') | tests/standalone/src/ListOutputStreamTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698