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

Side by Side Diff: test/alternative_root_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 | « lib/src/util.dart ('k') | test/basic_file_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.alternative_root_test;
6
7 import 'dart:io'; 5 import 'dart:io';
8 import 'package:scheduled_test/descriptor.dart' as d; 6 import 'package:scheduled_test/descriptor.dart' as d;
9 import 'package:scheduled_test/scheduled_test.dart'; 7 import 'package:scheduled_test/scheduled_test.dart';
10 8
11 import 'package:shelf_static/shelf_static.dart'; 9 import 'package:shelf_static/shelf_static.dart';
12 import 'test_util.dart'; 10 import 'test_util.dart';
13 11
14 void main() { 12 void main() {
15 setUp(() { 13 setUp(() {
16 var tempDir; 14 var tempDir;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 schedule(() { 89 schedule(() {
92 var handler = createStaticHandler(d.defaultRoot); 90 var handler = createStaticHandler(d.defaultRoot);
93 91
94 return makeRequest(handler, '/static/not_here.txt', handlerPath: 'static') 92 return makeRequest(handler, '/static/not_here.txt', handlerPath: 'static')
95 .then((response) { 93 .then((response) {
96 expect(response.statusCode, HttpStatus.NOT_FOUND); 94 expect(response.statusCode, HttpStatus.NOT_FOUND);
97 }); 95 });
98 }); 96 });
99 }); 97 });
100 } 98 }
OLDNEW
« no previous file with comments | « lib/src/util.dart ('k') | test/basic_file_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698