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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/global/binstubs/explicit_executables_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_test.dart'; 1 import 'package:scheduled_test/scheduled_test.dart';
2 import '../../descriptor.dart' as d; 2 import '../../descriptor.dart' as d;
3 import '../../test_pub.dart'; 3 import '../../test_pub.dart';
4 import 'utils.dart';
4 main() { 5 main() {
5 initConfig(); 6 initConfig();
6 integration("only creates binstubs for the listed executables", () { 7 integration("only creates binstubs for the listed executables", () {
7 d.dir("foo", [d.pubspec({ 8 d.dir("foo", [d.pubspec({
8 "name": "foo", 9 "name": "foo",
9 "executables": { 10 "executables": {
10 "one": "script", 11 "one": "script",
11 "two": "script", 12 "two": "script",
12 "three": "script" 13 "three": "script"
13 } 14 }
(...skipping 10 matching lines...) Expand all
24 "one", 25 "one",
25 "--executable", 26 "--executable",
26 "three"], 27 "three"],
27 output: contains("Installed executables one and three.")); 28 output: contains("Installed executables one and three."));
28 d.dir( 29 d.dir(
29 cachePath, 30 cachePath,
30 [ 31 [
31 d.dir( 32 d.dir(
32 "bin", 33 "bin",
33 [ 34 [
34 d.matcherFile("one", contains("pub global run foo:script")), 35 d.matcherFile(binStubName("one"), contains("pub global run f oo:script")),
35 d.nothing("two"), 36 d.nothing(binStubName("two")),
36 d.matcherFile("three", contains("pub global run foo:script") )])]).validate(); 37 d.matcherFile(
38 binStubName("three"),
39 contains("pub global run foo:script"))])]).validate();
37 }); 40 });
38 } 41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698