| Index: utils/tests/pub/pub_install_sdk_test.dart
|
| diff --git a/utils/tests/pub/pub_install_sdk_test.dart b/utils/tests/pub/pub_install_sdk_test.dart
|
| deleted file mode 100644
|
| index 43ba1bea943e8d027683045f5d6f4899b179bd80..0000000000000000000000000000000000000000
|
| --- a/utils/tests/pub/pub_install_sdk_test.dart
|
| +++ /dev/null
|
| @@ -1,65 +0,0 @@
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -#library('pub_tests');
|
| -
|
| -#import('dart:io');
|
| -
|
| -#import('test_pub.dart');
|
| -#import('../../../pkg/unittest/unittest.dart');
|
| -
|
| -main() {
|
| - test('checks out a package from the SDK', () {
|
| - dir(sdkPath, [
|
| - file('revision', '1234'),
|
| - dir('pkg', [
|
| - dir('foo', [
|
| - libDir('foo', 'foo 0.0.1234'),
|
| - libPubspec('foo', '0.0.0-not.used')
|
| - ])
|
| - ])
|
| - ]).scheduleCreate();
|
| -
|
| - dir(appPath, [
|
| - pubspec({"name": "myapp", "dependencies": {"foo": {"sdk": "foo"}}})
|
| - ]).scheduleCreate();
|
| -
|
| - schedulePub(args: ['install'],
|
| - output: const RegExp(r"Dependencies installed!$"));
|
| -
|
| - packagesDir({"foo": "0.0.1234"}).scheduleValidate();
|
| -
|
| - run();
|
| - });
|
| -
|
| - test('includes transitive dependencies', () {
|
| - dir(sdkPath, [
|
| - file('revision', '1234'),
|
| - dir('pkg', [
|
| - dir('foo', [
|
| - libDir('foo', 'foo 0.0.1234'),
|
| - libPubspec('foo', '0.0.0-not.used', [{'sdk': 'bar'}])
|
| - ]),
|
| - dir('bar', [
|
| - libDir('bar', 'bar 0.0.1234'),
|
| - libPubspec('bar', '0.0.0-not.used')
|
| - ])
|
| - ])
|
| - ]).scheduleCreate();
|
| -
|
| - dir(appPath, [
|
| - appPubspec([{'sdk': 'foo'}])
|
| - ]).scheduleCreate();
|
| -
|
| - schedulePub(args: ['install'],
|
| - output: const RegExp(r"Dependencies installed!$"));
|
| -
|
| - packagesDir({
|
| - 'foo': '0.0.1234',
|
| - 'bar': '0.0.1234'
|
| - }).scheduleValidate();
|
| -
|
| - run();
|
| - });
|
| -}
|
|
|