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 'dart:io'; | 5 import 'dart:io'; |
8 | 6 |
9 import 'package:path/path.dart' as p; | 7 import 'package:path/path.dart' as p; |
10 import 'package:scheduled_test/scheduled_test.dart'; | 8 import 'package:scheduled_test/scheduled_test.dart'; |
11 | 9 |
12 import '../descriptor.dart' as d; | 10 import '../descriptor.dart' as d; |
13 import '../test_pub.dart'; | 11 import '../test_pub.dart'; |
14 import 'utils.dart'; | 12 import 'utils.dart'; |
15 | 13 |
16 main() { | 14 main() { |
(...skipping 30 matching lines...) Expand all Loading... |
47 | 45 |
48 // Read the transformed file to ensure the change is actually noticed by | 46 // Read the transformed file to ensure the change is actually noticed by |
49 // pub and not that we just get the new file contents piped through | 47 // pub and not that we just get the new file contents piped through |
50 // without pub realizing they've changed. | 48 // without pub realizing they've changed. |
51 waitForBuildSuccess(); | 49 waitForBuildSuccess(); |
52 requestShouldSucceed("file.out", "after.out"); | 50 requestShouldSucceed("file.out", "after.out"); |
53 | 51 |
54 endPubServe(); | 52 endPubServe(); |
55 }); | 53 }); |
56 } | 54 } |
OLD | NEW |