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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/index/IndexContributorTest.java

Issue 16231012: Cover the 'extends' and typedef cases of the CompileTimeErrorCode.RECURSIVE_INTERFACE_INHERITANCE e… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/index/IndexContributorTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/index/IndexContributorTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/index/IndexContributorTest.java
index 6f7dd330c41f26072015fa83ded9df70f4af3f3b..4d1a2d5a01c0e4b90fec8bc1cc1e64f2b64895d3 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/index/IndexContributorTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/index/IndexContributorTest.java
@@ -684,7 +684,7 @@ public class IndexContributorTest extends AbstractDartTest {
}
public void test_isReferencedBy_ClassElement_withPrefix() throws Exception {
- // Turn of verify of no errors since "pref.MyClass" is an undefined class.
+ // Turn off verify of no errors since "pref.MyClass" is an undefined class.
verifyNoTestUnitErrors = false;
parseTestUnit(
"// filler filler filler filler filler filler filler filler filler filler",
@@ -1089,6 +1089,8 @@ public class IndexContributorTest extends AbstractDartTest {
}
public void test_isReferencedByQualified_ConstructorElement() throws Exception {
+ // Turn off verify of no errors since A implements B extends A
+ verifyNoTestUnitErrors = false;
parseTestUnit(
"// filler filler filler filler filler filler filler filler filler filler",
"class A implements B {",
@@ -1105,6 +1107,7 @@ public class IndexContributorTest extends AbstractDartTest {
" new A.foo(); // marker-main-2",
"}",
"");
+ verifyNoTestUnitErrors = true;
// set elements
Element mainElement = findElement("main() {");
ConstructorElement consB = findNode("B()", ConstructorDeclaration.class).getElement();

Powered by Google App Engine
This is Rietveld 408576698