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

Side by Side Diff: test/default_document_test.dart

Issue 1583693002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/shelf_static@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « test/basic_file_test.dart ('k') | test/directory_listing_test.dart » ('j') | 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 shelf_static.default_document_test;
6
7 import 'dart:io'; 5 import 'dart:io';
8 //import 'package:http_parser/http_parser.dart'; 6 //import 'package:http_parser/http_parser.dart';
9 //import 'package:path/path.dart' as p; 7 //import 'package:path/path.dart' as p;
10 import 'package:scheduled_test/descriptor.dart' as d; 8 import 'package:scheduled_test/descriptor.dart' as d;
11 import 'package:scheduled_test/scheduled_test.dart'; 9 import 'package:scheduled_test/scheduled_test.dart';
12 10
13 import 'package:shelf_static/shelf_static.dart'; 11 import 'package:shelf_static/shelf_static.dart';
14 import 'test_util.dart'; 12 import 'test_util.dart';
15 13
16 void main() { 14 void main() {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 expect(response.statusCode, HttpStatus.OK); 148 expect(response.statusCode, HttpStatus.OK);
151 expect(response.contentLength, 31); 149 expect(response.contentLength, 31);
152 expect(response.readAsString(), 150 expect(response.readAsString(),
153 completion('<html><body>files</body></html>')); 151 completion('<html><body>files</body></html>'));
154 expect(response.mimeType, 'text/html'); 152 expect(response.mimeType, 'text/html');
155 }); 153 });
156 }); 154 });
157 }); 155 });
158 }); 156 });
159 } 157 }
OLDNEW
« no previous file with comments | « test/basic_file_test.dart ('k') | test/directory_listing_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698