[Test] Regenerate tests after two previous commits
This commit is contained in:
committed by
Space Team
parent
d9beae0556
commit
acf2296590
+150
-150
@@ -22,191 +22,191 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class CompareJvmAbiTestGenerated extends AbstractCompareJvmAbiTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCompare() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/jvm-abi-gen/testData/compare"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
public void testAllFilesPresentInCompare() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/jvm-abi-gen/testData/compare"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjects")
|
||||
public void testAnonymousObjects() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/anonymousObjects/");
|
||||
}
|
||||
@TestMetadata("anonymousObjects")
|
||||
public void testAnonymousObjects() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/anonymousObjects/");
|
||||
}
|
||||
|
||||
@TestMetadata("classFlags")
|
||||
public void testClassFlags() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/classFlags/");
|
||||
}
|
||||
@TestMetadata("classFlags")
|
||||
public void testClassFlags() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/classFlags/");
|
||||
}
|
||||
|
||||
@TestMetadata("classPrivateMemebers")
|
||||
public void testClassPrivateMemebers() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/classPrivateMemebers/");
|
||||
}
|
||||
@TestMetadata("classPrivateMemebers")
|
||||
public void testClassPrivateMemebers() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/classPrivateMemebers/");
|
||||
}
|
||||
|
||||
@TestMetadata("clinit")
|
||||
public void testClinit() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/clinit/");
|
||||
}
|
||||
@TestMetadata("clinit")
|
||||
public void testClinit() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/clinit/");
|
||||
}
|
||||
|
||||
@TestMetadata("constant")
|
||||
public void testConstant() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/constant/");
|
||||
}
|
||||
@TestMetadata("constant")
|
||||
public void testConstant() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/constant/");
|
||||
}
|
||||
|
||||
@TestMetadata("dataClassWithPrivateConstructor")
|
||||
public void testDataClassWithPrivateConstructor() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/dataClassWithPrivateConstructor/");
|
||||
}
|
||||
@TestMetadata("dataClassWithPrivateConstructor")
|
||||
public void testDataClassWithPrivateConstructor() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/dataClassWithPrivateConstructor/");
|
||||
}
|
||||
|
||||
@TestMetadata("dataClassWithPrivateConstructorWithoutOption")
|
||||
public void testDataClassWithPrivateConstructorWithoutOption() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/dataClassWithPrivateConstructorWithoutOption/");
|
||||
}
|
||||
@TestMetadata("dataClassWithPrivateConstructorWithoutOption")
|
||||
public void testDataClassWithPrivateConstructorWithoutOption() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/dataClassWithPrivateConstructorWithoutOption/");
|
||||
}
|
||||
|
||||
@TestMetadata("debugInfoLineNumberTable")
|
||||
public void testDebugInfoLineNumberTable() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoLineNumberTable/");
|
||||
}
|
||||
@TestMetadata("debugInfoLineNumberTable")
|
||||
public void testDebugInfoLineNumberTable() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoLineNumberTable/");
|
||||
}
|
||||
|
||||
@TestMetadata("debugInfoLocalVariableTable")
|
||||
public void testDebugInfoLocalVariableTable() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoLocalVariableTable/");
|
||||
}
|
||||
@TestMetadata("debugInfoLocalVariableTable")
|
||||
public void testDebugInfoLocalVariableTable() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoLocalVariableTable/");
|
||||
}
|
||||
|
||||
@TestMetadata("debugInfoSourceDebugExtension")
|
||||
public void testDebugInfoSourceDebugExtension() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoSourceDebugExtension/");
|
||||
}
|
||||
@TestMetadata("debugInfoSourceDebugExtension")
|
||||
public void testDebugInfoSourceDebugExtension() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoSourceDebugExtension/");
|
||||
}
|
||||
|
||||
@TestMetadata("debugInfoSourceFile")
|
||||
public void testDebugInfoSourceFile() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoSourceFile/");
|
||||
}
|
||||
@TestMetadata("debugInfoSourceFile")
|
||||
public void testDebugInfoSourceFile() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoSourceFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("declarationOrderInline")
|
||||
public void testDeclarationOrderInline() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/declarationOrderInline/");
|
||||
}
|
||||
@TestMetadata("declarationOrderInline")
|
||||
public void testDeclarationOrderInline() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/declarationOrderInline/");
|
||||
}
|
||||
|
||||
@TestMetadata("declarationOrderInlineCall")
|
||||
public void testDeclarationOrderInlineCall() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/declarationOrderInlineCall/");
|
||||
}
|
||||
@TestMetadata("declarationOrderInlineCall")
|
||||
public void testDeclarationOrderInlineCall() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/declarationOrderInlineCall/");
|
||||
}
|
||||
|
||||
@TestMetadata("declarationOrderPrivateInline")
|
||||
public void testDeclarationOrderPrivateInline() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/declarationOrderPrivateInline/");
|
||||
}
|
||||
@TestMetadata("declarationOrderPrivateInline")
|
||||
public void testDeclarationOrderPrivateInline() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/declarationOrderPrivateInline/");
|
||||
}
|
||||
|
||||
@TestMetadata("fieldOrder")
|
||||
public void testFieldOrder() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/fieldOrder/");
|
||||
}
|
||||
@TestMetadata("fieldOrder")
|
||||
public void testFieldOrder() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/fieldOrder/");
|
||||
}
|
||||
|
||||
@TestMetadata("funOrder")
|
||||
public void testFunOrder() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/funOrder/");
|
||||
}
|
||||
@TestMetadata("funOrder")
|
||||
public void testFunOrder() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/funOrder/");
|
||||
}
|
||||
|
||||
@TestMetadata("functionBody")
|
||||
public void testFunctionBody() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/functionBody/");
|
||||
}
|
||||
@TestMetadata("functionBody")
|
||||
public void testFunctionBody() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/functionBody/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunInPrivateClass")
|
||||
public void testInlineFunInPrivateClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunInPrivateClass/");
|
||||
}
|
||||
@TestMetadata("inlineFunInPrivateClass")
|
||||
public void testInlineFunInPrivateClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunInPrivateClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunInPrivateNestedClass")
|
||||
public void testInlineFunInPrivateNestedClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunInPrivateNestedClass/");
|
||||
}
|
||||
@TestMetadata("inlineFunInPrivateNestedClass")
|
||||
public void testInlineFunInPrivateNestedClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunInPrivateNestedClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunUsageMakesAbiUnstable")
|
||||
public void testInlineFunUsageMakesAbiUnstable() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunUsageMakesAbiUnstable/");
|
||||
}
|
||||
@TestMetadata("inlineFunUsageMakesAbiUnstable")
|
||||
public void testInlineFunUsageMakesAbiUnstable() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunUsageMakesAbiUnstable/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionBody")
|
||||
public void testInlineFunctionBody() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunctionBody/");
|
||||
}
|
||||
@TestMetadata("inlineFunctionBody")
|
||||
public void testInlineFunctionBody() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunctionBody/");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdas")
|
||||
public void testLambdas() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/lambdas/");
|
||||
}
|
||||
@TestMetadata("lambdas")
|
||||
public void testLambdas() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/lambdas/");
|
||||
}
|
||||
|
||||
@TestMetadata("multifileClass")
|
||||
public void testMultifileClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/multifileClass/");
|
||||
}
|
||||
@TestMetadata("multifileClass")
|
||||
public void testMultifileClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/multifileClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedPrivateClasses")
|
||||
public void testNestedPrivateClasses() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/nestedPrivateClasses/");
|
||||
}
|
||||
@TestMetadata("nestedPrivateClasses")
|
||||
public void testNestedPrivateClasses() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/nestedPrivateClasses/");
|
||||
}
|
||||
|
||||
@TestMetadata("parameterName")
|
||||
public void testParameterName() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/parameterName/");
|
||||
}
|
||||
@TestMetadata("parameterName")
|
||||
public void testParameterName() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/parameterName/");
|
||||
}
|
||||
|
||||
@TestMetadata("preserveDeclarationOrder")
|
||||
public void testPreserveDeclarationOrder() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/preserveDeclarationOrder/");
|
||||
}
|
||||
@TestMetadata("preserveDeclarationOrder")
|
||||
public void testPreserveDeclarationOrder() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/preserveDeclarationOrder/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateInterfaceDefaultImplementation")
|
||||
public void testPrivateInterfaceDefaultImplementation() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateInterfaceDefaultImplementation/");
|
||||
}
|
||||
@TestMetadata("privateInterfaceDefaultImplementation")
|
||||
public void testPrivateInterfaceDefaultImplementation() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateInterfaceDefaultImplementation/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateOuterClassForEffectivelyVisibleInterface")
|
||||
public void testPrivateOuterClassForEffectivelyVisibleInterface() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateOuterClassForEffectivelyVisibleInterface/");
|
||||
}
|
||||
@TestMetadata("privateOuterClassForEffectivelyVisibleInterface")
|
||||
public void testPrivateOuterClassForEffectivelyVisibleInterface() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateOuterClassForEffectivelyVisibleInterface/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateTopLevelClasses")
|
||||
public void testPrivateTopLevelClasses() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateTopLevelClasses/");
|
||||
}
|
||||
@TestMetadata("privateTopLevelClasses")
|
||||
public void testPrivateTopLevelClasses() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateTopLevelClasses/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateTopLevelClassesWithoutOption")
|
||||
public void testPrivateTopLevelClassesWithoutOption() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateTopLevelClassesWithoutOption/");
|
||||
}
|
||||
@TestMetadata("privateTopLevelClassesWithoutOption")
|
||||
public void testPrivateTopLevelClassesWithoutOption() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateTopLevelClassesWithoutOption/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateTypealias")
|
||||
public void testPrivateTypealias() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateTypealias/");
|
||||
}
|
||||
@TestMetadata("privateTypealias")
|
||||
public void testPrivateTypealias() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateTypealias/");
|
||||
}
|
||||
|
||||
@TestMetadata("removeDebugInfo")
|
||||
public void testRemoveDebugInfo() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/removeDebugInfo/");
|
||||
}
|
||||
@TestMetadata("removeDebugInfo")
|
||||
public void testRemoveDebugInfo() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/removeDebugInfo/");
|
||||
}
|
||||
|
||||
@TestMetadata("returnType")
|
||||
public void testReturnType() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/returnType/");
|
||||
}
|
||||
@TestMetadata("returnType")
|
||||
public void testReturnType() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/returnType/");
|
||||
}
|
||||
|
||||
@TestMetadata("superClass")
|
||||
public void testSuperClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/superClass/");
|
||||
}
|
||||
@TestMetadata("superClass")
|
||||
public void testSuperClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/superClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("syntheticAccessors")
|
||||
public void testSyntheticAccessors() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/syntheticAccessors/");
|
||||
}
|
||||
@TestMetadata("syntheticAccessors")
|
||||
public void testSyntheticAccessors() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/syntheticAccessors/");
|
||||
}
|
||||
|
||||
@TestMetadata("topLevelPrivateMembers")
|
||||
public void testTopLevelPrivateMembers() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/topLevelPrivateMembers/");
|
||||
}
|
||||
@TestMetadata("topLevelPrivateMembers")
|
||||
public void testTopLevelPrivateMembers() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/topLevelPrivateMembers/");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+114
-114
@@ -22,146 +22,146 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class CompileAgainstJvmAbiTestGenerated extends AbstractCompileAgainstJvmAbiTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCompile() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/jvm-abi-gen/testData/compile"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
public void testAllFilesPresentInCompile() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/jvm-abi-gen/testData/compile"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObject")
|
||||
public void testAnonymousObject() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/anonymousObject/");
|
||||
}
|
||||
@TestMetadata("anonymousObject")
|
||||
public void testAnonymousObject() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/anonymousObject/");
|
||||
}
|
||||
|
||||
@TestMetadata("classes")
|
||||
public void testClasses() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/classes/");
|
||||
}
|
||||
@TestMetadata("classes")
|
||||
public void testClasses() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/classes/");
|
||||
}
|
||||
|
||||
@TestMetadata("clinit")
|
||||
public void testClinit() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/clinit/");
|
||||
}
|
||||
@TestMetadata("clinit")
|
||||
public void testClinit() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/clinit/");
|
||||
}
|
||||
|
||||
@TestMetadata("conflictingClasses")
|
||||
public void testConflictingClasses() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/conflictingClasses/");
|
||||
}
|
||||
@TestMetadata("conflictingClasses")
|
||||
public void testConflictingClasses() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/conflictingClasses/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineAnnotationInstantiation")
|
||||
public void testInlineAnnotationInstantiation() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineAnnotationInstantiation/");
|
||||
}
|
||||
@TestMetadata("inlineAnnotationInstantiation")
|
||||
public void testInlineAnnotationInstantiation() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineAnnotationInstantiation/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineAnonymousObject")
|
||||
public void testInlineAnonymousObject() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineAnonymousObject/");
|
||||
}
|
||||
@TestMetadata("inlineAnonymousObject")
|
||||
public void testInlineAnonymousObject() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineAnonymousObject/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineCapture")
|
||||
public void testInlineCapture() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineCapture/");
|
||||
}
|
||||
@TestMetadata("inlineCapture")
|
||||
public void testInlineCapture() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineCapture/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassWithPrivateConstructor")
|
||||
public void testInlineClassWithPrivateConstructor() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineClassWithPrivateConstructor/");
|
||||
}
|
||||
@TestMetadata("inlineClassWithPrivateConstructor")
|
||||
public void testInlineClassWithPrivateConstructor() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineClassWithPrivateConstructor/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassWithPrivateConstructorK2")
|
||||
public void testInlineClassWithPrivateConstructorK2() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineClassWithPrivateConstructorK2/");
|
||||
}
|
||||
@TestMetadata("inlineClassWithPrivateConstructorK2")
|
||||
public void testInlineClassWithPrivateConstructorK2() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineClassWithPrivateConstructorK2/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineNoRegeneration")
|
||||
public void testInlineNoRegeneration() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineNoRegeneration/");
|
||||
}
|
||||
@TestMetadata("inlineNoRegeneration")
|
||||
public void testInlineNoRegeneration() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineNoRegeneration/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineReifiedFunction")
|
||||
public void testInlineReifiedFunction() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineReifiedFunction/");
|
||||
}
|
||||
@TestMetadata("inlineReifiedFunction")
|
||||
public void testInlineReifiedFunction() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineReifiedFunction/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineWhenMappings")
|
||||
public void testInlineWhenMappings() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineWhenMappings/");
|
||||
}
|
||||
@TestMetadata("inlineWhenMappings")
|
||||
public void testInlineWhenMappings() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineWhenMappings/");
|
||||
}
|
||||
|
||||
@TestMetadata("innerObjectRegeneration")
|
||||
public void testInnerObjectRegeneration() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/innerObjectRegeneration/");
|
||||
}
|
||||
@TestMetadata("innerObjectRegeneration")
|
||||
public void testInnerObjectRegeneration() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/innerObjectRegeneration/");
|
||||
}
|
||||
|
||||
@TestMetadata("kt-40133")
|
||||
public void testKt_40133() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/kt-40133/");
|
||||
}
|
||||
@TestMetadata("kt-40133")
|
||||
public void testKt_40133() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/kt-40133/");
|
||||
}
|
||||
|
||||
@TestMetadata("kt-40340")
|
||||
public void testKt_40340() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/kt-40340/");
|
||||
}
|
||||
@TestMetadata("kt-40340")
|
||||
public void testKt_40340() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/kt-40340/");
|
||||
}
|
||||
|
||||
@TestMetadata("multifileClass")
|
||||
public void testMultifileClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClass/");
|
||||
}
|
||||
@TestMetadata("multifileClass")
|
||||
public void testMultifileClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("multifileClassOptimized")
|
||||
public void testMultifileClassOptimized() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClassOptimized/");
|
||||
}
|
||||
@TestMetadata("multifileClassOptimized")
|
||||
public void testMultifileClassOptimized() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClassOptimized/");
|
||||
}
|
||||
|
||||
@TestMetadata("multifileClassOptimizedWithRemovePrivateOption")
|
||||
public void testMultifileClassOptimizedWithRemovePrivateOption() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClassOptimizedWithRemovePrivateOption/");
|
||||
}
|
||||
@TestMetadata("multifileClassOptimizedWithRemovePrivateOption")
|
||||
public void testMultifileClassOptimizedWithRemovePrivateOption() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClassOptimizedWithRemovePrivateOption/");
|
||||
}
|
||||
|
||||
@TestMetadata("multifileClassWithRemovePrivateOption")
|
||||
public void testMultifileClassWithRemovePrivateOption() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClassWithRemovePrivateOption/");
|
||||
}
|
||||
@TestMetadata("multifileClassWithRemovePrivateOption")
|
||||
public void testMultifileClassWithRemovePrivateOption() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClassWithRemovePrivateOption/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateAnnotationsFromJavaApp")
|
||||
public void testPrivateAnnotationsFromJavaApp() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateAnnotationsFromJavaApp/");
|
||||
}
|
||||
@TestMetadata("privateAnnotationsFromJavaApp")
|
||||
public void testPrivateAnnotationsFromJavaApp() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateAnnotationsFromJavaApp/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateAnnotationsFromJavaLib")
|
||||
public void testPrivateAnnotationsFromJavaLib() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateAnnotationsFromJavaLib/");
|
||||
}
|
||||
@TestMetadata("privateAnnotationsFromJavaLib")
|
||||
public void testPrivateAnnotationsFromJavaLib() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateAnnotationsFromJavaLib/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateClassesFromJavaApp")
|
||||
public void testPrivateClassesFromJavaApp() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateClassesFromJavaApp/");
|
||||
}
|
||||
@TestMetadata("privateClassesFromJavaApp")
|
||||
public void testPrivateClassesFromJavaApp() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateClassesFromJavaApp/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateClassesFromJavaLib")
|
||||
public void testPrivateClassesFromJavaLib() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateClassesFromJavaLib/");
|
||||
}
|
||||
@TestMetadata("privateClassesFromJavaLib")
|
||||
public void testPrivateClassesFromJavaLib() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateClassesFromJavaLib/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateInterfaceImplementedByPublicClass")
|
||||
public void testPrivateInterfaceImplementedByPublicClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateInterfaceImplementedByPublicClass/");
|
||||
}
|
||||
@TestMetadata("privateInterfaceImplementedByPublicClass")
|
||||
public void testPrivateInterfaceImplementedByPublicClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateInterfaceImplementedByPublicClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateOnlyConstructors")
|
||||
public void testPrivateOnlyConstructors() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateOnlyConstructors/");
|
||||
}
|
||||
@TestMetadata("privateOnlyConstructors")
|
||||
public void testPrivateOnlyConstructors() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateOnlyConstructors/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateValueClassConstructor")
|
||||
public void testPrivateValueClassConstructor() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateValueClassConstructor/");
|
||||
}
|
||||
@TestMetadata("privateValueClassConstructor")
|
||||
public void testPrivateValueClassConstructor() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateValueClassConstructor/");
|
||||
}
|
||||
|
||||
@TestMetadata("topLevel")
|
||||
public void testTopLevel() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/topLevel/");
|
||||
}
|
||||
@TestMetadata("topLevel")
|
||||
public void testTopLevel() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/topLevel/");
|
||||
}
|
||||
}
|
||||
|
||||
+46
-46
@@ -22,61 +22,61 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class JvmAbiContentTestGenerated extends AbstractJvmAbiContentTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInContent() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/jvm-abi-gen/testData/content"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
public void testAllFilesPresentInContent() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/jvm-abi-gen/testData/content"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
|
||||
@TestMetadata("annotation")
|
||||
public void testAnnotation() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/annotation/");
|
||||
}
|
||||
@TestMetadata("annotation")
|
||||
public void testAnnotation() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/annotation/");
|
||||
}
|
||||
|
||||
@TestMetadata("annotationInstantiation")
|
||||
public void testAnnotationInstantiation() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/annotationInstantiation/");
|
||||
}
|
||||
@TestMetadata("annotationInstantiation")
|
||||
public void testAnnotationInstantiation() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/annotationInstantiation/");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousAnnotationInstantiation")
|
||||
public void testAnonymousAnnotationInstantiation() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/anonymousAnnotationInstantiation/");
|
||||
}
|
||||
@TestMetadata("anonymousAnnotationInstantiation")
|
||||
public void testAnonymousAnnotationInstantiation() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/anonymousAnnotationInstantiation/");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousWhenMapping")
|
||||
public void testAnonymousWhenMapping() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/anonymousWhenMapping/");
|
||||
}
|
||||
@TestMetadata("anonymousWhenMapping")
|
||||
public void testAnonymousWhenMapping() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/anonymousWhenMapping/");
|
||||
}
|
||||
|
||||
@TestMetadata("class")
|
||||
public void testClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/class/");
|
||||
}
|
||||
@TestMetadata("class")
|
||||
public void testClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/class/");
|
||||
}
|
||||
|
||||
@TestMetadata("effectivelyPrivateAnnotation")
|
||||
public void testEffectivelyPrivateAnnotation() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/effectivelyPrivateAnnotation/");
|
||||
}
|
||||
@TestMetadata("effectivelyPrivateAnnotation")
|
||||
public void testEffectivelyPrivateAnnotation() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/effectivelyPrivateAnnotation/");
|
||||
}
|
||||
|
||||
@TestMetadata("innerClasses")
|
||||
public void testInnerClasses() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/innerClasses/");
|
||||
}
|
||||
@TestMetadata("innerClasses")
|
||||
public void testInnerClasses() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/innerClasses/");
|
||||
}
|
||||
|
||||
@TestMetadata("kt50005")
|
||||
public void testKt50005() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/kt50005/");
|
||||
}
|
||||
@TestMetadata("kt50005")
|
||||
public void testKt50005() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/kt50005/");
|
||||
}
|
||||
|
||||
@TestMetadata("preserveDeclarationOrderKeepsClassIntact")
|
||||
public void testPreserveDeclarationOrderKeepsClassIntact() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/preserveDeclarationOrderKeepsClassIntact/");
|
||||
}
|
||||
@TestMetadata("preserveDeclarationOrderKeepsClassIntact")
|
||||
public void testPreserveDeclarationOrderKeepsClassIntact() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/preserveDeclarationOrderKeepsClassIntact/");
|
||||
}
|
||||
|
||||
@TestMetadata("whenMapping")
|
||||
public void testWhenMapping() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/whenMapping/");
|
||||
}
|
||||
@TestMetadata("whenMapping")
|
||||
public void testWhenMapping() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/whenMapping/");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user