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

Unified Diff: tests/lib/mirrors/circular_factory_redirection_test.dart

Issue 3007863002: Removed another test from lib/mirrors that has already been migrated to lib_2/mirrors. (Closed)
Patch Set: Created 3 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/circular_factory_redirection_test.dart
diff --git a/tests/lib/mirrors/circular_factory_redirection_test.dart b/tests/lib/mirrors/circular_factory_redirection_test.dart
deleted file mode 100644
index 3c1153751c0ec1bb13da43c53bbe6c70bc265373..0000000000000000000000000000000000000000
--- a/tests/lib/mirrors/circular_factory_redirection_test.dart
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2013, 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.
-
-library lib;
-
-@MirrorsUsed(targets: "lib")
-import "dart:mirrors";
-import "package:expect/expect.dart";
-
-class A {
- A();
- factory A.circular() = B.circular;
- const factory A.circular2() = B.circular2;
-}
-
-class B implements A {
- B();
- factory B.circular() = C.circular;
- const factory B.circular2() = C.circular2;
-}
-
-class C implements B {
- const C();
- factory C.circular()
- /* //# 01: compile-time error
- = C;
- */ = A.circular; //# 01: continued
-
- const factory C.circular2()
- /* //# 02: compile-time error
- = C;
- */ = A.circular2; //# 02: continued
-}
-
-main() {
- ClassMirror cm = reflectClass(A);
-
- new A.circular();
- new A.circular2();
-}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698