OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 import 'dart:io'; | |
6 | |
7 import 'package:path/path.dart' as p; | 5 import 'package:path/path.dart' as p; |
8 import 'package:pub/src/io.dart'; | 6 import 'package:pub/src/io.dart'; |
9 import 'package:scheduled_test/scheduled_process.dart'; | 7 import 'package:scheduled_test/scheduled_process.dart'; |
10 import 'package:scheduled_test/scheduled_stream.dart'; | 8 import 'package:scheduled_test/scheduled_stream.dart'; |
11 import 'package:scheduled_test/scheduled_test.dart'; | 9 import 'package:scheduled_test/scheduled_test.dart'; |
12 | 10 |
13 import '../../descriptor.dart' as d; | 11 import '../../descriptor.dart' as d; |
14 import '../../test_pub.dart'; | 12 import '../../test_pub.dart'; |
15 import 'utils.dart'; | 13 import 'utils.dart'; |
16 | 14 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 process.shouldExit(); | 46 process.shouldExit(); |
49 | 47 |
50 d.dir(cachePath, [ | 48 d.dir(cachePath, [ |
51 d.dir('global_packages/foo/bin', [ | 49 d.dir('global_packages/foo/bin', [ |
52 d.binaryMatcherFile('script.dart.snapshot', isNot(equals( | 50 d.binaryMatcherFile('script.dart.snapshot', isNot(equals( |
53 readBinaryFile(testAssetPath('out-of-date.snapshot'))))) | 51 readBinaryFile(testAssetPath('out-of-date.snapshot'))))) |
54 ]) | 52 ]) |
55 ]).validate(); | 53 ]).validate(); |
56 }); | 54 }); |
57 } | 55 } |
OLD | NEW |