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/test/generated/element_test.dart

Issue 428303004: Breaking changes in 'analyzer' package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename Source.resolveRelative to resolveRelativeUri, soften version constraints Created 6 years, 4 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/test/generated/element_test.dart
diff --git a/pkg/analyzer/test/generated/element_test.dart b/pkg/analyzer/test/generated/element_test.dart
index 882027609a6b7f641d730875bf7a731dcd08f911..d0181b32687c8e0dfbe89d3b41b5ea96920ce7ce 100644
--- a/pkg/analyzer/test/generated/element_test.dart
+++ b/pkg/analyzer/test/generated/element_test.dart
@@ -1257,12 +1257,6 @@ class ElementLocationImplTest extends EngineTestCase {
JUnitTestCase.assertTrue(first == second);
}
- void test_equals_equalWithDifferentUriKind() {
- ElementLocationImpl first = new ElementLocationImpl.con2("fa;fb;c");
- ElementLocationImpl second = new ElementLocationImpl.con2("pa;pb;c");
- JUnitTestCase.assertTrue(first == second);
- }
-
void test_equals_notEqual_differentLengths() {
ElementLocationImpl first = new ElementLocationImpl.con2("a;b;c");
ElementLocationImpl second = new ElementLocationImpl.con2("a;b;c;d");
@@ -1303,12 +1297,6 @@ class ElementLocationImplTest extends EngineTestCase {
JUnitTestCase.assertTrue(first.hashCode == second.hashCode);
}
- void test_hashCode_equalWithDifferentUriKind() {
- ElementLocationImpl first = new ElementLocationImpl.con2("fa;fb;c");
- ElementLocationImpl second = new ElementLocationImpl.con2("pa;pb;c");
- JUnitTestCase.assertTrue(first.hashCode == second.hashCode);
- }
-
static dartSuite() {
_ut.group('ElementLocationImplTest', () {
_ut.test('test_create_encoding', () {
@@ -1323,10 +1311,6 @@ class ElementLocationImplTest extends EngineTestCase {
final __test = new ElementLocationImplTest();
runJUnitTest(__test, __test.test_equals_equal);
});
- _ut.test('test_equals_equalWithDifferentUriKind', () {
- final __test = new ElementLocationImplTest();
- runJUnitTest(__test, __test.test_equals_equalWithDifferentUriKind);
- });
_ut.test('test_equals_notEqual_differentLengths', () {
final __test = new ElementLocationImplTest();
runJUnitTest(__test, __test.test_equals_notEqual_differentLengths);
@@ -1351,10 +1335,6 @@ class ElementLocationImplTest extends EngineTestCase {
final __test = new ElementLocationImplTest();
runJUnitTest(__test, __test.test_hashCode_equal);
});
- _ut.test('test_hashCode_equalWithDifferentUriKind', () {
- final __test = new ElementLocationImplTest();
- runJUnitTest(__test, __test.test_hashCode_equalWithDifferentUriKind);
- });
});
}
}
@@ -4255,13 +4235,6 @@ class TypeParameterTypeImplTest extends EngineTestCase {
JUnitTestCase.assertEquals(element, type.element);
}
- void test_isMoreSpecificThan_typeArguments_bottom() {
- TypeParameterElementImpl element = new TypeParameterElementImpl.forNode(AstFactory.identifier3("E"));
- TypeParameterTypeImpl type = new TypeParameterTypeImpl(element);
- // E << bottom
- JUnitTestCase.assertTrue(type.isMoreSpecificThan(BottomTypeImpl.instance));
- }
-
void test_isMoreSpecificThan_typeArguments_dynamic() {
TypeParameterElementImpl element = new TypeParameterElementImpl.forNode(AstFactory.identifier3("E"));
TypeParameterTypeImpl type = new TypeParameterTypeImpl(element);
@@ -4360,10 +4333,6 @@ class TypeParameterTypeImplTest extends EngineTestCase {
final __test = new TypeParameterTypeImplTest();
runJUnitTest(__test, __test.test_getElement);
});
- _ut.test('test_isMoreSpecificThan_typeArguments_bottom', () {
- final __test = new TypeParameterTypeImplTest();
- runJUnitTest(__test, __test.test_isMoreSpecificThan_typeArguments_bottom);
- });
_ut.test('test_isMoreSpecificThan_typeArguments_dynamic', () {
final __test = new TypeParameterTypeImplTest();
runJUnitTest(__test, __test.test_isMoreSpecificThan_typeArguments_dynamic);
« no previous file with comments | « pkg/analyzer/test/file_system/resource_uri_resolver_test.dart ('k') | pkg/analyzer/test/generated/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698