| Index: pkg/analyzer/test/src/summary/summary_common.dart
|
| diff --git a/pkg/analyzer/test/src/summary/summary_common.dart b/pkg/analyzer/test/src/summary/summary_common.dart
|
| index b33aa206b98554a3c7c813137e585ed048c5dc95..e556ae004d6cb235f95d55eb04120693270c81e3 100644
|
| --- a/pkg/analyzer/test/src/summary/summary_common.dart
|
| +++ b/pkg/analyzer/test/src/summary/summary_common.dart
|
| @@ -614,20 +614,6 @@ abstract class SummaryTest {
|
| checkTypeRef(typeRef, null, null, 'void');
|
| }
|
|
|
| - fail_enum_value_documented() {
|
| - // TODO(paulberry): currently broken because of dartbug.com/25385
|
| - String text = '''
|
| -enum E {
|
| - /**
|
| - * Docs
|
| - */
|
| - v
|
| -}''';
|
| - UnlinkedEnumValue value = serializeEnumText(text).values[0];
|
| - expect(value.documentationComment, isNotNull);
|
| - checkDocumentationComment(value.documentationComment, text);
|
| - }
|
| -
|
| /**
|
| * Find the class with the given [className] in the summary, and return its
|
| * [UnlinkedClass] data structure. If [unit] is not given, the class is
|
| @@ -3729,6 +3715,19 @@ enum E { v }''';
|
| expect(unlinkedUnits[0].publicNamespace.names, isEmpty);
|
| }
|
|
|
| + test_enum_value_documented() {
|
| + String text = '''
|
| +enum E {
|
| + /**
|
| + * Docs
|
| + */
|
| + v
|
| +}''';
|
| + UnlinkedEnumValue value = serializeEnumText(text).values[0];
|
| + expect(value.documentationComment, isNotNull);
|
| + checkDocumentationComment(value.documentationComment, text);
|
| + }
|
| +
|
| test_executable_abstract() {
|
| UnlinkedExecutable executable =
|
| serializeClassText('abstract class C { f(); }').executables[0];
|
|
|