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

Side by Side Diff: test/barback/all_includes_all_default_directories_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, 6 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) 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
11 main() { 11 main() {
12 initConfig();
13
14 setUp(() { 12 setUp(() {
15 d.dir(appPath, [ 13 d.dir(appPath, [
16 d.appPubspec(), 14 d.appPubspec(),
17 d.dir('benchmark', [d.file('file.txt', 'benchmark')]), 15 d.dir('benchmark', [d.file('file.txt', 'benchmark')]),
18 d.dir('bin', [d.file('file.txt', 'bin')]), 16 d.dir('bin', [d.file('file.txt', 'bin')]),
19 d.dir('example', [d.file('file.txt', 'example')]), 17 d.dir('example', [d.file('file.txt', 'example')]),
20 d.dir('test', [d.file('file.txt', 'test')]), 18 d.dir('test', [d.file('file.txt', 'test')]),
21 d.dir('web', [d.file('file.txt', 'web')]), 19 d.dir('web', [d.file('file.txt', 'web')]),
22 d.dir('unknown', [d.file('file.txt', 'unknown')]) 20 d.dir('unknown', [d.file('file.txt', 'unknown')])
23 ]).create(); 21 ]).create();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 requestShouldSucceed("file.txt", "bin", root: "bin"); 55 requestShouldSucceed("file.txt", "bin", root: "bin");
58 requestShouldSucceed("file.txt", "example", root: "example"); 56 requestShouldSucceed("file.txt", "example", root: "example");
59 requestShouldSucceed("file.txt", "test", root: "test"); 57 requestShouldSucceed("file.txt", "test", root: "test");
60 requestShouldSucceed("file.txt", "web", root: "web"); 58 requestShouldSucceed("file.txt", "web", root: "web");
61 59
62 expectNotServed("unknown"); 60 expectNotServed("unknown");
63 61
64 endPubServe(); 62 endPubServe();
65 }); 63 });
66 } 64 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698