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

Side by Side Diff: runtime/tests/dart/src/EchoServerStreamTest.dart

Issue 8226016: Add the ability to run tests with several sets of VM flags (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments from iposva@ Created 9 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 unified diff | Download patch | Annotate | Revision Log
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 // Echo server test program to test socket streams. 5 // Echo server test program to test socket streams.
6 //
7 // VMOptions=
8 // VMOptions=--short_socket_read
9 // VMOptions=--short_socket_write
10 // VMOptions=--short_socket_read --short_socket_write
11
6 12
7 class EchoServerStreamTest { 13 class EchoServerStreamTest {
8 14
9 static void testMain() { 15 static void testMain() {
10 EchoServerGame echoServerGame = new EchoServerGame.start(); 16 EchoServerGame echoServerGame = new EchoServerGame.start();
11 } 17 }
12 } 18 }
13 19
14 class EchoServerGame { 20 class EchoServerGame {
15 21
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 } 181 }
176 }); 182 });
177 } 183 }
178 184
179 ServerSocket _server; 185 ServerSocket _server;
180 } 186 }
181 187
182 main() { 188 main() {
183 EchoServerStreamTest.testMain(); 189 EchoServerStreamTest.testMain();
184 } 190 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698