OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import 'package:analyzer/dart/ast/ast.dart'; | 5 import 'package:analyzer/dart/ast/ast.dart'; |
6 import 'package:analyzer/dart/ast/token.dart' as analyzer; | 6 import 'package:analyzer/dart/ast/token.dart' as analyzer; |
7 import 'package:analyzer/dart/element/element.dart'; | 7 import 'package:analyzer/dart/element/element.dart'; |
8 import 'package:analyzer/error/error.dart'; | 8 import 'package:analyzer/error/error.dart'; |
9 import 'package:analyzer/src/generated/parser.dart' as analyzer; | 9 import 'package:analyzer/src/generated/parser.dart' as analyzer; |
10 import 'package:analyzer/src/generated/utilities_dart.dart'; | 10 import 'package:analyzer/src/generated/utilities_dart.dart'; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 @override | 67 @override |
68 @failingTest | 68 @failingTest |
69 void test_parseClassMember_constructor_withInitializers() { | 69 void test_parseClassMember_constructor_withInitializers() { |
70 // TODO(paulberry): 'this' can't be used here. | 70 // TODO(paulberry): 'this' can't be used here. |
71 super.test_parseClassMember_constructor_withInitializers(); | 71 super.test_parseClassMember_constructor_withInitializers(); |
72 } | 72 } |
73 | 73 |
74 @override | 74 @override |
75 @failingTest | 75 @failingTest |
76 void test_parseClassMember_field_covariant() { | |
77 // TODO(paulberry): Unhandled event: Fields | |
78 super.test_parseClassMember_field_covariant(); | |
79 } | |
80 | |
81 @override | |
82 @failingTest | |
83 void test_parseClassMember_field_instance_prefixedType() { | |
84 // TODO(paulberry): Unhandled event: Fields | |
85 super.test_parseClassMember_field_instance_prefixedType(); | |
86 } | |
87 | |
88 @override | |
89 @failingTest | |
90 void test_parseClassMember_field_namedGet() { | |
91 // TODO(paulberry): Unhandled event: Fields | |
92 super.test_parseClassMember_field_namedGet(); | |
93 } | |
94 | |
95 @override | |
96 @failingTest | |
97 void test_parseClassMember_field_namedOperator() { | |
98 // TODO(paulberry): Unhandled event: Fields | |
99 super.test_parseClassMember_field_namedOperator(); | |
100 } | |
101 | |
102 @override | |
103 @failingTest | |
104 void test_parseClassMember_field_namedOperator_withAssignment() { | |
105 // TODO(paulberry): Unhandled event: Fields | |
106 super.test_parseClassMember_field_namedOperator_withAssignment(); | |
107 } | |
108 | |
109 @override | |
110 @failingTest | |
111 void test_parseClassMember_field_namedSet() { | |
112 // TODO(paulberry): Unhandled event: Fields | |
113 super.test_parseClassMember_field_namedSet(); | |
114 } | |
115 | |
116 @override | |
117 @failingTest | |
118 void test_parseClassMember_field_static() { | |
119 // TODO(paulberry): Unhandled event: Fields | |
120 super.test_parseClassMember_field_static(); | |
121 } | |
122 | |
123 @override | |
124 @failingTest | |
125 void test_parseClassMember_getter_functionType() { | 76 void test_parseClassMember_getter_functionType() { |
126 // TODO(paulberry): InputError: ErrorKind.ExpectedFunctionBody {actual: get} | 77 // TODO(paulberry): InputError: ErrorKind.ExpectedFunctionBody {actual: get} |
127 super.test_parseClassMember_getter_functionType(); | 78 super.test_parseClassMember_getter_functionType(); |
128 } | 79 } |
129 | 80 |
130 @override | 81 @override |
131 @failingTest | 82 @failingTest |
132 void test_parseClassMember_method_generic_comment_noReturnType() { | 83 void test_parseClassMember_method_generic_comment_noReturnType() { |
133 // TODO(paulberry): Fasta doesn't support generic comment syntax | 84 // TODO(paulberry): Fasta doesn't support generic comment syntax |
134 super.test_parseClassMember_method_generic_comment_noReturnType(); | 85 super.test_parseClassMember_method_generic_comment_noReturnType(); |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 @override | 172 @override |
222 @failingTest | 173 @failingTest |
223 void test_parseGetter_static() { | 174 void test_parseGetter_static() { |
224 // TODO(paulberry): Invalid modifier (static). Report an error. | 175 // TODO(paulberry): Invalid modifier (static). Report an error. |
225 super.test_parseGetter_static(); | 176 super.test_parseGetter_static(); |
226 } | 177 } |
227 | 178 |
228 @override | 179 @override |
229 @failingTest | 180 @failingTest |
230 void test_parseInitializedIdentifierList_type() { | 181 void test_parseInitializedIdentifierList_type() { |
231 // TODO(paulberry): Unhandled event: Fields | 182 // TODO(paulberry): handle doc comments |
232 super.test_parseInitializedIdentifierList_type(); | 183 super.test_parseInitializedIdentifierList_type(); |
233 } | 184 } |
234 | 185 |
235 @override | 186 @override |
236 @failingTest | 187 @failingTest |
237 void test_parseInitializedIdentifierList_var() { | 188 void test_parseInitializedIdentifierList_var() { |
238 // TODO(paulberry): Unhandled event: Fields | 189 // TODO(paulberry): handle doc comments |
239 super.test_parseInitializedIdentifierList_var(); | 190 super.test_parseInitializedIdentifierList_var(); |
240 } | 191 } |
241 | 192 |
242 @override | 193 @override |
243 @failingTest | 194 @failingTest |
244 void test_parseOperator() { | 195 void test_parseOperator() { |
245 // TODO(paulberry): handle doc comments | 196 // TODO(paulberry): handle doc comments |
246 super.test_parseOperator(); | 197 super.test_parseOperator(); |
247 } | 198 } |
248 | 199 |
(...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1623 with TopLevelParserTestMixin { | 1574 with TopLevelParserTestMixin { |
1624 @override | 1575 @override |
1625 @failingTest | 1576 @failingTest |
1626 void test_parseClassDeclaration_native() { | 1577 void test_parseClassDeclaration_native() { |
1627 // TODO(paulberry): TODO(paulberry,ahe): Fasta parser doesn't appear to supp
ort "native" syntax yet. | 1578 // TODO(paulberry): TODO(paulberry,ahe): Fasta parser doesn't appear to supp
ort "native" syntax yet. |
1628 super.test_parseClassDeclaration_native(); | 1579 super.test_parseClassDeclaration_native(); |
1629 } | 1580 } |
1630 | 1581 |
1631 @override | 1582 @override |
1632 @failingTest | 1583 @failingTest |
1633 void test_parseClassDeclaration_nonEmpty() { | |
1634 // TODO(paulberry): Unhandled event: NoFieldInitializer | |
1635 super.test_parseClassDeclaration_nonEmpty(); | |
1636 } | |
1637 | |
1638 @override | |
1639 @failingTest | |
1640 void test_parseClassDeclaration_typeAlias_withB() { | 1584 void test_parseClassDeclaration_typeAlias_withB() { |
1641 // TODO(paulberry,ahe): capture `with` token. | 1585 // TODO(paulberry,ahe): capture `with` token. |
1642 super.test_parseClassDeclaration_typeAlias_withB(); | 1586 super.test_parseClassDeclaration_typeAlias_withB(); |
1643 } | 1587 } |
1644 | 1588 |
1645 @override | 1589 @override |
1646 @failingTest | 1590 @failingTest |
1647 void test_parseCompilationUnit_abstractAsPrefix_parameterized() { | 1591 void test_parseCompilationUnit_abstractAsPrefix_parameterized() { |
1648 // TODO(paulberry): Unhandled event: ConstructorReference | 1592 // TODO(paulberry): Unhandled event: ConstructorReference |
1649 super.test_parseCompilationUnit_abstractAsPrefix_parameterized(); | 1593 super.test_parseCompilationUnit_abstractAsPrefix_parameterized(); |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1874 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { | 1818 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { |
1875 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); | 1819 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); |
1876 } | 1820 } |
1877 | 1821 |
1878 @override | 1822 @override |
1879 @failingTest | 1823 @failingTest |
1880 void test_parseTypeAlias_genericFunction_voidReturnType() { | 1824 void test_parseTypeAlias_genericFunction_voidReturnType() { |
1881 super.test_parseTypeAlias_genericFunction_voidReturnType(); | 1825 super.test_parseTypeAlias_genericFunction_voidReturnType(); |
1882 } | 1826 } |
1883 } | 1827 } |
OLD | NEW |