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 /// Pub-specific scheduled_test descriptors. | 5 /// Pub-specific scheduled_test descriptors. |
6 library descriptor; | 6 library descriptor; |
7 | 7 |
8 import 'package:oauth2/oauth2.dart' as oauth2; | 8 import 'package:oauth2/oauth2.dart' as oauth2; |
9 import 'package:scheduled_test/scheduled_server.dart'; | 9 import 'package:scheduled_test/scheduled_server.dart'; |
10 import 'package:scheduled_test/scheduled_test.dart'; | |
11 import 'package:scheduled_test/descriptor.dart'; | 10 import 'package:scheduled_test/descriptor.dart'; |
12 | 11 |
13 import '../lib/src/utils.dart'; | 12 import '../lib/src/utils.dart'; |
14 import 'descriptor/git.dart'; | 13 import 'descriptor/git.dart'; |
15 import 'descriptor/tar.dart'; | 14 import 'descriptor/tar.dart'; |
16 import 'test_pub.dart'; | 15 import 'test_pub.dart'; |
17 | 16 |
18 export 'package:scheduled_test/descriptor.dart'; | 17 export 'package:scheduled_test/descriptor.dart'; |
19 export 'descriptor/git.dart'; | 18 export 'descriptor/git.dart'; |
20 export 'descriptor/tar.dart'; | 19 export 'descriptor/tar.dart'; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 ['https://www.googleapis.com/auth/userinfo.email'], | 161 ['https://www.googleapis.com/auth/userinfo.email'], |
163 expiration).toJson()) | 162 expiration).toJson()) |
164 ]); | 163 ]); |
165 })); | 164 })); |
166 } | 165 } |
167 | 166 |
168 /// Describes the application directory, containing only a pubspec specifying | 167 /// Describes the application directory, containing only a pubspec specifying |
169 /// the given [dependencies]. | 168 /// the given [dependencies]. |
170 DirectoryDescriptor appDir([Map dependencies]) => | 169 DirectoryDescriptor appDir([Map dependencies]) => |
171 dir(appPath, [appPubspec(dependencies)]); | 170 dir(appPath, [appPubspec(dependencies)]); |
OLD | NEW |