Make tests about mod and varargs valid for 1.3 version
This commit is contained in:
+60
-50
@@ -146,6 +146,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/annotations/resolveWithLowPriorityAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("singleAssignmentToVarargInAnnotation.kt")
|
||||
public void testSingleAssignmentToVarargInAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/singleAssignmentToVarargInAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("varargInAnnotationParameter.kt")
|
||||
public void testVarargInAnnotationParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/varargInAnnotationParameter.kt");
|
||||
@@ -10279,11 +10284,46 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class BigArity extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("callWithIncorrectNumberOfArguments.kt")
|
||||
public void ignoreCallWithIncorrectNumberOfArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/callWithIncorrectNumberOfArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("function255.kt")
|
||||
public void ignoreFunction255() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/function255.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("instanceOfCallableReference.kt")
|
||||
public void ignoreInstanceOfCallableReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/instanceOfCallableReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("invokeCallableReference.kt")
|
||||
public void ignoreInvokeCallableReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/invokeCallableReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("invokeLambda.kt")
|
||||
public void ignoreInvokeLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/invokeLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("javaLambda.kt")
|
||||
public void ignoreJavaLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/javaLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noBigFunctionTypes.kt")
|
||||
public void ignoreNoBigFunctionTypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/noBigFunctionTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("subclass.kt")
|
||||
public void ignoreSubclass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/subclass.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -10291,41 +10331,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
public void testAllFilesPresentInBigArity() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/functions/bigArity"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("callWithIncorrectNumberOfArguments.kt")
|
||||
public void testCallWithIncorrectNumberOfArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/callWithIncorrectNumberOfArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("function255.kt")
|
||||
public void testFunction255() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/function255.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("instanceOfCallableReference.kt")
|
||||
public void testInstanceOfCallableReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/instanceOfCallableReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("invokeCallableReference.kt")
|
||||
public void testInvokeCallableReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/invokeCallableReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("invokeLambda.kt")
|
||||
public void testInvokeLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/invokeLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("javaLambda.kt")
|
||||
public void testJavaLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/javaLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("subclass.kt")
|
||||
public void testSubclass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/bigArity/subclass.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/functions/functionExpression")
|
||||
@@ -11722,6 +11727,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class NotNullAssertions extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("functionWithBigArity.kt")
|
||||
public void ignoreFunctionWithBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/functionWithBigArity.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -11740,11 +11750,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/extensionReceiverParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functionWithBigArity.kt")
|
||||
public void testFunctionWithBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/functionWithBigArity.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("incWithNullabilityAssertionOnExtensionReceiverInPrivateOperator_lv11.kt")
|
||||
public void testIncWithNullabilityAssertionOnExtensionReceiverInPrivateOperator_lv11() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/incWithNullabilityAssertionOnExtensionReceiverInPrivateOperator_lv11.kt");
|
||||
@@ -16699,6 +16704,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Call extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void ignoreBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bigArity.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -16707,11 +16717,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void testBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bigArity.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("callInstanceJavaMethod.kt")
|
||||
public void testCallInstanceJavaMethod() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/callInstanceJavaMethod.kt");
|
||||
@@ -18140,6 +18145,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Parameters extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void ignoreBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/parameters/bigArity.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -18148,11 +18158,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/parameters"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void testBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/parameters/bigArity.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boundInnerClassConstructor.kt")
|
||||
public void testBoundInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/parameters/boundInnerClassConstructor.kt");
|
||||
@@ -21393,6 +21398,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/vararg/kt796_797.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("singleAssignmentToVarargsInFunction.kt")
|
||||
public void testSingleAssignmentToVarargsInFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("spreadCopiesArray.kt")
|
||||
public void testSpreadCopiesArray() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/vararg/spreadCopiesArray.kt");
|
||||
|
||||
Reference in New Issue
Block a user