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

Side by Side Diff: test/build/includes_assets_from_dependencies_test.dart

Issue 1215833002: Use the new test runner. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 5 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 // Dart2js can take a long time to compile dart code, so we increase the timeout
6 // to cope with that.
7 @Timeout.factor(3)
8
5 import 'package:scheduled_test/scheduled_test.dart'; 9 import 'package:scheduled_test/scheduled_test.dart';
6 10
7 import '../descriptor.dart' as d; 11 import '../descriptor.dart' as d;
8 import '../test_pub.dart'; 12 import '../test_pub.dart';
9 13
10 main() { 14 main() {
11 initConfig();
12
13 integration("includes assets from the 'lib' directory of dependencies", () { 15 integration("includes assets from the 'lib' directory of dependencies", () {
14 // Dart2js can take a long time to compile dart code, so we increase the
15 // timeout to cope with that.
16 currentSchedule.timeout *= 3;
17
18 d.dir("foo", [ 16 d.dir("foo", [
19 d.libPubspec("foo", "0.0.1"), 17 d.libPubspec("foo", "0.0.1"),
20 d.dir("lib", [ 18 d.dir("lib", [
21 d.file("foo.txt", "foo"), 19 d.file("foo.txt", "foo"),
22 d.dir("sub", [ 20 d.dir("sub", [
23 d.file("bar.txt", "bar"), 21 d.file("bar.txt", "bar"),
24 ]) 22 ])
25 ]) 23 ])
26 ]).create(); 24 ]).create();
27 25
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 d.dir("sub", [ 67 d.dir("sub", [
70 d.file("index.html", "html"), 68 d.file("index.html", "html"),
71 // "packages" should *only* be created in the top-level directory. 69 // "packages" should *only* be created in the top-level directory.
72 d.nothing("packages") 70 d.nothing("packages")
73 ]) 71 ])
74 ]) 72 ])
75 ]) 73 ])
76 ]).validate(); 74 ]).validate();
77 }); 75 });
78 } 76 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698