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

Unified Diff: pkg/kernel/test/class_hierarchy_test.dart

Issue 2919833002: Remove the ClassHierarchy.rootClass getter. (Closed)
Patch Set: Created 3 years, 7 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/kernel/lib/transformations/treeshaker.dart ('k') | pkg/kernel/test/treeshaker_membench.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/test/class_hierarchy_test.dart
diff --git a/pkg/kernel/test/class_hierarchy_test.dart b/pkg/kernel/test/class_hierarchy_test.dart
index b2d62c038533edd035453b9bcad4c58857d2ff17..ba65e724d569317a8a488c8528c86e25137a5d22 100644
--- a/pkg/kernel/test/class_hierarchy_test.dart
+++ b/pkg/kernel/test/class_hierarchy_test.dart
@@ -654,11 +654,6 @@ class B<T> extends self::A<self::B::T, core::bool> {}
new InterfaceType(objectClass));
}
- void test_rootClass() {
- addClass(new Class(name: 'A', supertype: objectSuper));
- expect(hierarchy.rootClass, objectClass);
- }
-
void _assertOverridePairs(Class class_, List<String> expected) {
List<String> overrideDescriptions = [];
hierarchy.forEachOverridePair(class_,
« no previous file with comments | « pkg/kernel/lib/transformations/treeshaker.dart ('k') | pkg/kernel/test/treeshaker_membench.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698