OLD | NEW |
---|---|
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // VMOptions= | 5 // VMOptions= |
6 // VMOptions=--short_socket_read | 6 // VMOptions=--short_socket_read |
7 // VMOptions=--short_socket_write | 7 // VMOptions=--short_socket_write |
8 // VMOptions=--short_socket_read --short_socket_write | 8 // VMOptions=--short_socket_read --short_socket_write |
9 | 9 |
10 import "package:expect/expect.dart"; | 10 import "package:expect/expect.dart"; |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
313 onDone: () { | 313 onDone: () { |
314 httpClient.close(); | 314 httpClient.close(); |
315 testServerMain.close(); | 315 testServerMain.close(); |
316 }); | 316 }); |
317 }); | 317 }); |
318 }); | 318 }); |
319 testServerMain.start(); | 319 testServerMain.start(); |
320 } | 320 } |
321 | 321 |
322 void main() { | 322 void main() { |
323 testStartStop(); | 323 // testStartStop(); |
Søren Gjesse
2014/02/18 14:28:00
Please re-activate these tests
Anders Johnsen
2014/02/19 09:43:03
Done.
| |
324 testGET(); | 324 testGET(); |
325 testPOST(true); | 325 // testPOST(true); |
326 testPOST(false); | 326 // testPOST(false); |
327 test404(); | 327 // test404(); |
328 testReasonPhrase(); | 328 // testReasonPhrase(); |
329 } | 329 } |
OLD | NEW |