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

Unified Diff: lib/test.dart

Issue 1053443002: Rename the package to "test". (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 9 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 | « lib/src/utils.dart ('k') | lib/unittest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/test.dart
diff --git a/lib/unittest.dart b/lib/test.dart
similarity index 94%
rename from lib/unittest.dart
rename to lib/test.dart
index 89dc3b5c9ee0c2570ac6763f839ba39491d21987..d8ae1ed0328cf9f46929588eed89ed9bb0bbf951 100644
--- a/lib/unittest.dart
+++ b/lib/test.dart
@@ -2,7 +2,7 @@
// 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 unittest;
+library test;
import 'dart:async';
@@ -41,7 +41,7 @@ Declarer _globalDeclarer;
/// [IsolateListener] or [IframeListener]. If the test file is run directly,
/// this returns [_globalDeclarer] (and sets it up on the first call).
Declarer get _declarer {
- var declarer = Zone.current[#unittest.declarer];
+ var declarer = Zone.current[#test.declarer];
if (declarer != null) return declarer;
if (_globalDeclarer != null) return _globalDeclarer;
@@ -70,7 +70,7 @@ Declarer get _declarer {
/// [group]s. If [testOn] is passed, it's parsed as a [platform selector][]; the
/// test will only be run on matching platforms.
///
-/// [platform selector]: https://github.com/dart-lang/unittest/#platform-selector-syntax
+/// [platform selector]: https://github.com/dart-lang/test/#platform-selector-syntax
void test(String description, body(), {String testOn}) =>
_declarer.test(description, body, testOn: testOn);
@@ -83,7 +83,7 @@ void test(String description, body(), {String testOn}) =>
/// If [testOn] is passed, it's parsed as a [platform selector][]; the test will
/// only be run on matching platforms.
///
-/// [platform selector]: https://github.com/dart-lang/unittest/#platform-selector-syntax
+/// [platform selector]: https://github.com/dart-lang/test/#platform-selector-syntax
void group(String description, void body(), {String testOn}) =>
_declarer.group(description, body, testOn: testOn);
@@ -125,7 +125,7 @@ void registerException(error, [StackTrace stackTrace]) =>
typedef dynamic TestFunction();
@deprecated
-Configuration unittestConfiguration = new Configuration();
+Configuration testConfiguration = new Configuration();
@deprecated
bool formatStacks = true;
« no previous file with comments | « lib/src/utils.dart ('k') | lib/unittest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698