| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 */ | 45 */ |
| 46 class BuilderProxy implements Builder { | 46 class BuilderProxy implements Builder { |
| 47 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 47 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 48 } | 48 } |
| 49 | 49 |
| 50 @reflectiveTest | 50 @reflectiveTest |
| 51 class ClassMemberParserTest_Fasta extends FastaParserTestCase | 51 class ClassMemberParserTest_Fasta extends FastaParserTestCase |
| 52 with ClassMemberParserTestMixin { | 52 with ClassMemberParserTestMixin { |
| 53 @override | 53 @override |
| 54 @failingTest | 54 @failingTest |
| 55 void test_constFactory() { | |
| 56 // TODO(paulberry): Unhandled event: ConstructorReference | |
| 57 super.test_constFactory(); | |
| 58 } | |
| 59 | |
| 60 @override | |
| 61 @failingTest | |
| 62 void test_parseClassMember_constructor_withInitializers() { | 55 void test_parseClassMember_constructor_withInitializers() { |
| 63 // TODO(paulberry): 'this' can't be used here. | 56 // TODO(paulberry): 'this' can't be used here. |
| 64 super.test_parseClassMember_constructor_withInitializers(); | 57 super.test_parseClassMember_constructor_withInitializers(); |
| 65 } | 58 } |
| 66 | 59 |
| 67 @override | 60 @override |
| 68 @failingTest | 61 @failingTest |
| 69 void test_parseClassMember_method_generic_comment_noReturnType() { | 62 void test_parseClassMember_method_generic_comment_noReturnType() { |
| 70 // TODO(paulberry): Fasta doesn't support generic comment syntax | 63 // TODO(paulberry): Fasta doesn't support generic comment syntax |
| 71 super.test_parseClassMember_method_generic_comment_noReturnType(); | 64 super.test_parseClassMember_method_generic_comment_noReturnType(); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 87 | 80 |
| 88 @override | 81 @override |
| 89 @failingTest | 82 @failingTest |
| 90 void test_parseClassMember_method_generic_comment_void() { | 83 void test_parseClassMember_method_generic_comment_void() { |
| 91 // TODO(paulberry): Fasta doesn't support generic comment syntax | 84 // TODO(paulberry): Fasta doesn't support generic comment syntax |
| 92 super.test_parseClassMember_method_generic_comment_void(); | 85 super.test_parseClassMember_method_generic_comment_void(); |
| 93 } | 86 } |
| 94 | 87 |
| 95 @override | 88 @override |
| 96 @failingTest | 89 @failingTest |
| 97 void test_parseClassMember_redirectingFactory_const() { | |
| 98 // TODO(paulberry): Unhandled event: ConstructorReference | |
| 99 super.test_parseClassMember_redirectingFactory_const(); | |
| 100 } | |
| 101 | |
| 102 @override | |
| 103 @failingTest | |
| 104 void test_parseClassMember_redirectingFactory_nonConst() { | |
| 105 // TODO(paulberry): Unhandled event: ConstructorReference | |
| 106 super.test_parseClassMember_redirectingFactory_nonConst(); | |
| 107 } | |
| 108 | |
| 109 @override | |
| 110 @failingTest | |
| 111 void test_parseConstructor_assert() { | 90 void test_parseConstructor_assert() { |
| 112 // TODO(paulberry): Fasta doesn't support asserts in initializers | 91 // TODO(paulberry): Fasta doesn't support asserts in initializers |
| 113 super.test_parseConstructor_assert(); | 92 super.test_parseConstructor_assert(); |
| 114 } | 93 } |
| 115 | 94 |
| 116 @override | 95 @override |
| 117 @failingTest | 96 @failingTest |
| 118 void test_parseConstructor_with_pseudo_function_literal() { | 97 void test_parseConstructor_with_pseudo_function_literal() { |
| 119 // TODO(paulberry): Expected: an object with length of <1> | 98 // TODO(paulberry): Expected: an object with length of <1> |
| 120 super.test_parseConstructor_with_pseudo_function_literal(); | 99 super.test_parseConstructor_with_pseudo_function_literal(); |
| (...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1178 } | 1157 } |
| 1179 | 1158 |
| 1180 @override | 1159 @override |
| 1181 @failingTest | 1160 @failingTest |
| 1182 void test_parsePartOfDirective_uri() { | 1161 void test_parsePartOfDirective_uri() { |
| 1183 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by | 1162 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by |
| 1184 // Fasta. | 1163 // Fasta. |
| 1185 super.test_parsePartOfDirective_uri(); | 1164 super.test_parsePartOfDirective_uri(); |
| 1186 } | 1165 } |
| 1187 } | 1166 } |
| OLD | NEW |