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

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

Issue 17024005: Revert "Correctly reflect on intercepted classes." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | « dart/tests/lib/lib.status ('k') | dart/tests/lib/mirrors/intercepted_object_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/lib/mirrors/intercepted_class_test.dart
diff --git a/dart/tests/lib/mirrors/intercepted_class_test.dart b/dart/tests/lib/mirrors/intercepted_class_test.dart
deleted file mode 100644
index b07d2172746ffde2bce006cb7b924dd639105dd3..0000000000000000000000000000000000000000
--- a/dart/tests/lib/mirrors/intercepted_class_test.dart
+++ /dev/null
@@ -1,31 +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.
-
-// Ensure that classes handled specially by dart2js can be reflected on.
-
-library test.intercepted_class_test;
-
-import 'dart:mirrors';
-
-import 'reflect_model_test.dart' show stringify, expect;
-
-checkClassMirror(ClassMirror cls, String name) {
- expect('s($name)', cls.simpleName);
- var variables = {};
- cls.variables.forEach((Symbol key, VariableMirror value) {
- if (!value.isStatic && !value.isPrivate) {
- variables[key] = value;
- }
- });
- expect('{}', variables);
-}
-
-main() {
- checkClassMirror(reflectClass(String), 'String');
- checkClassMirror(reflectClass(int), 'int');
- checkClassMirror(reflectClass(double), 'double');
- checkClassMirror(reflectClass(num), 'num');
- checkClassMirror(reflectClass(bool), 'bool');
- checkClassMirror(reflectClass(List), 'List');
-}
« no previous file with comments | « dart/tests/lib/lib.status ('k') | dart/tests/lib/mirrors/intercepted_object_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698