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

Unified Diff: pkg/analyzer_experimental/test/generated/element_test.dart

Issue 12803014: New Analysis Engine translation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
Index: pkg/analyzer_experimental/test/generated/element_test.dart
diff --git a/pkg/analyzer_experimental/test/generated/element_test.dart b/pkg/analyzer_experimental/test/generated/element_test.dart
index 62f3f6eb8ca2e400ff5e3f407224c53544c68f9f..edfa3a3004a9b44c2a9a6624e6cf38a471388958 100644
--- a/pkg/analyzer_experimental/test/generated/element_test.dart
+++ b/pkg/analyzer_experimental/test/generated/element_test.dart
@@ -50,11 +50,11 @@ class ElementLocationImplTest extends EngineTestCase {
void test_getComponents() {
String encoding = "a;b;c";
ElementLocationImpl location = new ElementLocationImpl.con2(encoding);
- List<String> components2 = location.components;
- EngineTestCase.assertLength(3, components2);
- JUnitTestCase.assertEquals("a", components2[0]);
- JUnitTestCase.assertEquals("b", components2[1]);
- JUnitTestCase.assertEquals("c", components2[2]);
+ List<String> components3 = location.components;
+ EngineTestCase.assertLength(3, components3);
+ JUnitTestCase.assertEquals("a", components3[0]);
+ JUnitTestCase.assertEquals("b", components3[1]);
+ JUnitTestCase.assertEquals("c", components3[2]);
}
void test_getEncoding() {
String encoding = "a;b;c;;d";
@@ -1484,7 +1484,7 @@ class FunctionTypeImplTest extends EngineTestCase {
}
void test_isSubtypeOf_baseCase_classFunction() {
ClassElementImpl functionElement = ElementFactory.classElement2("Function", []);
- InterfaceTypeImpl functionType = new InterfaceTypeImpl_12(functionElement);
+ InterfaceTypeImpl functionType = new InterfaceTypeImpl_14(functionElement);
FunctionType f = ElementFactory.functionElement("f").type;
JUnitTestCase.assertTrue(f.isSubtypeOf(functionType));
}
@@ -1896,8 +1896,8 @@ class FunctionTypeImplTest extends EngineTestCase {
});
}
}
-class InterfaceTypeImpl_12 extends InterfaceTypeImpl {
- InterfaceTypeImpl_12(ClassElement arg0) : super.con1(arg0);
+class InterfaceTypeImpl_14 extends InterfaceTypeImpl {
+ InterfaceTypeImpl_14(ClassElement arg0) : super.con1(arg0);
bool isDartCoreFunction() => true;
}
main() {
« no previous file with comments | « pkg/analyzer_experimental/test/generated/ast_test.dart ('k') | pkg/analyzer_experimental/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698