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

Side by Side Diff: tests/standalone/io/list_output_stream_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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/io/list_input_stream_test.dart ('k') | tests/standalone/io/options_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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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"; 5 import 'dart:async';
6 import "dart:isolate"; 6 import 'dart:io';
7 import 'dart:isolate';
7 8
8 void testEmptyListOutputStream1() { 9 void testEmptyListOutputStream1() {
9 ListOutputStream stream = new ListOutputStream(); 10 ListOutputStream stream = new ListOutputStream();
10 Expect.equals(null, stream.read()); 11 Expect.equals(null, stream.read());
11 stream.close(); 12 stream.close();
12 Expect.equals(null, stream.read()); 13 Expect.equals(null, stream.read());
13 Expect.throws(() { stream.write([0]); }); 14 Expect.throws(() { stream.write([0]); });
14 } 15 }
15 16
16 17
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 164
164 main() { 165 main() {
165 testEmptyListOutputStream1(); 166 testEmptyListOutputStream1();
166 testEmptyListOutputStream2(); 167 testEmptyListOutputStream2();
167 testListOutputStream1(); 168 testListOutputStream1();
168 testListOutputStream2(); 169 testListOutputStream2();
169 testListOutputStream3(); 170 testListOutputStream3();
170 testListOutputStream4(); 171 testListOutputStream4();
171 testListOutputStream5(); 172 testListOutputStream5();
172 } 173 }
OLDNEW
« no previous file with comments | « tests/standalone/io/list_input_stream_test.dart ('k') | tests/standalone/io/options_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698