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

Unified Diff: tests/language/src/LibraryPrefixes.dart

Issue 10248007: test rename overhaul: step 8 - language tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « tests/language/src/LibraryNegativeTest.dart ('k') | tests/language/src/LibraryPrefixes.lib » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/LibraryPrefixes.dart
diff --git a/tests/language/src/LibraryPrefixes.dart b/tests/language/src/LibraryPrefixes.dart
deleted file mode 100644
index d44e374eca038789b7a42bafe345d1ecfbb7ccf6..0000000000000000000000000000000000000000
--- a/tests/language/src/LibraryPrefixes.dart
+++ /dev/null
@@ -1,70 +0,0 @@
-// Copyright (c) 2011, 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.
-
-class LibraryPrefixes {
-
- static void main(var expectEquals) {
- var a = Constants.PI;
- var b = other.Constants.PI;
- expectEquals(3.14, a);
- expectEquals(3.14, b);
-
- expectEquals(1, Constants.foo);
- expectEquals(2, other.Constants.foo);
-
- expectEquals(-1, A.y);
- expectEquals(0, other.A.y);
-
- expectEquals(1, new A().x);
- expectEquals(2, new other.A().x);
-
- expectEquals(3, new A.named().x);
- expectEquals(4, new other.A.named().x);
-
- expectEquals(3, new A.fac().x);
- expectEquals(4, new other.A.fac().x);
-
- expectEquals(1, new B().x);
- expectEquals(2, new other.B().x);
-
- expectEquals(8, new B.named().x);
- expectEquals(13, new other.B.named().x);
-
- expectEquals(8, new B.fac().x);
- expectEquals(13, new other.B.fac().x);
-
- expectEquals(1, const C().x);
- expectEquals(2, const other.C().x);
-
- expectEquals(3, const C.named().x);
- expectEquals(4, const other.C.named().x);
-
- expectEquals(3, new C.fac().x);
- expectEquals(4, new other.C.fac().x);
-
- expectEquals(1, const D().x);
- expectEquals(2, const other.D().x);
-
- expectEquals(8, const D.named().x);
- expectEquals(13, const other.D.named().x);
-
- expectEquals(8, new D.fac().x);
- expectEquals(13, new other.D.fac().x);
-
- expectEquals(0, E.foo());
- expectEquals(3, other.E.foo());
-
- expectEquals(1, new E().bar());
- expectEquals(4, new other.E().bar());
-
- expectEquals(9, new E().toto(7)());
- expectEquals(16, new other.E().toto(11)());
-
- expectEquals(111, (new E.fun(100).f)());
- expectEquals(1313, (new other.E.fun(1300).f)());
-
- expectEquals(999, E.fooo(900)());
- expectEquals(2048, other.E.fooo(1024)());
- }
-}
« no previous file with comments | « tests/language/src/LibraryNegativeTest.dart ('k') | tests/language/src/LibraryPrefixes.lib » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698