| 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; | |
| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 ]).create(); | 47 ]).create(); |
| 50 | 48 |
| 51 pubGet(); | 49 pubGet(); |
| 52 pubServe(); | 50 pubServe(); |
| 53 requestShould404("a.out"); | 51 requestShould404("a.out"); |
| 54 requestShouldSucceed("b.out", "b.txt.out"); | 52 requestShouldSucceed("b.out", "b.txt.out"); |
| 55 requestShould404("c.out"); | 53 requestShould404("c.out"); |
| 56 endPubServe(); | 54 endPubServe(); |
| 57 }); | 55 }); |
| 58 } | 56 } |
| OLD | NEW |