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

Side by Side Diff: test/directory_listing_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/default_document_test.dart ('k') | test/get_handler_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.directory_listing_test;
6
7 import 'dart:io'; 5 import 'dart:io';
8 6
9 import 'package:scheduled_test/descriptor.dart' as d; 7 import 'package:scheduled_test/descriptor.dart' as d;
10 import 'package:scheduled_test/scheduled_test.dart'; 8 import 'package:scheduled_test/scheduled_test.dart';
11 import 'package:shelf_static/shelf_static.dart'; 9 import 'package:shelf_static/shelf_static.dart';
12 10
13 import 'test_util.dart'; 11 import 'test_util.dart';
14 12
15 void main() { 13 void main() {
16 setUp(() { 14 setUp(() {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 var handler = createStaticHandler(d.defaultRoot, listDirectories: true); 88 var handler = createStaticHandler(d.defaultRoot, listDirectories: true);
91 89
92 return makeRequest(handler, '/files/empty subfolder/').then((response) { 90 return makeRequest(handler, '/files/empty subfolder/').then((response) {
93 expect(response.statusCode, HttpStatus.OK); 91 expect(response.statusCode, HttpStatus.OK);
94 expect(response.readAsString(), completes); 92 expect(response.readAsString(), completes);
95 }); 93 });
96 }); 94 });
97 }); 95 });
98 }); 96 });
99 } 97 }
OLDNEW
« no previous file with comments | « test/default_document_test.dart ('k') | test/get_handler_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698