| 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 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1134 | 1134 |
| 1135 @override | 1135 @override |
| 1136 @failingTest | 1136 @failingTest |
| 1137 void test_parseCompilationUnit_typedefAsPrefix() { | 1137 void test_parseCompilationUnit_typedefAsPrefix() { |
| 1138 // TODO(paulberry): As of commit 5de9108 this syntax is invalid. | 1138 // TODO(paulberry): As of commit 5de9108 this syntax is invalid. |
| 1139 super.test_parseCompilationUnit_typedefAsPrefix(); | 1139 super.test_parseCompilationUnit_typedefAsPrefix(); |
| 1140 } | 1140 } |
| 1141 | 1141 |
| 1142 @override | 1142 @override |
| 1143 @failingTest | 1143 @failingTest |
| 1144 void | |
| 1145 test_parseCompilationUnitMember_function_generic_noReturnType_annotated()
{ | |
| 1146 // TODO(paulberry,ahe): Fasta doesn't appear to support annotated type | |
| 1147 // parameters. | |
| 1148 super | |
| 1149 .test_parseCompilationUnitMember_function_generic_noReturnType_annotated
(); | |
| 1150 } | |
| 1151 | |
| 1152 @override | |
| 1153 @failingTest | |
| 1154 void test_parseDirectives_mixed() { | 1144 void test_parseDirectives_mixed() { |
| 1155 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to | 1145 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to |
| 1156 // stop parsing as soon as the first non-directive is encountered; this is | 1146 // stop parsing as soon as the first non-directive is encountered; this is |
| 1157 // useful for quickly traversing an import graph. Consider adding a similar | 1147 // useful for quickly traversing an import graph. Consider adding a similar |
| 1158 // ability to Fasta's parser. | 1148 // ability to Fasta's parser. |
| 1159 super.test_parseDirectives_mixed(); | 1149 super.test_parseDirectives_mixed(); |
| 1160 } | 1150 } |
| 1161 | 1151 |
| 1162 @override | 1152 @override |
| 1163 @failingTest | 1153 @failingTest |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1178 } | 1168 } |
| 1179 | 1169 |
| 1180 @override | 1170 @override |
| 1181 @failingTest | 1171 @failingTest |
| 1182 void test_parsePartOfDirective_uri() { | 1172 void test_parsePartOfDirective_uri() { |
| 1183 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by | 1173 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by |
| 1184 // Fasta. | 1174 // Fasta. |
| 1185 super.test_parsePartOfDirective_uri(); | 1175 super.test_parsePartOfDirective_uri(); |
| 1186 } | 1176 } |
| 1187 } | 1177 } |
| OLD | NEW |