Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: sdk/lib/_internal/pub/test/pubspec_test.dart

Issue 357483004: Split installing a package locally from symlinking to it. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise! Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/pub/test/lock_file_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/test/pubspec_test.dart
diff --git a/sdk/lib/_internal/pub/test/pubspec_test.dart b/sdk/lib/_internal/pub/test/pubspec_test.dart
index b4361a3efbe532d8a41b1c1690597f9ba0948c50..29c133ac4d823c9888a98acf08d2f2e38b7fe9f1 100644
--- a/sdk/lib/_internal/pub/test/pubspec_test.dart
+++ b/sdk/lib/_internal/pub/test/pubspec_test.dart
@@ -21,7 +21,10 @@ class MockSource extends Source {
Future<Pubspec> doDescribe(PackageId id) => throw new UnsupportedError(
"Cannot describe mock packages.");
- Future<bool> get(PackageId id, String path) => throw new UnsupportedError(
+ Future ensureLocal(PackageId id) => throw new UnsupportedError(
+ "Cannot get a mock package.");
+
+ Future get(PackageId id, String symlink) => throw new UnsupportedError(
"Cannot get a mock package.");
Future<String> getDirectory(PackageId id) => throw new UnsupportedError(
« no previous file with comments | « sdk/lib/_internal/pub/test/lock_file_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698