| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java
|
| index 4db5f7f1a16e4080b187ab685a32a3ae0edf8aaa..1e87bbe32c67e373a4a906dba79f605ff6e60b1c 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java
|
| @@ -1348,6 +1348,23 @@ public class StaticWarningCodeTest extends ResolverTestCase {
|
| verify(source);
|
| }
|
|
|
| + public void test_nonAbstractClassInheritsAbstractMemberOne_superclasses_interface()
|
| + throws Exception {
|
| + // bug 11154
|
| + Source source = addSource(createSource(//
|
| + "class A {",
|
| + " get a => 'a';",
|
| + "}",
|
| + "abstract class B implements A {",
|
| + " get b => 'b';",
|
| + "}",
|
| + "class C extends B {",
|
| + "}"));
|
| + resolve(source);
|
| + assertErrors(StaticWarningCode.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_ONE);
|
| + verify(source);
|
| + }
|
| +
|
| public void test_nonAbstractClassInheritsAbstractMemberThree() throws Exception {
|
| Source source = addSource(createSource(//
|
| "abstract class A {",
|
|
|