OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS d.file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS d.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 library pub_tests; | 5 library pub_tests; |
6 | 6 |
| 7 import 'package:pub/src/exit_codes.dart' as exit_codes; |
7 import 'package:scheduled_test/scheduled_test.dart'; | 8 import 'package:scheduled_test/scheduled_test.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 const TRANSFORMER = """ | 13 const TRANSFORMER = """ |
14 import 'dart:async'; | 14 import 'dart:async'; |
15 | 15 |
16 import 'package:barback/barback.dart'; | 16 import 'package:barback/barback.dart'; |
17 | 17 |
18 class RewriteTransformer extends Transformer { | 18 class RewriteTransformer extends Transformer { |
19 RewriteTransformer.asPlugin(); | 19 RewriteTransformer.asPlugin(); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 "error": startsWith("Transform Rewrite on myapp|web/foo.txt " | 55 "error": startsWith("Transform Rewrite on myapp|web/foo.txt " |
56 "threw error: oh no!") | 56 "threw error: oh no!") |
57 } | 57 } |
58 ], | 58 ], |
59 "log": [] | 59 "log": [] |
60 }, | 60 }, |
61 exitCode: exit_codes.DATA); | 61 exitCode: exit_codes.DATA); |
62 }); | 62 }); |
63 }); | 63 }); |
64 } | 64 } |
OLD | NEW |