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

Side by Side Diff: test/dart2js/reports_dart_parse_errors_test.dart

Issue 1153643002: Use "package:" imports for pub. (Closed) Base URL: git@github.com:dart-lang/pub_test@master
Patch Set: Code review changes Created 5 years, 7 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 import 'package:path/path.dart' as p; 5 import 'package:path/path.dart' as p;
6 import 'package:pub/src/exit_codes.dart' as exit_codes;
6 import 'package:scheduled_test/scheduled_test.dart'; 7 import 'package:scheduled_test/scheduled_test.dart';
7 import 'package:scheduled_test/scheduled_stream.dart'; 8 import 'package:scheduled_test/scheduled_stream.dart';
8 9
9 import '../../lib/src/exit_codes.dart' as exit_codes;
10 import '../descriptor.dart' as d; 10 import '../descriptor.dart' as d;
11 import '../test_pub.dart'; 11 import '../test_pub.dart';
12 12
13 main() { 13 main() {
14 initConfig(); 14 initConfig();
15 integration("reports Dart parse errors", () { 15 integration("reports Dart parse errors", () {
16 // Dart2js can take a long time to compile dart code, so we increase the 16 // Dart2js can take a long time to compile dart code, so we increase the
17 // timeout to cope with that. 17 // timeout to cope with that.
18 currentSchedule.timeout *= 3; 18 currentSchedule.timeout *= 3;
19 19
(...skipping 30 matching lines...) Expand all
50 pub.shouldExit(exit_codes.DATA); 50 pub.shouldExit(exit_codes.DATA);
51 51
52 // Doesn't output anything if an error occurred. 52 // Doesn't output anything if an error occurred.
53 d.dir(appPath, [ 53 d.dir(appPath, [
54 d.dir('build', [ 54 d.dir('build', [
55 d.nothing('web') 55 d.nothing('web')
56 ]) 56 ])
57 ]).validate(); 57 ]).validate();
58 }); 58 });
59 } 59 }
OLDNEW
« no previous file with comments | « test/dart2js/does_not_support_invalid_option_test.dart ('k') | test/dependency_computer/error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698