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

Unified Diff: pkg/unittest/lib/unittest.dart

Issue 10917275: Update unittest to new package layout. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « pkg/unittest/lib/src/test_case.dart ('k') | pkg/unittest/lib/vm_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/unittest.dart
diff --git a/pkg/unittest/unittest.dart b/pkg/unittest/lib/unittest.dart
similarity index 97%
rename from pkg/unittest/unittest.dart
rename to pkg/unittest/lib/unittest.dart
index bc96c79cf69e111638e2c8808e71b9a48da80358..5de905f011bd06bd58f55d13ca8aa530fdb478c7 100644
--- a/pkg/unittest/unittest.dart
+++ b/pkg/unittest/lib/unittest.dart
@@ -6,7 +6,7 @@
* A library for writing dart unit tests.
*
* To import this library, specify the relative path to
- * pkg/unittest/unittest.dart.
+ * pkg/unittest/lib/unittest.dart.
*
* ##Concepts##
*
@@ -24,7 +24,7 @@
*
* A trivial test:
*
- * #import('path-to-dart/pkg/unittest/unitest.dart');
+ * #import('package:unittest/unittest.dart');
* main() {
* test('this is a test', () {
* int x = 2 + 3;
@@ -34,7 +34,7 @@
*
* Multiple tests:
*
- * #import('path-to-dart/pkg/unittest/unitest.dart');
+ * #import('package:unittest/unittest.dart');
* main() {
* test('this is a test', () {
* int x = 2 + 3;
@@ -48,7 +48,7 @@
*
* Multiple tests, grouped by category:
*
- * #import('path-to-dart/pkg/unittest/unitest.dart');
+ * #import('package:unittest/unittest.dart');
* main() {
* group('group A', () {
* test('test A.1', () {
@@ -74,7 +74,7 @@
* that callback is run. A count argument can be provided to specify the number
* of times the callback should be called (the default is 1).
*
- * #import('path-to-dart/pkg/unittest/unitest.dart');
+ * #import('package:unittest/unittest.dart');
* #import('dart:html');
* main() {
* test('calllback is executed once', () {
@@ -115,7 +115,7 @@
* arguments or that take named parameters. (this is not implemented yet,
* but will be coming here soon).
*
- * #import('path-to-dart/pkg/unittest/unitest.dart');
+ * #import('package:unittest/unittest.dart');
* #import('dart:html');
* main() {
* test('calllback is executed', () {
@@ -138,20 +138,20 @@
#import('dart:isolate');
-#source('collection_matchers.dart');
-#source('config.dart');
-#source('core_matchers.dart');
-#source('description.dart');
-#source('expect.dart');
-#source('future_matchers.dart');
-#source('interfaces.dart');
-#source('map_matchers.dart');
-#source('matcher.dart');
-#source('mock.dart');
-#source('numeric_matchers.dart');
-#source('operator_matchers.dart');
-#source('string_matchers.dart');
-#source('test_case.dart');
+#source('src/collection_matchers.dart');
+#source('src/config.dart');
+#source('src/core_matchers.dart');
+#source('src/description.dart');
+#source('src/expect.dart');
+#source('src/future_matchers.dart');
+#source('src/interfaces.dart');
+#source('src/map_matchers.dart');
+#source('src/matcher.dart');
+#source('src/mock.dart');
+#source('src/numeric_matchers.dart');
+#source('src/operator_matchers.dart');
+#source('src/string_matchers.dart');
+#source('src/test_case.dart');
/** [Configuration] used by the unittest library. */
Configuration _config = null;
« no previous file with comments | « pkg/unittest/lib/src/test_case.dart ('k') | pkg/unittest/lib/vm_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698