Migrate boxAgainstJava tests to multi-file framework
This commit is contained in:
+141
-141
@@ -46,49 +46,49 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("javaAnnotationArrayValueDefault.kt")
|
||||
public void testJavaAnnotationArrayValueDefault() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/javaAnnotationArrayValueDefault.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("javaAnnotationArrayValueNoDefault.kt")
|
||||
public void testJavaAnnotationArrayValueNoDefault() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/javaAnnotationArrayValueNoDefault.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("javaAnnotationCall.kt")
|
||||
public void testJavaAnnotationCall() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/javaAnnotationCall.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("javaAnnotationDefault.kt")
|
||||
public void testJavaAnnotationDefault() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/javaAnnotationDefault.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("javaNegativePropertyAsAnnotationParameter.kt")
|
||||
public void testJavaNegativePropertyAsAnnotationParameter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/javaNegativePropertyAsAnnotationParameter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("javaPropertyAsAnnotationParameter.kt")
|
||||
public void testJavaPropertyAsAnnotationParameter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/javaPropertyAsAnnotationParameter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("javaPropertyWithIntInitializer.kt")
|
||||
public void testJavaPropertyWithIntInitializer() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/javaPropertyWithIntInitializer.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("retentionInJava.kt")
|
||||
public void testRetentionInJava() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/retentionInJava.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/boxAgainstJava/annotations/kClassMapping")
|
||||
@@ -102,37 +102,37 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("arrayClassParameter.kt")
|
||||
public void testArrayClassParameter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/kClassMapping/arrayClassParameter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("arrayClassParameterOnJavaClass.kt")
|
||||
public void testArrayClassParameterOnJavaClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/kClassMapping/arrayClassParameterOnJavaClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("classParameter.kt")
|
||||
public void testClassParameter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/kClassMapping/classParameter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("classParameterOnJavaClass.kt")
|
||||
public void testClassParameterOnJavaClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/kClassMapping/classParameterOnJavaClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("varargClassParameter.kt")
|
||||
public void testVarargClassParameter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/kClassMapping/varargClassParameter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("varargClassParameterOnJavaClass.kt")
|
||||
public void testVarargClassParameterOnJavaClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/annotations/kClassMapping/varargClassParameterOnJavaClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -148,25 +148,25 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/callableReference/constructor.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("publicFinalField.kt")
|
||||
public void testPublicFinalField() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/callableReference/publicFinalField.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("publicMutableField.kt")
|
||||
public void testPublicMutableField() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/callableReference/publicMutableField.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("staticMethod.kt")
|
||||
public void testStaticMethod() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/callableReference/staticMethod.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -181,13 +181,13 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("genericConstructor.kt")
|
||||
public void testGenericConstructor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/constructor/genericConstructor.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("secondaryConstructor.kt")
|
||||
public void testSecondaryConstructor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/constructor/secondaryConstructor.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -202,7 +202,7 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("delegationAndInheritanceFromJava.kt")
|
||||
public void testDelegationAndInheritanceFromJava() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/delegation/delegationAndInheritanceFromJava.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -217,37 +217,37 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("simpleJavaEnum.kt")
|
||||
public void testSimpleJavaEnum() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/enum/simpleJavaEnum.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleJavaEnumWithFunction.kt")
|
||||
public void testSimpleJavaEnumWithFunction() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/enum/simpleJavaEnumWithFunction.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleJavaEnumWithStaticImport.kt")
|
||||
public void testSimpleJavaEnumWithStaticImport() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/enum/simpleJavaEnumWithStaticImport.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleJavaInnerEnum.kt")
|
||||
public void testSimpleJavaInnerEnum() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/enum/simpleJavaInnerEnum.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("staticField.kt")
|
||||
public void testStaticField() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/enum/staticField.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("staticMethod.kt")
|
||||
public void testStaticMethod() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/enum/staticMethod.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -262,31 +262,31 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/functions/constructor.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("max.kt")
|
||||
public void testMax() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/functions/max.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("referencesStaticInnerClassMethod.kt")
|
||||
public void testReferencesStaticInnerClassMethod() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/functions/referencesStaticInnerClassMethod.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("referencesStaticInnerClassMethodL2.kt")
|
||||
public void testReferencesStaticInnerClassMethodL2() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/functions/referencesStaticInnerClassMethodL2.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("unrelatedUpperBounds.kt")
|
||||
public void testUnrelatedUpperBounds() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/functions/unrelatedUpperBounds.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -301,19 +301,19 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("kt3532.kt")
|
||||
public void testKt3532() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/innerClass/kt3532.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kt3812.kt")
|
||||
public void testKt3812() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/innerClass/kt3812.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kt4036.kt")
|
||||
public void testKt4036() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/innerClass/kt4036.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -328,7 +328,7 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("inheritJavaInterface.kt")
|
||||
public void testInheritJavaInterface() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/interfaces/inheritJavaInterface.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -340,16 +340,16 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxAgainstJava/notNullAssertions"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("Delegation.kt")
|
||||
@TestMetadata("delegation.kt")
|
||||
public void testDelegation() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/notNullAssertions/Delegation.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/notNullAssertions/delegation.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("RightElvisOperand.kt")
|
||||
@TestMetadata("rightElvisOperand.kt")
|
||||
public void testRightElvisOperand() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/notNullAssertions/RightElvisOperand.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/notNullAssertions/rightElvisOperand.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -361,10 +361,10 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxAgainstJava/platformTypes"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("GenericUnit.kt")
|
||||
@TestMetadata("genericUnit.kt")
|
||||
public void testGenericUnit() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/platformTypes/GenericUnit.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/platformTypes/genericUnit.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -379,19 +379,19 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("fieldAccessFromExtensionInTraitImpl.kt")
|
||||
public void testFieldAccessFromExtensionInTraitImpl() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/property/fieldAccessFromExtensionInTraitImpl.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("fieldAccessViaSubclass.kt")
|
||||
public void testFieldAccessViaSubclass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/property/fieldAccessViaSubclass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("referenceToJavaFieldViaBridge.kt")
|
||||
public void testReferenceToJavaFieldViaBridge() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/property/referenceToJavaFieldViaBridge.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -414,7 +414,7 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("javaClassLiteral.kt")
|
||||
public void testJavaClassLiteral() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/reflection/classLiterals/javaClassLiteral.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -429,25 +429,25 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("jClass2kClass.kt")
|
||||
public void testJClass2kClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/reflection/mapping/jClass2kClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("javaConstructor.kt")
|
||||
public void testJavaConstructor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/reflection/mapping/javaConstructor.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("javaFields.kt")
|
||||
public void testJavaFields() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/reflection/mapping/javaFields.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("javaMethods.kt")
|
||||
public void testJavaMethods() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/reflection/mapping/javaMethods.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -462,7 +462,7 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/reflection/properties/equalsHashCodeToString.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -478,25 +478,25 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("differentFqNames.kt")
|
||||
public void testDifferentFqNames() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/differentFqNames.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kt4753.kt")
|
||||
public void testKt4753() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/kt4753.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kt4753_2.kt")
|
||||
public void testKt4753_2() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/kt4753_2.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("samConstructorGenericSignature.kt")
|
||||
public void testSamConstructorGenericSignature() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/samConstructorGenericSignature.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters")
|
||||
@@ -510,169 +510,169 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("bridgesForOverridden.kt")
|
||||
public void testBridgesForOverridden() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/bridgesForOverridden.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("bridgesForOverriddenComplex.kt")
|
||||
public void testBridgesForOverriddenComplex() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/bridgesForOverriddenComplex.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("callAbstractAdapter.kt")
|
||||
public void testCallAbstractAdapter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/callAbstractAdapter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("comparator.kt")
|
||||
public void testComparator() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/comparator.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/constructor.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("doubleLongParameters.kt")
|
||||
public void testDoubleLongParameters() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/doubleLongParameters.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("fileFilter.kt")
|
||||
public void testFileFilter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/fileFilter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("genericSignature.kt")
|
||||
public void testGenericSignature() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/genericSignature.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("implementAdapter.kt")
|
||||
public void testImplementAdapter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/implementAdapter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("inheritedInKotlin.kt")
|
||||
public void testInheritedInKotlin() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/inheritedInKotlin.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("inheritedOverriddenAdapter.kt")
|
||||
public void testInheritedOverriddenAdapter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/inheritedOverriddenAdapter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("inheritedSimple.kt")
|
||||
public void testInheritedSimple() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/inheritedSimple.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("localClass.kt")
|
||||
public void testLocalClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/localClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("localObjectConstructor.kt")
|
||||
public void testLocalObjectConstructor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/localObjectConstructor.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("localObjectConstructorWithFnValue.kt")
|
||||
public void testLocalObjectConstructorWithFnValue() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/localObjectConstructorWithFnValue.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("nonLiteralAndLiteralRunnable.kt")
|
||||
public void testNonLiteralAndLiteralRunnable() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/nonLiteralAndLiteralRunnable.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("nonLiteralComparator.kt")
|
||||
public void testNonLiteralComparator() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/nonLiteralComparator.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("nonLiteralInConstructor.kt")
|
||||
public void testNonLiteralInConstructor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/nonLiteralInConstructor.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("nonLiteralNull.kt")
|
||||
public void testNonLiteralNull() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/nonLiteralNull.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("nonLiteralRunnable.kt")
|
||||
public void testNonLiteralRunnable() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/nonLiteralRunnable.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("protectedFromBase.kt")
|
||||
public void testProtectedFromBase() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/protectedFromBase.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("severalSamParameters.kt")
|
||||
public void testSeveralSamParameters() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/severalSamParameters.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("simplest.kt")
|
||||
public void testSimplest() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/simplest.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("superconstructor.kt")
|
||||
public void testSuperconstructor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/superconstructor.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("superconstructorWithClosure.kt")
|
||||
public void testSuperconstructorWithClosure() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/superconstructorWithClosure.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("typeParameterOfClass.kt")
|
||||
public void testTypeParameterOfClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/typeParameterOfClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("typeParameterOfMethod.kt")
|
||||
public void testTypeParameterOfMethod() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/typeParameterOfMethod.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("typeParameterOfOuterClass.kt")
|
||||
public void testTypeParameterOfOuterClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/typeParameterOfOuterClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/operators")
|
||||
@@ -686,67 +686,67 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("augmentedAssignmentAndSquareBrackets.kt")
|
||||
public void testAugmentedAssignmentAndSquareBrackets() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/operators/augmentedAssignmentAndSquareBrackets.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("augmentedAssignmentPure.kt")
|
||||
public void testAugmentedAssignmentPure() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/operators/augmentedAssignmentPure.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("augmentedAssignmentViaSimpleBinary.kt")
|
||||
public void testAugmentedAssignmentViaSimpleBinary() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/operators/augmentedAssignmentViaSimpleBinary.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("binary.kt")
|
||||
public void testBinary() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/operators/binary.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("compareTo.kt")
|
||||
public void testCompareTo() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/operators/compareTo.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("contains.kt")
|
||||
public void testContains() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/operators/contains.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("get.kt")
|
||||
public void testGet() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/operators/get.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("invoke.kt")
|
||||
public void testInvoke() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/operators/invoke.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("multiGetSet.kt")
|
||||
public void testMultiGetSet() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/operators/multiGetSet.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("multiInvoke.kt")
|
||||
public void testMultiInvoke() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/operators/multiInvoke.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("set.kt")
|
||||
public void testSet() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/adapters/operators/set.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -760,10 +760,10 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxAgainstJava/specialBuiltins"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("CharBuffer.kt")
|
||||
@TestMetadata("charBuffer.kt")
|
||||
public void testCharBuffer() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/specialBuiltins/CharBuffer.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/specialBuiltins/charBuffer.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -778,7 +778,7 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("classWithNestedEnum.kt")
|
||||
public void testClassWithNestedEnum() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/staticFun/classWithNestedEnum.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -793,61 +793,61 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("fromTwoBases.kt")
|
||||
public void testFromTwoBases() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/syntheticExtensions/fromTwoBases.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("getter.kt")
|
||||
public void testGetter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/syntheticExtensions/getter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("implicitReceiver.kt")
|
||||
public void testImplicitReceiver() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/syntheticExtensions/implicitReceiver.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("overrideOnlyGetter.kt")
|
||||
public void testOverrideOnlyGetter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/syntheticExtensions/overrideOnlyGetter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("plusPlus.kt")
|
||||
public void testPlusPlus() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/syntheticExtensions/plusPlus.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("protected.kt")
|
||||
public void testProtected() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/syntheticExtensions/protected.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("protectedSetter.kt")
|
||||
public void testProtectedSetter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/syntheticExtensions/protectedSetter.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("setter.kt")
|
||||
public void testSetter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/syntheticExtensions/setter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("setterNonVoid1.kt")
|
||||
public void testSetterNonVoid1() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/syntheticExtensions/setterNonVoid1.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("setterNonVoid2.kt")
|
||||
public void testSetterNonVoid2() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/syntheticExtensions/setterNonVoid2.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("_protected.kt")
|
||||
public void test_protected() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/syntheticExtensions/_protected.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("_protectedSetter.kt")
|
||||
public void test_protectedSetter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/syntheticExtensions/_protectedSetter.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -870,25 +870,25 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("kt2781.kt")
|
||||
public void testKt2781() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/package/kt2781.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("packageClass.kt")
|
||||
public void testPackageClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/package/packageClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("packageFun.kt")
|
||||
public void testPackageFun() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/package/packageFun.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("packageProperty.kt")
|
||||
public void testPackageProperty() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/package/packageProperty.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -903,25 +903,25 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("overrideProtectedFunInPackage.kt")
|
||||
public void testOverrideProtectedFunInPackage() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedAndPackage/overrideProtectedFunInPackage.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("protectedFunInPackage.kt")
|
||||
public void testProtectedFunInPackage() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedAndPackage/protectedFunInPackage.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("protectedPropertyInPackage.kt")
|
||||
public void testProtectedPropertyInPackage() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedAndPackage/protectedPropertyInPackage.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("protectedStaticClass.kt")
|
||||
public void testProtectedStaticClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedAndPackage/protectedStaticClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -936,73 +936,73 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxCod
|
||||
@TestMetadata("funCallInConstructor.kt")
|
||||
public void testFunCallInConstructor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/funCallInConstructor.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("funClassObject.kt")
|
||||
public void testFunClassObject() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/funClassObject.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("funGenericClass.kt")
|
||||
public void testFunGenericClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/funGenericClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("funNestedStaticClass.kt")
|
||||
public void testFunNestedStaticClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/funNestedStaticClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("funNestedStaticClass2.kt")
|
||||
public void testFunNestedStaticClass2() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/funNestedStaticClass2.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("funNestedStaticGenericClass.kt")
|
||||
public void testFunNestedStaticGenericClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/funNestedStaticGenericClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("funNotDirectSuperClass.kt")
|
||||
public void testFunNotDirectSuperClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/funNotDirectSuperClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("funObject.kt")
|
||||
public void testFunObject() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/funObject.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleClass.kt")
|
||||
public void testSimpleClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/simpleClass.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleClass2.kt")
|
||||
public void testSimpleClass2() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/simpleClass2.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleFun.kt")
|
||||
public void testSimpleFun() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/simpleFun.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleProperty.kt")
|
||||
public void testSimpleProperty() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/simpleProperty.kt");
|
||||
doTestAgainstJava(fileName);
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user