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

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

Issue 2808763005: Extract OrderedTypeSetBuilderBase from OrderedTypeSetBuilder (Closed)
Patch Set: Created 3 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/compiler/dart2js/class_set_test.dart ('k') | tests/compiler/dart2js/serialization/test_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/resolver_test.dart
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart
index b8a74f91ef9aa33a79588c94550b421cf78f3cef..fe8151ecb459c3f277a1dd6b89645d4f9b4b0c7e 100644
--- a/tests/compiler/dart2js/resolver_test.dart
+++ b/tests/compiler/dart2js/resolver_test.dart
@@ -8,8 +8,9 @@ import 'dart:collection';
import 'package:async_helper/async_helper.dart';
import 'package:expect/expect.dart';
import 'package:compiler/src/constants/expressions.dart';
-import 'package:compiler/src/elements/resolution_types.dart';
import 'package:compiler/src/elements/modelx.dart';
+import 'package:compiler/src/elements/resolution_types.dart';
+import 'package:compiler/src/elements/types.dart';
import 'package:compiler/src/resolution/constructors.dart';
import 'package:compiler/src/resolution/members.dart';
import 'package:compiler/src/resolution/registry.dart';
@@ -807,7 +808,7 @@ Future testClassHierarchy() {
Expect.equals(0, collector.warnings.length);
Expect.equals(0, collector.errors.length);
ClassElement aElement = compiler.mainApp.find("A");
- Link<ResolutionDartType> supertypes = aElement.allSupertypes;
+ Link<InterfaceType> supertypes = aElement.allSupertypes;
Expect.equals(<String>['B', 'C', 'Object'].toString(),
asSortedStrings(supertypes).toString());
}),
@@ -824,7 +825,7 @@ Future testClassHierarchy() {
Expect.equals(0, collector.warnings.length);
Expect.equals(0, collector.errors.length);
ClassElement aElement = compiler.mainApp.find("C");
- Link<ResolutionDartType> supertypes = aElement.allSupertypes;
+ Link<InterfaceType> supertypes = aElement.allSupertypes;
// Object is once per inheritance path, that is from both A and I.
Expect.equals(
<String>[
@@ -846,7 +847,7 @@ Future testClassHierarchy() {
Expect.equals(0, collector.warnings.length);
Expect.equals(0, collector.errors.length);
ClassElement aElement = compiler.mainApp.find("E");
- Link<ResolutionDartType> supertypes = aElement.allSupertypes;
+ Link<InterfaceType> supertypes = aElement.allSupertypes;
Expect.equals(<String>['A<E>', 'D', 'Object'].toString(),
asSortedStrings(supertypes).toString());
}),
« no previous file with comments | « tests/compiler/dart2js/class_set_test.dart ('k') | tests/compiler/dart2js/serialization/test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698