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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. Created 7 years, 8 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) 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 5
6 import "package:expect/expect.dart";
6 import "dart:async"; 7 import "dart:async";
7 import "dart:io"; 8 import "dart:io";
8 import "dart:uri"; 9 import "dart:uri";
9 10
10 Future<HttpServer> setupServer() { 11 Future<HttpServer> setupServer() {
11 Completer completer = new Completer(); 12 Completer completer = new Completer();
12 HttpServer.bind().then((server) { 13 HttpServer.bind().then((server) {
13 14
14 var handlers = new Map<String, Function>(); 15 var handlers = new Map<String, Function>();
15 addRequestHandler(String path, void handler(HttpRequest request, 16 addRequestHandler(String path, void handler(HttpRequest request,
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 testManualRedirect(); 374 testManualRedirect();
374 testManualRedirectWithHeaders(); 375 testManualRedirectWithHeaders();
375 testAutoRedirect(); 376 testAutoRedirect();
376 testAutoRedirectWithHeaders(); 377 testAutoRedirectWithHeaders();
377 testAutoRedirect301POST(); 378 testAutoRedirect301POST();
378 testAutoRedirect303POST(); 379 testAutoRedirect303POST();
379 testAutoRedirectLimit(); 380 testAutoRedirectLimit();
380 testRedirectLoop(); 381 testRedirectLoop();
381 testRedirectClosingConnection(); 382 testRedirectClosingConnection();
382 } 383 }
OLDNEW
« no previous file with comments | « tests/standalone/io/http_read_test.dart ('k') | tests/standalone/io/http_request_pipeling_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698