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

Side by Side Diff: test/transformer/loads_different_configurations_from_the_same_isolate_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 '../descriptor.dart' as d; 5 import '../descriptor.dart' as d;
8 import '../test_pub.dart'; 6 import '../test_pub.dart';
9 import '../serve/utils.dart'; 7 import '../serve/utils.dart';
10 8
11 main() { 9 main() {
12 integration("loads different configurations from the same isolate", () { 10 integration("loads different configurations from the same isolate", () {
13 // If different configurations are loaded from different isolates, a 11 // If different configurations are loaded from different isolates, a
14 // transformer can end up being loaded twice. It's even possible for the 12 // transformer can end up being loaded twice. It's even possible for the
15 // second load to use code that's transformed by the first, which is 13 // second load to use code that's transformed by the first, which is
16 // really bad. This tests sets up such a scenario. 14 // really bad. This tests sets up such a scenario.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 requestShouldSucceed("first.dart", 79 requestShouldSucceed("first.dart",
82 'const TOKEN = "(myapp/first, foo/first in myapp)";'); 80 'const TOKEN = "(myapp/first, foo/first in myapp)";');
83 81
84 // foo/second should be transformed by only foo/first. 82 // foo/second should be transformed by only foo/first.
85 requestShouldSucceed("second.dart", 83 requestShouldSucceed("second.dart",
86 'const TOKEN = "(myapp/second, (foo/second, foo/first in foo))";'); 84 'const TOKEN = "(myapp/second, (foo/second, foo/first in foo))";');
87 85
88 endPubServe(); 86 endPubServe();
89 }); 87 });
90 } 88 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698