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

Unified Diff: tests/standalone/io/socket_stream_close_test.dart

Issue 11263040: Make String.charCodes a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/standalone/io/socket_close_test.dart ('k') | tests/standalone/io/string_stream_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/socket_stream_close_test.dart
diff --git a/tests/standalone/io/socket_stream_close_test.dart b/tests/standalone/io/socket_stream_close_test.dart
index 31bafd16cf569d71a3a66abdcc541c72abbec183..0c1e47fb4edf4dffa02ecb42deec338497f0c3a6 100644
--- a/tests/standalone/io/socket_stream_close_test.dart
+++ b/tests/standalone/io/socket_stream_close_test.dart
@@ -109,7 +109,7 @@ class SocketClose {
proceed();
break;
case 1:
- _socket.outputStream.write("Hello".charCodes());
+ _socket.outputStream.write("Hello".charCodes);
_socket.outputStream.onNoPendingWrites = () {
_socket.inputStream.close();
proceed();
@@ -118,20 +118,20 @@ class SocketClose {
case 2:
case 3:
case 4:
- _socket.outputStream.write("Hello".charCodes());
+ _socket.outputStream.write("Hello".charCodes);
break;
case 5:
- _socket.outputStream.write("Hello".charCodes());
+ _socket.outputStream.write("Hello".charCodes);
_socket.outputStream.onNoPendingWrites = () {
_socket.outputStream.close();
};
break;
case 6:
- _socket.outputStream.write("Hello".charCodes());
+ _socket.outputStream.write("Hello".charCodes);
break;
case 7:
case 8:
- _socket.outputStream.write("Hello".charCodes());
+ _socket.outputStream.write("Hello".charCodes);
_socket.outputStream.onNoPendingWrites = () {
_socket.outputStream.close();
};
@@ -255,7 +255,7 @@ class SocketCloseServer {
case 3:
readBytes(() {
_dataEvents++;
- connection.outputStream.write("Hello".charCodes());
+ connection.outputStream.write("Hello".charCodes);
connection.outputStream.onNoPendingWrites = () {
connection.inputStream.close();
};
@@ -264,21 +264,21 @@ class SocketCloseServer {
case 4:
readBytes(() {
_dataEvents++;
- connection.outputStream.write("Hello".charCodes());
+ connection.outputStream.write("Hello".charCodes);
connection.inputStream.close();
});
break;
case 5:
readBytes(() {
_dataEvents++;
- connection.outputStream.write("Hello".charCodes());
+ connection.outputStream.write("Hello".charCodes);
});
break;
case 6:
case 7:
readBytes(() {
_dataEvents++;
- connection.outputStream.write("Hello".charCodes());
+ connection.outputStream.write("Hello".charCodes);
connection.outputStream.onNoPendingWrites = () {
connection.outputStream.close();
};
@@ -287,7 +287,7 @@ class SocketCloseServer {
case 8:
readBytes(() {
_dataEvents++;
- connection.outputStream.write("Hello".charCodes());
+ connection.outputStream.write("Hello".charCodes);
connection.outputStream.close();
});
break;
« no previous file with comments | « tests/standalone/io/socket_close_test.dart ('k') | tests/standalone/io/string_stream_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698