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

Side by Side Diff: test/barback/all_includes_all_default_directories_test.dart

Issue 1281623002: Fix a bunch of pub tests that started running "pub get". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | test/barback/directory_args_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS 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 import 'package:scheduled_test/scheduled_test.dart'; 5 import 'package:scheduled_test/scheduled_test.dart';
6 6
7 import '../descriptor.dart' as d; 7 import '../descriptor.dart' as d;
8 import '../serve/utils.dart'; 8 import '../serve/utils.dart';
9 import '../test_pub.dart'; 9 import '../test_pub.dart';
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 d.dir('web', [ 42 d.dir('web', [
43 d.file('file.txt', 'web') 43 d.file('file.txt', 'web')
44 ]), 44 ]),
45 // Only includes default source directories. 45 // Only includes default source directories.
46 d.nothing('unknown') 46 d.nothing('unknown')
47 ]) 47 ])
48 ]).validate(); 48 ]).validate();
49 }); 49 });
50 50
51 integration("serve --all finds assets in default source directories", () { 51 integration("serve --all finds assets in default source directories", () {
52 pubServe(args: ["--all"]); 52 pubServe(args: ["--all"], shouldGetFirst: true);
53 53
54 requestShouldSucceed("file.txt", "benchmark", root: "benchmark"); 54 requestShouldSucceed("file.txt", "benchmark", root: "benchmark");
55 requestShouldSucceed("file.txt", "bin", root: "bin"); 55 requestShouldSucceed("file.txt", "bin", root: "bin");
56 requestShouldSucceed("file.txt", "example", root: "example"); 56 requestShouldSucceed("file.txt", "example", root: "example");
57 requestShouldSucceed("file.txt", "test", root: "test"); 57 requestShouldSucceed("file.txt", "test", root: "test");
58 requestShouldSucceed("file.txt", "web", root: "web"); 58 requestShouldSucceed("file.txt", "web", root: "web");
59 59
60 expectNotServed("unknown"); 60 expectNotServed("unknown");
61 61
62 endPubServe(); 62 endPubServe();
63 }); 63 });
64 } 64 }
OLDNEW
« no previous file with comments | « no previous file | test/barback/directory_args_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698