| Index: pkg/analysis_server/test/services/index/dart_index_contributor_test.dart
|
| diff --git a/pkg/analysis_server/test/services/index/dart_index_contributor_test.dart b/pkg/analysis_server/test/services/index/dart_index_contributor_test.dart
|
| index f0b26947aa8f1c50969e09df68c9510bfc96fc9f..0f7d336417d43171023593307806f107a52855b6 100644
|
| --- a/pkg/analysis_server/test/services/index/dart_index_contributor_test.dart
|
| +++ b/pkg/analysis_server/test/services/index/dart_index_contributor_test.dart
|
| @@ -298,6 +298,16 @@ main(a) {
|
| _expectedLocation(classElement, 'A {}'));
|
| }
|
|
|
| + void test_definesClassEnum() {
|
| + _indexTestUnit('enum MyEnum {A, B, c}');
|
| + // prepare elements
|
| + ClassElement classElement = findElement("MyEnum");
|
| + // verify
|
| + _assertDefinesTopLevelElement(
|
| + IndexConstants.DEFINES,
|
| + _expectedLocation(classElement, 'MyEnum {'));
|
| + }
|
| +
|
| void test_definesClassAlias() {
|
| _indexTestUnit('''
|
| class Mix {}
|
|
|