| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file | 1 // Copyright (c) 2013, 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; | |
| 6 | |
| 7 import '../descriptor.dart' as d; | 5 import '../descriptor.dart' as d; |
| 8 import '../test_pub.dart'; | 6 import '../test_pub.dart'; |
| 9 import '../serve/utils.dart'; | 7 import '../serve/utils.dart'; |
| 10 | 8 |
| 11 const GROUP = """ | 9 const GROUP = """ |
| 12 import 'package:barback/barback.dart'; | 10 import 'package:barback/barback.dart'; |
| 13 | 11 |
| 14 import 'transformer.dart'; | 12 import 'transformer.dart'; |
| 15 | 13 |
| 16 class RewriteGroup implements TransformerGroup { | 14 class RewriteGroup implements TransformerGroup { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 38 d.file("foo.txt", "foo") | 36 d.file("foo.txt", "foo") |
| 39 ]) | 37 ]) |
| 40 ]).create(); | 38 ]).create(); |
| 41 | 39 |
| 42 pubGet(); | 40 pubGet(); |
| 43 pubServe(); | 41 pubServe(); |
| 44 requestShouldSucceed("foo.out", "foo.out"); | 42 requestShouldSucceed("foo.out", "foo.out"); |
| 45 endPubServe(); | 43 endPubServe(); |
| 46 }); | 44 }); |
| 47 } | 45 } |
| OLD | NEW |