OLD | NEW |
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 library barback.test.package_graph.source_test; | 5 library barback.test.package_graph.source_test; |
6 | 6 |
7 import 'package:barback/src/utils.dart'; | 7 import 'package:barback/src/utils.dart'; |
8 import 'package:scheduled_test/scheduled_test.dart'; | 8 import 'package:scheduled_test/scheduled_test.dart'; |
9 | 9 |
10 import '../utils.dart'; | 10 import '../utils.dart'; |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 | 188 |
189 updateSources(["app|foo.txt"]); | 189 updateSources(["app|foo.txt"]); |
190 expectNoAsset("app|foo.out"); | 190 expectNoAsset("app|foo.out"); |
191 buildShouldFail([isMissingInputException("app|bar.inc")]); | 191 buildShouldFail([isMissingInputException("app|bar.inc")]); |
192 | 192 |
193 updateSources(["app|bar.inc"]); | 193 updateSources(["app|bar.inc"]); |
194 expectAsset("app|foo.out", "bar"); | 194 expectAsset("app|foo.out", "bar"); |
195 buildShouldSucceed(); | 195 buildShouldSucceed(); |
196 }); | 196 }); |
197 } | 197 } |
OLD | NEW |