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

Side by Side Diff: sdk/lib/_internal/pub/test/build/reports_dart_parse_errors_test.dart

Issue 141113011: Support directories other than "web" in pub build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 6 years, 10 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 // 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:scheduled_test/scheduled_test.dart'; 5 import 'package:scheduled_test/scheduled_test.dart';
6 6
7 import '../../lib/src/exit_codes.dart' as exit_codes; 7 import '../../lib/src/exit_codes.dart' as exit_codes;
8 import '../descriptor.dart' as d; 8 import '../descriptor.dart' as d;
9 import '../test_pub.dart'; 9 import '../test_pub.dart';
10 10
(...skipping 23 matching lines...) Expand all
34 error: new RegExp( 34 error: new RegExp(
35 r"(?=(.|\n)*^Error on line 1 of .*[/\\]file\.dart:)" 35 r"(?=(.|\n)*^Error on line 1 of .*[/\\]file\.dart:)"
36 r"(.|\n)*^Error on line 1 of .*[/\\]subfile\.dart:", 36 r"(.|\n)*^Error on line 1 of .*[/\\]subfile\.dart:",
37 multiLine: true), 37 multiLine: true),
38 output: new RegExp(r"Building myapp\.\.\.*"), 38 output: new RegExp(r"Building myapp\.\.\.*"),
39 exitCode: exit_codes.DATA); 39 exitCode: exit_codes.DATA);
40 40
41 // Doesn't output anything if an error occurred. 41 // Doesn't output anything if an error occurred.
42 d.dir(appPath, [ 42 d.dir(appPath, [
43 d.dir('build', [ 43 d.dir('build', [
44 d.nothing('file.dart.js'), 44 d.nothing('web')
45 d.nothing('file.dart'),
46 d.nothing('subdir')
47 ]) 45 ])
48 ]).validate(); 46 ]).validate();
49 }); 47 });
50 } 48 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698