blob: 54d86e67a4396894ee63e1ef7e2f71d8a7ee7b97 [file] [log] [blame]
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'compile_time_error_code_driver_test.dart';
main() {
defineReflectiveSuite(() {
defineReflectiveTests(CompileTimeErrorCodeTest_Kernel);
});
}
/// Tests marked with this annotations fail because we either have not triaged
/// them, or know that this is an analyzer problem.
const potentialAnalyzerProblem = const Object();
@reflectiveTest
class CompileTimeErrorCodeTest_Kernel extends CompileTimeErrorCodeTest_Driver {
@override
bool get enableKernelDriver => true;
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30985')
test_bug_23176() async {
return super.test_bug_23176();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30997')
test_deferredImportWithInvalidUri() async {
return super.test_deferredImportWithInvalidUri();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_duplicateConstructorName_named() async {
return super.test_duplicateConstructorName_named();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_duplicateConstructorName_unnamed() async {
return super.test_duplicateConstructorName_unnamed();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_duplicateDefinition_acrossLibraries() async {
return super.test_duplicateDefinition_acrossLibraries();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_duplicateDefinition_classMembers_fields() async {
return super.test_duplicateDefinition_classMembers_fields();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_duplicateDefinition_classMembers_fields_oneStatic() async {
return super.test_duplicateDefinition_classMembers_fields_oneStatic();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_duplicateDefinition_classMembers_methods() async {
return super.test_duplicateDefinition_classMembers_methods();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_duplicateDefinition_inPart() async {
return super.test_duplicateDefinition_inPart();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30960')
test_exportOfNonLibrary() async {
return super.test_exportOfNonLibrary();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30982')
test_fieldInitializerRedirectingConstructor_afterRedirection() async {
return super.test_fieldInitializerRedirectingConstructor_afterRedirection();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30982')
test_fieldInitializerRedirectingConstructor_beforeRedirection() async {
return super
.test_fieldInitializerRedirectingConstructor_beforeRedirection();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30982')
test_fieldInitializingFormalRedirectingConstructor() async {
return super.test_fieldInitializingFormalRedirectingConstructor();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_getterAndMethodWithSameName() async {
return super.test_getterAndMethodWithSameName();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30959')
test_importOfNonLibrary() async {
return super.test_importOfNonLibrary();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31001')
test_invalidConstructorName_notEnclosingClassName_defined() async {
return super.test_invalidConstructorName_notEnclosingClassName_defined();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31001')
test_invalidConstructorName_notEnclosingClassName_undefined() async {
return super.test_invalidConstructorName_notEnclosingClassName_undefined();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30999')
test_invalidFactoryNameNotAClass_notClassName() async {
return super.test_invalidFactoryNameNotAClass_notClassName();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30999')
test_invalidFactoryNameNotAClass_notEnclosingClassName() async {
return super.test_invalidFactoryNameNotAClass_notEnclosingClassName();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31004')
test_invalidUri_part() async {
return super.test_invalidUri_part();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30981')
test_memberWithClassName_getter() async {
return super.test_memberWithClassName_getter();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_methodAndGetterWithSameName() async {
return super.test_methodAndGetterWithSameName();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31005')
test_mixinOfNonClass_typeAlias() async {
return super.test_mixinOfNonClass_typeAlias();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30982')
test_multipleRedirectingConstructorInvocations() async {
return super.test_multipleRedirectingConstructorInvocations();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30982')
test_multipleSuperInitializers() async {
return super.test_multipleSuperInitializers();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31004')
test_partOfNonPart() async {
return super.test_partOfNonPart();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_prefixCollidesWithTopLevelMembers_functionTypeAlias() async {
return super.test_prefixCollidesWithTopLevelMembers_functionTypeAlias();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_prefixCollidesWithTopLevelMembers_topLevelFunction() async {
return super.test_prefixCollidesWithTopLevelMembers_topLevelFunction();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_prefixCollidesWithTopLevelMembers_topLevelVariable() async {
return super.test_prefixCollidesWithTopLevelMembers_topLevelVariable();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30857')
test_prefixCollidesWithTopLevelMembers_type() async {
return super.test_prefixCollidesWithTopLevelMembers_type();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31007')
test_recursiveInterfaceInheritance_mixin() async {
return super.test_recursiveInterfaceInheritance_mixin();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31007')
test_recursiveInterfaceInheritanceBaseCaseWith() async {
return super.test_recursiveInterfaceInheritanceBaseCaseWith();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30982')
test_superInRedirectingConstructor_redirectionSuper() async {
return super.test_superInRedirectingConstructor_redirectionSuper();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30982')
test_superInRedirectingConstructor_superRedirection() async {
return super.test_superInRedirectingConstructor_superRedirection();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31007')
test_typeAliasCannotReferenceItself_11987() async {
return super.test_typeAliasCannotReferenceItself_11987();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31007')
test_typeAliasCannotReferenceItself_generic() async {
return super.test_typeAliasCannotReferenceItself_generic();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31007')
test_typeAliasCannotReferenceItself_parameterType_named() async {
return super.test_typeAliasCannotReferenceItself_parameterType_named();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31007')
test_typeAliasCannotReferenceItself_parameterType_positional() async {
return super.test_typeAliasCannotReferenceItself_parameterType_positional();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31007')
test_typeAliasCannotReferenceItself_parameterType_required() async {
return super.test_typeAliasCannotReferenceItself_parameterType_required();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31007')
test_typeAliasCannotReferenceItself_parameterType_typeArgument() async {
return super
.test_typeAliasCannotReferenceItself_parameterType_typeArgument();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31007')
test_typeAliasCannotReferenceItself_typeVariableBounds() async {
return super.test_typeAliasCannotReferenceItself_typeVariableBounds();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31004')
test_uriDoesNotExist_part() async {
return super.test_uriDoesNotExist_part();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30984')
test_uriWithInterpolation_constant() async {
return super.test_uriWithInterpolation_constant();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30984')
test_uriWithInterpolation_nonConstant() async {
return super.test_uriWithInterpolation_nonConstant();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31096')
test_wrongNumberOfParametersForSetter_function_named() async {
return super.test_wrongNumberOfParametersForSetter_function_named();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31096')
test_wrongNumberOfParametersForSetter_function_optional() async {
return super.test_wrongNumberOfParametersForSetter_function_optional();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31096')
test_wrongNumberOfParametersForSetter_function_tooFew() async {
return super.test_wrongNumberOfParametersForSetter_function_tooFew();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31096')
test_wrongNumberOfParametersForSetter_function_tooMany() async {
return super.test_wrongNumberOfParametersForSetter_function_tooMany();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31096')
test_wrongNumberOfParametersForSetter_method_named() async {
return super.test_wrongNumberOfParametersForSetter_method_named();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31096')
test_wrongNumberOfParametersForSetter_method_optional() async {
return super.test_wrongNumberOfParametersForSetter_method_optional();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31096')
test_wrongNumberOfParametersForSetter_method_tooFew() async {
return super.test_wrongNumberOfParametersForSetter_method_tooFew();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/31096')
test_wrongNumberOfParametersForSetter_method_tooMany() async {
return super.test_wrongNumberOfParametersForSetter_method_tooMany();
}
}
/// Tests marked with this annotation fail because of a Fasta problem.
class FastaProblem {
const FastaProblem(String issueUri);
}