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

Side by Side Diff: pkg/http/test/utils.dart

Issue 11617004: Fix analyzer errors and warnings for pkg/http. (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
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 library utils; 5 library test_utils;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 import 'dart:json'; 8 import 'dart:json';
9 import 'dart:uri'; 9 import 'dart:uri';
10 10
11 import '../../unittest/lib/unittest.dart'; 11 import '../../unittest/lib/unittest.dart';
12 import '../lib/http.dart' as http; 12 import '../lib/http.dart' as http;
13 import '../lib/src/utils.dart'; 13 import '../lib/src/utils.dart';
14 14
15 /// The current server instance. 15 /// The current server instance.
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 const Matcher throwsRedirectLimitExceededException = 165 const Matcher throwsRedirectLimitExceededException =
166 const Throws(isRedirectLimitExceededException); 166 const Throws(isRedirectLimitExceededException);
167 167
168 class _RedirectLimitExceededException extends TypeMatcher { 168 class _RedirectLimitExceededException extends TypeMatcher {
169 const _RedirectLimitExceededException() : 169 const _RedirectLimitExceededException() :
170 super("RedirectLimitExceededException"); 170 super("RedirectLimitExceededException");
171 171
172 bool matches(item, MatchState matchState) => 172 bool matches(item, MatchState matchState) =>
173 item is RedirectLimitExceededException; 173 item is RedirectLimitExceededException;
174 } 174 }
OLDNEW
« pkg/http/lib/src/streamed_request.dart ('K') | « pkg/http/lib/src/streamed_request.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698