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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/global/binstubs/no_executables_flag_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("does not create binstubs if --no-executables is passed", () { 7 integration("does not create binstubs if --no-executables is passed", () {
7 d.dir("foo", [d.pubspec({ 8 d.dir("foo", [d.pubspec({
8 "name": "foo", 9 "name": "foo",
9 "executables": { 10 "executables": {
10 "one": null 11 "one": null
11 } 12 }
12 }), 13 }),
13 d.dir("bin", [d.file("one.dart", "main() => print('ok');")])]).create( ); 14 d.dir("bin", [d.file("one.dart", "main() => print('ok');")])]).create( );
14 schedulePub(args: ["global", "activate", "--source", "path", "../foo"]); 15 schedulePub(args: ["global", "activate", "--source", "path", "../foo"]);
15 schedulePub( 16 schedulePub(
16 args: ["global", "activate", "--source", "path", "../foo", "--no-executa bles"]); 17 args: ["global", "activate", "--source", "path", "../foo", "--no-executa bles"]);
17 d.dir(cachePath, [d.dir("bin", [d.nothing("one")])]).validate(); 18 d.dir(
19 cachePath,
20 [d.dir("bin", [d.nothing(binStubName("one"))])]).validate();
18 }); 21 });
19 } 22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698