Index: tests/compiler/dart2js/resolver_test.dart |
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart |
index 7e9a5ed98791a9f351d57dbced25af6c6493ea0d..7393f584a5b3279d74c0eeab20210700c9aa0e6b 100644 |
--- a/tests/compiler/dart2js/resolver_test.dart |
+++ b/tests/compiler/dart2js/resolver_test.dart |
@@ -174,7 +174,7 @@ testThis() { |
FunctionExpression function = funElement.parseNode(compiler); |
visitor.visit(function.body); |
Map mapping = map(visitor); |
- List<Element> values = mapping.getValues(); |
+ List<Element> values = mapping.values; |
Expect.equals(0, mapping.length); |
Expect.equals(0, compiler.warnings.length); |
@@ -232,7 +232,7 @@ testLocalsTwo() { |
Expect.equals(0, scope.elements.length); |
Expect.equals(2, map(visitor).length); |
- List<Element> elements = map(visitor).getValues(); |
+ List<Element> elements = map(visitor).values; |
Expect.notEquals(elements[0], elements[1]); |
} |
@@ -245,7 +245,7 @@ testLocalsThree() { |
MethodScope scope = visitor.scope; |
Expect.equals(0, scope.elements.length); |
Expect.equals(3, map(visitor).length); |
- List<Element> elements = map(visitor).getValues(); |
+ List<Element> elements = map(visitor).values; |
Expect.equals(elements[0], elements[1]); |
} |
@@ -258,7 +258,7 @@ testLocalsFour() { |
MethodScope scope = visitor.scope; |
Expect.equals(0, scope.elements.length); |
Expect.equals(2, map(visitor).length); |
- List<Element> elements = map(visitor).getValues(); |
+ List<Element> elements = map(visitor).values; |
Expect.notEquals(elements[0], elements[1]); |
} |
@@ -325,8 +325,8 @@ testFor() { |
// Check that we have the expected nodes. This test relies on the mapping |
// field to be a linked hash map (preserving insertion order). |
Expect.isTrue(map(visitor) is LinkedHashMap); |
- List<Node> nodes = map(visitor).getKeys(); |
- List<Element> elements = map(visitor).getValues(); |
+ List<Node> nodes = map(visitor).keys; |
+ List<Element> elements = map(visitor).values; |
// for (int i = 0; i < 10; i = i + 1) { i = 5; }; |