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

Side by Side Diff: test/serve/web_socket/path_to_urls_test.dart

Issue 1585513002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/pub.git@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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS d.file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS d.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 pub_tests;
6
7 import 'package:path/path.dart' as p; 5 import 'package:path/path.dart' as p;
8 import 'package:pub/src/io.dart'; 6 import 'package:pub/src/io.dart';
9 7
10 import '../../descriptor.dart' as d; 8 import '../../descriptor.dart' as d;
11 import '../../test_pub.dart'; 9 import '../../test_pub.dart';
12 import '../utils.dart'; 10 import '../utils.dart';
13 11
14 main() { 12 main() {
15 // TODO(rnystrom): Split into independent tests. 13 // TODO(rnystrom): Split into independent tests.
16 integration("pathToUrls converts asset ids to matching URL paths", () { 14 integration("pathToUrls converts asset ids to matching URL paths", () {
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 "path": canonicalize(p.join(sandboxDir, "foo", "lib", "foo.dart")) 123 "path": canonicalize(p.join(sandboxDir, "foo", "lib", "foo.dart"))
126 }, {"urls": [ 124 }, {"urls": [
127 getServerUrl("test", "packages/foo/foo.dart"), 125 getServerUrl("test", "packages/foo/foo.dart"),
128 getServerUrl("web", "packages/foo/foo.dart"), 126 getServerUrl("web", "packages/foo/foo.dart"),
129 getServerUrl("randomdir", "packages/foo/foo.dart") 127 getServerUrl("randomdir", "packages/foo/foo.dart")
130 ]}); 128 ]});
131 129
132 endPubServe(); 130 endPubServe();
133 }); 131 });
134 } 132 }
OLDNEW
« no previous file with comments | « test/serve/web_socket/path_to_urls_errors_test.dart ('k') | test/serve/web_socket/path_to_urls_with_line_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698