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

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

Issue 11666006: Disable some testing on Windows while examining the problem (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « no previous file | no next file » | 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:isolate"; 5 import "dart:isolate";
6 import "dart:io"; 6 import "dart:io";
7 7
8 void testNoBody(int totalConnections, bool explicitContentLength) { 8 void testNoBody(int totalConnections, bool explicitContentLength) {
9 HttpServer server = new HttpServer(); 9 HttpServer server = new HttpServer();
10 server.onError = (e) => Expect.fail("Unexpected error $e"); 10 server.onError = (e) => Expect.fail("Unexpected error $e");
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 server.close(); 186 server.close();
187 }; 187 };
188 }; 188 };
189 } 189 }
190 190
191 void main() { 191 void main() {
192 testNoBody(5, false); 192 testNoBody(5, false);
193 testNoBody(5, true); 193 testNoBody(5, true);
194 testBody(5, false); 194 testBody(5, false);
195 testBody(5, true); 195 testBody(5, true);
196 testBodyChunked(5, false); 196 // These tests can fail or timeout on Windows, issue 7562.
197 testBodyChunked(5, true); 197 if (Platform.operatingSystem != 'windows') {
198 testBodyChunked(5, false);
199 testBodyChunked(5, true);
200 }
198 testHttp10(); 201 testHttp10();
199 } 202 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698