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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/global/binstubs/name_collision_with_overwrite_test.dart

Issue 599343003: Get binstubs working on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update comment. Created 6 years, 2 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 | Annotate | Revision Log
OLDNEW
1 import 'package:scheduled_test/scheduled_stream.dart'; 1 import 'package:scheduled_test/scheduled_stream.dart';
2 import 'package:scheduled_test/scheduled_test.dart'; 2 import 'package:scheduled_test/scheduled_test.dart';
3 import '../../descriptor.dart' as d; 3 import '../../descriptor.dart' as d;
4 import '../../test_pub.dart'; 4 import '../../test_pub.dart';
5 import 'utils.dart';
5 main() { 6 main() {
6 initConfig(); 7 initConfig();
7 integration("overwrites an existing binstub if --overwrite is passed", () { 8 integration("overwrites an existing binstub if --overwrite is passed", () {
8 d.dir("foo", [d.pubspec({ 9 d.dir("foo", [d.pubspec({
9 "name": "foo", 10 "name": "foo",
10 "executables": { 11 "executables": {
11 "foo": "foo", 12 "foo": "foo",
12 "collide1": "foo", 13 "collide1": "foo",
13 "collide2": "foo" 14 "collide2": "foo"
14 } 15 }
(...skipping 15 matching lines...) Expand all
30 consumeThrough("Installed executables bar, collide1 and collide2.")); 31 consumeThrough("Installed executables bar, collide1 and collide2."));
31 pub.stderr.expect("Replaced collide1 previously installed from foo."); 32 pub.stderr.expect("Replaced collide1 previously installed from foo.");
32 pub.stderr.expect("Replaced collide2 previously installed from foo."); 33 pub.stderr.expect("Replaced collide2 previously installed from foo.");
33 pub.shouldExit(); 34 pub.shouldExit();
34 d.dir( 35 d.dir(
35 cachePath, 36 cachePath,
36 [ 37 [
37 d.dir( 38 d.dir(
38 "bin", 39 "bin",
39 [ 40 [
40 d.matcherFile("foo", contains("foo:foo")), 41 d.matcherFile(binStubName("foo"), contains("foo:foo")),
41 d.matcherFile("bar", contains("bar:bar")), 42 d.matcherFile(binStubName("bar"), contains("bar:bar")),
42 d.matcherFile("collide1", contains("bar:bar")), 43 d.matcherFile(binStubName("collide1"), contains("bar:bar")),
43 d.matcherFile("collide2", contains("bar:bar"))])]).validate( ); 44 d.matcherFile(binStubName("collide2"), contains("bar:bar"))] )]).validate();
44 }); 45 });
45 } 46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698