Regenerate tests
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
package org.jetbrains.kotlin.checkers;
|
||||
|
||||
import com.intellij.testFramework.TestDataPath;
|
||||
import org.jetbrains.kotlin.test.InnerTestClasses;
|
||||
import org.jetbrains.kotlin.test.JUnit3RunnerWithInners;
|
||||
import org.jetbrains.kotlin.test.JetTestUtils;
|
||||
import org.jetbrains.kotlin.test.TestMetadata;
|
||||
@@ -28,80 +27,10 @@ import java.util.regex.Pattern;
|
||||
|
||||
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
@InnerTestClasses({
|
||||
JetDiagnosticsTestGenerated.Tests.class,
|
||||
JetDiagnosticsTestGenerated.Script.class,
|
||||
JetDiagnosticsTestGenerated.Diagnostics.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
@TestMetadata("compiler/testData/diagnostics/tests")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Tests.Annotations.class,
|
||||
Tests.BackingField.class,
|
||||
Tests.Cast.class,
|
||||
Tests.CheckArguments.class,
|
||||
Tests.ClassObjects.class,
|
||||
Tests.ControlFlowAnalysis.class,
|
||||
Tests.ControlStructures.class,
|
||||
Tests.CyclicHierarchy.class,
|
||||
Tests.DataClasses.class,
|
||||
Tests.DataFlow.class,
|
||||
Tests.DataFlowInfoTraversal.class,
|
||||
Tests.DeclarationChecks.class,
|
||||
Tests.DelegatedProperty.class,
|
||||
Tests.Delegation.class,
|
||||
Tests.Deparenthesize.class,
|
||||
Tests.DuplicateJvmSignature.class,
|
||||
Tests.DynamicTypes.class,
|
||||
Tests.Enum.class,
|
||||
Tests.Evaluate.class,
|
||||
Tests.Extensions.class,
|
||||
Tests.FunctionAsExpression.class,
|
||||
Tests.FunctionLiterals.class,
|
||||
Tests.Generics.class,
|
||||
Tests.Imports.class,
|
||||
Tests.IncompleteCode.class,
|
||||
Tests.Inference.class,
|
||||
Tests.Infos.class,
|
||||
Tests.Inline.class,
|
||||
Tests.Inner.class,
|
||||
Tests.J_k.class,
|
||||
Tests.Jdk_annotations.class,
|
||||
Tests.Labels.class,
|
||||
Tests.Library.class,
|
||||
Tests.Modifiers.class,
|
||||
Tests.Multimodule.class,
|
||||
Tests.NamedArguments.class,
|
||||
Tests.NullabilityAndSmartCasts.class,
|
||||
Tests.NullableTypes.class,
|
||||
Tests.Numbers.class,
|
||||
Tests.Objects.class,
|
||||
Tests.OperatorsOverloading.class,
|
||||
Tests.Overload.class,
|
||||
Tests.Override.class,
|
||||
Tests.PlatformTypes.class,
|
||||
Tests.Recovery.class,
|
||||
Tests.Redeclarations.class,
|
||||
Tests.Regressions.class,
|
||||
Tests.Resolve.class,
|
||||
Tests.Scopes.class,
|
||||
Tests.SecondaryConstructors.class,
|
||||
Tests.SenselessComparison.class,
|
||||
Tests.Shadowing.class,
|
||||
Tests.SmartCasts.class,
|
||||
Tests.Substitutions.class,
|
||||
Tests.Subtyping.class,
|
||||
Tests.Suppress.class,
|
||||
Tests.ThisAndSuper.class,
|
||||
Tests.TraitWithRequired.class,
|
||||
Tests.Typedefs.class,
|
||||
Tests.Unit.class,
|
||||
Tests.Varargs.class,
|
||||
Tests.Variance.class,
|
||||
Tests.When.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Tests extends AbstractJetDiagnosticsTest {
|
||||
@TestMetadata("Abstract.kt")
|
||||
@@ -650,9 +579,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/annotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Annotations.AnnotationParameterMustBeConstant.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Annotations extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInAnnotations() throws Exception {
|
||||
@@ -1046,10 +972,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/cast")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Cast.Bare.class,
|
||||
Cast.NeverSucceeds.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Cast extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInCast() throws Exception {
|
||||
@@ -1629,10 +1551,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/controlFlowAnalysis")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
ControlFlowAnalysis.DeadCode.class,
|
||||
ControlFlowAnalysis.DefiniteReturn.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ControlFlowAnalysis extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInControlFlowAnalysis() throws Exception {
|
||||
@@ -2449,10 +2367,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/dataFlow")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
DataFlow.Assignment.class,
|
||||
DataFlow.Local.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DataFlow extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInDataFlow() throws Exception {
|
||||
@@ -2606,9 +2520,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/dataFlowInfoTraversal")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
DataFlowInfoTraversal.Smartcasts.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DataFlowInfoTraversal extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInDataFlowInfoTraversal() throws Exception {
|
||||
@@ -2951,9 +2862,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/declarationChecks")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
DeclarationChecks.MultiDeclarations.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DeclarationChecks extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInDeclarationChecks() throws Exception {
|
||||
@@ -3176,9 +3084,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/delegatedProperty")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
DelegatedProperty.Inference.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DelegatedProperty extends AbstractJetDiagnosticsTest {
|
||||
@TestMetadata("absentErrorAboutInitializer.kt")
|
||||
@@ -3593,15 +3498,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/duplicateJvmSignature")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
DuplicateJvmSignature.AccidentalOverrides.class,
|
||||
DuplicateJvmSignature.Bridges.class,
|
||||
DuplicateJvmSignature.Erasure.class,
|
||||
DuplicateJvmSignature.FunctionAndProperty.class,
|
||||
DuplicateJvmSignature.SpecialNames.class,
|
||||
DuplicateJvmSignature.Synthesized.class,
|
||||
DuplicateJvmSignature.TraitImpl.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DuplicateJvmSignature extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInDuplicateJvmSignature() throws Exception {
|
||||
@@ -4127,9 +4023,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/enum")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Enum.Inner.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Enum extends AbstractJetDiagnosticsTest {
|
||||
@TestMetadata("AbstractEnum.kt")
|
||||
@@ -4733,9 +4626,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/functionLiterals")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
FunctionLiterals.Return.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class FunctionLiterals extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInFunctionLiterals() throws Exception {
|
||||
@@ -5024,11 +4914,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/generics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Generics.StarProjections.class,
|
||||
Generics.TpAsReified.class,
|
||||
Generics.VarProjection.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Generics extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInGenerics() throws Exception {
|
||||
@@ -5440,9 +5325,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/incompleteCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
IncompleteCode.DiagnosticWithSyntaxError.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class IncompleteCode extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInIncompleteCode() throws Exception {
|
||||
@@ -5647,15 +5529,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/inference")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Inference.CapturedTypes.class,
|
||||
Inference.Constraints.class,
|
||||
Inference.NestedCalls.class,
|
||||
Inference.Regressions.class,
|
||||
Inference.ReportingImprovements.class,
|
||||
Inference.Substitutions.class,
|
||||
Inference.UpperBounds.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Inference extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInInference() throws Exception {
|
||||
@@ -6475,13 +6348,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/inline")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Inline.BinaryExpressions.class,
|
||||
Inline.NonLocalReturns.class,
|
||||
Inline.NonPublicMember.class,
|
||||
Inline.Regressions.class,
|
||||
Inline.UnaryExpressions.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Inline extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInInline() throws Exception {
|
||||
@@ -6908,9 +6774,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/inner")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Inner.QualifiedExpression.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Inner extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInInner() throws Exception {
|
||||
@@ -7424,9 +7287,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/jdk-annotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Jdk_annotations.Sql.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Jdk_annotations extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInJdk_annotations() throws Exception {
|
||||
@@ -7604,11 +7464,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/multimodule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Multimodule.DuplicateClass.class,
|
||||
Multimodule.DuplicateMethod.class,
|
||||
Multimodule.DuplicateSuper.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Multimodule extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInMultimodule() throws Exception {
|
||||
@@ -8488,9 +8343,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/override")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Override.ParameterNames.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Override extends AbstractJetDiagnosticsTest {
|
||||
@TestMetadata("AbstractFunImplemented.kt")
|
||||
@@ -8851,12 +8703,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/platformTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
PlatformTypes.CommonSupertype.class,
|
||||
PlatformTypes.Intersection.class,
|
||||
PlatformTypes.MethodCall.class,
|
||||
PlatformTypes.NullabilityWarnings.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class PlatformTypes extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInPlatformTypes() throws Exception {
|
||||
@@ -10087,11 +9933,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/resolve")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Resolve.Invoke.class,
|
||||
Resolve.NestedCalls.class,
|
||||
Resolve.SpecialConstructions.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Resolve extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInResolve() throws Exception {
|
||||
@@ -10160,9 +10001,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/resolve/invoke")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Invoke.Errors.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Invoke extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInInvoke() throws Exception {
|
||||
@@ -10593,9 +10431,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/secondaryConstructors")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
SecondaryConstructors.HeaderCallChecker.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SecondaryConstructors extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInSecondaryConstructors() throws Exception {
|
||||
@@ -11040,11 +10875,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/smartCasts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
SmartCasts.Inference.class,
|
||||
SmartCasts.Safecalls.class,
|
||||
SmartCasts.Varnotnull.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SmartCasts extends AbstractJetDiagnosticsTest {
|
||||
@TestMetadata("afterBinaryExpr.kt")
|
||||
@@ -11555,11 +11385,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/suppress")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Suppress.AllWarnings.class,
|
||||
Suppress.ManyWarnings.class,
|
||||
Suppress.OneWarning.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Suppress extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInSuppress() throws Exception {
|
||||
@@ -12043,9 +11868,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/variance")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Variance.PrivateToThis.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Variance extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInVariance() throws Exception {
|
||||
@@ -12269,10 +12091,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Diagnostics.Functions.class,
|
||||
Diagnostics.Vararg.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Diagnostics extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
@@ -12281,11 +12099,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/diagnostics/functions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Functions.Inference.class,
|
||||
Functions.Invoke.class,
|
||||
Functions.TailRecursion.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Functions extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInFunctions() throws Exception {
|
||||
@@ -12309,9 +12122,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/diagnostics/functions/invoke")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@InnerTestClasses({
|
||||
Invoke.OnObjects.class,
|
||||
})
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Invoke extends AbstractJetDiagnosticsTest {
|
||||
public void testAllFilesPresentInInvoke() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user