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

Unified Diff: tests/compiler/dart2js/mirrors_test.dart

Issue 11341037: Rename InterfaceMirror to ClassMirror (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | « pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mirrors_test.dart
diff --git a/tests/compiler/dart2js/mirrors_test.dart b/tests/compiler/dart2js/mirrors_test.dart
index 409557bfc23b107c7ccd26995224f17aee4fce9d..a78da195509b6aa90c288c26e83e9dc9bd265865 100644
--- a/tests/compiler/dart2js/mirrors_test.dart
+++ b/tests/compiler/dart2js/mirrors_test.dart
@@ -78,7 +78,7 @@ void testFoo(MirrorSystem system, LibraryMirror helperLibrary,
Map<String,TypeMirror> types) {
var fooClass = types["Foo"];
Expect.isNotNull(fooClass, "Type 'Foo' not found");
- Expect.isTrue(fooClass is InterfaceMirror,
+ Expect.isTrue(fooClass is ClassMirror,
"Unexpected mirror type returned");
Expect.stringEquals("Foo", fooClass.simpleName,
"Unexpected type simple name");
@@ -151,7 +151,7 @@ void testBar(MirrorSystem system, LibraryMirror helperLibrary,
Map<String,TypeMirror> types) {
var barInterface = types["Bar"];
Expect.isNotNull(barInterface, "Type 'Bar' not found");
- Expect.isTrue(barInterface is InterfaceMirror,
+ Expect.isTrue(barInterface is ClassMirror,
"Unexpected mirror type returned");
Expect.stringEquals("Bar", barInterface.simpleName,
"Unexpected type simple name");
@@ -241,7 +241,7 @@ void testBaz(MirrorSystem system, LibraryMirror helperLibrary,
Map<String,TypeMirror> types) {
var bazClass = types["Baz"];
Expect.isNotNull(bazClass, "Type 'Baz' not found");
- Expect.isTrue(bazClass is InterfaceMirror,
+ Expect.isTrue(bazClass is ClassMirror,
"Unexpected mirror type returned");
Expect.stringEquals("Baz", bazClass.simpleName,
"Unexpected type simple name");
@@ -484,7 +484,7 @@ void testBaz(MirrorSystem system, LibraryMirror helperLibrary,
var method3ReturnType = method3.returnType;
Expect.isNotNull(method3ReturnType, "Return type is null");
- Expect.isTrue(method3ReturnType is InterfaceMirror,
+ Expect.isTrue(method3ReturnType is ClassMirror,
"Return type is not interface");
Expect.equals(bazClass, method3ReturnType.declaration,
"Return type is not Baz");
@@ -699,7 +699,7 @@ void testPrivate(MirrorSystem system, LibraryMirror helperLibrary,
Map<String,TypeMirror> types) {
var privateClass = types['_PrivateClass'];
Expect.isNotNull(privateClass);
- Expect.isTrue(privateClass is InterfaceMirror);
+ Expect.isTrue(privateClass is ClassMirror);
Expect.isTrue(privateClass.isClass);
Expect.isTrue(privateClass.isPrivate);
« no previous file with comments | « pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698