Index: pkg/mock/lib/mock.dart |
diff --git a/pkg/unittest/lib/mock.dart b/pkg/mock/lib/mock.dart |
similarity index 99% |
copy from pkg/unittest/lib/mock.dart |
copy to pkg/mock/lib/mock.dart |
index 02c40e302263c3bece2b24b7c4a7881eedcce223..b95f8f30d6f38f7bd95b12438b52706a907d192d 100644 |
--- a/pkg/unittest/lib/mock.dart |
+++ b/pkg/mock/lib/mock.dart |
@@ -5,25 +5,6 @@ |
/** |
* A simple mocking/spy library. |
* |
- * ## Installing ## |
- * |
- * Use [pub][] to install this package. Add the following to your `pubspec.yaml` |
- * file. |
- * |
- * dependencies: |
- * unittest: any |
- * |
- * Then run `pub install`. |
- * |
- * Import this into your Dart code with: |
- * |
- * import 'package:unittest/mock.dart'; |
- * |
- * For more information, see the [unittest package on pub.dartlang.org] |
- * (http://pub.dartlang.org/packages/unittest). |
- * |
- * ## Using ## |
- * |
* To create a mock objects for some class T, create a new class using: |
* |
* class MockT extends Mock implements T {}; |
@@ -122,12 +103,12 @@ |
* [pub]: http://pub.dartlang.org |
*/ |
-library unittest.mock; |
+library mock; |
import 'dart:mirrors'; |
import 'dart:collection' show LinkedHashMap; |
-import 'matcher.dart'; |
+import 'package:matcher/matcher.dart'; |
/** |
* The error formatter for mocking is a bit different from the default one |