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

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

Issue 137533002: Revert "dart2js: Implement instanceMembers and staticMembers." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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/lib/mirrors/instance_members_easier_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/static_members_easier_test.dart
diff --git a/tests/lib/mirrors/static_members_easier_test.dart b/tests/lib/mirrors/static_members_easier_test.dart
deleted file mode 100644
index 3cf98d7881f9302553c413345c39282cfac983e7..0000000000000000000000000000000000000000
--- a/tests/lib/mirrors/static_members_easier_test.dart
+++ /dev/null
@@ -1,34 +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 test.static_members;
-
-import 'dart:mirrors';
-import 'package:expect/expect.dart';
-
-import 'stringify.dart';
-import 'declarations_model_easier.dart' as declarations_model;
-
-selectKeys(map, predicate) {
- return map.keys.where((key) => predicate(map[key]));
-}
-
-main() {
- ClassMirror cm = reflectClass(declarations_model.Class);
- LibraryMirror lm = cm.owner;
-
- Expect.setEquals(
- [#staticVariable,
- const Symbol('staticVariable='),
- #staticGetter,
- const Symbol('staticSetter='),
- #staticMethod,
- ],
- selectKeys(cm.staticMembers, (dm) => true));
-
- Expect.setEquals(
- [#staticVariable,
- const Symbol('staticVariable=')],
- selectKeys(cm.staticMembers, (dm) => dm.isSynthetic));
-}
« no previous file with comments | « tests/lib/mirrors/instance_members_easier_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698