diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/annotatedEnumEntry.kt b/compiler/testData/codegen/box/annotations/annotatedEnumEntry.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/annotatedEnumEntry.kt rename to compiler/testData/codegen/box/annotations/annotatedEnumEntry.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/annotatedLambda/funExpression.kt b/compiler/testData/codegen/box/annotations/annotatedLambda/funExpression.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/annotatedLambda/funExpression.kt rename to compiler/testData/codegen/box/annotations/annotatedLambda/funExpression.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/annotatedLambda/lambda.kt b/compiler/testData/codegen/box/annotations/annotatedLambda/lambda.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/annotatedLambda/lambda.kt rename to compiler/testData/codegen/box/annotations/annotatedLambda/lambda.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/annotatedObjectLiteral.kt b/compiler/testData/codegen/box/annotations/annotatedObjectLiteral.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/annotatedObjectLiteral.kt rename to compiler/testData/codegen/box/annotations/annotatedObjectLiteral.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/annotationsOnDefault.kt b/compiler/testData/codegen/box/annotations/annotationsOnDefault.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/annotationsOnDefault.kt rename to compiler/testData/codegen/box/annotations/annotationsOnDefault.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/defaultParameterValues.kt b/compiler/testData/codegen/box/annotations/defaultParameterValues.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/defaultParameterValues.kt rename to compiler/testData/codegen/box/annotations/defaultParameterValues.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/delegatedPropertySetter.kt b/compiler/testData/codegen/box/annotations/delegatedPropertySetter.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/delegatedPropertySetter.kt rename to compiler/testData/codegen/box/annotations/delegatedPropertySetter.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/fileClassWithFileAnnotation.kt b/compiler/testData/codegen/box/annotations/fileClassWithFileAnnotation.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/fileClassWithFileAnnotation.kt rename to compiler/testData/codegen/box/annotations/fileClassWithFileAnnotation.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/jvmAnnotationFlags.kt b/compiler/testData/codegen/box/annotations/jvmAnnotationFlags.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/jvmAnnotationFlags.kt rename to compiler/testData/codegen/box/annotations/jvmAnnotationFlags.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/kotlinPropertyFromClassObjectAsParameter.kt b/compiler/testData/codegen/box/annotations/kotlinPropertyFromClassObjectAsParameter.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/kotlinPropertyFromClassObjectAsParameter.kt rename to compiler/testData/codegen/box/annotations/kotlinPropertyFromClassObjectAsParameter.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/kotlinTopLevelPropertyAsParameter.kt b/compiler/testData/codegen/box/annotations/kotlinTopLevelPropertyAsParameter.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/kotlinTopLevelPropertyAsParameter.kt rename to compiler/testData/codegen/box/annotations/kotlinTopLevelPropertyAsParameter.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/kt10136.kt b/compiler/testData/codegen/box/annotations/kt10136.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/kt10136.kt rename to compiler/testData/codegen/box/annotations/kt10136.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/nestedClassPropertyAsParameter.kt b/compiler/testData/codegen/box/annotations/nestedClassPropertyAsParameter.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/nestedClassPropertyAsParameter.kt rename to compiler/testData/codegen/box/annotations/nestedClassPropertyAsParameter.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/parameterWithPrimitiveType.kt b/compiler/testData/codegen/box/annotations/parameterWithPrimitiveType.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/parameterWithPrimitiveType.kt rename to compiler/testData/codegen/box/annotations/parameterWithPrimitiveType.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/propertyWithPropertyInInitializerAsParameter.kt b/compiler/testData/codegen/box/annotations/propertyWithPropertyInInitializerAsParameter.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/propertyWithPropertyInInitializerAsParameter.kt rename to compiler/testData/codegen/box/annotations/propertyWithPropertyInInitializerAsParameter.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/resolveWithLowPriorityAnnotation.kt b/compiler/testData/codegen/box/annotations/resolveWithLowPriorityAnnotation.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/resolveWithLowPriorityAnnotation.kt rename to compiler/testData/codegen/box/annotations/resolveWithLowPriorityAnnotation.kt diff --git a/compiler/testData/codegen/boxWithStdlib/annotations/varargInAnnotationParameter.kt b/compiler/testData/codegen/box/annotations/varargInAnnotationParameter.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/annotations/varargInAnnotationParameter.kt rename to compiler/testData/codegen/box/annotations/varargInAnnotationParameter.kt diff --git a/compiler/testData/codegen/boxWithStdlib/arrays/arrayConstructorsSimple.kt b/compiler/testData/codegen/box/arrays/arrayConstructorsSimple.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/arrays/arrayConstructorsSimple.kt rename to compiler/testData/codegen/box/arrays/arrayConstructorsSimple.kt diff --git a/compiler/testData/codegen/boxWithStdlib/arrays/inProjectionOfList.kt b/compiler/testData/codegen/box/arrays/inProjectionOfList.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/arrays/inProjectionOfList.kt rename to compiler/testData/codegen/box/arrays/inProjectionOfList.kt diff --git a/compiler/testData/codegen/boxWithStdlib/arrays/indices.kt b/compiler/testData/codegen/box/arrays/indices.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/arrays/indices.kt rename to compiler/testData/codegen/box/arrays/indices.kt diff --git a/compiler/testData/codegen/boxWithStdlib/arrays/indicesChar.kt b/compiler/testData/codegen/box/arrays/indicesChar.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/arrays/indicesChar.kt rename to compiler/testData/codegen/box/arrays/indicesChar.kt diff --git a/compiler/testData/codegen/boxWithStdlib/arrays/kt602.kt b/compiler/testData/codegen/box/arrays/kt602.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/arrays/kt602.kt rename to compiler/testData/codegen/box/arrays/kt602.kt diff --git a/compiler/testData/codegen/boxWithStdlib/arrays/kt7009.kt b/compiler/testData/codegen/box/arrays/kt7009.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/arrays/kt7009.kt rename to compiler/testData/codegen/box/arrays/kt7009.kt diff --git a/compiler/testData/codegen/boxWithStdlib/arrays/kt7338.kt b/compiler/testData/codegen/box/arrays/kt7338.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/arrays/kt7338.kt rename to compiler/testData/codegen/box/arrays/kt7338.kt diff --git a/compiler/testData/codegen/boxWithStdlib/arrays/multiArrayConstructors.kt b/compiler/testData/codegen/box/arrays/multiArrayConstructors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/arrays/multiArrayConstructors.kt rename to compiler/testData/codegen/box/arrays/multiArrayConstructors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/casts.kt b/compiler/testData/codegen/box/boxingOptimization/casts.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/casts.kt rename to compiler/testData/codegen/box/boxingOptimization/casts.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/checkcastAndInstanceOf.kt b/compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/checkcastAndInstanceOf.kt rename to compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/fold.kt b/compiler/testData/codegen/box/boxingOptimization/fold.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/fold.kt rename to compiler/testData/codegen/box/boxingOptimization/fold.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/foldRange.kt b/compiler/testData/codegen/box/boxingOptimization/foldRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/foldRange.kt rename to compiler/testData/codegen/box/boxingOptimization/foldRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/kt5844.kt b/compiler/testData/codegen/box/boxingOptimization/kt5844.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/kt5844.kt rename to compiler/testData/codegen/box/boxingOptimization/kt5844.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/kt6047.kt b/compiler/testData/codegen/box/boxingOptimization/kt6047.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/kt6047.kt rename to compiler/testData/codegen/box/boxingOptimization/kt6047.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/kt6842.kt b/compiler/testData/codegen/box/boxingOptimization/kt6842.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/kt6842.kt rename to compiler/testData/codegen/box/boxingOptimization/kt6842.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/nullCheck.kt b/compiler/testData/codegen/box/boxingOptimization/nullCheck.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/nullCheck.kt rename to compiler/testData/codegen/box/boxingOptimization/nullCheck.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/progressions.kt b/compiler/testData/codegen/box/boxingOptimization/progressions.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/progressions.kt rename to compiler/testData/codegen/box/boxingOptimization/progressions.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/safeCallWithElvis.kt b/compiler/testData/codegen/box/boxingOptimization/safeCallWithElvis.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/safeCallWithElvis.kt rename to compiler/testData/codegen/box/boxingOptimization/safeCallWithElvis.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/simple.kt b/compiler/testData/codegen/box/boxingOptimization/simple.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/simple.kt rename to compiler/testData/codegen/box/boxingOptimization/simple.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/simpleUninitializedMerge.kt b/compiler/testData/codegen/box/boxingOptimization/simpleUninitializedMerge.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/simpleUninitializedMerge.kt rename to compiler/testData/codegen/box/boxingOptimization/simpleUninitializedMerge.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/unsafeRemoving.kt b/compiler/testData/codegen/box/boxingOptimization/unsafeRemoving.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/unsafeRemoving.kt rename to compiler/testData/codegen/box/boxingOptimization/unsafeRemoving.kt diff --git a/compiler/testData/codegen/boxWithStdlib/boxingOptimization/variables.kt b/compiler/testData/codegen/box/boxingOptimization/variables.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/boxingOptimization/variables.kt rename to compiler/testData/codegen/box/boxingOptimization/variables.kt diff --git a/compiler/testData/codegen/boxWithStdlib/callableReference/function/getArityViaFunctionImpl.kt b/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/callableReference/function/getArityViaFunctionImpl.kt rename to compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/asWithGeneric.kt b/compiler/testData/codegen/box/casts/asWithGeneric.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/asWithGeneric.kt rename to compiler/testData/codegen/box/casts/asWithGeneric.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/asFunKBig.kt b/compiler/testData/codegen/box/casts/functions/asFunKBig.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/asFunKBig.kt rename to compiler/testData/codegen/box/casts/functions/asFunKBig.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/isFunKBig.kt b/compiler/testData/codegen/box/casts/functions/isFunKBig.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/isFunKBig.kt rename to compiler/testData/codegen/box/casts/functions/isFunKBig.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/isFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/isFunKSmall.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/isFunKSmall.kt rename to compiler/testData/codegen/box/casts/functions/isFunKSmall.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/reifiedAsFunKBig.kt b/compiler/testData/codegen/box/casts/functions/reifiedAsFunKBig.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/reifiedAsFunKBig.kt rename to compiler/testData/codegen/box/casts/functions/reifiedAsFunKBig.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/reifiedIsFunKBig.kt b/compiler/testData/codegen/box/casts/functions/reifiedIsFunKBig.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/reifiedIsFunKBig.kt rename to compiler/testData/codegen/box/casts/functions/reifiedIsFunKBig.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/reifiedIsFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/reifiedIsFunKSmall.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/reifiedIsFunKSmall.kt rename to compiler/testData/codegen/box/casts/functions/reifiedIsFunKSmall.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/safeAsFunKBig.kt b/compiler/testData/codegen/box/casts/functions/safeAsFunKBig.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/safeAsFunKBig.kt rename to compiler/testData/codegen/box/casts/functions/safeAsFunKBig.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/safeAsFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/safeAsFunKSmall.kt rename to compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/asWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/asWithMutable.kt rename to compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/isWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/isWithMutable.kt rename to compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt diff --git a/compiler/testData/codegen/boxWithStdlib/classes/mutabilityMarkerInterfaces.kt b/compiler/testData/codegen/box/casts/mutableCollections/mutabilityMarkerInterfaces.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/classes/mutabilityMarkerInterfaces.kt rename to compiler/testData/codegen/box/casts/mutableCollections/mutabilityMarkerInterfaces.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/reifiedAsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/reifiedAsWithMutable.kt rename to compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/reifiedIsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/reifiedIsWithMutable.kt rename to compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/reifiedSafeAsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/reifiedSafeAsWithMutable.kt rename to compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/safeAsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/safeAsWithMutable.kt rename to compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/weirdMutableCasts.kt b/compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/weirdMutableCasts.kt rename to compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt diff --git a/compiler/testData/codegen/boxWithStdlib/casts/unitAsInt.kt b/compiler/testData/codegen/box/casts/unitAsInt.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/casts/unitAsInt.kt rename to compiler/testData/codegen/box/casts/unitAsInt.kt diff --git a/compiler/testData/codegen/boxWithStdlib/classes/kt8011.kt b/compiler/testData/codegen/box/classes/kt8011.kt similarity index 79% rename from compiler/testData/codegen/boxWithStdlib/classes/kt8011.kt rename to compiler/testData/codegen/box/classes/kt8011.kt index e4ab453aa33..602a4a2894a 100644 --- a/compiler/testData/codegen/boxWithStdlib/classes/kt8011.kt +++ b/compiler/testData/codegen/box/classes/kt8011.kt @@ -1,3 +1,5 @@ +// TODO: Enable for JS when it supports local classes. +// TARGET_BACKEND: JVM // WITH_RUNTIME fun testFun1(str: String): String { diff --git a/compiler/testData/codegen/boxWithStdlib/controlStructures/continueInExpr.kt b/compiler/testData/codegen/box/controlStructures/continueInExpr.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/controlStructures/continueInExpr.kt rename to compiler/testData/codegen/box/controlStructures/continueInExpr.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/kt2423.kt b/compiler/testData/codegen/box/controlStructures/kt2423.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/kt2423.kt rename to compiler/testData/codegen/box/controlStructures/kt2423.kt diff --git a/compiler/testData/codegen/boxWithStdlib/dataClasses/equals/alreadyDeclaredWrongSignature.kt b/compiler/testData/codegen/box/dataClasses/equals/alreadyDeclaredWrongSignature.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/dataClasses/equals/alreadyDeclaredWrongSignature.kt rename to compiler/testData/codegen/box/dataClasses/equals/alreadyDeclaredWrongSignature.kt diff --git a/compiler/testData/codegen/boxWithStdlib/dataClasses/hashcode/alreadyDeclaredWrongSignature.kt b/compiler/testData/codegen/box/dataClasses/hashCode/alreadyDeclaredWrongSignature.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/dataClasses/hashcode/alreadyDeclaredWrongSignature.kt rename to compiler/testData/codegen/box/dataClasses/hashCode/alreadyDeclaredWrongSignature.kt diff --git a/compiler/testData/codegen/boxWithStdlib/dataClasses/tostring/alreadyDeclaredWrongSignature.kt b/compiler/testData/codegen/box/dataClasses/toString/alreadyDeclaredWrongSignature.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/dataClasses/tostring/alreadyDeclaredWrongSignature.kt rename to compiler/testData/codegen/box/dataClasses/toString/alreadyDeclaredWrongSignature.kt diff --git a/compiler/testData/codegen/boxWithStdlib/deadCodeElimination/emptyVariableRange.kt b/compiler/testData/codegen/box/deadCodeElimination/emptyVariableRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/deadCodeElimination/emptyVariableRange.kt rename to compiler/testData/codegen/box/deadCodeElimination/emptyVariableRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/defaultArguments/constructor/checkIfConstructorIsSynthetic.kt b/compiler/testData/codegen/box/defaultArguments/constructor/checkIfConstructorIsSynthetic.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/defaultArguments/constructor/checkIfConstructorIsSynthetic.kt rename to compiler/testData/codegen/box/defaultArguments/constructor/checkIfConstructorIsSynthetic.kt diff --git a/compiler/testData/codegen/boxWithStdlib/defaultArguments/constructor/manyArgs.kt b/compiler/testData/codegen/box/defaultArguments/constructor/manyArgs.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/defaultArguments/constructor/manyArgs.kt rename to compiler/testData/codegen/box/defaultArguments/constructor/manyArgs.kt diff --git a/compiler/testData/codegen/boxWithStdlib/defaultArguments/kt6382.kt b/compiler/testData/codegen/box/defaultArguments/kt6382.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/defaultArguments/kt6382.kt rename to compiler/testData/codegen/box/defaultArguments/kt6382.kt diff --git a/compiler/testData/codegen/boxWithStdlib/defaultArguments/superCallCheck.kt b/compiler/testData/codegen/box/defaultArguments/superCallCheck.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/defaultArguments/superCallCheck.kt rename to compiler/testData/codegen/box/defaultArguments/superCallCheck.kt diff --git a/compiler/testData/codegen/boxWithStdlib/delegatedProperty/delegateWithPrivateSet.kt b/compiler/testData/codegen/box/delegatedProperty/delegateWithPrivateSet.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/delegatedProperty/delegateWithPrivateSet.kt rename to compiler/testData/codegen/box/delegatedProperty/delegateWithPrivateSet.kt diff --git a/compiler/testData/codegen/boxWithStdlib/delegatedProperty/kt6722.kt b/compiler/testData/codegen/box/delegatedProperty/kt6722.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/delegatedProperty/kt6722.kt rename to compiler/testData/codegen/box/delegatedProperty/kt6722.kt diff --git a/compiler/testData/codegen/boxWithStdlib/delegatedProperty/kt9712.kt b/compiler/testData/codegen/box/delegatedProperty/kt9712.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/delegatedProperty/kt9712.kt rename to compiler/testData/codegen/box/delegatedProperty/kt9712.kt diff --git a/compiler/testData/codegen/boxWithStdlib/delegatedProperty/protectedVarWithPrivateSet.kt b/compiler/testData/codegen/box/delegatedProperty/protectedVarWithPrivateSet.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/delegatedProperty/protectedVarWithPrivateSet.kt rename to compiler/testData/codegen/box/delegatedProperty/protectedVarWithPrivateSet.kt diff --git a/compiler/testData/codegen/boxWithStdlib/delegatedProperty/stackOverflowOnCallFromGetValue.kt b/compiler/testData/codegen/box/delegatedProperty/stackOverflowOnCallFromGetValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/delegatedProperty/stackOverflowOnCallFromGetValue.kt rename to compiler/testData/codegen/box/delegatedProperty/stackOverflowOnCallFromGetValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/delegatedProperty/useKPropertyLater.kt b/compiler/testData/codegen/box/delegatedProperty/useKPropertyLater.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/delegatedProperty/useKPropertyLater.kt rename to compiler/testData/codegen/box/delegatedProperty/useKPropertyLater.kt diff --git a/compiler/testData/codegen/boxWithStdlib/enum/sortEnumEntries.kt b/compiler/testData/codegen/box/enum/sortEnumEntries.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/enum/sortEnumEntries.kt rename to compiler/testData/codegen/box/enum/sortEnumEntries.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/char.kt b/compiler/testData/codegen/box/evaluate/char.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/char.kt rename to compiler/testData/codegen/box/evaluate/char.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/divide.kt b/compiler/testData/codegen/box/evaluate/divide.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/divide.kt rename to compiler/testData/codegen/box/evaluate/divide.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/intrincics.kt b/compiler/testData/codegen/box/evaluate/intrinsics.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/intrincics.kt rename to compiler/testData/codegen/box/evaluate/intrinsics.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/kt9443.kt b/compiler/testData/codegen/box/evaluate/kt9443.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/kt9443.kt rename to compiler/testData/codegen/box/evaluate/kt9443.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/maxValue.kt b/compiler/testData/codegen/box/evaluate/maxValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/maxValue.kt rename to compiler/testData/codegen/box/evaluate/maxValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/maxValueByte.kt b/compiler/testData/codegen/box/evaluate/maxValueByte.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/maxValueByte.kt rename to compiler/testData/codegen/box/evaluate/maxValueByte.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/maxValueInt.kt b/compiler/testData/codegen/box/evaluate/maxValueInt.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/maxValueInt.kt rename to compiler/testData/codegen/box/evaluate/maxValueInt.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/minus.kt b/compiler/testData/codegen/box/evaluate/minus.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/minus.kt rename to compiler/testData/codegen/box/evaluate/minus.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/mod.kt b/compiler/testData/codegen/box/evaluate/mod.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/mod.kt rename to compiler/testData/codegen/box/evaluate/mod.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/miltiply.kt b/compiler/testData/codegen/box/evaluate/multiply.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/miltiply.kt rename to compiler/testData/codegen/box/evaluate/multiply.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/paranthesized.kt b/compiler/testData/codegen/box/evaluate/parenthesized.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/paranthesized.kt rename to compiler/testData/codegen/box/evaluate/parenthesized.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/plus.kt b/compiler/testData/codegen/box/evaluate/plus.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/plus.kt rename to compiler/testData/codegen/box/evaluate/plus.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/simpleCallBinary.kt b/compiler/testData/codegen/box/evaluate/simpleCallBinary.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/simpleCallBinary.kt rename to compiler/testData/codegen/box/evaluate/simpleCallBinary.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/unaryMinus.kt b/compiler/testData/codegen/box/evaluate/unaryMinus.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/unaryMinus.kt rename to compiler/testData/codegen/box/evaluate/unaryMinus.kt diff --git a/compiler/testData/codegen/boxWithStdlib/evaluate/unaryPlus.kt b/compiler/testData/codegen/box/evaluate/unaryPlus.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/evaluate/unaryPlus.kt rename to compiler/testData/codegen/box/evaluate/unaryPlus.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/native/staticNative.kt b/compiler/testData/codegen/box/external/jvmStaticExternal.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/native/staticNative.kt rename to compiler/testData/codegen/box/external/jvmStaticExternal.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/native/privateStatic.kt b/compiler/testData/codegen/box/external/jvmStaticExternalPrivate.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/native/privateStatic.kt rename to compiler/testData/codegen/box/external/jvmStaticExternalPrivate.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/native/default.kt b/compiler/testData/codegen/box/external/withDefaultArg.kt similarity index 90% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/native/default.kt rename to compiler/testData/codegen/box/external/withDefaultArg.kt index fedf9602fba..b60302983e9 100644 --- a/compiler/testData/codegen/boxWithStdlib/fullJdk/native/default.kt +++ b/compiler/testData/codegen/box/external/withDefaultArg.kt @@ -35,7 +35,7 @@ fun box(): String { return "Link error expected on object" } catch (e: java.lang.UnsatisfiedLinkError) { - if (e.message != "foo.DefaultKt.topLevel(I)D") return "Fail 3: " + e.message + if (e.message != "foo.WithDefaultArgKt.topLevel(I)D") return "Fail 3: " + e.message } return "OK" } diff --git a/compiler/testData/codegen/boxWithStdlib/localFunInLambda/simple.kt b/compiler/testData/codegen/box/functions/localFunctions/callInlineLocalInLambda.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/localFunInLambda/simple.kt rename to compiler/testData/codegen/box/functions/localFunctions/callInlineLocalInLambda.kt diff --git a/compiler/testData/codegen/boxWithStdlib/localFunInLambda/definedWithinLambda.kt b/compiler/testData/codegen/box/functions/localFunctions/definedWithinLambda.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/localFunInLambda/definedWithinLambda.kt rename to compiler/testData/codegen/box/functions/localFunctions/definedWithinLambda.kt diff --git a/compiler/testData/codegen/boxWithStdlib/localFunInLambda/definedWithinLambdaInnerUsage1.kt b/compiler/testData/codegen/box/functions/localFunctions/definedWithinLambdaInnerUsage1.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/localFunInLambda/definedWithinLambdaInnerUsage1.kt rename to compiler/testData/codegen/box/functions/localFunctions/definedWithinLambdaInnerUsage1.kt diff --git a/compiler/testData/codegen/boxWithStdlib/localFunInLambda/definedWithinLambdaInnerUsage2.kt b/compiler/testData/codegen/box/functions/localFunctions/definedWithinLambdaInnerUsage2.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/localFunInLambda/definedWithinLambdaInnerUsage2.kt rename to compiler/testData/codegen/box/functions/localFunctions/definedWithinLambdaInnerUsage2.kt diff --git a/compiler/testData/codegen/boxWithStdlib/hashPMap/empty.kt b/compiler/testData/codegen/box/hashPMap/empty.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/hashPMap/empty.kt rename to compiler/testData/codegen/box/hashPMap/empty.kt diff --git a/compiler/testData/codegen/boxWithStdlib/hashPMap/manyNumbers.kt b/compiler/testData/codegen/box/hashPMap/manyNumbers.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/hashPMap/manyNumbers.kt rename to compiler/testData/codegen/box/hashPMap/manyNumbers.kt diff --git a/compiler/testData/codegen/boxWithStdlib/hashPMap/rewriteWithDifferent.kt b/compiler/testData/codegen/box/hashPMap/rewriteWithDifferent.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/hashPMap/rewriteWithDifferent.kt rename to compiler/testData/codegen/box/hashPMap/rewriteWithDifferent.kt diff --git a/compiler/testData/codegen/boxWithStdlib/hashPMap/rewriteWithEqual.kt b/compiler/testData/codegen/box/hashPMap/rewriteWithEqual.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/hashPMap/rewriteWithEqual.kt rename to compiler/testData/codegen/box/hashPMap/rewriteWithEqual.kt diff --git a/compiler/testData/codegen/boxWithStdlib/hashPMap/simplePlusGet.kt b/compiler/testData/codegen/box/hashPMap/simplePlusGet.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/hashPMap/simplePlusGet.kt rename to compiler/testData/codegen/box/hashPMap/simplePlusGet.kt diff --git a/compiler/testData/codegen/boxWithStdlib/hashPMap/simplePlusMinus.kt b/compiler/testData/codegen/box/hashPMap/simplePlusMinus.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/hashPMap/simplePlusMinus.kt rename to compiler/testData/codegen/box/hashPMap/simplePlusMinus.kt diff --git a/compiler/testData/codegen/boxWithStdlib/postfixIncrementDecrement/memberExtOnLong.kt b/compiler/testData/codegen/box/increment/memberExtOnLong.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/postfixIncrementDecrement/memberExtOnLong.kt rename to compiler/testData/codegen/box/increment/memberExtOnLong.kt diff --git a/compiler/testData/codegen/boxWithStdlib/postfixIncrementDecrement/mutableListElement.kt b/compiler/testData/codegen/box/increment/mutableListElement.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/postfixIncrementDecrement/mutableListElement.kt rename to compiler/testData/codegen/box/increment/mutableListElement.kt diff --git a/compiler/testData/codegen/boxWithStdlib/intrinsics/defaultObjectMapping.kt b/compiler/testData/codegen/box/intrinsics/defaultObjectMapping.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/intrinsics/defaultObjectMapping.kt rename to compiler/testData/codegen/box/intrinsics/defaultObjectMapping.kt diff --git a/compiler/testData/codegen/boxWithStdlib/intrinsics/kt10131.kt b/compiler/testData/codegen/box/intrinsics/kt10131.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/intrinsics/kt10131.kt rename to compiler/testData/codegen/box/intrinsics/kt10131.kt diff --git a/compiler/testData/codegen/boxWithStdlib/intrinsics/kt10131a.kt b/compiler/testData/codegen/box/intrinsics/kt10131a.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/intrinsics/kt10131a.kt rename to compiler/testData/codegen/box/intrinsics/kt10131a.kt diff --git a/compiler/testData/codegen/boxWithStdlib/intrinsics/kt5937.kt b/compiler/testData/codegen/box/intrinsics/kt5937.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/intrinsics/kt5937.kt rename to compiler/testData/codegen/box/intrinsics/kt5937.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmField/captureClassFields.kt b/compiler/testData/codegen/box/jvmField/captureClassFields.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmField/captureClassFields.kt rename to compiler/testData/codegen/box/jvmField/captureClassFields.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmField/capturePackageFields.kt b/compiler/testData/codegen/box/jvmField/capturePackageFields.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmField/capturePackageFields.kt rename to compiler/testData/codegen/box/jvmField/capturePackageFields.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmField/checkNoAccessors.kt b/compiler/testData/codegen/box/jvmField/checkNoAccessors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmField/checkNoAccessors.kt rename to compiler/testData/codegen/box/jvmField/checkNoAccessors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmField/classFieldReference.kt b/compiler/testData/codegen/box/jvmField/classFieldReference.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmField/classFieldReference.kt rename to compiler/testData/codegen/box/jvmField/classFieldReference.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmField/classFieldReflection.kt b/compiler/testData/codegen/box/jvmField/classFieldReflection.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmField/classFieldReflection.kt rename to compiler/testData/codegen/box/jvmField/classFieldReflection.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmField/publicField.kt b/compiler/testData/codegen/box/jvmField/publicField.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmField/publicField.kt rename to compiler/testData/codegen/box/jvmField/publicField.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmField/superCall.kt b/compiler/testData/codegen/box/jvmField/superCall.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmField/superCall.kt rename to compiler/testData/codegen/box/jvmField/superCall.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmField/superCall2.kt b/compiler/testData/codegen/box/jvmField/superCall2.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmField/superCall2.kt rename to compiler/testData/codegen/box/jvmField/superCall2.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmField/topLevelFieldReference.kt b/compiler/testData/codegen/box/jvmField/topLevelFieldReference.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmField/topLevelFieldReference.kt rename to compiler/testData/codegen/box/jvmField/topLevelFieldReference.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmField/topLevelFieldReflection.kt b/compiler/testData/codegen/box/jvmField/topLevelFieldReflection.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmField/topLevelFieldReflection.kt rename to compiler/testData/codegen/box/jvmField/topLevelFieldReflection.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmField/visibility.kt b/compiler/testData/codegen/box/jvmField/visibility.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmField/visibility.kt rename to compiler/testData/codegen/box/jvmField/visibility.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmField/writeFieldReference.kt b/compiler/testData/codegen/box/jvmField/writeFieldReference.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmField/writeFieldReference.kt rename to compiler/testData/codegen/box/jvmField/writeFieldReference.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmName/callableReference.kt b/compiler/testData/codegen/box/jvmName/callableReference.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmName/callableReference.kt rename to compiler/testData/codegen/box/jvmName/callableReference.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmName/clashingErasure.kt b/compiler/testData/codegen/box/jvmName/clashingErasure.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmName/clashingErasure.kt rename to compiler/testData/codegen/box/jvmName/clashingErasure.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmName/classMembers.kt b/compiler/testData/codegen/box/jvmName/classMembers.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmName/classMembers.kt rename to compiler/testData/codegen/box/jvmName/classMembers.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmName/functionName.kt b/compiler/testData/codegen/box/jvmName/functionName.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmName/functionName.kt rename to compiler/testData/codegen/box/jvmName/functionName.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmName/multifileClass.kt b/compiler/testData/codegen/box/jvmName/multifileClass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmName/multifileClass.kt rename to compiler/testData/codegen/box/jvmName/multifileClass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmName/multifileClassWithLocalClass.kt b/compiler/testData/codegen/box/jvmName/multifileClassWithLocalClass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmName/multifileClassWithLocalClass.kt rename to compiler/testData/codegen/box/jvmName/multifileClassWithLocalClass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmName/multifileClassWithLocalGeneric.kt b/compiler/testData/codegen/box/jvmName/multifileClassWithLocalGeneric.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmName/multifileClassWithLocalGeneric.kt rename to compiler/testData/codegen/box/jvmName/multifileClassWithLocalGeneric.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmName/propertyAccessorsUseSite.kt b/compiler/testData/codegen/box/jvmName/propertyAccessorsUseSite.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmName/propertyAccessorsUseSite.kt rename to compiler/testData/codegen/box/jvmName/propertyAccessorsUseSite.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmName/propertyName.kt b/compiler/testData/codegen/box/jvmName/propertyName.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmName/propertyName.kt rename to compiler/testData/codegen/box/jvmName/propertyName.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmName/renamedFileClass.kt b/compiler/testData/codegen/box/jvmName/renamedFileClass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmName/renamedFileClass.kt rename to compiler/testData/codegen/box/jvmName/renamedFileClass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmOverloads/companionObject.kt b/compiler/testData/codegen/box/jvmOverloads/companionObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmOverloads/companionObject.kt rename to compiler/testData/codegen/box/jvmOverloads/companionObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmOverloads/defaultsNotAtEnd.kt b/compiler/testData/codegen/box/jvmOverloads/defaultsNotAtEnd.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmOverloads/defaultsNotAtEnd.kt rename to compiler/testData/codegen/box/jvmOverloads/defaultsNotAtEnd.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmOverloads/doubleParameters.kt b/compiler/testData/codegen/box/jvmOverloads/doubleParameters.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmOverloads/doubleParameters.kt rename to compiler/testData/codegen/box/jvmOverloads/doubleParameters.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmOverloads/extensionMethod.kt b/compiler/testData/codegen/box/jvmOverloads/extensionMethod.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmOverloads/extensionMethod.kt rename to compiler/testData/codegen/box/jvmOverloads/extensionMethod.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmOverloads/multipleDefaultParameters.kt b/compiler/testData/codegen/box/jvmOverloads/multipleDefaultParameters.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmOverloads/multipleDefaultParameters.kt rename to compiler/testData/codegen/box/jvmOverloads/multipleDefaultParameters.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmOverloads/nonDefaultParameter.kt b/compiler/testData/codegen/box/jvmOverloads/nonDefaultParameter.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmOverloads/nonDefaultParameter.kt rename to compiler/testData/codegen/box/jvmOverloads/nonDefaultParameter.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmOverloads/primaryConstructor.kt b/compiler/testData/codegen/box/jvmOverloads/primaryConstructor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmOverloads/primaryConstructor.kt rename to compiler/testData/codegen/box/jvmOverloads/primaryConstructor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmOverloads/secondaryConstructor.kt b/compiler/testData/codegen/box/jvmOverloads/secondaryConstructor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmOverloads/secondaryConstructor.kt rename to compiler/testData/codegen/box/jvmOverloads/secondaryConstructor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmOverloads/simple.kt b/compiler/testData/codegen/box/jvmOverloads/simple.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmOverloads/simple.kt rename to compiler/testData/codegen/box/jvmOverloads/simple.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/closure.kt b/compiler/testData/codegen/box/jvmStatic/closure.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/closure.kt rename to compiler/testData/codegen/box/jvmStatic/closure.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/convention.kt b/compiler/testData/codegen/box/jvmStatic/convention.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/convention.kt rename to compiler/testData/codegen/box/jvmStatic/convention.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/default.kt b/compiler/testData/codegen/box/jvmStatic/default.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/default.kt rename to compiler/testData/codegen/box/jvmStatic/default.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/explicitObject.kt b/compiler/testData/codegen/box/jvmStatic/explicitObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/explicitObject.kt rename to compiler/testData/codegen/box/jvmStatic/explicitObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/funAccess.kt b/compiler/testData/codegen/box/jvmStatic/funAccess.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/funAccess.kt rename to compiler/testData/codegen/box/jvmStatic/funAccess.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/importStaticMemberFromObject.kt b/compiler/testData/codegen/box/jvmStatic/importStaticMemberFromObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/importStaticMemberFromObject.kt rename to compiler/testData/codegen/box/jvmStatic/importStaticMemberFromObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/inline.kt b/compiler/testData/codegen/box/jvmStatic/inline.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/inline.kt rename to compiler/testData/codegen/box/jvmStatic/inline.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/kt9897_static.kt b/compiler/testData/codegen/box/jvmStatic/kt9897_static.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/kt9897_static.kt rename to compiler/testData/codegen/box/jvmStatic/kt9897_static.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/postfixInc.kt b/compiler/testData/codegen/box/jvmStatic/postfixInc.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/postfixInc.kt rename to compiler/testData/codegen/box/jvmStatic/postfixInc.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/prefixInc.kt b/compiler/testData/codegen/box/jvmStatic/prefixInc.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/prefixInc.kt rename to compiler/testData/codegen/box/jvmStatic/prefixInc.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/privateMethod.kt b/compiler/testData/codegen/box/jvmStatic/privateMethod.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/privateMethod.kt rename to compiler/testData/codegen/box/jvmStatic/privateMethod.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/propertyAccess.kt b/compiler/testData/codegen/box/jvmStatic/propertyAccess.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/propertyAccess.kt rename to compiler/testData/codegen/box/jvmStatic/propertyAccess.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/propertyAsDefault.kt b/compiler/testData/codegen/box/jvmStatic/propertyAsDefault.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/propertyAsDefault.kt rename to compiler/testData/codegen/box/jvmStatic/propertyAsDefault.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/simple.kt b/compiler/testData/codegen/box/jvmStatic/simple.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/simple.kt rename to compiler/testData/codegen/box/jvmStatic/simple.kt diff --git a/compiler/testData/codegen/boxWithStdlib/jvmStatic/syntheticAccessor.kt b/compiler/testData/codegen/box/jvmStatic/syntheticAccessor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/jvmStatic/syntheticAccessor.kt rename to compiler/testData/codegen/box/jvmStatic/syntheticAccessor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/mangling/field.kt b/compiler/testData/codegen/box/mangling/field.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/mangling/field.kt rename to compiler/testData/codegen/box/mangling/field.kt diff --git a/compiler/testData/codegen/boxWithStdlib/mangling/fun.kt b/compiler/testData/codegen/box/mangling/fun.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/mangling/fun.kt rename to compiler/testData/codegen/box/mangling/fun.kt diff --git a/compiler/testData/codegen/boxWithStdlib/multiDeclForArray/kt9828.kt b/compiler/testData/codegen/box/multiDecl/kt9828_hashMap.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/multiDeclForArray/kt9828.kt rename to compiler/testData/codegen/box/multiDecl/kt9828_hashMap.kt diff --git a/compiler/testData/codegen/boxWithStdlib/inline/kt6895.kt b/compiler/testData/codegen/box/nonLocalReturns/kt6895.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/inline/kt6895.kt rename to compiler/testData/codegen/box/nonLocalReturns/kt6895.kt diff --git a/compiler/testData/codegen/boxWithStdlib/inline/kt9644let.kt b/compiler/testData/codegen/box/nonLocalReturns/kt9644let.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/inline/kt9644let.kt rename to compiler/testData/codegen/box/nonLocalReturns/kt9644let.kt diff --git a/compiler/testData/codegen/boxWithStdlib/nonLocalReturns/use.kt b/compiler/testData/codegen/box/nonLocalReturns/use.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/nonLocalReturns/use.kt rename to compiler/testData/codegen/box/nonLocalReturns/use.kt diff --git a/compiler/testData/codegen/boxWithStdlib/nonLocalReturns/useWithException.kt b/compiler/testData/codegen/box/nonLocalReturns/useWithException.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/nonLocalReturns/useWithException.kt rename to compiler/testData/codegen/box/nonLocalReturns/useWithException.kt diff --git a/compiler/testData/codegen/boxWithStdlib/privateConstructor/synthetic.kt b/compiler/testData/codegen/box/privateConstructors/synthetic.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/privateConstructor/synthetic.kt rename to compiler/testData/codegen/box/privateConstructors/synthetic.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/constFlags.kt b/compiler/testData/codegen/box/properties/const/constFlags.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/constFlags.kt rename to compiler/testData/codegen/box/properties/const/constFlags.kt diff --git a/compiler/testData/codegen/boxWithStdlib/const/constValInAnnotationDefault.kt b/compiler/testData/codegen/box/properties/const/constValInAnnotationDefault.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/const/constValInAnnotationDefault.kt rename to compiler/testData/codegen/box/properties/const/constValInAnnotationDefault.kt diff --git a/compiler/testData/codegen/boxWithStdlib/const/interfaceCompanion.kt b/compiler/testData/codegen/box/properties/const/interfaceCompanion.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/const/interfaceCompanion.kt rename to compiler/testData/codegen/box/properties/const/interfaceCompanion.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/lateinitVisibility.kt b/compiler/testData/codegen/box/properties/lateinit/visibility.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/lateinitVisibility.kt rename to compiler/testData/codegen/box/properties/lateinit/visibility.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/emptyDownto.kt b/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/emptyDownto.kt rename to compiler/testData/codegen/box/ranges/expression/emptyDownto.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/emptyRange.kt b/compiler/testData/codegen/box/ranges/expression/emptyRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/emptyRange.kt rename to compiler/testData/codegen/box/ranges/expression/emptyRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/inexactDownToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/inexactDownToMinValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/inexactDownToMinValue.kt rename to compiler/testData/codegen/box/ranges/expression/inexactDownToMinValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/inexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/expression/inexactSteppedDownTo.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/inexactSteppedDownTo.kt rename to compiler/testData/codegen/box/ranges/expression/inexactSteppedDownTo.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/inexactSteppedRange.kt b/compiler/testData/codegen/box/ranges/expression/inexactSteppedRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/inexactSteppedRange.kt rename to compiler/testData/codegen/box/ranges/expression/inexactSteppedRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/inexactToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/inexactToMaxValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/inexactToMaxValue.kt rename to compiler/testData/codegen/box/ranges/expression/inexactToMaxValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/maxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/maxValueMinusTwoToMaxValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/maxValueMinusTwoToMaxValue.kt rename to compiler/testData/codegen/box/ranges/expression/maxValueMinusTwoToMaxValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/maxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/maxValueToMaxValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/maxValueToMaxValue.kt rename to compiler/testData/codegen/box/ranges/expression/maxValueToMaxValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/maxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/maxValueToMinValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/maxValueToMinValue.kt rename to compiler/testData/codegen/box/ranges/expression/maxValueToMinValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/oneElementDownTo.kt b/compiler/testData/codegen/box/ranges/expression/oneElementDownTo.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/oneElementDownTo.kt rename to compiler/testData/codegen/box/ranges/expression/oneElementDownTo.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/oneElementRange.kt b/compiler/testData/codegen/box/ranges/expression/oneElementRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/oneElementRange.kt rename to compiler/testData/codegen/box/ranges/expression/oneElementRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/openRange.kt b/compiler/testData/codegen/box/ranges/expression/openRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/openRange.kt rename to compiler/testData/codegen/box/ranges/expression/openRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionDownToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionDownToMinValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionDownToMinValue.kt rename to compiler/testData/codegen/box/ranges/expression/progressionDownToMinValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt rename to compiler/testData/codegen/box/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionMaxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMaxValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionMaxValueToMaxValue.kt rename to compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMaxValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionMaxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMinValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionMaxValueToMinValue.kt rename to compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMinValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionMinValueToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionMinValueToMinValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionMinValueToMinValue.kt rename to compiler/testData/codegen/box/ranges/expression/progressionMinValueToMinValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedBackSequence.kt b/compiler/testData/codegen/box/ranges/expression/reversedBackSequence.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedBackSequence.kt rename to compiler/testData/codegen/box/ranges/expression/reversedBackSequence.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedEmptyBackSequence.kt b/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedEmptyBackSequence.kt rename to compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedEmptyRange.kt b/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedEmptyRange.kt rename to compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedInexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/expression/reversedInexactSteppedDownTo.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedInexactSteppedDownTo.kt rename to compiler/testData/codegen/box/ranges/expression/reversedInexactSteppedDownTo.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedRange.kt b/compiler/testData/codegen/box/ranges/expression/reversedRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedRange.kt rename to compiler/testData/codegen/box/ranges/expression/reversedRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedSimpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/expression/reversedSimpleSteppedRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedSimpleSteppedRange.kt rename to compiler/testData/codegen/box/ranges/expression/reversedSimpleSteppedRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleDownTo.kt b/compiler/testData/codegen/box/ranges/expression/simpleDownTo.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleDownTo.kt rename to compiler/testData/codegen/box/ranges/expression/simpleDownTo.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleRange.kt b/compiler/testData/codegen/box/ranges/expression/simpleRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleRange.kt rename to compiler/testData/codegen/box/ranges/expression/simpleRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleRangeWithNonConstantEnds.kt b/compiler/testData/codegen/box/ranges/expression/simpleRangeWithNonConstantEnds.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleRangeWithNonConstantEnds.kt rename to compiler/testData/codegen/box/ranges/expression/simpleRangeWithNonConstantEnds.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/expression/simpleSteppedDownTo.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleSteppedDownTo.kt rename to compiler/testData/codegen/box/ranges/expression/simpleSteppedDownTo.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/expression/simpleSteppedRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleSteppedRange.kt rename to compiler/testData/codegen/box/ranges/expression/simpleSteppedRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/forByteProgressionWithIntIncrement.kt b/compiler/testData/codegen/box/ranges/forByteProgressionWithIntIncrement.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/forByteProgressionWithIntIncrement.kt rename to compiler/testData/codegen/box/ranges/forByteProgressionWithIntIncrement.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/forIntRange.kt b/compiler/testData/codegen/box/ranges/forIntRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/forIntRange.kt rename to compiler/testData/codegen/box/ranges/forIntRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/emptyDownto.kt b/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/emptyDownto.kt rename to compiler/testData/codegen/box/ranges/literal/emptyDownto.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/emptyRange.kt b/compiler/testData/codegen/box/ranges/literal/emptyRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/emptyRange.kt rename to compiler/testData/codegen/box/ranges/literal/emptyRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/inexactDownToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/inexactDownToMinValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/inexactDownToMinValue.kt rename to compiler/testData/codegen/box/ranges/literal/inexactDownToMinValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/inexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/literal/inexactSteppedDownTo.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/inexactSteppedDownTo.kt rename to compiler/testData/codegen/box/ranges/literal/inexactSteppedDownTo.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/inexactSteppedRange.kt b/compiler/testData/codegen/box/ranges/literal/inexactSteppedRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/inexactSteppedRange.kt rename to compiler/testData/codegen/box/ranges/literal/inexactSteppedRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/inexactToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/inexactToMaxValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/inexactToMaxValue.kt rename to compiler/testData/codegen/box/ranges/literal/inexactToMaxValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/maxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/maxValueMinusTwoToMaxValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/maxValueMinusTwoToMaxValue.kt rename to compiler/testData/codegen/box/ranges/literal/maxValueMinusTwoToMaxValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/maxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/maxValueToMaxValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/maxValueToMaxValue.kt rename to compiler/testData/codegen/box/ranges/literal/maxValueToMaxValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/maxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/maxValueToMinValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/maxValueToMinValue.kt rename to compiler/testData/codegen/box/ranges/literal/maxValueToMinValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/oneElementDownTo.kt b/compiler/testData/codegen/box/ranges/literal/oneElementDownTo.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/oneElementDownTo.kt rename to compiler/testData/codegen/box/ranges/literal/oneElementDownTo.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/oneElementRange.kt b/compiler/testData/codegen/box/ranges/literal/oneElementRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/oneElementRange.kt rename to compiler/testData/codegen/box/ranges/literal/oneElementRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/openRange.kt b/compiler/testData/codegen/box/ranges/literal/openRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/openRange.kt rename to compiler/testData/codegen/box/ranges/literal/openRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionDownToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionDownToMinValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionDownToMinValue.kt rename to compiler/testData/codegen/box/ranges/literal/progressionDownToMinValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt rename to compiler/testData/codegen/box/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionMaxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMaxValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionMaxValueToMaxValue.kt rename to compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMaxValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionMaxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMinValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionMaxValueToMinValue.kt rename to compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMinValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionMinValueToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionMinValueToMinValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionMinValueToMinValue.kt rename to compiler/testData/codegen/box/ranges/literal/progressionMinValueToMinValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedBackSequence.kt b/compiler/testData/codegen/box/ranges/literal/reversedBackSequence.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedBackSequence.kt rename to compiler/testData/codegen/box/ranges/literal/reversedBackSequence.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedEmptyBackSequence.kt b/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedEmptyBackSequence.kt rename to compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedEmptyRange.kt b/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedEmptyRange.kt rename to compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedInexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/literal/reversedInexactSteppedDownTo.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedInexactSteppedDownTo.kt rename to compiler/testData/codegen/box/ranges/literal/reversedInexactSteppedDownTo.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedRange.kt b/compiler/testData/codegen/box/ranges/literal/reversedRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedRange.kt rename to compiler/testData/codegen/box/ranges/literal/reversedRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedSimpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/literal/reversedSimpleSteppedRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedSimpleSteppedRange.kt rename to compiler/testData/codegen/box/ranges/literal/reversedSimpleSteppedRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleDownTo.kt b/compiler/testData/codegen/box/ranges/literal/simpleDownTo.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleDownTo.kt rename to compiler/testData/codegen/box/ranges/literal/simpleDownTo.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleRange.kt b/compiler/testData/codegen/box/ranges/literal/simpleRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleRange.kt rename to compiler/testData/codegen/box/ranges/literal/simpleRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleRangeWithNonConstantEnds.kt b/compiler/testData/codegen/box/ranges/literal/simpleRangeWithNonConstantEnds.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleRangeWithNonConstantEnds.kt rename to compiler/testData/codegen/box/ranges/literal/simpleRangeWithNonConstantEnds.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/literal/simpleSteppedDownTo.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleSteppedDownTo.kt rename to compiler/testData/codegen/box/ranges/literal/simpleSteppedDownTo.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/literal/simpleSteppedRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleSteppedRange.kt rename to compiler/testData/codegen/box/ranges/literal/simpleSteppedRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/multiAssignmentIterationOverIntRange.kt b/compiler/testData/codegen/box/ranges/multiAssignmentIterationOverIntRange.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/multiAssignmentIterationOverIntRange.kt rename to compiler/testData/codegen/box/ranges/multiAssignmentIterationOverIntRange.kt diff --git a/compiler/testData/codegen/boxWithStdlib/ranges/safeCallRangeTo.kt b/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/ranges/safeCallRangeTo.kt rename to compiler/testData/codegen/box/ranges/safeCallRangeTo.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/annotations/annotationRetentionAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/annotations/annotationRetentionAnnotation.kt rename to compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/annotations/propertyAccessors.kt b/compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/annotations/propertyAccessors.kt rename to compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/annotations/propertyWithoutBackingField.kt b/compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/annotations/propertyWithoutBackingField.kt rename to compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/annotations/retentions.kt b/compiler/testData/codegen/box/reflection/annotations/retentions.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/annotations/retentions.kt rename to compiler/testData/codegen/box/reflection/annotations/retentions.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleClassAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleClassAnnotation.kt rename to compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleConstructorAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleConstructorAnnotation.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleConstructorAnnotation.kt rename to compiler/testData/codegen/box/reflection/annotations/simpleConstructorAnnotation.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleFunAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleFunAnnotation.kt rename to compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleParamAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleParamAnnotation.kt rename to compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleValAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleValAnnotation.kt rename to compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/cannotCallEnumConstructor.kt b/compiler/testData/codegen/box/reflection/call/cannotCallEnumConstructor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/cannotCallEnumConstructor.kt rename to compiler/testData/codegen/box/reflection/call/cannotCallEnumConstructor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/disallowNullValueForNotNullField.kt b/compiler/testData/codegen/box/reflection/call/disallowNullValueForNotNullField.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/disallowNullValueForNotNullField.kt rename to compiler/testData/codegen/box/reflection/call/disallowNullValueForNotNullField.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/equalsHashCodeToString.kt b/compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/equalsHashCodeToString.kt rename to compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/exceptionHappened.kt b/compiler/testData/codegen/box/reflection/call/exceptionHappened.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/exceptionHappened.kt rename to compiler/testData/codegen/box/reflection/call/exceptionHappened.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/fakeOverride.kt b/compiler/testData/codegen/box/reflection/call/fakeOverride.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/fakeOverride.kt rename to compiler/testData/codegen/box/reflection/call/fakeOverride.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/fakeOverrideSubstituted.kt b/compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/fakeOverrideSubstituted.kt rename to compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/incorrectNumberOfArguments.kt b/compiler/testData/codegen/box/reflection/call/incorrectNumberOfArguments.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/incorrectNumberOfArguments.kt rename to compiler/testData/codegen/box/reflection/call/incorrectNumberOfArguments.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/innerClassConstructor.kt b/compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/innerClassConstructor.kt rename to compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/jvmStatic.kt b/compiler/testData/codegen/box/reflection/call/jvmStatic.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/jvmStatic.kt rename to compiler/testData/codegen/box/reflection/call/jvmStatic.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/jvmStaticInObjectIncorrectReceiver.kt b/compiler/testData/codegen/box/reflection/call/jvmStaticInObjectIncorrectReceiver.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/jvmStaticInObjectIncorrectReceiver.kt rename to compiler/testData/codegen/box/reflection/call/jvmStaticInObjectIncorrectReceiver.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/localClassMember.kt b/compiler/testData/codegen/box/reflection/call/localClassMember.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/localClassMember.kt rename to compiler/testData/codegen/box/reflection/call/localClassMember.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/memberOfGenericClass.kt b/compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/memberOfGenericClass.kt rename to compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/privateProperty.kt b/compiler/testData/codegen/box/reflection/call/privateProperty.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/privateProperty.kt rename to compiler/testData/codegen/box/reflection/call/privateProperty.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/propertyAccessors.kt b/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/propertyAccessors.kt rename to compiler/testData/codegen/box/reflection/call/propertyAccessors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/returnUnit.kt b/compiler/testData/codegen/box/reflection/call/returnUnit.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/returnUnit.kt rename to compiler/testData/codegen/box/reflection/call/returnUnit.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/simpleConstructor.kt b/compiler/testData/codegen/box/reflection/call/simpleConstructor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/simpleConstructor.kt rename to compiler/testData/codegen/box/reflection/call/simpleConstructor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/simpleMemberFunction.kt b/compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/simpleMemberFunction.kt rename to compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/call/simpleTopLevelFunctions.kt b/compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/call/simpleTopLevelFunctions.kt rename to compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/defaultAndNonDefaultIntertwined.kt b/compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/defaultAndNonDefaultIntertwined.kt rename to compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/extensionFunction.kt b/compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/extensionFunction.kt rename to compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/jvmStaticInObject.kt b/compiler/testData/codegen/box/reflection/callBy/jvmStaticInObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/jvmStaticInObject.kt rename to compiler/testData/codegen/box/reflection/callBy/jvmStaticInObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/manyArgumentsOnlyOneDefault.kt b/compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/manyArgumentsOnlyOneDefault.kt rename to compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/manyMaskArguments.kt b/compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/manyMaskArguments.kt rename to compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/nonDefaultParameterOmitted.kt b/compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/nonDefaultParameterOmitted.kt rename to compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/nullValue.kt b/compiler/testData/codegen/box/reflection/callBy/nullValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/nullValue.kt rename to compiler/testData/codegen/box/reflection/callBy/nullValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt b/compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt rename to compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/primitiveDefaultValues.kt b/compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/primitiveDefaultValues.kt rename to compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/privateMemberFunction.kt b/compiler/testData/codegen/box/reflection/callBy/privateMemberFunction.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/privateMemberFunction.kt rename to compiler/testData/codegen/box/reflection/callBy/privateMemberFunction.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/simpleConstructor.kt b/compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/simpleConstructor.kt rename to compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/simpleMemberFunciton.kt b/compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/simpleMemberFunciton.kt rename to compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/callBy/simpleTopLevelFunction.kt b/compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/callBy/simpleTopLevelFunction.kt rename to compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/annotationClassLiteral.kt b/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/annotationClassLiteral.kt rename to compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/arrays.kt b/compiler/testData/codegen/box/reflection/classLiterals/arrays.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/arrays.kt rename to compiler/testData/codegen/box/reflection/classLiterals/arrays.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/builtinClassLiterals.kt b/compiler/testData/codegen/box/reflection/classLiterals/builtinClassLiterals.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/builtinClassLiterals.kt rename to compiler/testData/codegen/box/reflection/classLiterals/builtinClassLiterals.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/genericArrays.kt b/compiler/testData/codegen/box/reflection/classLiterals/genericArrays.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/genericArrays.kt rename to compiler/testData/codegen/box/reflection/classLiterals/genericArrays.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/genericClass.kt b/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/genericClass.kt rename to compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/reifiedTypeClassLiteral.kt b/compiler/testData/codegen/box/reflection/classLiterals/reifiedTypeClassLiteral.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/reifiedTypeClassLiteral.kt rename to compiler/testData/codegen/box/reflection/classLiterals/reifiedTypeClassLiteral.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/simpleClassLiteral.kt b/compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/simpleClassLiteral.kt rename to compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classes/classSimpleName.kt b/compiler/testData/codegen/box/reflection/classes/classSimpleName.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classes/classSimpleName.kt rename to compiler/testData/codegen/box/reflection/classes/classSimpleName.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classes/companionObject.kt b/compiler/testData/codegen/box/reflection/classes/companionObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classes/companionObject.kt rename to compiler/testData/codegen/box/reflection/classes/companionObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classes/defaultType.kt b/compiler/testData/codegen/box/reflection/classes/defaultType.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classes/defaultType.kt rename to compiler/testData/codegen/box/reflection/classes/defaultType.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classes/jvmName.kt b/compiler/testData/codegen/box/reflection/classes/jvmName.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classes/jvmName.kt rename to compiler/testData/codegen/box/reflection/classes/jvmName.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classes/localClassSimpleName.kt b/compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classes/localClassSimpleName.kt rename to compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classes/nestedClasses.kt b/compiler/testData/codegen/box/reflection/classes/nestedClasses.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classes/nestedClasses.kt rename to compiler/testData/codegen/box/reflection/classes/nestedClasses.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classes/objectInstance.kt b/compiler/testData/codegen/box/reflection/classes/objectInstance.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classes/objectInstance.kt rename to compiler/testData/codegen/box/reflection/classes/objectInstance.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/classes/qualifiedName.kt b/compiler/testData/codegen/box/reflection/classes/qualifiedName.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/classes/qualifiedName.kt rename to compiler/testData/codegen/box/reflection/classes/qualifiedName.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/constructors/classesWithoutConstructors.kt b/compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/constructors/classesWithoutConstructors.kt rename to compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/constructors/constructorName.kt b/compiler/testData/codegen/box/reflection/constructors/constructorName.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/constructors/constructorName.kt rename to compiler/testData/codegen/box/reflection/constructors/constructorName.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/constructors/primaryConstructor.kt b/compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/constructors/primaryConstructor.kt rename to compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/constructors/simpleGetConstructors.kt b/compiler/testData/codegen/box/reflection/constructors/simpleGetConstructors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/constructors/simpleGetConstructors.kt rename to compiler/testData/codegen/box/reflection/constructors/simpleGetConstructors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/anonymousObjectInInlinedLambda.kt b/compiler/testData/codegen/box/reflection/enclosing/anonymousObjectInInlinedLambda.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/anonymousObjectInInlinedLambda.kt rename to compiler/testData/codegen/box/reflection/enclosing/anonymousObjectInInlinedLambda.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/classInLambda.kt b/compiler/testData/codegen/box/reflection/enclosing/classInLambda.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/classInLambda.kt rename to compiler/testData/codegen/box/reflection/enclosing/classInLambda.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/functionExpressionInProperty.kt b/compiler/testData/codegen/box/reflection/enclosing/functionExpressionInProperty.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/functionExpressionInProperty.kt rename to compiler/testData/codegen/box/reflection/enclosing/functionExpressionInProperty.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/kt6368.kt b/compiler/testData/codegen/box/reflection/enclosing/kt6368.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/kt6368.kt rename to compiler/testData/codegen/box/reflection/enclosing/kt6368.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/kt6691_lambdaInSamConstructor.kt b/compiler/testData/codegen/box/reflection/enclosing/kt6691_lambdaInSamConstructor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/kt6691_lambdaInSamConstructor.kt rename to compiler/testData/codegen/box/reflection/enclosing/kt6691_lambdaInSamConstructor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInClassObject.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInClassObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInClassObject.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInClassObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInConstructor.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInConstructor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInConstructor.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInConstructor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInFunction.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInFunction.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInFunction.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInFunction.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInLambda.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInLambda.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInLambda.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInLambda.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInLocalClassConstructor.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassConstructor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInLocalClassConstructor.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassConstructor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInLocalClassSuperCall.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassSuperCall.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInLocalClassSuperCall.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassSuperCall.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInLocalFunction.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalFunction.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInLocalFunction.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalFunction.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInMemberFunction.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunction.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInMemberFunction.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunction.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInMemberFunctionInLocalClass.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInLocalClass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInMemberFunctionInLocalClass.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInLocalClass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInMemberFunctionInNestedClass.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInNestedClass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInMemberFunctionInNestedClass.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInNestedClass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInObjectDeclaration.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectDeclaration.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInObjectDeclaration.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectDeclaration.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInObjectExpression.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectExpression.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInObjectExpression.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectExpression.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInObjectLiteralSuperCall.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectLiteralSuperCall.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInObjectLiteralSuperCall.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectLiteralSuperCall.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInPackage.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInPackage.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInPackage.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInPackage.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInPropertyGetter.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertyGetter.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInPropertyGetter.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertyGetter.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInPropertySetter.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertySetter.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInPropertySetter.kt rename to compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertySetter.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/localClassInTopLevelFunction.kt b/compiler/testData/codegen/box/reflection/enclosing/localClassInTopLevelFunction.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/localClassInTopLevelFunction.kt rename to compiler/testData/codegen/box/reflection/enclosing/localClassInTopLevelFunction.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/enclosing/objectInLambda.kt b/compiler/testData/codegen/box/reflection/enclosing/objectInLambda.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/enclosing/objectInLambda.kt rename to compiler/testData/codegen/box/reflection/enclosing/objectInLambda.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/functions/functionFromStdlib.kt b/compiler/testData/codegen/box/reflection/functions/functionFromStdlib.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/functions/functionFromStdlib.kt rename to compiler/testData/codegen/box/reflection/functions/functionFromStdlib.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/functions/platformName.kt b/compiler/testData/codegen/box/reflection/functions/platformName.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/functions/platformName.kt rename to compiler/testData/codegen/box/reflection/functions/platformName.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/functions/privateMemberFunction.kt b/compiler/testData/codegen/box/reflection/functions/privateMemberFunction.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/functions/privateMemberFunction.kt rename to compiler/testData/codegen/box/reflection/functions/privateMemberFunction.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/functions/simpleGetFunctions.kt b/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/functions/simpleGetFunctions.kt rename to compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/functions/simpleNames.kt b/compiler/testData/codegen/box/reflection/functions/simpleNames.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/functions/simpleNames.kt rename to compiler/testData/codegen/box/reflection/functions/simpleNames.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/covariantOverride.kt b/compiler/testData/codegen/box/reflection/genericSignature/covariantOverride.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/covariantOverride.kt rename to compiler/testData/codegen/box/reflection/genericSignature/covariantOverride.kt diff --git a/compiler/testData/codegen/box/reflection/defaultImplsGenericSignature.kt b/compiler/testData/codegen/box/reflection/genericSignature/defaultImplsGenericSignature.kt similarity index 100% rename from compiler/testData/codegen/box/reflection/defaultImplsGenericSignature.kt rename to compiler/testData/codegen/box/reflection/genericSignature/defaultImplsGenericSignature.kt diff --git a/compiler/testData/codegen/box/reflection/functionLiteralGenericSignature.kt b/compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt similarity index 100% rename from compiler/testData/codegen/box/reflection/functionLiteralGenericSignature.kt rename to compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/genericBackingFieldSignature.kt b/compiler/testData/codegen/box/reflection/genericSignature/genericBackingFieldSignature.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/genericBackingFieldSignature.kt rename to compiler/testData/codegen/box/reflection/genericSignature/genericBackingFieldSignature.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/genericMethodSignature.kt b/compiler/testData/codegen/box/reflection/genericSignature/genericMethodSignature.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/genericMethodSignature.kt rename to compiler/testData/codegen/box/reflection/genericSignature/genericMethodSignature.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/kt11121.kt b/compiler/testData/codegen/box/reflection/genericSignature/kt11121.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/kt11121.kt rename to compiler/testData/codegen/box/reflection/genericSignature/kt11121.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/kt5112.kt b/compiler/testData/codegen/box/reflection/genericSignature/kt5112.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/kt5112.kt rename to compiler/testData/codegen/box/reflection/genericSignature/kt5112.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/kt6106.kt b/compiler/testData/codegen/box/reflection/genericSignature/kt6106.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/kt6106.kt rename to compiler/testData/codegen/box/reflection/genericSignature/kt6106.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/java.kt b/compiler/testData/codegen/box/reflection/javaProperties/java.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/java.kt rename to compiler/testData/codegen/box/reflection/javaProperties/java.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaObjectType.kt b/compiler/testData/codegen/box/reflection/javaProperties/javaObjectType.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaObjectType.kt rename to compiler/testData/codegen/box/reflection/javaProperties/javaObjectType.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaObjectTypeReified.kt b/compiler/testData/codegen/box/reflection/javaProperties/javaObjectTypeReified.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaObjectTypeReified.kt rename to compiler/testData/codegen/box/reflection/javaProperties/javaObjectTypeReified.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaPrimitiveType.kt b/compiler/testData/codegen/box/reflection/javaProperties/javaPrimitiveType.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaPrimitiveType.kt rename to compiler/testData/codegen/box/reflection/javaProperties/javaPrimitiveType.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaPrimitiveTypeReified.kt b/compiler/testData/codegen/box/reflection/javaProperties/javaPrimitiveTypeReified.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaPrimitiveTypeReified.kt rename to compiler/testData/codegen/box/reflection/javaProperties/javaPrimitiveTypeReified.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaReified.kt b/compiler/testData/codegen/box/reflection/javaProperties/javaReified.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaReified.kt rename to compiler/testData/codegen/box/reflection/javaProperties/javaReified.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation/array.kt b/compiler/testData/codegen/box/reflection/kClassInAnnotation/array.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation/array.kt rename to compiler/testData/codegen/box/reflection/kClassInAnnotation/array.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation/basic.kt b/compiler/testData/codegen/box/reflection/kClassInAnnotation/basic.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation/basic.kt rename to compiler/testData/codegen/box/reflection/kClassInAnnotation/basic.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation/checkcast.kt b/compiler/testData/codegen/box/reflection/kClassInAnnotation/checkcast.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation/checkcast.kt rename to compiler/testData/codegen/box/reflection/kClassInAnnotation/checkcast.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation/vararg.kt b/compiler/testData/codegen/box/reflection/kClassInAnnotation/vararg.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation/vararg.kt rename to compiler/testData/codegen/box/reflection/kClassInAnnotation/vararg.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/lambdaClasses/parameterNamesAndNullability.kt b/compiler/testData/codegen/box/reflection/lambdaClasses/parameterNamesAndNullability.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/lambdaClasses/parameterNamesAndNullability.kt rename to compiler/testData/codegen/box/reflection/lambdaClasses/parameterNamesAndNullability.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/constructor.kt b/compiler/testData/codegen/box/reflection/mapping/constructor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/constructor.kt rename to compiler/testData/codegen/box/reflection/mapping/constructor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/extensionProperty.kt b/compiler/testData/codegen/box/reflection/mapping/extensionProperty.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/extensionProperty.kt rename to compiler/testData/codegen/box/reflection/mapping/extensionProperty.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/fakeOverrides/javaFieldGetterSetter.kt b/compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaFieldGetterSetter.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/fakeOverrides/javaFieldGetterSetter.kt rename to compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaFieldGetterSetter.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/fakeOverrides/javaMethod.kt b/compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaMethod.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/fakeOverrides/javaMethod.kt rename to compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaMethod.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/functions.kt b/compiler/testData/codegen/box/reflection/mapping/functions.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/functions.kt rename to compiler/testData/codegen/box/reflection/mapping/functions.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/jvmStatic/companionObjectFunction.kt b/compiler/testData/codegen/box/reflection/mapping/jvmStatic/companionObjectFunction.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/jvmStatic/companionObjectFunction.kt rename to compiler/testData/codegen/box/reflection/mapping/jvmStatic/companionObjectFunction.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/jvmStatic/objectFunction.kt b/compiler/testData/codegen/box/reflection/mapping/jvmStatic/objectFunction.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/jvmStatic/objectFunction.kt rename to compiler/testData/codegen/box/reflection/mapping/jvmStatic/objectFunction.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/mappedClassIsEqualToClassLiteral.kt b/compiler/testData/codegen/box/reflection/mapping/mappedClassIsEqualToClassLiteral.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/mappedClassIsEqualToClassLiteral.kt rename to compiler/testData/codegen/box/reflection/mapping/mappedClassIsEqualToClassLiteral.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/memberProperty.kt b/compiler/testData/codegen/box/reflection/mapping/memberProperty.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/memberProperty.kt rename to compiler/testData/codegen/box/reflection/mapping/memberProperty.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/propertyAccessors.kt b/compiler/testData/codegen/box/reflection/mapping/propertyAccessors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/propertyAccessors.kt rename to compiler/testData/codegen/box/reflection/mapping/propertyAccessors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/propertyAccessorsWithJvmName.kt b/compiler/testData/codegen/box/reflection/mapping/propertyAccessorsWithJvmName.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/propertyAccessorsWithJvmName.kt rename to compiler/testData/codegen/box/reflection/mapping/propertyAccessorsWithJvmName.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/syntheticFields.kt b/compiler/testData/codegen/box/reflection/mapping/syntheticFields.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/syntheticFields.kt rename to compiler/testData/codegen/box/reflection/mapping/syntheticFields.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/topLevelProperty.kt b/compiler/testData/codegen/box/reflection/mapping/topLevelProperty.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/topLevelProperty.kt rename to compiler/testData/codegen/box/reflection/mapping/topLevelProperty.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/array.kt b/compiler/testData/codegen/box/reflection/mapping/types/array.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/array.kt rename to compiler/testData/codegen/box/reflection/mapping/types/array.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/constructors.kt b/compiler/testData/codegen/box/reflection/mapping/types/constructors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/constructors.kt rename to compiler/testData/codegen/box/reflection/mapping/types/constructors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/memberFunctions.kt b/compiler/testData/codegen/box/reflection/mapping/types/memberFunctions.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/memberFunctions.kt rename to compiler/testData/codegen/box/reflection/mapping/types/memberFunctions.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/overrideAnyWithPrimitive.kt b/compiler/testData/codegen/box/reflection/mapping/types/overrideAnyWithPrimitive.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/overrideAnyWithPrimitive.kt rename to compiler/testData/codegen/box/reflection/mapping/types/overrideAnyWithPrimitive.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/parameterizedTypes.kt b/compiler/testData/codegen/box/reflection/mapping/types/parameterizedTypes.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/parameterizedTypes.kt rename to compiler/testData/codegen/box/reflection/mapping/types/parameterizedTypes.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/propertyAccessors.kt b/compiler/testData/codegen/box/reflection/mapping/types/propertyAccessors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/propertyAccessors.kt rename to compiler/testData/codegen/box/reflection/mapping/types/propertyAccessors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/topLevelFunctions.kt b/compiler/testData/codegen/box/reflection/mapping/types/topLevelFunctions.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/topLevelFunctions.kt rename to compiler/testData/codegen/box/reflection/mapping/types/topLevelFunctions.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/typeParameters.kt b/compiler/testData/codegen/box/reflection/mapping/types/typeParameters.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/typeParameters.kt rename to compiler/testData/codegen/box/reflection/mapping/types/typeParameters.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/unit.kt b/compiler/testData/codegen/box/reflection/mapping/types/unit.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/unit.kt rename to compiler/testData/codegen/box/reflection/mapping/types/unit.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt rename to compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/classToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/classToString.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/classToString.kt rename to compiler/testData/codegen/box/reflection/methodsFromAny/classToString.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/extensionPropertyReceiverToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/extensionPropertyReceiverToString.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/extensionPropertyReceiverToString.kt rename to compiler/testData/codegen/box/reflection/methodsFromAny/extensionPropertyReceiverToString.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/functionEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/functionEqualsHashCode.kt rename to compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/functionToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/functionToString.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/functionToString.kt rename to compiler/testData/codegen/box/reflection/methodsFromAny/functionToString.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/memberExtensionToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/memberExtensionToString.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/memberExtensionToString.kt rename to compiler/testData/codegen/box/reflection/methodsFromAny/memberExtensionToString.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/parametersEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/parametersEqualsHashCode.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/parametersEqualsHashCode.kt rename to compiler/testData/codegen/box/reflection/methodsFromAny/parametersEqualsHashCode.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/parametersToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/parametersToString.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/parametersToString.kt rename to compiler/testData/codegen/box/reflection/methodsFromAny/parametersToString.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/propertyEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/propertyEqualsHashCode.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/propertyEqualsHashCode.kt rename to compiler/testData/codegen/box/reflection/methodsFromAny/propertyEqualsHashCode.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/propertyToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/propertyToString.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/propertyToString.kt rename to compiler/testData/codegen/box/reflection/methodsFromAny/propertyToString.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/typeEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/typeEqualsHashCode.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/typeEqualsHashCode.kt rename to compiler/testData/codegen/box/reflection/methodsFromAny/typeEqualsHashCode.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/typeToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/typeToString.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/typeToString.kt rename to compiler/testData/codegen/box/reflection/methodsFromAny/typeToString.kt diff --git a/compiler/testData/codegen/box/reflection/noKotlinReflect/javaClass.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/javaClass.kt similarity index 100% rename from compiler/testData/codegen/box/reflection/noKotlinReflect/javaClass.kt rename to compiler/testData/codegen/box/reflection/noReflectAtRuntime/javaClass.kt diff --git a/compiler/testData/codegen/box/reflection/noKotlinReflect/methodsFromAny/callableReferences.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt similarity index 100% rename from compiler/testData/codegen/box/reflection/noKotlinReflect/methodsFromAny/callableReferences.kt rename to compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt diff --git a/compiler/testData/codegen/box/reflection/noKotlinReflect/methodsFromAny/classReference.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/classReference.kt similarity index 100% rename from compiler/testData/codegen/box/reflection/noKotlinReflect/methodsFromAny/classReference.kt rename to compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/classReference.kt diff --git a/compiler/testData/codegen/box/reflection/noKotlinReflect/primitiveJavaClass.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/primitiveJavaClass.kt similarity index 100% rename from compiler/testData/codegen/box/reflection/noKotlinReflect/primitiveJavaClass.kt rename to compiler/testData/codegen/box/reflection/noReflectAtRuntime/primitiveJavaClass.kt diff --git a/compiler/testData/codegen/box/reflection/noKotlinReflect/propertyGetSetName.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/propertyGetSetName.kt similarity index 100% rename from compiler/testData/codegen/box/reflection/noKotlinReflect/propertyGetSetName.kt rename to compiler/testData/codegen/box/reflection/noReflectAtRuntime/propertyGetSetName.kt diff --git a/compiler/testData/codegen/box/reflection/noKotlinReflect/propertyInstanceof.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/propertyInstanceof.kt similarity index 100% rename from compiler/testData/codegen/box/reflection/noKotlinReflect/propertyInstanceof.kt rename to compiler/testData/codegen/box/reflection/noReflectAtRuntime/propertyInstanceof.kt diff --git a/compiler/testData/codegen/box/reflection/noKotlinReflect/reifiedTypeJavaClass.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/reifiedTypeJavaClass.kt similarity index 100% rename from compiler/testData/codegen/box/reflection/noKotlinReflect/reifiedTypeJavaClass.kt rename to compiler/testData/codegen/box/reflection/noReflectAtRuntime/reifiedTypeJavaClass.kt diff --git a/compiler/testData/codegen/box/reflection/noKotlinReflect/simpleClassLiterals.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/simpleClassLiterals.kt similarity index 100% rename from compiler/testData/codegen/box/reflection/noKotlinReflect/simpleClassLiterals.kt rename to compiler/testData/codegen/box/reflection/noReflectAtRuntime/simpleClassLiterals.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/parameters/functionParameterNameAndIndex.kt b/compiler/testData/codegen/box/reflection/parameters/functionParameterNameAndIndex.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/parameters/functionParameterNameAndIndex.kt rename to compiler/testData/codegen/box/reflection/parameters/functionParameterNameAndIndex.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/parameters/isMarkedNullable.kt b/compiler/testData/codegen/box/reflection/parameters/isMarkedNullable.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/parameters/isMarkedNullable.kt rename to compiler/testData/codegen/box/reflection/parameters/isMarkedNullable.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/parameters/isOptional.kt b/compiler/testData/codegen/box/reflection/parameters/isOptional.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/parameters/isOptional.kt rename to compiler/testData/codegen/box/reflection/parameters/isOptional.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/parameters/kinds.kt b/compiler/testData/codegen/box/reflection/parameters/kinds.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/parameters/kinds.kt rename to compiler/testData/codegen/box/reflection/parameters/kinds.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/parameters/propertySetter.kt b/compiler/testData/codegen/box/reflection/parameters/propertySetter.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/parameters/propertySetter.kt rename to compiler/testData/codegen/box/reflection/parameters/propertySetter.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/accessorNames.kt b/compiler/testData/codegen/box/reflection/properties/accessors/accessorNames.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/accessorNames.kt rename to compiler/testData/codegen/box/reflection/properties/accessors/accessorNames.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/extensionPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/properties/accessors/extensionPropertyAccessors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/extensionPropertyAccessors.kt rename to compiler/testData/codegen/box/reflection/properties/accessors/extensionPropertyAccessors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/memberExtensions.kt b/compiler/testData/codegen/box/reflection/properties/accessors/memberExtensions.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/memberExtensions.kt rename to compiler/testData/codegen/box/reflection/properties/accessors/memberExtensions.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/memberPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/properties/accessors/memberPropertyAccessors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/memberPropertyAccessors.kt rename to compiler/testData/codegen/box/reflection/properties/accessors/memberPropertyAccessors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/topLevelPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/properties/accessors/topLevelPropertyAccessors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/topLevelPropertyAccessors.kt rename to compiler/testData/codegen/box/reflection/properties/accessors/topLevelPropertyAccessors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/allVsDeclared.kt b/compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/allVsDeclared.kt rename to compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/callPrivatePropertyFromGetProperties.kt b/compiler/testData/codegen/box/reflection/properties/callPrivatePropertyFromGetProperties.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/callPrivatePropertyFromGetProperties.kt rename to compiler/testData/codegen/box/reflection/properties/callPrivatePropertyFromGetProperties.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/fakeOverridesInSubclass.kt b/compiler/testData/codegen/box/reflection/properties/fakeOverridesInSubclass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/fakeOverridesInSubclass.kt rename to compiler/testData/codegen/box/reflection/properties/fakeOverridesInSubclass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt b/compiler/testData/codegen/box/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt rename to compiler/testData/codegen/box/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt b/compiler/testData/codegen/box/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt rename to compiler/testData/codegen/box/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/getPropertiesMutableVsReadonly.kt b/compiler/testData/codegen/box/reflection/properties/getPropertiesMutableVsReadonly.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/getPropertiesMutableVsReadonly.kt rename to compiler/testData/codegen/box/reflection/properties/getPropertiesMutableVsReadonly.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/invokeKProperty.kt b/compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/invokeKProperty.kt rename to compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/memberAndMemberExtensionWithSameName.kt b/compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/memberAndMemberExtensionWithSameName.kt rename to compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/privateClassVal.kt b/compiler/testData/codegen/box/reflection/properties/privateClassVal.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/privateClassVal.kt rename to compiler/testData/codegen/box/reflection/properties/privateClassVal.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/privateClassVar.kt b/compiler/testData/codegen/box/reflection/properties/privateClassVar.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/privateClassVar.kt rename to compiler/testData/codegen/box/reflection/properties/privateClassVar.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/privateFakeOverrideFromSuperclass.kt b/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/privateFakeOverrideFromSuperclass.kt rename to compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/privateJvmStaticVarInObject.kt b/compiler/testData/codegen/box/reflection/properties/privateJvmStaticVarInObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/privateJvmStaticVarInObject.kt rename to compiler/testData/codegen/box/reflection/properties/privateJvmStaticVarInObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/privatePropertyCallIsAccessibleOnAccessors.kt b/compiler/testData/codegen/box/reflection/properties/privatePropertyCallIsAccessibleOnAccessors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/privatePropertyCallIsAccessibleOnAccessors.kt rename to compiler/testData/codegen/box/reflection/properties/privatePropertyCallIsAccessibleOnAccessors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/privateToThisAccessors.kt b/compiler/testData/codegen/box/reflection/properties/privateToThisAccessors.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/privateToThisAccessors.kt rename to compiler/testData/codegen/box/reflection/properties/privateToThisAccessors.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/propertyOfNestedClassAndArrayType.kt b/compiler/testData/codegen/box/reflection/properties/propertyOfNestedClassAndArrayType.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/propertyOfNestedClassAndArrayType.kt rename to compiler/testData/codegen/box/reflection/properties/propertyOfNestedClassAndArrayType.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/protectedClassVar.kt b/compiler/testData/codegen/box/reflection/properties/protectedClassVar.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/protectedClassVar.kt rename to compiler/testData/codegen/box/reflection/properties/protectedClassVar.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/publicClassValAccessible.kt b/compiler/testData/codegen/box/reflection/properties/publicClassValAccessible.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/publicClassValAccessible.kt rename to compiler/testData/codegen/box/reflection/properties/publicClassValAccessible.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/properties/simpleGetProperties.kt b/compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/properties/simpleGetProperties.kt rename to compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reflection/specialBuiltIns/getMembersOfStandardJavaClasses.kt b/compiler/testData/codegen/box/reflection/specialBuiltIns/getMembersOfStandardJavaClasses.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reflection/specialBuiltIns/getMembersOfStandardJavaClasses.kt rename to compiler/testData/codegen/box/reflection/specialBuiltIns/getMembersOfStandardJavaClasses.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/Kt1149.kt b/compiler/testData/codegen/box/regressions/Kt1149.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/Kt1149.kt rename to compiler/testData/codegen/box/regressions/Kt1149.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/Kt1619Test.kt b/compiler/testData/codegen/box/regressions/Kt1619Test.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/Kt1619Test.kt rename to compiler/testData/codegen/box/regressions/Kt1619Test.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/Kt2495Test.kt b/compiler/testData/codegen/box/regressions/Kt2495Test.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/Kt2495Test.kt rename to compiler/testData/codegen/box/regressions/Kt2495Test.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/collections.kt b/compiler/testData/codegen/box/regressions/collections.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/collections.kt rename to compiler/testData/codegen/box/regressions/collections.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/generic.kt b/compiler/testData/codegen/box/regressions/generic.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/generic.kt rename to compiler/testData/codegen/box/regressions/generic.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/getGenericInterfaces.kt b/compiler/testData/codegen/box/regressions/getGenericInterfaces.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/getGenericInterfaces.kt rename to compiler/testData/codegen/box/regressions/getGenericInterfaces.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt1172.kt b/compiler/testData/codegen/box/regressions/kt1172.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt1172.kt rename to compiler/testData/codegen/box/regressions/kt1172.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt1202.kt b/compiler/testData/codegen/box/regressions/kt1202.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt1202.kt rename to compiler/testData/codegen/box/regressions/kt1202.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt1406.kt b/compiler/testData/codegen/box/regressions/kt1406.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt1406.kt rename to compiler/testData/codegen/box/regressions/kt1406.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt1568.kt b/compiler/testData/codegen/box/regressions/kt1568.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt1568.kt rename to compiler/testData/codegen/box/regressions/kt1568.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt1779.kt b/compiler/testData/codegen/box/regressions/kt1779.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt1779.kt rename to compiler/testData/codegen/box/regressions/kt1779.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt1800.kt b/compiler/testData/codegen/box/regressions/kt1800.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt1800.kt rename to compiler/testData/codegen/box/regressions/kt1800.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt1932.kt b/compiler/testData/codegen/box/regressions/kt1932.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt1932.kt rename to compiler/testData/codegen/box/regressions/kt1932.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt2017.kt b/compiler/testData/codegen/box/regressions/kt2017.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt2017.kt rename to compiler/testData/codegen/box/regressions/kt2017.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt2246.kt b/compiler/testData/codegen/box/regressions/kt2246.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt2246.kt rename to compiler/testData/codegen/box/regressions/kt2246.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt2318.kt b/compiler/testData/codegen/box/regressions/kt2318.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt2318.kt rename to compiler/testData/codegen/box/regressions/kt2318.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt2593.kt b/compiler/testData/codegen/box/regressions/kt2593.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt2593.kt rename to compiler/testData/codegen/box/regressions/kt2593.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt274.kt b/compiler/testData/codegen/box/regressions/kt274.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt274.kt rename to compiler/testData/codegen/box/regressions/kt274.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt3046.kt b/compiler/testData/codegen/box/regressions/kt3046.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt3046.kt rename to compiler/testData/codegen/box/regressions/kt3046.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt344.kt b/compiler/testData/codegen/box/regressions/kt344.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt344.kt rename to compiler/testData/codegen/box/regressions/kt344.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt3442.kt b/compiler/testData/codegen/box/regressions/kt3442.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt3442.kt rename to compiler/testData/codegen/box/regressions/kt3442.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt4259.kt b/compiler/testData/codegen/box/regressions/kt4259.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt4259.kt rename to compiler/testData/codegen/box/regressions/kt4259.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt4262.kt b/compiler/testData/codegen/box/regressions/kt4262.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt4262.kt rename to compiler/testData/codegen/box/regressions/kt4262.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt5056.kt b/compiler/testData/codegen/box/regressions/kt5056.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt5056.kt rename to compiler/testData/codegen/box/regressions/kt5056.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt528.kt b/compiler/testData/codegen/box/regressions/kt528.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt528.kt rename to compiler/testData/codegen/box/regressions/kt528.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt529.kt b/compiler/testData/codegen/box/regressions/kt529.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt529.kt rename to compiler/testData/codegen/box/regressions/kt529.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt533.kt b/compiler/testData/codegen/box/regressions/kt533.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt533.kt rename to compiler/testData/codegen/box/regressions/kt533.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt5786_privateWithDefault.kt b/compiler/testData/codegen/box/regressions/kt5786_privateWithDefault.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt5786_privateWithDefault.kt rename to compiler/testData/codegen/box/regressions/kt5786_privateWithDefault.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt5953.kt b/compiler/testData/codegen/box/regressions/kt5953.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt5953.kt rename to compiler/testData/codegen/box/regressions/kt5953.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt6434.kt b/compiler/testData/codegen/box/regressions/kt6434.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt6434.kt rename to compiler/testData/codegen/box/regressions/kt6434.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt6434_2.kt b/compiler/testData/codegen/box/regressions/kt6434_2.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt6434_2.kt rename to compiler/testData/codegen/box/regressions/kt6434_2.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt6485.kt b/compiler/testData/codegen/box/regressions/kt6485.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt6485.kt rename to compiler/testData/codegen/box/regressions/kt6485.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt715.kt b/compiler/testData/codegen/box/regressions/kt715.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt715.kt rename to compiler/testData/codegen/box/regressions/kt715.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt864.kt b/compiler/testData/codegen/box/regressions/kt864.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt864.kt rename to compiler/testData/codegen/box/regressions/kt864.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/kt998.kt b/compiler/testData/codegen/box/regressions/kt998.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/kt998.kt rename to compiler/testData/codegen/box/regressions/kt998.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/objectCaptureOuterConstructorProperty.kt b/compiler/testData/codegen/box/regressions/objectCaptureOuterConstructorProperty.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/objectCaptureOuterConstructorProperty.kt rename to compiler/testData/codegen/box/regressions/objectCaptureOuterConstructorProperty.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/referenceToSelfInLocal.kt b/compiler/testData/codegen/box/regressions/referenceToSelfInLocal.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/referenceToSelfInLocal.kt rename to compiler/testData/codegen/box/regressions/referenceToSelfInLocal.kt diff --git a/compiler/testData/codegen/boxWithStdlib/regressions/typeCastException.kt b/compiler/testData/codegen/box/regressions/typeCastException.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/regressions/typeCastException.kt rename to compiler/testData/codegen/box/regressions/typeCastException.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/DIExample.kt b/compiler/testData/codegen/box/reified/DIExample.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/DIExample.kt rename to compiler/testData/codegen/box/reified/DIExample.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/anonymousObject.kt b/compiler/testData/codegen/box/reified/anonymousObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/anonymousObject.kt rename to compiler/testData/codegen/box/reified/anonymousObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/anonymousObjectNoPropagate.kt b/compiler/testData/codegen/box/reified/anonymousObjectNoPropagate.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/anonymousObjectNoPropagate.kt rename to compiler/testData/codegen/box/reified/anonymousObjectNoPropagate.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/anonymousObjectReifiedSupertype.kt b/compiler/testData/codegen/box/reified/anonymousObjectReifiedSupertype.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/anonymousObjectReifiedSupertype.kt rename to compiler/testData/codegen/box/reified/anonymousObjectReifiedSupertype.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/approximateCapturedTypes.kt b/compiler/testData/codegen/box/reified/approximateCapturedTypes.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/approximateCapturedTypes.kt rename to compiler/testData/codegen/box/reified/approximateCapturedTypes.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/arraysReification/instanceOf.kt b/compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/arraysReification/instanceOf.kt rename to compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/arraysReification/instanceOfArrays.kt b/compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/arraysReification/instanceOfArrays.kt rename to compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/arraysReification/jClass.kt b/compiler/testData/codegen/box/reified/arraysReification/jClass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/arraysReification/jClass.kt rename to compiler/testData/codegen/box/reified/arraysReification/jClass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/arraysReification/jaggedArrayOfNulls.kt b/compiler/testData/codegen/box/reified/arraysReification/jaggedArrayOfNulls.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/arraysReification/jaggedArrayOfNulls.kt rename to compiler/testData/codegen/box/reified/arraysReification/jaggedArrayOfNulls.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/checkcast.kt b/compiler/testData/codegen/box/reified/checkcast.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/checkcast.kt rename to compiler/testData/codegen/box/reified/checkcast.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/copyToArray.kt b/compiler/testData/codegen/box/reified/copyToArray.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/copyToArray.kt rename to compiler/testData/codegen/box/reified/copyToArray.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/defaultJavaClass.kt b/compiler/testData/codegen/box/reified/defaultJavaClass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/defaultJavaClass.kt rename to compiler/testData/codegen/box/reified/defaultJavaClass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/filterIsInstance.kt b/compiler/testData/codegen/box/reified/filterIsInstance.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/filterIsInstance.kt rename to compiler/testData/codegen/box/reified/filterIsInstance.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/innerAnonymousObject.kt b/compiler/testData/codegen/box/reified/innerAnonymousObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/innerAnonymousObject.kt rename to compiler/testData/codegen/box/reified/innerAnonymousObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/instanceof.kt b/compiler/testData/codegen/box/reified/instanceof.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/instanceof.kt rename to compiler/testData/codegen/box/reified/instanceof.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/javaClass.kt b/compiler/testData/codegen/box/reified/javaClass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/javaClass.kt rename to compiler/testData/codegen/box/reified/javaClass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/nestedReified.kt b/compiler/testData/codegen/box/reified/nestedReified.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/nestedReified.kt rename to compiler/testData/codegen/box/reified/nestedReified.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/nestedReifiedSignature.kt b/compiler/testData/codegen/box/reified/nestedReifiedSignature.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/nestedReifiedSignature.kt rename to compiler/testData/codegen/box/reified/nestedReifiedSignature.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/newArrayInt.kt b/compiler/testData/codegen/box/reified/newArrayInt.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/newArrayInt.kt rename to compiler/testData/codegen/box/reified/newArrayInt.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/nonInlineableLambdaInReifiedFunction.kt b/compiler/testData/codegen/box/reified/nonInlineableLambdaInReifiedFunction.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/nonInlineableLambdaInReifiedFunction.kt rename to compiler/testData/codegen/box/reified/nonInlineableLambdaInReifiedFunction.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/recursiveInnerAnonymousObject.kt b/compiler/testData/codegen/box/reified/recursiveInnerAnonymousObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/recursiveInnerAnonymousObject.kt rename to compiler/testData/codegen/box/reified/recursiveInnerAnonymousObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/recursiveNewArray.kt b/compiler/testData/codegen/box/reified/recursiveNewArray.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/recursiveNewArray.kt rename to compiler/testData/codegen/box/reified/recursiveNewArray.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/recursiveNonInlineableLambda.kt b/compiler/testData/codegen/box/reified/recursiveNonInlineableLambda.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/recursiveNonInlineableLambda.kt rename to compiler/testData/codegen/box/reified/recursiveNonInlineableLambda.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/reifiedInlineFunOfObject.kt b/compiler/testData/codegen/box/reified/reifiedInlineFunOfObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/reifiedInlineFunOfObject.kt rename to compiler/testData/codegen/box/reified/reifiedInlineFunOfObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/reifiedInlineFunOfObjectWithinReified.kt b/compiler/testData/codegen/box/reified/reifiedInlineFunOfObjectWithinReified.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/reifiedInlineFunOfObjectWithinReified.kt rename to compiler/testData/codegen/box/reified/reifiedInlineFunOfObjectWithinReified.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/reifiedInlineIntoNonInlineableLambda.kt b/compiler/testData/codegen/box/reified/reifiedInlineIntoNonInlineableLambda.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/reifiedInlineIntoNonInlineableLambda.kt rename to compiler/testData/codegen/box/reified/reifiedInlineIntoNonInlineableLambda.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/safecast.kt b/compiler/testData/codegen/box/reified/safecast.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/safecast.kt rename to compiler/testData/codegen/box/reified/safecast.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/sameIndexRecursive.kt b/compiler/testData/codegen/box/reified/sameIndexRecursive.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/sameIndexRecursive.kt rename to compiler/testData/codegen/box/reified/sameIndexRecursive.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/spreads.kt b/compiler/testData/codegen/box/reified/spreads.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/spreads.kt rename to compiler/testData/codegen/box/reified/spreads.kt diff --git a/compiler/testData/codegen/boxWithStdlib/reified/varargs.kt b/compiler/testData/codegen/box/reified/varargs.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/reified/varargs.kt rename to compiler/testData/codegen/box/reified/varargs.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/smap/chainCalls.kt b/compiler/testData/codegen/box/smap/chainCalls.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/smap/chainCalls.kt rename to compiler/testData/codegen/box/smap/chainCalls.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/smap/infixCalls.kt b/compiler/testData/codegen/box/smap/infixCalls.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/smap/infixCalls.kt rename to compiler/testData/codegen/box/smap/infixCalls.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/smap/simpleCallWithParams.kt b/compiler/testData/codegen/box/smap/simpleCallWithParams.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/smap/simpleCallWithParams.kt rename to compiler/testData/codegen/box/smap/simpleCallWithParams.kt diff --git a/compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/differentTypes.kt b/compiler/testData/codegen/box/storeStackBeforeInline/differentTypes.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/differentTypes.kt rename to compiler/testData/codegen/box/storeStackBeforeInline/differentTypes.kt diff --git a/compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/primitiveMerge.kt b/compiler/testData/codegen/box/storeStackBeforeInline/primitiveMerge.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/primitiveMerge.kt rename to compiler/testData/codegen/box/storeStackBeforeInline/primitiveMerge.kt diff --git a/compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/simple.kt b/compiler/testData/codegen/box/storeStackBeforeInline/simple.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/simple.kt rename to compiler/testData/codegen/box/storeStackBeforeInline/simple.kt diff --git a/compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/unreachableMarker.kt b/compiler/testData/codegen/box/storeStackBeforeInline/unreachableMarker.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/unreachableMarker.kt rename to compiler/testData/codegen/box/storeStackBeforeInline/unreachableMarker.kt diff --git a/compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/withLambda.kt b/compiler/testData/codegen/box/storeStackBeforeInline/withLambda.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/withLambda.kt rename to compiler/testData/codegen/box/storeStackBeforeInline/withLambda.kt diff --git a/compiler/testData/codegen/boxWithStdlib/strings/forInString.kt b/compiler/testData/codegen/box/strings/forInString.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/strings/forInString.kt rename to compiler/testData/codegen/box/strings/forInString.kt diff --git a/compiler/testData/codegen/boxWithStdlib/strings/stringPlusOnlyWorksOnString.kt b/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/strings/stringPlusOnlyWorksOnString.kt rename to compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/changeMonitor.kt b/compiler/testData/codegen/box/synchronized/changeMonitor.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/changeMonitor.kt rename to compiler/testData/codegen/box/synchronized/changeMonitor.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/exceptionInMonitorExpression.kt b/compiler/testData/codegen/box/synchronized/exceptionInMonitorExpression.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/exceptionInMonitorExpression.kt rename to compiler/testData/codegen/box/synchronized/exceptionInMonitorExpression.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/finally.kt b/compiler/testData/codegen/box/synchronized/finally.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/finally.kt rename to compiler/testData/codegen/box/synchronized/finally.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/longValue.kt b/compiler/testData/codegen/box/synchronized/longValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/longValue.kt rename to compiler/testData/codegen/box/synchronized/longValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/nestedDifferentObjects.kt b/compiler/testData/codegen/box/synchronized/nestedDifferentObjects.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/nestedDifferentObjects.kt rename to compiler/testData/codegen/box/synchronized/nestedDifferentObjects.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/nestedSameObject.kt b/compiler/testData/codegen/box/synchronized/nestedSameObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/nestedSameObject.kt rename to compiler/testData/codegen/box/synchronized/nestedSameObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/nonLocalReturn.kt b/compiler/testData/codegen/box/synchronized/nonLocalReturn.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/nonLocalReturn.kt rename to compiler/testData/codegen/box/synchronized/nonLocalReturn.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/objectValue.kt b/compiler/testData/codegen/box/synchronized/objectValue.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/objectValue.kt rename to compiler/testData/codegen/box/synchronized/objectValue.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/sync.kt b/compiler/testData/codegen/box/synchronized/sync.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/sync.kt rename to compiler/testData/codegen/box/synchronized/sync.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/value.kt b/compiler/testData/codegen/box/synchronized/value.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/value.kt rename to compiler/testData/codegen/box/synchronized/value.kt diff --git a/compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/wait.kt b/compiler/testData/codegen/box/synchronized/wait.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/wait.kt rename to compiler/testData/codegen/box/synchronized/wait.kt diff --git a/compiler/testData/codegen/boxWithStdlib/synthetic/syntheticAccessorNames.kt b/compiler/testData/codegen/box/syntheticAccessors/syntheticAccessorNames.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/synthetic/syntheticAccessorNames.kt rename to compiler/testData/codegen/box/syntheticAccessors/syntheticAccessorNames.kt diff --git a/compiler/testData/codegen/boxWithStdlib/toArray/kt3177-copyToArray.kt b/compiler/testData/codegen/box/toArray/kt3177-toTypedArray.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/toArray/kt3177-copyToArray.kt rename to compiler/testData/codegen/box/toArray/kt3177-toTypedArray.kt diff --git a/compiler/testData/codegen/boxWithStdlib/toArray/returnCopyToArray.kt b/compiler/testData/codegen/box/toArray/returnToTypedArray.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/toArray/returnCopyToArray.kt rename to compiler/testData/codegen/box/toArray/returnToTypedArray.kt diff --git a/compiler/testData/codegen/boxWithStdlib/toArray/toArray.kt b/compiler/testData/codegen/box/toArray/toArray.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/toArray/toArray.kt rename to compiler/testData/codegen/box/toArray/toArray.kt diff --git a/compiler/testData/codegen/boxWithStdlib/toArray/toArrayAlreadyPresent.kt b/compiler/testData/codegen/box/toArray/toArrayAlreadyPresent.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/toArray/toArrayAlreadyPresent.kt rename to compiler/testData/codegen/box/toArray/toArrayAlreadyPresent.kt diff --git a/compiler/testData/codegen/boxWithStdlib/toArray/copyToArray.kt b/compiler/testData/codegen/box/toArray/toTypedArray.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/toArray/copyToArray.kt rename to compiler/testData/codegen/box/toArray/toTypedArray.kt diff --git a/compiler/testData/codegen/boxWithStdlib/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade.kt b/compiler/testData/codegen/box/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade.kt rename to compiler/testData/codegen/box/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade.kt diff --git a/compiler/testData/codegen/boxWithStdlib/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade2.kt b/compiler/testData/codegen/box/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade2.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade2.kt rename to compiler/testData/codegen/box/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade2.kt diff --git a/compiler/testData/codegen/boxWithStdlib/topLevelPrivate/syntheticAccessorInMultiFile.kt b/compiler/testData/codegen/box/topLevelPrivate/syntheticAccessorInMultiFile.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/topLevelPrivate/syntheticAccessorInMultiFile.kt rename to compiler/testData/codegen/box/topLevelPrivate/syntheticAccessorInMultiFile.kt diff --git a/compiler/testData/codegen/boxWithStdlib/typeMapping/genericTypeWithNothing.kt b/compiler/testData/codegen/box/typeMapping/genericTypeWithNothing.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/typeMapping/genericTypeWithNothing.kt rename to compiler/testData/codegen/box/typeMapping/genericTypeWithNothing.kt diff --git a/compiler/testData/codegen/boxWithStdlib/typeMapping/typeParameterMultipleBounds.kt b/compiler/testData/codegen/box/typeMapping/typeParameterMultipleBounds.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/typeMapping/typeParameterMultipleBounds.kt rename to compiler/testData/codegen/box/typeMapping/typeParameterMultipleBounds.kt diff --git a/compiler/testData/codegen/boxWithStdlib/vararg/spreadCopiesArray.kt b/compiler/testData/codegen/box/vararg/spreadCopiesArray.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/vararg/spreadCopiesArray.kt rename to compiler/testData/codegen/box/vararg/spreadCopiesArray.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/bigEnum.kt b/compiler/testData/codegen/box/when/enumOptimization/bigEnum.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/bigEnum.kt rename to compiler/testData/codegen/box/when/enumOptimization/bigEnum.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/duplicatingItems.kt b/compiler/testData/codegen/box/when/enumOptimization/duplicatingItems.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/duplicatingItems.kt rename to compiler/testData/codegen/box/when/enumOptimization/duplicatingItems.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/enumInsideClassObject.kt b/compiler/testData/codegen/box/when/enumOptimization/enumInsideClassObject.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/enumInsideClassObject.kt rename to compiler/testData/codegen/box/when/enumOptimization/enumInsideClassObject.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/expression.kt b/compiler/testData/codegen/box/when/enumOptimization/expression.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/expression.kt rename to compiler/testData/codegen/box/when/enumOptimization/expression.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/functionLiteralInTopLevel.kt b/compiler/testData/codegen/box/when/enumOptimization/functionLiteralInTopLevel.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/functionLiteralInTopLevel.kt rename to compiler/testData/codegen/box/when/enumOptimization/functionLiteralInTopLevel.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/manyWhensWithinClass.kt b/compiler/testData/codegen/box/when/enumOptimization/manyWhensWithinClass.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/manyWhensWithinClass.kt rename to compiler/testData/codegen/box/when/enumOptimization/manyWhensWithinClass.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/nullability.kt b/compiler/testData/codegen/box/when/enumOptimization/nullability.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/nullability.kt rename to compiler/testData/codegen/box/when/enumOptimization/nullability.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/subjectAny.kt b/compiler/testData/codegen/box/when/enumOptimization/subjectAny.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/subjectAny.kt rename to compiler/testData/codegen/box/when/enumOptimization/subjectAny.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/withoutElse.kt b/compiler/testData/codegen/box/when/enumOptimization/withoutElse.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/withoutElse.kt rename to compiler/testData/codegen/box/when/enumOptimization/withoutElse.kt diff --git a/compiler/testData/codegen/boxWithStdlib/when/integralWhenWithNoInlinedConstants.kt b/compiler/testData/codegen/box/when/integralWhenWithNoInlinedConstants.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/when/integralWhenWithNoInlinedConstants.kt rename to compiler/testData/codegen/box/when/integralWhenWithNoInlinedConstants.kt diff --git a/compiler/testData/codegen/boxWithStdlib/when/kt5448.kt b/compiler/testData/codegen/box/when/kt5448.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/when/kt5448.kt rename to compiler/testData/codegen/box/when/kt5448.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenStringOptimization/duplicatingItems.kt b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItems.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenStringOptimization/duplicatingItems.kt rename to compiler/testData/codegen/box/when/stringOptimization/duplicatingItems.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenStringOptimization/duplicatingItemsSameHashCode.kt b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenStringOptimization/duplicatingItemsSameHashCode.kt rename to compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenStringOptimization/expression.kt b/compiler/testData/codegen/box/when/stringOptimization/expression.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenStringOptimization/expression.kt rename to compiler/testData/codegen/box/when/stringOptimization/expression.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenStringOptimization/nullability.kt b/compiler/testData/codegen/box/when/stringOptimization/nullability.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenStringOptimization/nullability.kt rename to compiler/testData/codegen/box/when/stringOptimization/nullability.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenStringOptimization/sameHashCode.kt b/compiler/testData/codegen/box/when/stringOptimization/sameHashCode.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenStringOptimization/sameHashCode.kt rename to compiler/testData/codegen/box/when/stringOptimization/sameHashCode.kt diff --git a/compiler/testData/codegen/boxWithStdlib/whenStringOptimization/statement.kt b/compiler/testData/codegen/box/when/stringOptimization/statement.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/whenStringOptimization/statement.kt rename to compiler/testData/codegen/box/when/stringOptimization/statement.kt diff --git a/compiler/testData/codegen/boxWithStdlib/when/switchOptimizationDense.kt b/compiler/testData/codegen/box/when/switchOptimizationDense.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/when/switchOptimizationDense.kt rename to compiler/testData/codegen/box/when/switchOptimizationDense.kt diff --git a/compiler/testData/codegen/boxWithStdlib/when/switchOptimizationMultipleConditions.kt b/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/when/switchOptimizationMultipleConditions.kt rename to compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt diff --git a/compiler/testData/codegen/boxWithStdlib/when/switchOptimizationSparse.kt b/compiler/testData/codegen/box/when/switchOptimizationSparse.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/when/switchOptimizationSparse.kt rename to compiler/testData/codegen/box/when/switchOptimizationSparse.kt diff --git a/compiler/testData/codegen/boxWithStdlib/when/switchOptimizationStatement.kt b/compiler/testData/codegen/box/when/switchOptimizationStatement.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/when/switchOptimizationStatement.kt rename to compiler/testData/codegen/box/when/switchOptimizationStatement.kt diff --git a/compiler/testData/codegen/boxWithStdlib/when/switchOptimizationTypes.kt b/compiler/testData/codegen/box/when/switchOptimizationTypes.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/when/switchOptimizationTypes.kt rename to compiler/testData/codegen/box/when/switchOptimizationTypes.kt diff --git a/compiler/testData/codegen/boxWithStdlib/when/switchOptimizationUnordered.kt b/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt similarity index 100% rename from compiler/testData/codegen/boxWithStdlib/when/switchOptimizationUnordered.kt rename to compiler/testData/codegen/box/when/switchOptimizationUnordered.kt diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/AbstractBlackBoxCodegenTest.java b/compiler/tests/org/jetbrains/kotlin/codegen/AbstractBlackBoxCodegenTest.java index 151314409ec..ba8058d6a58 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/AbstractBlackBoxCodegenTest.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/AbstractBlackBoxCodegenTest.java @@ -80,10 +80,7 @@ public abstract class AbstractBlackBoxCodegenTest extends CodegenTestCase { compileAndRun(files, javaFilesDir, jdkKind, javacOptions); } - protected void doTestWithStdlib(@NotNull String filename) throws Exception { - doTest(filename); - } - + @SuppressWarnings("WeakerAccess") protected void compileAndRun( @NotNull List files, @Nullable File javaSourceDir, diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java index 8c3787801fa..5259281068d 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java @@ -35,6 +35,126 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("compiler/testData/codegen/box/annotations") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Annotations extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInAnnotations() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/annotations"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("annotatedEnumEntry.kt") + public void testAnnotatedEnumEntry() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/annotatedEnumEntry.kt"); + doTest(fileName); + } + + @TestMetadata("annotatedObjectLiteral.kt") + public void testAnnotatedObjectLiteral() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/annotatedObjectLiteral.kt"); + doTest(fileName); + } + + @TestMetadata("annotationsOnDefault.kt") + public void testAnnotationsOnDefault() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/annotationsOnDefault.kt"); + doTest(fileName); + } + + @TestMetadata("defaultParameterValues.kt") + public void testDefaultParameterValues() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/defaultParameterValues.kt"); + doTest(fileName); + } + + @TestMetadata("delegatedPropertySetter.kt") + public void testDelegatedPropertySetter() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/delegatedPropertySetter.kt"); + doTest(fileName); + } + + @TestMetadata("fileClassWithFileAnnotation.kt") + public void testFileClassWithFileAnnotation() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/fileClassWithFileAnnotation.kt"); + doTest(fileName); + } + + @TestMetadata("jvmAnnotationFlags.kt") + public void testJvmAnnotationFlags() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/jvmAnnotationFlags.kt"); + doTest(fileName); + } + + @TestMetadata("kotlinPropertyFromClassObjectAsParameter.kt") + public void testKotlinPropertyFromClassObjectAsParameter() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/kotlinPropertyFromClassObjectAsParameter.kt"); + doTest(fileName); + } + + @TestMetadata("kotlinTopLevelPropertyAsParameter.kt") + public void testKotlinTopLevelPropertyAsParameter() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/kotlinTopLevelPropertyAsParameter.kt"); + doTest(fileName); + } + + @TestMetadata("kt10136.kt") + public void testKt10136() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/kt10136.kt"); + doTest(fileName); + } + + @TestMetadata("nestedClassPropertyAsParameter.kt") + public void testNestedClassPropertyAsParameter() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/nestedClassPropertyAsParameter.kt"); + doTest(fileName); + } + + @TestMetadata("parameterWithPrimitiveType.kt") + public void testParameterWithPrimitiveType() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/parameterWithPrimitiveType.kt"); + doTest(fileName); + } + + @TestMetadata("propertyWithPropertyInInitializerAsParameter.kt") + public void testPropertyWithPropertyInInitializerAsParameter() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/propertyWithPropertyInInitializerAsParameter.kt"); + doTest(fileName); + } + + @TestMetadata("resolveWithLowPriorityAnnotation.kt") + public void testResolveWithLowPriorityAnnotation() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/resolveWithLowPriorityAnnotation.kt"); + doTest(fileName); + } + + @TestMetadata("varargInAnnotationParameter.kt") + public void testVarargInAnnotationParameter() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/varargInAnnotationParameter.kt"); + doTest(fileName); + } + + @TestMetadata("compiler/testData/codegen/box/annotations/annotatedLambda") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class AnnotatedLambda extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInAnnotatedLambda() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/annotations/annotatedLambda"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("funExpression.kt") + public void testFunExpression() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/annotatedLambda/funExpression.kt"); + doTest(fileName); + } + + @TestMetadata("lambda.kt") + public void testLambda() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/annotations/annotatedLambda/lambda.kt"); + doTest(fileName); + } + } + } + @TestMetadata("compiler/testData/codegen/box/argumentOrder") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -118,6 +238,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/arrays"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("arrayConstructorsSimple.kt") + public void testArrayConstructorsSimple() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/arrayConstructorsSimple.kt"); + doTest(fileName); + } + @TestMetadata("arrayGetAssignMultiIndex.kt") public void testArrayGetAssignMultiIndex() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/arrayGetAssignMultiIndex.kt"); @@ -232,6 +358,24 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("inProjectionOfList.kt") + public void testInProjectionOfList() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/inProjectionOfList.kt"); + doTest(fileName); + } + + @TestMetadata("indices.kt") + public void testIndices() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/indices.kt"); + doTest(fileName); + } + + @TestMetadata("indicesChar.kt") + public void testIndicesChar() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/indicesChar.kt"); + doTest(fileName); + } + @TestMetadata("iterator.kt") public void testIterator() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/iterator.kt"); @@ -358,12 +502,30 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("kt602.kt") + public void testKt602() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/kt602.kt"); + doTest(fileName); + } + + @TestMetadata("kt7009.kt") + public void testKt7009() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/kt7009.kt"); + doTest(fileName); + } + @TestMetadata("kt7288.kt") public void testKt7288() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/kt7288.kt"); doTest(fileName); } + @TestMetadata("kt7338.kt") + public void testKt7338() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/kt7338.kt"); + doTest(fileName); + } + @TestMetadata("kt779.kt") public void testKt779() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/kt779.kt"); @@ -388,6 +550,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("multiArrayConstructors.kt") + public void testMultiArrayConstructors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/multiArrayConstructors.kt"); + doTest(fileName); + } + @TestMetadata("nonLocalReturnArrayConstructor.kt") public void testNonLocalReturnArrayConstructor() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/nonLocalReturnArrayConstructor.kt"); @@ -601,6 +769,30 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("casts.kt") + public void testCasts() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/casts.kt"); + doTest(fileName); + } + + @TestMetadata("checkcastAndInstanceOf.kt") + public void testCheckcastAndInstanceOf() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf.kt"); + doTest(fileName); + } + + @TestMetadata("fold.kt") + public void testFold() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/fold.kt"); + doTest(fileName); + } + + @TestMetadata("foldRange.kt") + public void testFoldRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/foldRange.kt"); + doTest(fileName); + } + @TestMetadata("kt5493.kt") public void testKt5493() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/kt5493.kt"); @@ -612,6 +804,66 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/kt5588.kt"); doTest(fileName); } + + @TestMetadata("kt5844.kt") + public void testKt5844() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/kt5844.kt"); + doTest(fileName); + } + + @TestMetadata("kt6047.kt") + public void testKt6047() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/kt6047.kt"); + doTest(fileName); + } + + @TestMetadata("kt6842.kt") + public void testKt6842() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/kt6842.kt"); + doTest(fileName); + } + + @TestMetadata("nullCheck.kt") + public void testNullCheck() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/nullCheck.kt"); + doTest(fileName); + } + + @TestMetadata("progressions.kt") + public void testProgressions() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/progressions.kt"); + doTest(fileName); + } + + @TestMetadata("safeCallWithElvis.kt") + public void testSafeCallWithElvis() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/safeCallWithElvis.kt"); + doTest(fileName); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/simple.kt"); + doTest(fileName); + } + + @TestMetadata("simpleUninitializedMerge.kt") + public void testSimpleUninitializedMerge() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/simpleUninitializedMerge.kt"); + doTest(fileName); + } + + @TestMetadata("unsafeRemoving.kt") + public void testUnsafeRemoving() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/unsafeRemoving.kt"); + doTest(fileName); + } + + @TestMetadata("variables.kt") + public void testVariables() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/variables.kt"); + doTest(fileName); + } } @TestMetadata("compiler/testData/codegen/box/bridges") @@ -1254,6 +1506,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("getArityViaFunctionImpl.kt") + public void testGetArityViaFunctionImpl() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt"); + doTest(fileName); + } + @TestMetadata("innerConstructorFromClass.kt") public void testInnerConstructorFromClass() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/callableReference/function/innerConstructorFromClass.kt"); @@ -1672,6 +1930,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("asWithGeneric.kt") + public void testAsWithGeneric() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/asWithGeneric.kt"); + doTest(fileName); + } + @TestMetadata("castGenericNull.kt") public void testCastGenericNull() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/castGenericNull.kt"); @@ -1714,6 +1978,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("unitAsInt.kt") + public void testUnitAsInt() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/unitAsInt.kt"); + doTest(fileName); + } + @TestMetadata("unitAsSafeAny.kt") public void testUnitAsSafeAny() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/unitAsSafeAny.kt"); @@ -1734,18 +2004,54 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/casts/functions"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("asFunKBig.kt") + public void testAsFunKBig() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/functions/asFunKBig.kt"); + doTest(fileName); + } + @TestMetadata("asFunKSmall.kt") public void testAsFunKSmall() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/functions/asFunKSmall.kt"); doTest(fileName); } + @TestMetadata("isFunKBig.kt") + public void testIsFunKBig() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/functions/isFunKBig.kt"); + doTest(fileName); + } + + @TestMetadata("isFunKSmall.kt") + public void testIsFunKSmall() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/functions/isFunKSmall.kt"); + doTest(fileName); + } + + @TestMetadata("reifiedAsFunKBig.kt") + public void testReifiedAsFunKBig() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/functions/reifiedAsFunKBig.kt"); + doTest(fileName); + } + @TestMetadata("reifiedAsFunKSmall.kt") public void testReifiedAsFunKSmall() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/functions/reifiedAsFunKSmall.kt"); doTest(fileName); } + @TestMetadata("reifiedIsFunKBig.kt") + public void testReifiedIsFunKBig() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/functions/reifiedIsFunKBig.kt"); + doTest(fileName); + } + + @TestMetadata("reifiedIsFunKSmall.kt") + public void testReifiedIsFunKSmall() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/functions/reifiedIsFunKSmall.kt"); + doTest(fileName); + } + @TestMetadata("reifiedSafeAsFunKBig.kt") public void testReifiedSafeAsFunKBig() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/functions/reifiedSafeAsFunKBig.kt"); @@ -1757,6 +2063,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/functions/reifiedSafeAsFunKSmall.kt"); doTest(fileName); } + + @TestMetadata("safeAsFunKBig.kt") + public void testSafeAsFunKBig() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/functions/safeAsFunKBig.kt"); + doTest(fileName); + } + + @TestMetadata("safeAsFunKSmall.kt") + public void testSafeAsFunKSmall() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt"); + doTest(fileName); + } } @TestMetadata("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument") @@ -1803,6 +2121,63 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } } + + @TestMetadata("compiler/testData/codegen/box/casts/mutableCollections") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MutableCollections extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInMutableCollections() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/casts/mutableCollections"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("asWithMutable.kt") + public void testAsWithMutable() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt"); + doTest(fileName); + } + + @TestMetadata("isWithMutable.kt") + public void testIsWithMutable() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt"); + doTest(fileName); + } + + @TestMetadata("mutabilityMarkerInterfaces.kt") + public void testMutabilityMarkerInterfaces() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/mutableCollections/mutabilityMarkerInterfaces.kt"); + doTest(fileName); + } + + @TestMetadata("reifiedAsWithMutable.kt") + public void testReifiedAsWithMutable() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt"); + doTest(fileName); + } + + @TestMetadata("reifiedIsWithMutable.kt") + public void testReifiedIsWithMutable() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt"); + doTest(fileName); + } + + @TestMetadata("reifiedSafeAsWithMutable.kt") + public void testReifiedSafeAsWithMutable() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt"); + doTest(fileName); + } + + @TestMetadata("safeAsWithMutable.kt") + public void testSafeAsWithMutable() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt"); + doTest(fileName); + } + + @TestMetadata("weirdMutableCasts.kt") + public void testWeirdMutableCasts() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt"); + doTest(fileName); + } + } } @TestMetadata("compiler/testData/codegen/box/classes") @@ -2341,6 +2716,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("kt8011.kt") + public void testKt8011() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/classes/kt8011.kt"); + doTest(fileName); + } + @TestMetadata("kt8011a.kt") public void testKt8011a() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/classes/kt8011a.kt"); @@ -2869,6 +3250,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("continueInExpr.kt") + public void testContinueInExpr() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/continueInExpr.kt"); + doTest(fileName); + } + @TestMetadata("continueInFor.kt") public void testContinueInFor() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/continueInFor.kt"); @@ -3037,6 +3424,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("kt2423.kt") + public void testKt2423() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/kt2423.kt"); + doTest(fileName); + } + @TestMetadata("kt2577.kt") public void testKt2577() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/kt2577.kt"); @@ -3594,6 +3987,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("alreadyDeclaredWrongSignature.kt") + public void testAlreadyDeclaredWrongSignature() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/dataClasses/equals/alreadyDeclaredWrongSignature.kt"); + doTest(fileName); + } + @TestMetadata("genericarray.kt") public void testGenericarray() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/dataClasses/equals/genericarray.kt"); @@ -3633,6 +4032,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("alreadyDeclaredWrongSignature.kt") + public void testAlreadyDeclaredWrongSignature() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/dataClasses/hashCode/alreadyDeclaredWrongSignature.kt"); + doTest(fileName); + } + @TestMetadata("array.kt") public void testArray() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/dataClasses/hashCode/array.kt"); @@ -3714,6 +4119,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("alreadyDeclaredWrongSignature.kt") + public void testAlreadyDeclaredWrongSignature() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/dataClasses/toString/alreadyDeclaredWrongSignature.kt"); + doTest(fileName); + } + @TestMetadata("arrayParams.kt") public void testArrayParams() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/dataClasses/toString/arrayParams.kt"); @@ -3754,6 +4165,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/deadCodeElimination"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("emptyVariableRange.kt") + public void testEmptyVariableRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/deadCodeElimination/emptyVariableRange.kt"); + doTest(fileName); + } + @TestMetadata("intersectingVariableRange.kt") public void testIntersectingVariableRange() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/deadCodeElimination/intersectingVariableRange.kt"); @@ -3775,6 +4192,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("kt6382.kt") + public void testKt6382() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/defaultArguments/kt6382.kt"); + doTest(fileName); + } + + @TestMetadata("superCallCheck.kt") + public void testSuperCallCheck() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/defaultArguments/superCallCheck.kt"); + doTest(fileName); + } + @TestMetadata("compiler/testData/codegen/box/defaultArguments/constructor") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -3789,6 +4218,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("checkIfConstructorIsSynthetic.kt") + public void testCheckIfConstructorIsSynthetic() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/defaultArguments/constructor/checkIfConstructorIsSynthetic.kt"); + doTest(fileName); + } + @TestMetadata("defArgs1.kt") public void testDefArgs1() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/defaultArguments/constructor/defArgs1.kt"); @@ -3848,6 +4283,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/defaultArguments/constructor/kt3060.kt"); doTest(fileName); } + + @TestMetadata("manyArgs.kt") + public void testManyArgs() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/defaultArguments/constructor/manyArgs.kt"); + doTest(fileName); + } } @TestMetadata("compiler/testData/codegen/box/defaultArguments/convention") @@ -4135,6 +4576,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("delegateWithPrivateSet.kt") + public void testDelegateWithPrivateSet() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/delegateWithPrivateSet.kt"); + doTest(fileName); + } + @TestMetadata("genericDelegate.kt") public void testGenericDelegate() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/genericDelegate.kt"); @@ -4183,6 +4630,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("kt6722.kt") + public void testKt6722() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/kt6722.kt"); + doTest(fileName); + } + + @TestMetadata("kt9712.kt") + public void testKt9712() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/kt9712.kt"); + doTest(fileName); + } + @TestMetadata("privateVar.kt") public void testPrivateVar() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/privateVar.kt"); @@ -4195,6 +4654,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("protectedVarWithPrivateSet.kt") + public void testProtectedVarWithPrivateSet() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/protectedVarWithPrivateSet.kt"); + doTest(fileName); + } + @TestMetadata("setAsExtensionFun.kt") public void testSetAsExtensionFun() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/setAsExtensionFun.kt"); @@ -4207,6 +4672,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("stackOverflowOnCallFromGetValue.kt") + public void testStackOverflowOnCallFromGetValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/stackOverflowOnCallFromGetValue.kt"); + doTest(fileName); + } + @TestMetadata("topLevelVal.kt") public void testTopLevelVal() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/topLevelVal.kt"); @@ -4225,6 +4696,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("useKPropertyLater.kt") + public void testUseKPropertyLater() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/useKPropertyLater.kt"); + doTest(fileName); + } + @TestMetadata("useReflectionOnKProperty.kt") public void testUseReflectionOnKProperty() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/useReflectionOnKProperty.kt"); @@ -4768,6 +5245,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("sortEnumEntries.kt") + public void testSortEnumEntries() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/enum/sortEnumEntries.kt"); + doTest(fileName); + } + @TestMetadata("superCallInEnumLiteral.kt") public void testSuperCallInEnumLiteral() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/enum/superCallInEnumLiteral.kt"); @@ -4787,6 +5270,105 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { } } + @TestMetadata("compiler/testData/codegen/box/evaluate") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Evaluate extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInEvaluate() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("char.kt") + public void testChar() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/char.kt"); + doTest(fileName); + } + + @TestMetadata("divide.kt") + public void testDivide() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/divide.kt"); + doTest(fileName); + } + + @TestMetadata("intrinsics.kt") + public void testIntrinsics() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/intrinsics.kt"); + doTest(fileName); + } + + @TestMetadata("kt9443.kt") + public void testKt9443() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/kt9443.kt"); + doTest(fileName); + } + + @TestMetadata("maxValue.kt") + public void testMaxValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/maxValue.kt"); + doTest(fileName); + } + + @TestMetadata("maxValueByte.kt") + public void testMaxValueByte() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/maxValueByte.kt"); + doTest(fileName); + } + + @TestMetadata("maxValueInt.kt") + public void testMaxValueInt() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/maxValueInt.kt"); + doTest(fileName); + } + + @TestMetadata("minus.kt") + public void testMinus() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/minus.kt"); + doTest(fileName); + } + + @TestMetadata("mod.kt") + public void testMod() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/mod.kt"); + doTest(fileName); + } + + @TestMetadata("multiply.kt") + public void testMultiply() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/multiply.kt"); + doTest(fileName); + } + + @TestMetadata("parenthesized.kt") + public void testParenthesized() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/parenthesized.kt"); + doTest(fileName); + } + + @TestMetadata("plus.kt") + public void testPlus() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/plus.kt"); + doTest(fileName); + } + + @TestMetadata("simpleCallBinary.kt") + public void testSimpleCallBinary() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/simpleCallBinary.kt"); + doTest(fileName); + } + + @TestMetadata("unaryMinus.kt") + public void testUnaryMinus() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/unaryMinus.kt"); + doTest(fileName); + } + + @TestMetadata("unaryPlus.kt") + public void testUnaryPlus() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/evaluate/unaryPlus.kt"); + doTest(fileName); + } + } + @TestMetadata("compiler/testData/codegen/box/exclExcl") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -5042,6 +5624,33 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { } } + @TestMetadata("compiler/testData/codegen/box/external") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class External extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInExternal() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/external"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("jvmStaticExternal.kt") + public void testJvmStaticExternal() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/external/jvmStaticExternal.kt"); + doTest(fileName); + } + + @TestMetadata("jvmStaticExternalPrivate.kt") + public void testJvmStaticExternalPrivate() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/external/jvmStaticExternalPrivate.kt"); + doTest(fileName); + } + + @TestMetadata("withDefaultArg.kt") + public void testWithDefaultArg() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/external/withDefaultArg.kt"); + doTest(fileName); + } + } + @TestMetadata("compiler/testData/codegen/box/fakeOverride") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -5634,6 +6243,30 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/functions/localFunctions"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("callInlineLocalInLambda.kt") + public void testCallInlineLocalInLambda() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/functions/localFunctions/callInlineLocalInLambda.kt"); + doTest(fileName); + } + + @TestMetadata("definedWithinLambda.kt") + public void testDefinedWithinLambda() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/functions/localFunctions/definedWithinLambda.kt"); + doTest(fileName); + } + + @TestMetadata("definedWithinLambdaInnerUsage1.kt") + public void testDefinedWithinLambdaInnerUsage1() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/functions/localFunctions/definedWithinLambdaInnerUsage1.kt"); + doTest(fileName); + } + + @TestMetadata("definedWithinLambdaInnerUsage2.kt") + public void testDefinedWithinLambdaInnerUsage2() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/functions/localFunctions/definedWithinLambdaInnerUsage2.kt"); + doTest(fileName); + } + @TestMetadata("kt2895.kt") public void testKt2895() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/functions/localFunctions/kt2895.kt"); @@ -5708,6 +6341,51 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { } } + @TestMetadata("compiler/testData/codegen/box/hashPMap") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class HashPMap extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInHashPMap() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/hashPMap"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("empty.kt") + public void testEmpty() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/hashPMap/empty.kt"); + doTest(fileName); + } + + @TestMetadata("manyNumbers.kt") + public void testManyNumbers() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/hashPMap/manyNumbers.kt"); + doTest(fileName); + } + + @TestMetadata("rewriteWithDifferent.kt") + public void testRewriteWithDifferent() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/hashPMap/rewriteWithDifferent.kt"); + doTest(fileName); + } + + @TestMetadata("rewriteWithEqual.kt") + public void testRewriteWithEqual() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/hashPMap/rewriteWithEqual.kt"); + doTest(fileName); + } + + @TestMetadata("simplePlusGet.kt") + public void testSimplePlusGet() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/hashPMap/simplePlusGet.kt"); + doTest(fileName); + } + + @TestMetadata("simplePlusMinus.kt") + public void testSimplePlusMinus() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/hashPMap/simplePlusMinus.kt"); + doTest(fileName); + } + } + @TestMetadata("compiler/testData/codegen/box/increment") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -5752,6 +6430,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("memberExtOnLong.kt") + public void testMemberExtOnLong() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/increment/memberExtOnLong.kt"); + doTest(fileName); + } + + @TestMetadata("mutableListElement.kt") + public void testMutableListElement() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/increment/mutableListElement.kt"); + doTest(fileName); + } + @TestMetadata("nullable.kt") public void testNullable() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/increment/nullable.kt"); @@ -5998,6 +6688,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("defaultObjectMapping.kt") + public void testDefaultObjectMapping() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/intrinsics/defaultObjectMapping.kt"); + doTest(fileName); + } + @TestMetadata("ea35953.kt") public void testEa35953() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/intrinsics/ea35953.kt"); @@ -6010,6 +6706,24 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("kt10131.kt") + public void testKt10131() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/intrinsics/kt10131.kt"); + doTest(fileName); + } + + @TestMetadata("kt10131a.kt") + public void testKt10131a() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/intrinsics/kt10131a.kt"); + doTest(fileName); + } + + @TestMetadata("kt5937.kt") + public void testKt5937() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/intrinsics/kt5937.kt"); + doTest(fileName); + } + @TestMetadata("longRangeWithExplicitDot.kt") public void testLongRangeWithExplicitDot() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/intrinsics/longRangeWithExplicitDot.kt"); @@ -6161,6 +6875,318 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { } } + @TestMetadata("compiler/testData/codegen/box/jvmField") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JvmField extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInJvmField() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmField"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("captureClassFields.kt") + public void testCaptureClassFields() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmField/captureClassFields.kt"); + doTest(fileName); + } + + @TestMetadata("capturePackageFields.kt") + public void testCapturePackageFields() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmField/capturePackageFields.kt"); + doTest(fileName); + } + + @TestMetadata("checkNoAccessors.kt") + public void testCheckNoAccessors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmField/checkNoAccessors.kt"); + doTest(fileName); + } + + @TestMetadata("classFieldReference.kt") + public void testClassFieldReference() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmField/classFieldReference.kt"); + doTest(fileName); + } + + @TestMetadata("classFieldReflection.kt") + public void testClassFieldReflection() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmField/classFieldReflection.kt"); + doTest(fileName); + } + + @TestMetadata("publicField.kt") + public void testPublicField() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmField/publicField.kt"); + doTest(fileName); + } + + @TestMetadata("superCall.kt") + public void testSuperCall() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmField/superCall.kt"); + doTest(fileName); + } + + @TestMetadata("superCall2.kt") + public void testSuperCall2() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmField/superCall2.kt"); + doTest(fileName); + } + + @TestMetadata("topLevelFieldReference.kt") + public void testTopLevelFieldReference() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmField/topLevelFieldReference.kt"); + doTest(fileName); + } + + @TestMetadata("topLevelFieldReflection.kt") + public void testTopLevelFieldReflection() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmField/topLevelFieldReflection.kt"); + doTest(fileName); + } + + @TestMetadata("visibility.kt") + public void testVisibility() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmField/visibility.kt"); + doTest(fileName); + } + + @TestMetadata("writeFieldReference.kt") + public void testWriteFieldReference() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmField/writeFieldReference.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/jvmName") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JvmName extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInJvmName() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmName"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("callableReference.kt") + public void testCallableReference() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmName/callableReference.kt"); + doTest(fileName); + } + + @TestMetadata("clashingErasure.kt") + public void testClashingErasure() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmName/clashingErasure.kt"); + doTest(fileName); + } + + @TestMetadata("classMembers.kt") + public void testClassMembers() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmName/classMembers.kt"); + doTest(fileName); + } + + @TestMetadata("functionName.kt") + public void testFunctionName() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmName/functionName.kt"); + doTest(fileName); + } + + @TestMetadata("multifileClass.kt") + public void testMultifileClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmName/multifileClass.kt"); + doTest(fileName); + } + + @TestMetadata("multifileClassWithLocalClass.kt") + public void testMultifileClassWithLocalClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmName/multifileClassWithLocalClass.kt"); + doTest(fileName); + } + + @TestMetadata("multifileClassWithLocalGeneric.kt") + public void testMultifileClassWithLocalGeneric() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmName/multifileClassWithLocalGeneric.kt"); + doTest(fileName); + } + + @TestMetadata("propertyAccessorsUseSite.kt") + public void testPropertyAccessorsUseSite() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmName/propertyAccessorsUseSite.kt"); + doTest(fileName); + } + + @TestMetadata("propertyName.kt") + public void testPropertyName() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmName/propertyName.kt"); + doTest(fileName); + } + + @TestMetadata("renamedFileClass.kt") + public void testRenamedFileClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmName/renamedFileClass.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/jvmOverloads") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JvmOverloads extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInJvmOverloads() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmOverloads"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("companionObject.kt") + public void testCompanionObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/companionObject.kt"); + doTest(fileName); + } + + @TestMetadata("defaultsNotAtEnd.kt") + public void testDefaultsNotAtEnd() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/defaultsNotAtEnd.kt"); + doTest(fileName); + } + + @TestMetadata("doubleParameters.kt") + public void testDoubleParameters() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/doubleParameters.kt"); + doTest(fileName); + } + + @TestMetadata("extensionMethod.kt") + public void testExtensionMethod() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/extensionMethod.kt"); + doTest(fileName); + } + + @TestMetadata("multipleDefaultParameters.kt") + public void testMultipleDefaultParameters() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/multipleDefaultParameters.kt"); + doTest(fileName); + } + + @TestMetadata("nonDefaultParameter.kt") + public void testNonDefaultParameter() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/nonDefaultParameter.kt"); + doTest(fileName); + } + + @TestMetadata("primaryConstructor.kt") + public void testPrimaryConstructor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/primaryConstructor.kt"); + doTest(fileName); + } + + @TestMetadata("secondaryConstructor.kt") + public void testSecondaryConstructor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/secondaryConstructor.kt"); + doTest(fileName); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/simple.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/jvmStatic") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JvmStatic extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInJvmStatic() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmStatic"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("closure.kt") + public void testClosure() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/closure.kt"); + doTest(fileName); + } + + @TestMetadata("convention.kt") + public void testConvention() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/convention.kt"); + doTest(fileName); + } + + @TestMetadata("default.kt") + public void testDefault() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/default.kt"); + doTest(fileName); + } + + @TestMetadata("explicitObject.kt") + public void testExplicitObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/explicitObject.kt"); + doTest(fileName); + } + + @TestMetadata("funAccess.kt") + public void testFunAccess() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/funAccess.kt"); + doTest(fileName); + } + + @TestMetadata("importStaticMemberFromObject.kt") + public void testImportStaticMemberFromObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/importStaticMemberFromObject.kt"); + doTest(fileName); + } + + @TestMetadata("inline.kt") + public void testInline() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/inline.kt"); + doTest(fileName); + } + + @TestMetadata("kt9897_static.kt") + public void testKt9897_static() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/kt9897_static.kt"); + doTest(fileName); + } + + @TestMetadata("postfixInc.kt") + public void testPostfixInc() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/postfixInc.kt"); + doTest(fileName); + } + + @TestMetadata("prefixInc.kt") + public void testPrefixInc() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/prefixInc.kt"); + doTest(fileName); + } + + @TestMetadata("privateMethod.kt") + public void testPrivateMethod() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/privateMethod.kt"); + doTest(fileName); + } + + @TestMetadata("propertyAccess.kt") + public void testPropertyAccess() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/propertyAccess.kt"); + doTest(fileName); + } + + @TestMetadata("propertyAsDefault.kt") + public void testPropertyAsDefault() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/propertyAsDefault.kt"); + doTest(fileName); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/simple.kt"); + doTest(fileName); + } + + @TestMetadata("syntheticAccessor.kt") + public void testSyntheticAccessor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/syntheticAccessor.kt"); + doTest(fileName); + } + } + @TestMetadata("compiler/testData/codegen/box/labels") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -6481,6 +7507,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/mangling"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("field.kt") + public void testField() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/mangling/field.kt"); + doTest(fileName); + } + + @TestMetadata("fun.kt") + public void testFun() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/mangling/fun.kt"); + doTest(fileName); + } + @TestMetadata("internalOverride.kt") public void testInternalOverride() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/mangling/internalOverride.kt"); @@ -6526,6 +7564,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("kt9828_hashMap.kt") + public void testKt9828_hashMap() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multiDecl/kt9828_hashMap.kt"); + doTest(fileName); + } + @TestMetadata("returnInElvis.kt") public void testReturnInElvis() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multiDecl/returnInElvis.kt"); @@ -6974,6 +8018,39 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { } } + @TestMetadata("compiler/testData/codegen/box/nonLocalReturns") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NonLocalReturns extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInNonLocalReturns() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/nonLocalReturns"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("kt6895.kt") + public void testKt6895() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/nonLocalReturns/kt6895.kt"); + doTest(fileName); + } + + @TestMetadata("kt9644let.kt") + public void testKt9644let() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/nonLocalReturns/kt9644let.kt"); + doTest(fileName); + } + + @TestMetadata("use.kt") + public void testUse() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/nonLocalReturns/use.kt"); + doTest(fileName); + } + + @TestMetadata("useWithException.kt") + public void testUseWithException() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/nonLocalReturns/useWithException.kt"); + doTest(fileName); + } + } + @TestMetadata("compiler/testData/codegen/box/objectIntrinsics") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -7945,6 +9022,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("synthetic.kt") + public void testSynthetic() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/privateConstructors/synthetic.kt"); + doTest(fileName); + } + @TestMetadata("withArguments.kt") public void testWithArguments() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/privateConstructors/withArguments.kt"); @@ -8308,6 +9391,33 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("compiler/testData/codegen/box/properties/const") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Const extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInConst() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/properties/const"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("constFlags.kt") + public void testConstFlags() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/properties/const/constFlags.kt"); + doTest(fileName); + } + + @TestMetadata("constValInAnnotationDefault.kt") + public void testConstValInAnnotationDefault() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/properties/const/constValInAnnotationDefault.kt"); + doTest(fileName); + } + + @TestMetadata("interfaceCompanion.kt") + public void testInterfaceCompanion() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/properties/const/interfaceCompanion.kt"); + doTest(fileName); + } + } + @TestMetadata("compiler/testData/codegen/box/properties/lateinit") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -8369,6 +9479,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/properties/lateinit/simpleVar.kt"); doTest(fileName); } + + @TestMetadata("visibility.kt") + public void testVisibility() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/properties/lateinit/visibility.kt"); + doTest(fileName); + } } } @@ -8380,11 +9496,389 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("forByteProgressionWithIntIncrement.kt") + public void testForByteProgressionWithIntIncrement() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/forByteProgressionWithIntIncrement.kt"); + doTest(fileName); + } + + @TestMetadata("forIntRange.kt") + public void testForIntRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/forIntRange.kt"); + doTest(fileName); + } + + @TestMetadata("multiAssignmentIterationOverIntRange.kt") + public void testMultiAssignmentIterationOverIntRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/multiAssignmentIterationOverIntRange.kt"); + doTest(fileName); + } + @TestMetadata("rangeContainsString.kt") public void testRangeContainsString() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/rangeContainsString.kt"); doTest(fileName); } + + @TestMetadata("safeCallRangeTo.kt") + public void testSafeCallRangeTo() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/safeCallRangeTo.kt"); + doTest(fileName); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/expression") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Expression extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInExpression() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/expression"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("emptyDownto.kt") + public void testEmptyDownto() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/emptyDownto.kt"); + doTest(fileName); + } + + @TestMetadata("emptyRange.kt") + public void testEmptyRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/emptyRange.kt"); + doTest(fileName); + } + + @TestMetadata("inexactDownToMinValue.kt") + public void testInexactDownToMinValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/inexactDownToMinValue.kt"); + doTest(fileName); + } + + @TestMetadata("inexactSteppedDownTo.kt") + public void testInexactSteppedDownTo() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/inexactSteppedDownTo.kt"); + doTest(fileName); + } + + @TestMetadata("inexactSteppedRange.kt") + public void testInexactSteppedRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/inexactSteppedRange.kt"); + doTest(fileName); + } + + @TestMetadata("inexactToMaxValue.kt") + public void testInexactToMaxValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/inexactToMaxValue.kt"); + doTest(fileName); + } + + @TestMetadata("maxValueMinusTwoToMaxValue.kt") + public void testMaxValueMinusTwoToMaxValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/maxValueMinusTwoToMaxValue.kt"); + doTest(fileName); + } + + @TestMetadata("maxValueToMaxValue.kt") + public void testMaxValueToMaxValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/maxValueToMaxValue.kt"); + doTest(fileName); + } + + @TestMetadata("maxValueToMinValue.kt") + public void testMaxValueToMinValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/maxValueToMinValue.kt"); + doTest(fileName); + } + + @TestMetadata("oneElementDownTo.kt") + public void testOneElementDownTo() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/oneElementDownTo.kt"); + doTest(fileName); + } + + @TestMetadata("oneElementRange.kt") + public void testOneElementRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/oneElementRange.kt"); + doTest(fileName); + } + + @TestMetadata("openRange.kt") + public void testOpenRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/openRange.kt"); + doTest(fileName); + } + + @TestMetadata("progressionDownToMinValue.kt") + public void testProgressionDownToMinValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/progressionDownToMinValue.kt"); + doTest(fileName); + } + + @TestMetadata("progressionMaxValueMinusTwoToMaxValue.kt") + public void testProgressionMaxValueMinusTwoToMaxValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt"); + doTest(fileName); + } + + @TestMetadata("progressionMaxValueToMaxValue.kt") + public void testProgressionMaxValueToMaxValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMaxValue.kt"); + doTest(fileName); + } + + @TestMetadata("progressionMaxValueToMinValue.kt") + public void testProgressionMaxValueToMinValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMinValue.kt"); + doTest(fileName); + } + + @TestMetadata("progressionMinValueToMinValue.kt") + public void testProgressionMinValueToMinValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/progressionMinValueToMinValue.kt"); + doTest(fileName); + } + + @TestMetadata("reversedBackSequence.kt") + public void testReversedBackSequence() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/reversedBackSequence.kt"); + doTest(fileName); + } + + @TestMetadata("reversedEmptyBackSequence.kt") + public void testReversedEmptyBackSequence() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt"); + doTest(fileName); + } + + @TestMetadata("reversedEmptyRange.kt") + public void testReversedEmptyRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt"); + doTest(fileName); + } + + @TestMetadata("reversedInexactSteppedDownTo.kt") + public void testReversedInexactSteppedDownTo() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/reversedInexactSteppedDownTo.kt"); + doTest(fileName); + } + + @TestMetadata("reversedRange.kt") + public void testReversedRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/reversedRange.kt"); + doTest(fileName); + } + + @TestMetadata("reversedSimpleSteppedRange.kt") + public void testReversedSimpleSteppedRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/reversedSimpleSteppedRange.kt"); + doTest(fileName); + } + + @TestMetadata("simpleDownTo.kt") + public void testSimpleDownTo() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/simpleDownTo.kt"); + doTest(fileName); + } + + @TestMetadata("simpleRange.kt") + public void testSimpleRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/simpleRange.kt"); + doTest(fileName); + } + + @TestMetadata("simpleRangeWithNonConstantEnds.kt") + public void testSimpleRangeWithNonConstantEnds() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/simpleRangeWithNonConstantEnds.kt"); + doTest(fileName); + } + + @TestMetadata("simpleSteppedDownTo.kt") + public void testSimpleSteppedDownTo() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/simpleSteppedDownTo.kt"); + doTest(fileName); + } + + @TestMetadata("simpleSteppedRange.kt") + public void testSimpleSteppedRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/expression/simpleSteppedRange.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/literal") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Literal extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInLiteral() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/literal"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("emptyDownto.kt") + public void testEmptyDownto() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/emptyDownto.kt"); + doTest(fileName); + } + + @TestMetadata("emptyRange.kt") + public void testEmptyRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/emptyRange.kt"); + doTest(fileName); + } + + @TestMetadata("inexactDownToMinValue.kt") + public void testInexactDownToMinValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/inexactDownToMinValue.kt"); + doTest(fileName); + } + + @TestMetadata("inexactSteppedDownTo.kt") + public void testInexactSteppedDownTo() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/inexactSteppedDownTo.kt"); + doTest(fileName); + } + + @TestMetadata("inexactSteppedRange.kt") + public void testInexactSteppedRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/inexactSteppedRange.kt"); + doTest(fileName); + } + + @TestMetadata("inexactToMaxValue.kt") + public void testInexactToMaxValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/inexactToMaxValue.kt"); + doTest(fileName); + } + + @TestMetadata("maxValueMinusTwoToMaxValue.kt") + public void testMaxValueMinusTwoToMaxValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/maxValueMinusTwoToMaxValue.kt"); + doTest(fileName); + } + + @TestMetadata("maxValueToMaxValue.kt") + public void testMaxValueToMaxValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/maxValueToMaxValue.kt"); + doTest(fileName); + } + + @TestMetadata("maxValueToMinValue.kt") + public void testMaxValueToMinValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/maxValueToMinValue.kt"); + doTest(fileName); + } + + @TestMetadata("oneElementDownTo.kt") + public void testOneElementDownTo() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/oneElementDownTo.kt"); + doTest(fileName); + } + + @TestMetadata("oneElementRange.kt") + public void testOneElementRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/oneElementRange.kt"); + doTest(fileName); + } + + @TestMetadata("openRange.kt") + public void testOpenRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/openRange.kt"); + doTest(fileName); + } + + @TestMetadata("progressionDownToMinValue.kt") + public void testProgressionDownToMinValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/progressionDownToMinValue.kt"); + doTest(fileName); + } + + @TestMetadata("progressionMaxValueMinusTwoToMaxValue.kt") + public void testProgressionMaxValueMinusTwoToMaxValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt"); + doTest(fileName); + } + + @TestMetadata("progressionMaxValueToMaxValue.kt") + public void testProgressionMaxValueToMaxValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMaxValue.kt"); + doTest(fileName); + } + + @TestMetadata("progressionMaxValueToMinValue.kt") + public void testProgressionMaxValueToMinValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMinValue.kt"); + doTest(fileName); + } + + @TestMetadata("progressionMinValueToMinValue.kt") + public void testProgressionMinValueToMinValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/progressionMinValueToMinValue.kt"); + doTest(fileName); + } + + @TestMetadata("reversedBackSequence.kt") + public void testReversedBackSequence() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/reversedBackSequence.kt"); + doTest(fileName); + } + + @TestMetadata("reversedEmptyBackSequence.kt") + public void testReversedEmptyBackSequence() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt"); + doTest(fileName); + } + + @TestMetadata("reversedEmptyRange.kt") + public void testReversedEmptyRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt"); + doTest(fileName); + } + + @TestMetadata("reversedInexactSteppedDownTo.kt") + public void testReversedInexactSteppedDownTo() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/reversedInexactSteppedDownTo.kt"); + doTest(fileName); + } + + @TestMetadata("reversedRange.kt") + public void testReversedRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/reversedRange.kt"); + doTest(fileName); + } + + @TestMetadata("reversedSimpleSteppedRange.kt") + public void testReversedSimpleSteppedRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/reversedSimpleSteppedRange.kt"); + doTest(fileName); + } + + @TestMetadata("simpleDownTo.kt") + public void testSimpleDownTo() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/simpleDownTo.kt"); + doTest(fileName); + } + + @TestMetadata("simpleRange.kt") + public void testSimpleRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/simpleRange.kt"); + doTest(fileName); + } + + @TestMetadata("simpleRangeWithNonConstantEnds.kt") + public void testSimpleRangeWithNonConstantEnds() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/simpleRangeWithNonConstantEnds.kt"); + doTest(fileName); + } + + @TestMetadata("simpleSteppedDownTo.kt") + public void testSimpleSteppedDownTo() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/simpleSteppedDownTo.kt"); + doTest(fileName); + } + + @TestMetadata("simpleSteppedRange.kt") + public void testSimpleSteppedRange() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/literal/simpleSteppedRange.kt"); + doTest(fileName); + } + } } @TestMetadata("compiler/testData/codegen/box/reflection") @@ -8395,83 +9889,1274 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection"), Pattern.compile("^(.+)\\.kt$"), true); } - @TestMetadata("defaultImplsGenericSignature.kt") - public void testDefaultImplsGenericSignature() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/defaultImplsGenericSignature.kt"); - doTest(fileName); - } - - @TestMetadata("functionLiteralGenericSignature.kt") - public void testFunctionLiteralGenericSignature() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/functionLiteralGenericSignature.kt"); - doTest(fileName); - } - - @TestMetadata("compiler/testData/codegen/box/reflection/noKotlinReflect") + @TestMetadata("compiler/testData/codegen/box/reflection/annotations") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) - public static class NoKotlinReflect extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInNoKotlinReflect() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/noKotlinReflect"), Pattern.compile("^(.+)\\.kt$"), true); + public static class Annotations extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInAnnotations() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("annotationRetentionAnnotation.kt") + public void testAnnotationRetentionAnnotation() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt"); + doTest(fileName); + } + + @TestMetadata("propertyAccessors.kt") + public void testPropertyAccessors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt"); + doTest(fileName); + } + + @TestMetadata("propertyWithoutBackingField.kt") + public void testPropertyWithoutBackingField() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt"); + doTest(fileName); + } + + @TestMetadata("retentions.kt") + public void testRetentions() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/annotations/retentions.kt"); + doTest(fileName); + } + + @TestMetadata("simpleClassAnnotation.kt") + public void testSimpleClassAnnotation() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt"); + doTest(fileName); + } + + @TestMetadata("simpleConstructorAnnotation.kt") + public void testSimpleConstructorAnnotation() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/annotations/simpleConstructorAnnotation.kt"); + doTest(fileName); + } + + @TestMetadata("simpleFunAnnotation.kt") + public void testSimpleFunAnnotation() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt"); + doTest(fileName); + } + + @TestMetadata("simpleParamAnnotation.kt") + public void testSimpleParamAnnotation() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt"); + doTest(fileName); + } + + @TestMetadata("simpleValAnnotation.kt") + public void testSimpleValAnnotation() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/call") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Call extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInCall() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("cannotCallEnumConstructor.kt") + public void testCannotCallEnumConstructor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/cannotCallEnumConstructor.kt"); + doTest(fileName); + } + + @TestMetadata("disallowNullValueForNotNullField.kt") + public void testDisallowNullValueForNotNullField() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/disallowNullValueForNotNullField.kt"); + doTest(fileName); + } + + @TestMetadata("equalsHashCodeToString.kt") + public void testEqualsHashCodeToString() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt"); + doTest(fileName); + } + + @TestMetadata("exceptionHappened.kt") + public void testExceptionHappened() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/exceptionHappened.kt"); + doTest(fileName); + } + + @TestMetadata("fakeOverride.kt") + public void testFakeOverride() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/fakeOverride.kt"); + doTest(fileName); + } + + @TestMetadata("fakeOverrideSubstituted.kt") + public void testFakeOverrideSubstituted() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt"); + doTest(fileName); + } + + @TestMetadata("incorrectNumberOfArguments.kt") + public void testIncorrectNumberOfArguments() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/incorrectNumberOfArguments.kt"); + doTest(fileName); + } + + @TestMetadata("innerClassConstructor.kt") + public void testInnerClassConstructor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt"); + doTest(fileName); + } + + @TestMetadata("jvmStatic.kt") + public void testJvmStatic() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/jvmStatic.kt"); + doTest(fileName); + } + + @TestMetadata("jvmStaticInObjectIncorrectReceiver.kt") + public void testJvmStaticInObjectIncorrectReceiver() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/jvmStaticInObjectIncorrectReceiver.kt"); + doTest(fileName); + } + + @TestMetadata("localClassMember.kt") + public void testLocalClassMember() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/localClassMember.kt"); + doTest(fileName); + } + + @TestMetadata("memberOfGenericClass.kt") + public void testMemberOfGenericClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt"); + doTest(fileName); + } + + @TestMetadata("privateProperty.kt") + public void testPrivateProperty() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/privateProperty.kt"); + doTest(fileName); + } + + @TestMetadata("propertyAccessors.kt") + public void testPropertyAccessors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/propertyAccessors.kt"); + doTest(fileName); + } + + @TestMetadata("returnUnit.kt") + public void testReturnUnit() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/returnUnit.kt"); + doTest(fileName); + } + + @TestMetadata("simpleConstructor.kt") + public void testSimpleConstructor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/simpleConstructor.kt"); + doTest(fileName); + } + + @TestMetadata("simpleMemberFunction.kt") + public void testSimpleMemberFunction() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt"); + doTest(fileName); + } + + @TestMetadata("simpleTopLevelFunctions.kt") + public void testSimpleTopLevelFunctions() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/callBy") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CallBy extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInCallBy() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("defaultAndNonDefaultIntertwined.kt") + public void testDefaultAndNonDefaultIntertwined() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt"); + doTest(fileName); + } + + @TestMetadata("extensionFunction.kt") + public void testExtensionFunction() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt"); + doTest(fileName); + } + + @TestMetadata("jvmStaticInObject.kt") + public void testJvmStaticInObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/jvmStaticInObject.kt"); + doTest(fileName); + } + + @TestMetadata("manyArgumentsOnlyOneDefault.kt") + public void testManyArgumentsOnlyOneDefault() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt"); + doTest(fileName); + } + + @TestMetadata("manyMaskArguments.kt") + public void testManyMaskArguments() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt"); + doTest(fileName); + } + + @TestMetadata("nonDefaultParameterOmitted.kt") + public void testNonDefaultParameterOmitted() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt"); + doTest(fileName); + } + + @TestMetadata("nullValue.kt") + public void testNullValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/nullValue.kt"); + doTest(fileName); + } + + @TestMetadata("ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt") + public void testOrdinaryMethodIsInvokedWhenNoDefaultValuesAreUsed() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt"); + doTest(fileName); + } + + @TestMetadata("primitiveDefaultValues.kt") + public void testPrimitiveDefaultValues() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt"); + doTest(fileName); + } + + @TestMetadata("privateMemberFunction.kt") + public void testPrivateMemberFunction() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/privateMemberFunction.kt"); + doTest(fileName); + } + + @TestMetadata("simpleConstructor.kt") + public void testSimpleConstructor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt"); + doTest(fileName); + } + + @TestMetadata("simpleMemberFunciton.kt") + public void testSimpleMemberFunciton() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt"); + doTest(fileName); + } + + @TestMetadata("simpleTopLevelFunction.kt") + public void testSimpleTopLevelFunction() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/classLiterals") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ClassLiterals extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInClassLiterals() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/classLiterals"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("annotationClassLiteral.kt") + public void testAnnotationClassLiteral() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt"); + doTest(fileName); + } + + @TestMetadata("arrays.kt") + public void testArrays() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classLiterals/arrays.kt"); + doTest(fileName); + } + + @TestMetadata("builtinClassLiterals.kt") + public void testBuiltinClassLiterals() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classLiterals/builtinClassLiterals.kt"); + doTest(fileName); + } + + @TestMetadata("genericArrays.kt") + public void testGenericArrays() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classLiterals/genericArrays.kt"); + doTest(fileName); + } + + @TestMetadata("genericClass.kt") + public void testGenericClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt"); + doTest(fileName); + } + + @TestMetadata("reifiedTypeClassLiteral.kt") + public void testReifiedTypeClassLiteral() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classLiterals/reifiedTypeClassLiteral.kt"); + doTest(fileName); + } + + @TestMetadata("simpleClassLiteral.kt") + public void testSimpleClassLiteral() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/classes") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Classes extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInClasses() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("classSimpleName.kt") + public void testClassSimpleName() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classes/classSimpleName.kt"); + doTest(fileName); + } + + @TestMetadata("companionObject.kt") + public void testCompanionObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classes/companionObject.kt"); + doTest(fileName); + } + + @TestMetadata("defaultType.kt") + public void testDefaultType() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classes/defaultType.kt"); + doTest(fileName); + } + + @TestMetadata("jvmName.kt") + public void testJvmName() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classes/jvmName.kt"); + doTest(fileName); + } + + @TestMetadata("localClassSimpleName.kt") + public void testLocalClassSimpleName() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt"); + doTest(fileName); + } + + @TestMetadata("nestedClasses.kt") + public void testNestedClasses() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classes/nestedClasses.kt"); + doTest(fileName); + } + + @TestMetadata("objectInstance.kt") + public void testObjectInstance() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classes/objectInstance.kt"); + doTest(fileName); + } + + @TestMetadata("qualifiedName.kt") + public void testQualifiedName() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/classes/qualifiedName.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/constructors") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Constructors extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInConstructors() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("classesWithoutConstructors.kt") + public void testClassesWithoutConstructors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt"); + doTest(fileName); + } + + @TestMetadata("constructorName.kt") + public void testConstructorName() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/constructors/constructorName.kt"); + doTest(fileName); + } + + @TestMetadata("primaryConstructor.kt") + public void testPrimaryConstructor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt"); + doTest(fileName); + } + + @TestMetadata("simpleGetConstructors.kt") + public void testSimpleGetConstructors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/constructors/simpleGetConstructors.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/enclosing") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Enclosing extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInEnclosing() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/enclosing"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("anonymousObjectInInlinedLambda.kt") + public void testAnonymousObjectInInlinedLambda() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/anonymousObjectInInlinedLambda.kt"); + doTest(fileName); + } + + @TestMetadata("classInLambda.kt") + public void testClassInLambda() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/classInLambda.kt"); + doTest(fileName); + } + + @TestMetadata("functionExpressionInProperty.kt") + public void testFunctionExpressionInProperty() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/functionExpressionInProperty.kt"); + doTest(fileName); + } + + @TestMetadata("kt6368.kt") + public void testKt6368() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/kt6368.kt"); + doTest(fileName); + } + + @TestMetadata("kt6691_lambdaInSamConstructor.kt") + public void testKt6691_lambdaInSamConstructor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/kt6691_lambdaInSamConstructor.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInClassObject.kt") + public void testLambdaInClassObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInClassObject.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInConstructor.kt") + public void testLambdaInConstructor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInConstructor.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInFunction.kt") + public void testLambdaInFunction() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInFunction.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInLambda.kt") + public void testLambdaInLambda() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInLambda.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInLocalClassConstructor.kt") + public void testLambdaInLocalClassConstructor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassConstructor.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInLocalClassSuperCall.kt") + public void testLambdaInLocalClassSuperCall() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassSuperCall.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInLocalFunction.kt") + public void testLambdaInLocalFunction() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalFunction.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInMemberFunction.kt") + public void testLambdaInMemberFunction() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunction.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInMemberFunctionInLocalClass.kt") + public void testLambdaInMemberFunctionInLocalClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInLocalClass.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInMemberFunctionInNestedClass.kt") + public void testLambdaInMemberFunctionInNestedClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInNestedClass.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInObjectDeclaration.kt") + public void testLambdaInObjectDeclaration() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectDeclaration.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInObjectExpression.kt") + public void testLambdaInObjectExpression() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectExpression.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInObjectLiteralSuperCall.kt") + public void testLambdaInObjectLiteralSuperCall() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectLiteralSuperCall.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInPackage.kt") + public void testLambdaInPackage() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInPackage.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInPropertyGetter.kt") + public void testLambdaInPropertyGetter() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertyGetter.kt"); + doTest(fileName); + } + + @TestMetadata("lambdaInPropertySetter.kt") + public void testLambdaInPropertySetter() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertySetter.kt"); + doTest(fileName); + } + + @TestMetadata("localClassInTopLevelFunction.kt") + public void testLocalClassInTopLevelFunction() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/localClassInTopLevelFunction.kt"); + doTest(fileName); + } + + @TestMetadata("objectInLambda.kt") + public void testObjectInLambda() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/enclosing/objectInLambda.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/functions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Functions extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInFunctions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("functionFromStdlib.kt") + public void testFunctionFromStdlib() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/functions/functionFromStdlib.kt"); + doTest(fileName); + } + + @TestMetadata("platformName.kt") + public void testPlatformName() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/functions/platformName.kt"); + doTest(fileName); + } + + @TestMetadata("privateMemberFunction.kt") + public void testPrivateMemberFunction() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/functions/privateMemberFunction.kt"); + doTest(fileName); + } + + @TestMetadata("simpleGetFunctions.kt") + public void testSimpleGetFunctions() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt"); + doTest(fileName); + } + + @TestMetadata("simpleNames.kt") + public void testSimpleNames() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/functions/simpleNames.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/genericSignature") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class GenericSignature extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInGenericSignature() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/genericSignature"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("covariantOverride.kt") + public void testCovariantOverride() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/genericSignature/covariantOverride.kt"); + doTest(fileName); + } + + @TestMetadata("defaultImplsGenericSignature.kt") + public void testDefaultImplsGenericSignature() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/genericSignature/defaultImplsGenericSignature.kt"); + doTest(fileName); + } + + @TestMetadata("functionLiteralGenericSignature.kt") + public void testFunctionLiteralGenericSignature() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt"); + doTest(fileName); + } + + @TestMetadata("genericBackingFieldSignature.kt") + public void testGenericBackingFieldSignature() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/genericSignature/genericBackingFieldSignature.kt"); + doTest(fileName); + } + + @TestMetadata("genericMethodSignature.kt") + public void testGenericMethodSignature() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/genericSignature/genericMethodSignature.kt"); + doTest(fileName); + } + + @TestMetadata("kt11121.kt") + public void testKt11121() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/genericSignature/kt11121.kt"); + doTest(fileName); + } + + @TestMetadata("kt5112.kt") + public void testKt5112() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/genericSignature/kt5112.kt"); + doTest(fileName); + } + + @TestMetadata("kt6106.kt") + public void testKt6106() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/genericSignature/kt6106.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/javaProperties") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JavaProperties extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInJavaProperties() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/javaProperties"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("java.kt") + public void testJava() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/javaProperties/java.kt"); + doTest(fileName); + } + + @TestMetadata("javaObjectType.kt") + public void testJavaObjectType() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/javaProperties/javaObjectType.kt"); + doTest(fileName); + } + + @TestMetadata("javaObjectTypeReified.kt") + public void testJavaObjectTypeReified() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/javaProperties/javaObjectTypeReified.kt"); + doTest(fileName); + } + + @TestMetadata("javaPrimitiveType.kt") + public void testJavaPrimitiveType() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/javaProperties/javaPrimitiveType.kt"); + doTest(fileName); + } + + @TestMetadata("javaPrimitiveTypeReified.kt") + public void testJavaPrimitiveTypeReified() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/javaProperties/javaPrimitiveTypeReified.kt"); + doTest(fileName); + } + + @TestMetadata("javaReified.kt") + public void testJavaReified() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/javaProperties/javaReified.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/kClassInAnnotation") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class KClassInAnnotation extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInKClassInAnnotation() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("array.kt") + public void testArray() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/kClassInAnnotation/array.kt"); + doTest(fileName); + } + + @TestMetadata("basic.kt") + public void testBasic() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/kClassInAnnotation/basic.kt"); + doTest(fileName); + } + + @TestMetadata("checkcast.kt") + public void testCheckcast() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/kClassInAnnotation/checkcast.kt"); + doTest(fileName); + } + + @TestMetadata("vararg.kt") + public void testVararg() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/kClassInAnnotation/vararg.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/lambdaClasses") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class LambdaClasses extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInLambdaClasses() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/lambdaClasses"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("parameterNamesAndNullability.kt") + public void testParameterNamesAndNullability() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/lambdaClasses/parameterNamesAndNullability.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/mapping") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Mapping extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInMapping() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("constructor.kt") + public void testConstructor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/constructor.kt"); + doTest(fileName); + } + + @TestMetadata("extensionProperty.kt") + public void testExtensionProperty() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/extensionProperty.kt"); + doTest(fileName); + } + + @TestMetadata("functions.kt") + public void testFunctions() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/functions.kt"); + doTest(fileName); + } + + @TestMetadata("mappedClassIsEqualToClassLiteral.kt") + public void testMappedClassIsEqualToClassLiteral() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/mappedClassIsEqualToClassLiteral.kt"); + doTest(fileName); + } + + @TestMetadata("memberProperty.kt") + public void testMemberProperty() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/memberProperty.kt"); + doTest(fileName); + } + + @TestMetadata("propertyAccessors.kt") + public void testPropertyAccessors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/propertyAccessors.kt"); + doTest(fileName); + } + + @TestMetadata("propertyAccessorsWithJvmName.kt") + public void testPropertyAccessorsWithJvmName() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/propertyAccessorsWithJvmName.kt"); + doTest(fileName); + } + + @TestMetadata("syntheticFields.kt") + public void testSyntheticFields() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/syntheticFields.kt"); + doTest(fileName); + } + + @TestMetadata("topLevelProperty.kt") + public void testTopLevelProperty() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/topLevelProperty.kt"); + doTest(fileName); + } + + @TestMetadata("compiler/testData/codegen/box/reflection/mapping/fakeOverrides") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class FakeOverrides extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInFakeOverrides() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/fakeOverrides"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("javaFieldGetterSetter.kt") + public void testJavaFieldGetterSetter() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaFieldGetterSetter.kt"); + doTest(fileName); + } + + @TestMetadata("javaMethod.kt") + public void testJavaMethod() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaMethod.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/mapping/jvmStatic") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JvmStatic extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInJvmStatic() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/jvmStatic"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("companionObjectFunction.kt") + public void testCompanionObjectFunction() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/jvmStatic/companionObjectFunction.kt"); + doTest(fileName); + } + + @TestMetadata("objectFunction.kt") + public void testObjectFunction() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/jvmStatic/objectFunction.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/mapping/types") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Types extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInTypes() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/types"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("array.kt") + public void testArray() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/types/array.kt"); + doTest(fileName); + } + + @TestMetadata("constructors.kt") + public void testConstructors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/types/constructors.kt"); + doTest(fileName); + } + + @TestMetadata("memberFunctions.kt") + public void testMemberFunctions() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/types/memberFunctions.kt"); + doTest(fileName); + } + + @TestMetadata("overrideAnyWithPrimitive.kt") + public void testOverrideAnyWithPrimitive() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/types/overrideAnyWithPrimitive.kt"); + doTest(fileName); + } + + @TestMetadata("parameterizedTypes.kt") + public void testParameterizedTypes() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/types/parameterizedTypes.kt"); + doTest(fileName); + } + + @TestMetadata("propertyAccessors.kt") + public void testPropertyAccessors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/types/propertyAccessors.kt"); + doTest(fileName); + } + + @TestMetadata("topLevelFunctions.kt") + public void testTopLevelFunctions() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/types/topLevelFunctions.kt"); + doTest(fileName); + } + + @TestMetadata("typeParameters.kt") + public void testTypeParameters() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/types/typeParameters.kt"); + doTest(fileName); + } + + @TestMetadata("unit.kt") + public void testUnit() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/types/unit.kt"); + doTest(fileName); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/methodsFromAny") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MethodsFromAny extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInMethodsFromAny() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("callableReferencesEqualToCallablesFromAPI.kt") + public void testCallableReferencesEqualToCallablesFromAPI() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt"); + doTest(fileName); + } + + @TestMetadata("classToString.kt") + public void testClassToString() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/classToString.kt"); + doTest(fileName); + } + + @TestMetadata("extensionPropertyReceiverToString.kt") + public void testExtensionPropertyReceiverToString() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/extensionPropertyReceiverToString.kt"); + doTest(fileName); + } + + @TestMetadata("functionEqualsHashCode.kt") + public void testFunctionEqualsHashCode() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt"); + doTest(fileName); + } + + @TestMetadata("functionToString.kt") + public void testFunctionToString() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/functionToString.kt"); + doTest(fileName); + } + + @TestMetadata("memberExtensionToString.kt") + public void testMemberExtensionToString() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/memberExtensionToString.kt"); + doTest(fileName); + } + + @TestMetadata("parametersEqualsHashCode.kt") + public void testParametersEqualsHashCode() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/parametersEqualsHashCode.kt"); + doTest(fileName); + } + + @TestMetadata("parametersToString.kt") + public void testParametersToString() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/parametersToString.kt"); + doTest(fileName); + } + + @TestMetadata("propertyEqualsHashCode.kt") + public void testPropertyEqualsHashCode() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/propertyEqualsHashCode.kt"); + doTest(fileName); + } + + @TestMetadata("propertyToString.kt") + public void testPropertyToString() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/propertyToString.kt"); + doTest(fileName); + } + + @TestMetadata("typeEqualsHashCode.kt") + public void testTypeEqualsHashCode() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/typeEqualsHashCode.kt"); + doTest(fileName); + } + + @TestMetadata("typeToString.kt") + public void testTypeToString() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/typeToString.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/noReflectAtRuntime") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NoReflectAtRuntime extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInNoReflectAtRuntime() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime"), Pattern.compile("^(.+)\\.kt$"), true); } @TestMetadata("javaClass.kt") public void testJavaClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noKotlinReflect/javaClass.kt"); + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noReflectAtRuntime/javaClass.kt"); doTest(fileName); } @TestMetadata("primitiveJavaClass.kt") public void testPrimitiveJavaClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noKotlinReflect/primitiveJavaClass.kt"); + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noReflectAtRuntime/primitiveJavaClass.kt"); doTest(fileName); } @TestMetadata("propertyGetSetName.kt") public void testPropertyGetSetName() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noKotlinReflect/propertyGetSetName.kt"); + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noReflectAtRuntime/propertyGetSetName.kt"); doTest(fileName); } @TestMetadata("propertyInstanceof.kt") public void testPropertyInstanceof() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noKotlinReflect/propertyInstanceof.kt"); + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noReflectAtRuntime/propertyInstanceof.kt"); doTest(fileName); } @TestMetadata("reifiedTypeJavaClass.kt") public void testReifiedTypeJavaClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noKotlinReflect/reifiedTypeJavaClass.kt"); + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noReflectAtRuntime/reifiedTypeJavaClass.kt"); doTest(fileName); } @TestMetadata("simpleClassLiterals.kt") public void testSimpleClassLiterals() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noKotlinReflect/simpleClassLiterals.kt"); + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noReflectAtRuntime/simpleClassLiterals.kt"); doTest(fileName); } - @TestMetadata("compiler/testData/codegen/box/reflection/noKotlinReflect/methodsFromAny") + @TestMetadata("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class MethodsFromAny extends AbstractBlackBoxCodegenTest { public void testAllFilesPresentInMethodsFromAny() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/noKotlinReflect/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), true); } @TestMetadata("callableReferences.kt") public void testCallableReferences() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noKotlinReflect/methodsFromAny/callableReferences.kt"); + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt"); doTest(fileName); } @TestMetadata("classReference.kt") public void testClassReference() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noKotlinReflect/methodsFromAny/classReference.kt"); + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/classReference.kt"); doTest(fileName); } } } + + @TestMetadata("compiler/testData/codegen/box/reflection/parameters") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Parameters extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInParameters() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/parameters"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("functionParameterNameAndIndex.kt") + public void testFunctionParameterNameAndIndex() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/parameters/functionParameterNameAndIndex.kt"); + doTest(fileName); + } + + @TestMetadata("isMarkedNullable.kt") + public void testIsMarkedNullable() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/parameters/isMarkedNullable.kt"); + doTest(fileName); + } + + @TestMetadata("isOptional.kt") + public void testIsOptional() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/parameters/isOptional.kt"); + doTest(fileName); + } + + @TestMetadata("kinds.kt") + public void testKinds() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/parameters/kinds.kt"); + doTest(fileName); + } + + @TestMetadata("propertySetter.kt") + public void testPropertySetter() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/parameters/propertySetter.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/properties") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Properties extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInProperties() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("allVsDeclared.kt") + public void testAllVsDeclared() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt"); + doTest(fileName); + } + + @TestMetadata("callPrivatePropertyFromGetProperties.kt") + public void testCallPrivatePropertyFromGetProperties() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/callPrivatePropertyFromGetProperties.kt"); + doTest(fileName); + } + + @TestMetadata("fakeOverridesInSubclass.kt") + public void testFakeOverridesInSubclass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/fakeOverridesInSubclass.kt"); + doTest(fileName); + } + + @TestMetadata("genericClassLiteralPropertyReceiverIsStar.kt") + public void testGenericClassLiteralPropertyReceiverIsStar() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt"); + doTest(fileName); + } + + @TestMetadata("getExtensionPropertiesMutableVsReadonly.kt") + public void testGetExtensionPropertiesMutableVsReadonly() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt"); + doTest(fileName); + } + + @TestMetadata("getPropertiesMutableVsReadonly.kt") + public void testGetPropertiesMutableVsReadonly() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/getPropertiesMutableVsReadonly.kt"); + doTest(fileName); + } + + @TestMetadata("invokeKProperty.kt") + public void testInvokeKProperty() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt"); + doTest(fileName); + } + + @TestMetadata("memberAndMemberExtensionWithSameName.kt") + public void testMemberAndMemberExtensionWithSameName() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt"); + doTest(fileName); + } + + @TestMetadata("privateClassVal.kt") + public void testPrivateClassVal() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/privateClassVal.kt"); + doTest(fileName); + } + + @TestMetadata("privateClassVar.kt") + public void testPrivateClassVar() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/privateClassVar.kt"); + doTest(fileName); + } + + @TestMetadata("privateFakeOverrideFromSuperclass.kt") + public void testPrivateFakeOverrideFromSuperclass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt"); + doTest(fileName); + } + + @TestMetadata("privateJvmStaticVarInObject.kt") + public void testPrivateJvmStaticVarInObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/privateJvmStaticVarInObject.kt"); + doTest(fileName); + } + + @TestMetadata("privatePropertyCallIsAccessibleOnAccessors.kt") + public void testPrivatePropertyCallIsAccessibleOnAccessors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/privatePropertyCallIsAccessibleOnAccessors.kt"); + doTest(fileName); + } + + @TestMetadata("privateToThisAccessors.kt") + public void testPrivateToThisAccessors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/privateToThisAccessors.kt"); + doTest(fileName); + } + + @TestMetadata("propertyOfNestedClassAndArrayType.kt") + public void testPropertyOfNestedClassAndArrayType() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/propertyOfNestedClassAndArrayType.kt"); + doTest(fileName); + } + + @TestMetadata("protectedClassVar.kt") + public void testProtectedClassVar() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/protectedClassVar.kt"); + doTest(fileName); + } + + @TestMetadata("publicClassValAccessible.kt") + public void testPublicClassValAccessible() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/publicClassValAccessible.kt"); + doTest(fileName); + } + + @TestMetadata("simpleGetProperties.kt") + public void testSimpleGetProperties() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt"); + doTest(fileName); + } + + @TestMetadata("compiler/testData/codegen/box/reflection/properties/accessors") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Accessors extends AbstractBlackBoxCodegenTest { + @TestMetadata("accessorNames.kt") + public void testAccessorNames() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/accessors/accessorNames.kt"); + doTest(fileName); + } + + public void testAllFilesPresentInAccessors() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/accessors"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("extensionPropertyAccessors.kt") + public void testExtensionPropertyAccessors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/accessors/extensionPropertyAccessors.kt"); + doTest(fileName); + } + + @TestMetadata("memberExtensions.kt") + public void testMemberExtensions() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/accessors/memberExtensions.kt"); + doTest(fileName); + } + + @TestMetadata("memberPropertyAccessors.kt") + public void testMemberPropertyAccessors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/accessors/memberPropertyAccessors.kt"); + doTest(fileName); + } + + @TestMetadata("topLevelPropertyAccessors.kt") + public void testTopLevelPropertyAccessors() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/properties/accessors/topLevelPropertyAccessors.kt"); + doTest(fileName); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/specialBuiltIns") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SpecialBuiltIns extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInSpecialBuiltIns() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/specialBuiltIns"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("getMembersOfStandardJavaClasses.kt") + public void testGetMembersOfStandardJavaClasses() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/specialBuiltIns/getMembersOfStandardJavaClasses.kt"); + doTest(fileName); + } + } } @TestMetadata("compiler/testData/codegen/box/regressions") @@ -8482,6 +11167,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/regressions"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("collections.kt") + public void testCollections() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/collections.kt"); + doTest(fileName); + } + @TestMetadata("doubleMerge.kt") public void testDoubleMerge() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/doubleMerge.kt"); @@ -8494,24 +11185,132 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("generic.kt") + public void testGeneric() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/generic.kt"); + doTest(fileName); + } + + @TestMetadata("getGenericInterfaces.kt") + public void testGetGenericInterfaces() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/getGenericInterfaces.kt"); + doTest(fileName); + } + @TestMetadata("kt10934.kt") public void testKt10934() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt10934.kt"); doTest(fileName); } + @TestMetadata("Kt1149.kt") + public void testKt1149() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/Kt1149.kt"); + doTest(fileName); + } + + @TestMetadata("kt1172.kt") + public void testKt1172() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt1172.kt"); + doTest(fileName); + } + + @TestMetadata("kt1202.kt") + public void testKt1202() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt1202.kt"); + doTest(fileName); + } + + @TestMetadata("kt1406.kt") + public void testKt1406() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt1406.kt"); + doTest(fileName); + } + + @TestMetadata("kt1568.kt") + public void testKt1568() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt1568.kt"); + doTest(fileName); + } + + @TestMetadata("Kt1619Test.kt") + public void testKt1619Test() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/Kt1619Test.kt"); + doTest(fileName); + } + + @TestMetadata("kt1779.kt") + public void testKt1779() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt1779.kt"); + doTest(fileName); + } + + @TestMetadata("kt1800.kt") + public void testKt1800() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt1800.kt"); + doTest(fileName); + } + + @TestMetadata("kt1932.kt") + public void testKt1932() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt1932.kt"); + doTest(fileName); + } + + @TestMetadata("kt2017.kt") + public void testKt2017() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt2017.kt"); + doTest(fileName); + } + @TestMetadata("kt2210.kt") public void testKt2210() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt2210.kt"); doTest(fileName); } + @TestMetadata("kt2246.kt") + public void testKt2246() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt2246.kt"); + doTest(fileName); + } + + @TestMetadata("kt2318.kt") + public void testKt2318() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt2318.kt"); + doTest(fileName); + } + + @TestMetadata("Kt2495Test.kt") + public void testKt2495Test() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/Kt2495Test.kt"); + doTest(fileName); + } + @TestMetadata("kt2509.kt") public void testKt2509() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt2509.kt"); doTest(fileName); } + @TestMetadata("kt2593.kt") + public void testKt2593() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt2593.kt"); + doTest(fileName); + } + + @TestMetadata("kt274.kt") + public void testKt274() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt274.kt"); + doTest(fileName); + } + + @TestMetadata("kt3046.kt") + public void testKt3046() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt3046.kt"); + doTest(fileName); + } + @TestMetadata("kt3107.kt") public void testKt3107() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt3107.kt"); @@ -8524,6 +11323,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("kt344.kt") + public void testKt344() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt344.kt"); + doTest(fileName); + } + + @TestMetadata("kt3442.kt") + public void testKt3442() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt3442.kt"); + doTest(fileName); + } + @TestMetadata("kt3587.kt") public void testKt3587() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt3587.kt"); @@ -8548,6 +11359,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("kt4259.kt") + public void testKt4259() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt4259.kt"); + doTest(fileName); + } + + @TestMetadata("kt4262.kt") + public void testKt4262() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt4262.kt"); + doTest(fileName); + } + @TestMetadata("kt4281.kt") public void testKt4281() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt4281.kt"); @@ -8560,18 +11383,78 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("kt5056.kt") + public void testKt5056() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt5056.kt"); + doTest(fileName); + } + + @TestMetadata("kt528.kt") + public void testKt528() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt528.kt"); + doTest(fileName); + } + + @TestMetadata("kt529.kt") + public void testKt529() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt529.kt"); + doTest(fileName); + } + + @TestMetadata("kt533.kt") + public void testKt533() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt533.kt"); + doTest(fileName); + } + @TestMetadata("kt5395.kt") public void testKt5395() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt5395.kt"); doTest(fileName); } + @TestMetadata("kt5786_privateWithDefault.kt") + public void testKt5786_privateWithDefault() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt5786_privateWithDefault.kt"); + doTest(fileName); + } + + @TestMetadata("kt5953.kt") + public void testKt5953() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt5953.kt"); + doTest(fileName); + } + @TestMetadata("kt6153.kt") public void testKt6153() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt6153.kt"); doTest(fileName); } + @TestMetadata("kt6434.kt") + public void testKt6434() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt6434.kt"); + doTest(fileName); + } + + @TestMetadata("kt6434_2.kt") + public void testKt6434_2() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt6434_2.kt"); + doTest(fileName); + } + + @TestMetadata("kt6485.kt") + public void testKt6485() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt6485.kt"); + doTest(fileName); + } + + @TestMetadata("kt715.kt") + public void testKt715() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt715.kt"); + doTest(fileName); + } + @TestMetadata("kt7401.kt") public void testKt7401() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt7401.kt"); @@ -8584,6 +11467,36 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("kt864.kt") + public void testKt864() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt864.kt"); + doTest(fileName); + } + + @TestMetadata("kt998.kt") + public void testKt998() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt998.kt"); + doTest(fileName); + } + + @TestMetadata("objectCaptureOuterConstructorProperty.kt") + public void testObjectCaptureOuterConstructorProperty() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/objectCaptureOuterConstructorProperty.kt"); + doTest(fileName); + } + + @TestMetadata("referenceToSelfInLocal.kt") + public void testReferenceToSelfInLocal() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/referenceToSelfInLocal.kt"); + doTest(fileName); + } + + @TestMetadata("typeCastException.kt") + public void testTypeCastException() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/typeCastException.kt"); + doTest(fileName); + } + @TestMetadata("unjustifiedReferenceTarget.kt") public void testUnjustifiedReferenceTarget() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/unjustifiedReferenceTarget.kt"); @@ -8599,6 +11512,162 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reified"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("anonymousObject.kt") + public void testAnonymousObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/anonymousObject.kt"); + doTest(fileName); + } + + @TestMetadata("anonymousObjectNoPropagate.kt") + public void testAnonymousObjectNoPropagate() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/anonymousObjectNoPropagate.kt"); + doTest(fileName); + } + + @TestMetadata("anonymousObjectReifiedSupertype.kt") + public void testAnonymousObjectReifiedSupertype() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/anonymousObjectReifiedSupertype.kt"); + doTest(fileName); + } + + @TestMetadata("approximateCapturedTypes.kt") + public void testApproximateCapturedTypes() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/approximateCapturedTypes.kt"); + doTest(fileName); + } + + @TestMetadata("checkcast.kt") + public void testCheckcast() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/checkcast.kt"); + doTest(fileName); + } + + @TestMetadata("copyToArray.kt") + public void testCopyToArray() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/copyToArray.kt"); + doTest(fileName); + } + + @TestMetadata("DIExample.kt") + public void testDIExample() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/DIExample.kt"); + doTest(fileName); + } + + @TestMetadata("defaultJavaClass.kt") + public void testDefaultJavaClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/defaultJavaClass.kt"); + doTest(fileName); + } + + @TestMetadata("filterIsInstance.kt") + public void testFilterIsInstance() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/filterIsInstance.kt"); + doTest(fileName); + } + + @TestMetadata("innerAnonymousObject.kt") + public void testInnerAnonymousObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/innerAnonymousObject.kt"); + doTest(fileName); + } + + @TestMetadata("instanceof.kt") + public void testInstanceof() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/instanceof.kt"); + doTest(fileName); + } + + @TestMetadata("javaClass.kt") + public void testJavaClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/javaClass.kt"); + doTest(fileName); + } + + @TestMetadata("nestedReified.kt") + public void testNestedReified() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/nestedReified.kt"); + doTest(fileName); + } + + @TestMetadata("nestedReifiedSignature.kt") + public void testNestedReifiedSignature() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/nestedReifiedSignature.kt"); + doTest(fileName); + } + + @TestMetadata("newArrayInt.kt") + public void testNewArrayInt() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/newArrayInt.kt"); + doTest(fileName); + } + + @TestMetadata("nonInlineableLambdaInReifiedFunction.kt") + public void testNonInlineableLambdaInReifiedFunction() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/nonInlineableLambdaInReifiedFunction.kt"); + doTest(fileName); + } + + @TestMetadata("recursiveInnerAnonymousObject.kt") + public void testRecursiveInnerAnonymousObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/recursiveInnerAnonymousObject.kt"); + doTest(fileName); + } + + @TestMetadata("recursiveNewArray.kt") + public void testRecursiveNewArray() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/recursiveNewArray.kt"); + doTest(fileName); + } + + @TestMetadata("recursiveNonInlineableLambda.kt") + public void testRecursiveNonInlineableLambda() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/recursiveNonInlineableLambda.kt"); + doTest(fileName); + } + + @TestMetadata("reifiedInlineFunOfObject.kt") + public void testReifiedInlineFunOfObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/reifiedInlineFunOfObject.kt"); + doTest(fileName); + } + + @TestMetadata("reifiedInlineFunOfObjectWithinReified.kt") + public void testReifiedInlineFunOfObjectWithinReified() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/reifiedInlineFunOfObjectWithinReified.kt"); + doTest(fileName); + } + + @TestMetadata("reifiedInlineIntoNonInlineableLambda.kt") + public void testReifiedInlineIntoNonInlineableLambda() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/reifiedInlineIntoNonInlineableLambda.kt"); + doTest(fileName); + } + + @TestMetadata("safecast.kt") + public void testSafecast() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/safecast.kt"); + doTest(fileName); + } + + @TestMetadata("sameIndexRecursive.kt") + public void testSameIndexRecursive() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/sameIndexRecursive.kt"); + doTest(fileName); + } + + @TestMetadata("spreads.kt") + public void testSpreads() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/spreads.kt"); + doTest(fileName); + } + + @TestMetadata("varargs.kt") + public void testVarargs() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/varargs.kt"); + doTest(fileName); + } + @TestMetadata("compiler/testData/codegen/box/reified/arraysReification") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -8607,12 +11676,36 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("instanceOf.kt") + public void testInstanceOf() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt"); + doTest(fileName); + } + + @TestMetadata("instanceOfArrays.kt") + public void testInstanceOfArrays() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt"); + doTest(fileName); + } + + @TestMetadata("jClass.kt") + public void testJClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/arraysReification/jClass.kt"); + doTest(fileName); + } + @TestMetadata("jaggedArray.kt") public void testJaggedArray() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/arraysReification/jaggedArray.kt"); doTest(fileName); } + @TestMetadata("jaggedArrayOfNulls.kt") + public void testJaggedArrayOfNulls() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/arraysReification/jaggedArrayOfNulls.kt"); + doTest(fileName); + } + @TestMetadata("jaggedDeep.kt") public void testJaggedDeep() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reified/arraysReification/jaggedDeep.kt"); @@ -8909,6 +12002,33 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { } } + @TestMetadata("compiler/testData/codegen/box/smap") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Smap extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInSmap() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/smap"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("chainCalls.kt") + public void testChainCalls() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/smap/chainCalls.kt"); + doTest(fileName); + } + + @TestMetadata("infixCalls.kt") + public void testInfixCalls() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/smap/infixCalls.kt"); + doTest(fileName); + } + + @TestMetadata("simpleCallWithParams.kt") + public void testSimpleCallWithParams() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/smap/simpleCallWithParams.kt"); + doTest(fileName); + } + } + @TestMetadata("compiler/testData/codegen/box/smartCasts") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -9164,6 +12284,45 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { } } + @TestMetadata("compiler/testData/codegen/box/storeStackBeforeInline") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class StoreStackBeforeInline extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInStoreStackBeforeInline() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/storeStackBeforeInline"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("differentTypes.kt") + public void testDifferentTypes() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/storeStackBeforeInline/differentTypes.kt"); + doTest(fileName); + } + + @TestMetadata("primitiveMerge.kt") + public void testPrimitiveMerge() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/storeStackBeforeInline/primitiveMerge.kt"); + doTest(fileName); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/storeStackBeforeInline/simple.kt"); + doTest(fileName); + } + + @TestMetadata("unreachableMarker.kt") + public void testUnreachableMarker() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/storeStackBeforeInline/unreachableMarker.kt"); + doTest(fileName); + } + + @TestMetadata("withLambda.kt") + public void testWithLambda() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/storeStackBeforeInline/withLambda.kt"); + doTest(fileName); + } + } + @TestMetadata("compiler/testData/codegen/box/strings") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -9178,6 +12337,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("forInString.kt") + public void testForInString() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/strings/forInString.kt"); + doTest(fileName); + } + @TestMetadata("interpolation.kt") public void testInterpolation() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/strings/interpolation.kt"); @@ -9255,6 +12420,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/strings/stringBuilderAppend.kt"); doTest(fileName); } + + @TestMetadata("stringPlusOnlyWorksOnString.kt") + public void testStringPlusOnlyWorksOnString() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt"); + doTest(fileName); + } } @TestMetadata("compiler/testData/codegen/box/super") @@ -9509,6 +12680,135 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { } } + @TestMetadata("compiler/testData/codegen/box/synchronized") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Synchronized extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInSynchronized() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/synchronized"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("changeMonitor.kt") + public void testChangeMonitor() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/synchronized/changeMonitor.kt"); + doTest(fileName); + } + + @TestMetadata("exceptionInMonitorExpression.kt") + public void testExceptionInMonitorExpression() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/synchronized/exceptionInMonitorExpression.kt"); + doTest(fileName); + } + + @TestMetadata("finally.kt") + public void testFinally() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/synchronized/finally.kt"); + doTest(fileName); + } + + @TestMetadata("longValue.kt") + public void testLongValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/synchronized/longValue.kt"); + doTest(fileName); + } + + @TestMetadata("nestedDifferentObjects.kt") + public void testNestedDifferentObjects() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/synchronized/nestedDifferentObjects.kt"); + doTest(fileName); + } + + @TestMetadata("nestedSameObject.kt") + public void testNestedSameObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/synchronized/nestedSameObject.kt"); + doTest(fileName); + } + + @TestMetadata("nonLocalReturn.kt") + public void testNonLocalReturn() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/synchronized/nonLocalReturn.kt"); + doTest(fileName); + } + + @TestMetadata("objectValue.kt") + public void testObjectValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/synchronized/objectValue.kt"); + doTest(fileName); + } + + @TestMetadata("sync.kt") + public void testSync() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/synchronized/sync.kt"); + doTest(fileName); + } + + @TestMetadata("value.kt") + public void testValue() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/synchronized/value.kt"); + doTest(fileName); + } + + @TestMetadata("wait.kt") + public void testWait() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/synchronized/wait.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/syntheticAccessors") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SyntheticAccessors extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInSyntheticAccessors() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("syntheticAccessorNames.kt") + public void testSyntheticAccessorNames() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/syntheticAccessors/syntheticAccessorNames.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/toArray") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ToArray extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInToArray() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/toArray"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("kt3177-toTypedArray.kt") + public void testKt3177_toTypedArray() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/toArray/kt3177-toTypedArray.kt"); + doTest(fileName); + } + + @TestMetadata("returnToTypedArray.kt") + public void testReturnToTypedArray() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/toArray/returnToTypedArray.kt"); + doTest(fileName); + } + + @TestMetadata("toArray.kt") + public void testToArray() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/toArray/toArray.kt"); + doTest(fileName); + } + + @TestMetadata("toArrayAlreadyPresent.kt") + public void testToArrayAlreadyPresent() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/toArray/toArrayAlreadyPresent.kt"); + doTest(fileName); + } + + @TestMetadata("toTypedArray.kt") + public void testToTypedArray() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/toArray/toTypedArray.kt"); + doTest(fileName); + } + } + @TestMetadata("compiler/testData/codegen/box/topLevelPrivate") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -9517,6 +12817,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/topLevelPrivate"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("noPrivateNoAccessorsInMultiFileFacade.kt") + public void testNoPrivateNoAccessorsInMultiFileFacade() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade.kt"); + doTest(fileName); + } + + @TestMetadata("noPrivateNoAccessorsInMultiFileFacade2.kt") + public void testNoPrivateNoAccessorsInMultiFileFacade2() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade2.kt"); + doTest(fileName); + } + @TestMetadata("privateInInlineNested.kt") public void testPrivateInInlineNested() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/topLevelPrivate/privateInInlineNested.kt"); @@ -9534,6 +12846,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/topLevelPrivate/syntheticAccessor.kt"); doTest(fileName); } + + @TestMetadata("syntheticAccessorInMultiFile.kt") + public void testSyntheticAccessorInMultiFile() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/topLevelPrivate/syntheticAccessorInMultiFile.kt"); + doTest(fileName); + } } @TestMetadata("compiler/testData/codegen/box/traits") @@ -9754,6 +13072,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/typeMapping"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("genericTypeWithNothing.kt") + public void testGenericTypeWithNothing() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/typeMapping/genericTypeWithNothing.kt"); + doTest(fileName); + } + @TestMetadata("kt2831.kt") public void testKt2831() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/typeMapping/kt2831.kt"); @@ -9789,6 +13113,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/typeMapping/nullableNothing.kt"); doTest(fileName); } + + @TestMetadata("typeParameterMultipleBounds.kt") + public void testTypeParameterMultipleBounds() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/typeMapping/typeParameterMultipleBounds.kt"); + doTest(fileName); + } } @TestMetadata("compiler/testData/codegen/box/unaryOp") @@ -9943,6 +13273,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("spreadCopiesArray.kt") + public void testSpreadCopiesArray() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/vararg/spreadCopiesArray.kt"); + doTest(fileName); + } + @TestMetadata("varargInFunParam.kt") public void testVarargInFunParam() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/vararg/varargInFunParam.kt"); @@ -10000,6 +13336,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("integralWhenWithNoInlinedConstants.kt") + public void testIntegralWhenWithNoInlinedConstants() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/integralWhenWithNoInlinedConstants.kt"); + doTest(fileName); + } + @TestMetadata("is.kt") public void testIs() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/is.kt"); @@ -10024,6 +13366,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("kt5448.kt") + public void testKt5448() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/kt5448.kt"); + doTest(fileName); + } + @TestMetadata("longInRange.kt") public void testLongInRange() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/longInRange.kt"); @@ -10084,6 +13432,42 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } + @TestMetadata("switchOptimizationDense.kt") + public void testSwitchOptimizationDense() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/switchOptimizationDense.kt"); + doTest(fileName); + } + + @TestMetadata("switchOptimizationMultipleConditions.kt") + public void testSwitchOptimizationMultipleConditions() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt"); + doTest(fileName); + } + + @TestMetadata("switchOptimizationSparse.kt") + public void testSwitchOptimizationSparse() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/switchOptimizationSparse.kt"); + doTest(fileName); + } + + @TestMetadata("switchOptimizationStatement.kt") + public void testSwitchOptimizationStatement() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/switchOptimizationStatement.kt"); + doTest(fileName); + } + + @TestMetadata("switchOptimizationTypes.kt") + public void testSwitchOptimizationTypes() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/switchOptimizationTypes.kt"); + doTest(fileName); + } + + @TestMetadata("switchOptimizationUnordered.kt") + public void testSwitchOptimizationUnordered() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/switchOptimizationUnordered.kt"); + doTest(fileName); + } + @TestMetadata("typeDisjunction.kt") public void testTypeDisjunction() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/typeDisjunction.kt"); @@ -10104,17 +13488,116 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/when/enumOptimization"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("bigEnum.kt") + public void testBigEnum() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/enumOptimization/bigEnum.kt"); + doTest(fileName); + } + + @TestMetadata("duplicatingItems.kt") + public void testDuplicatingItems() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/enumOptimization/duplicatingItems.kt"); + doTest(fileName); + } + + @TestMetadata("enumInsideClassObject.kt") + public void testEnumInsideClassObject() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/enumOptimization/enumInsideClassObject.kt"); + doTest(fileName); + } + + @TestMetadata("expression.kt") + public void testExpression() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/enumOptimization/expression.kt"); + doTest(fileName); + } + + @TestMetadata("functionLiteralInTopLevel.kt") + public void testFunctionLiteralInTopLevel() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/enumOptimization/functionLiteralInTopLevel.kt"); + doTest(fileName); + } + + @TestMetadata("manyWhensWithinClass.kt") + public void testManyWhensWithinClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/enumOptimization/manyWhensWithinClass.kt"); + doTest(fileName); + } + @TestMetadata("nonConstantEnum.kt") public void testNonConstantEnum() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/enumOptimization/nonConstantEnum.kt"); doTest(fileName); } + @TestMetadata("nullability.kt") + public void testNullability() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/enumOptimization/nullability.kt"); + doTest(fileName); + } + @TestMetadata("nullableEnum.kt") public void testNullableEnum() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/enumOptimization/nullableEnum.kt"); doTest(fileName); } + + @TestMetadata("subjectAny.kt") + public void testSubjectAny() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/enumOptimization/subjectAny.kt"); + doTest(fileName); + } + + @TestMetadata("withoutElse.kt") + public void testWithoutElse() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/enumOptimization/withoutElse.kt"); + doTest(fileName); + } + } + + @TestMetadata("compiler/testData/codegen/box/when/stringOptimization") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class StringOptimization extends AbstractBlackBoxCodegenTest { + public void testAllFilesPresentInStringOptimization() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/when/stringOptimization"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("duplicatingItems.kt") + public void testDuplicatingItems() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/stringOptimization/duplicatingItems.kt"); + doTest(fileName); + } + + @TestMetadata("duplicatingItemsSameHashCode.kt") + public void testDuplicatingItemsSameHashCode() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode.kt"); + doTest(fileName); + } + + @TestMetadata("expression.kt") + public void testExpression() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/stringOptimization/expression.kt"); + doTest(fileName); + } + + @TestMetadata("nullability.kt") + public void testNullability() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/stringOptimization/nullability.kt"); + doTest(fileName); + } + + @TestMetadata("sameHashCode.kt") + public void testSameHashCode() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/stringOptimization/sameHashCode.kt"); + doTest(fileName); + } + + @TestMetadata("statement.kt") + public void testStatement() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/when/stringOptimization/statement.kt"); + doTest(fileName); + } } } } diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxWithStdlibCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxWithStdlibCodegenTestGenerated.java deleted file mode 100644 index cacb301e5ba..00000000000 --- a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxWithStdlibCodegenTestGenerated.java +++ /dev/null @@ -1,3835 +0,0 @@ -/* - * Copyright 2010-2016 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.jetbrains.kotlin.codegen; - -import com.intellij.testFramework.TestDataPath; -import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; -import org.jetbrains.kotlin.test.KotlinTestUtils; -import org.jetbrains.kotlin.test.TestMetadata; -import org.junit.runner.RunWith; - -import java.io.File; -import java.util.regex.Pattern; - -/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */ -@SuppressWarnings("all") -@TestMetadata("compiler/testData/codegen/boxWithStdlib") -@TestDataPath("$PROJECT_ROOT") -@RunWith(JUnit3RunnerWithInners.class) -public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInBoxWithStdlib() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/annotations") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Annotations extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInAnnotations() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/annotations"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("annotatedEnumEntry.kt") - public void testAnnotatedEnumEntry() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/annotatedEnumEntry.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("annotatedObjectLiteral.kt") - public void testAnnotatedObjectLiteral() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/annotatedObjectLiteral.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("annotationsOnDefault.kt") - public void testAnnotationsOnDefault() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/annotationsOnDefault.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("defaultParameterValues.kt") - public void testDefaultParameterValues() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/defaultParameterValues.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("delegatedPropertySetter.kt") - public void testDelegatedPropertySetter() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/delegatedPropertySetter.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("fileClassWithFileAnnotation.kt") - public void testFileClassWithFileAnnotation() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/fileClassWithFileAnnotation.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kotlinPropertyFromClassObjectAsParameter.kt") - public void testKotlinPropertyFromClassObjectAsParameter() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/kotlinPropertyFromClassObjectAsParameter.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kotlinTopLevelPropertyAsParameter.kt") - public void testKotlinTopLevelPropertyAsParameter() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/kotlinTopLevelPropertyAsParameter.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt10136.kt") - public void testKt10136() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/kt10136.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nestedClassPropertyAsParameter.kt") - public void testNestedClassPropertyAsParameter() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/nestedClassPropertyAsParameter.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("parameterWithPrimitiveType.kt") - public void testParameterWithPrimitiveType() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/parameterWithPrimitiveType.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyWithPropertyInInitializerAsParameter.kt") - public void testPropertyWithPropertyInInitializerAsParameter() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/propertyWithPropertyInInitializerAsParameter.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("resolveWithLowPriorityAnnotation.kt") - public void testResolveWithLowPriorityAnnotation() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/resolveWithLowPriorityAnnotation.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("varargInAnnotationParameter.kt") - public void testVarargInAnnotationParameter() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/varargInAnnotationParameter.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/annotations/annotatedLambda") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class AnnotatedLambda extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInAnnotatedLambda() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/annotations/annotatedLambda"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("funExpression.kt") - public void testFunExpression() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/annotatedLambda/funExpression.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambda.kt") - public void testLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/annotatedLambda/lambda.kt"); - doTestWithStdlib(fileName); - } - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/arrays") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Arrays extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInArrays() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/arrays"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("arrayConstructorsSimple.kt") - public void testArrayConstructorsSimple() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/arrayConstructorsSimple.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("inProjectionOfList.kt") - public void testInProjectionOfList() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/inProjectionOfList.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("indices.kt") - public void testIndices() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/indices.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("indicesChar.kt") - public void testIndicesChar() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/indicesChar.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt602.kt") - public void testKt602() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/kt602.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt7009.kt") - public void testKt7009() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/kt7009.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt7338.kt") - public void testKt7338() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/kt7338.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("multiArrayConstructors.kt") - public void testMultiArrayConstructors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/multiArrayConstructors.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class BoxingOptimization extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInBoxingOptimization() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("casts.kt") - public void testCasts() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/casts.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("checkcastAndInstanceOf.kt") - public void testCheckcastAndInstanceOf() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/checkcastAndInstanceOf.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("fold.kt") - public void testFold() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/fold.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("foldRange.kt") - public void testFoldRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/foldRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt5844.kt") - public void testKt5844() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/kt5844.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt6047.kt") - public void testKt6047() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/kt6047.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt6842.kt") - public void testKt6842() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/kt6842.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nullCheck.kt") - public void testNullCheck() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/nullCheck.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("progressions.kt") - public void testProgressions() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/progressions.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("safeCallWithElvis.kt") - public void testSafeCallWithElvis() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/safeCallWithElvis.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/simple.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleUninitializedMerge.kt") - public void testSimpleUninitializedMerge() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/simpleUninitializedMerge.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("unsafeRemoving.kt") - public void testUnsafeRemoving() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/unsafeRemoving.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("variables.kt") - public void testVariables() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/boxingOptimization/variables.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/callableReference") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class CallableReference extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInCallableReference() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/callableReference"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/callableReference/function") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Function extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInFunction() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/callableReference/function"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("getArityViaFunctionImpl.kt") - public void testGetArityViaFunctionImpl() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/callableReference/function/getArityViaFunctionImpl.kt"); - doTestWithStdlib(fileName); - } - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/casts") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Casts extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInCasts() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/casts"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("asFunKBig.kt") - public void testAsFunKBig() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/asFunKBig.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("asWithGeneric.kt") - public void testAsWithGeneric() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/asWithGeneric.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("asWithMutable.kt") - public void testAsWithMutable() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/asWithMutable.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("isFunKBig.kt") - public void testIsFunKBig() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/isFunKBig.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("isFunKSmall.kt") - public void testIsFunKSmall() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/isFunKSmall.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("isWithMutable.kt") - public void testIsWithMutable() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/isWithMutable.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reifiedAsFunKBig.kt") - public void testReifiedAsFunKBig() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/reifiedAsFunKBig.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reifiedAsWithMutable.kt") - public void testReifiedAsWithMutable() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/reifiedAsWithMutable.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reifiedIsFunKBig.kt") - public void testReifiedIsFunKBig() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/reifiedIsFunKBig.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reifiedIsFunKSmall.kt") - public void testReifiedIsFunKSmall() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/reifiedIsFunKSmall.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reifiedIsWithMutable.kt") - public void testReifiedIsWithMutable() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/reifiedIsWithMutable.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reifiedSafeAsWithMutable.kt") - public void testReifiedSafeAsWithMutable() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/reifiedSafeAsWithMutable.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("safeAsFunKBig.kt") - public void testSafeAsFunKBig() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/safeAsFunKBig.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("safeAsFunKSmall.kt") - public void testSafeAsFunKSmall() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/safeAsFunKSmall.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("safeAsWithMutable.kt") - public void testSafeAsWithMutable() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/safeAsWithMutable.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("unitAsInt.kt") - public void testUnitAsInt() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/unitAsInt.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("weirdMutableCasts.kt") - public void testWeirdMutableCasts() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/weirdMutableCasts.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/classes") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Classes extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInClasses() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/classes"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("kt8011.kt") - public void testKt8011() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/classes/kt8011.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("mutabilityMarkerInterfaces.kt") - public void testMutabilityMarkerInterfaces() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/classes/mutabilityMarkerInterfaces.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/const") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Const extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInConst() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/const"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("constValInAnnotationDefault.kt") - public void testConstValInAnnotationDefault() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/const/constValInAnnotationDefault.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("interfaceCompanion.kt") - public void testInterfaceCompanion() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/const/interfaceCompanion.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/controlStructures") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class ControlStructures extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInControlStructures() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/controlStructures"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("continueInExpr.kt") - public void testContinueInExpr() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/controlStructures/continueInExpr.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/dataClasses") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class DataClasses extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInDataClasses() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/dataClasses"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/dataClasses/equals") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Equals extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInEquals() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/dataClasses/equals"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("alreadyDeclaredWrongSignature.kt") - public void testAlreadyDeclaredWrongSignature() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/dataClasses/equals/alreadyDeclaredWrongSignature.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/dataClasses/hashcode") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Hashcode extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInHashcode() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/dataClasses/hashcode"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("alreadyDeclaredWrongSignature.kt") - public void testAlreadyDeclaredWrongSignature() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/dataClasses/hashcode/alreadyDeclaredWrongSignature.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/dataClasses/tostring") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Tostring extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInTostring() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/dataClasses/tostring"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("alreadyDeclaredWrongSignature.kt") - public void testAlreadyDeclaredWrongSignature() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/dataClasses/tostring/alreadyDeclaredWrongSignature.kt"); - doTestWithStdlib(fileName); - } - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/deadCodeElimination") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class DeadCodeElimination extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInDeadCodeElimination() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/deadCodeElimination"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("emptyVariableRange.kt") - public void testEmptyVariableRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/deadCodeElimination/emptyVariableRange.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/defaultArguments") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class DefaultArguments extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInDefaultArguments() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("kt6382.kt") - public void testKt6382() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/defaultArguments/kt6382.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("superCallCheck.kt") - public void testSuperCallCheck() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/defaultArguments/superCallCheck.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/defaultArguments/constructor") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Constructor extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInConstructor() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/defaultArguments/constructor"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("checkIfConstructorIsSynthetic.kt") - public void testCheckIfConstructorIsSynthetic() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/defaultArguments/constructor/checkIfConstructorIsSynthetic.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("manyArgs.kt") - public void testManyArgs() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/defaultArguments/constructor/manyArgs.kt"); - doTestWithStdlib(fileName); - } - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/delegatedProperty") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class DelegatedProperty extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInDelegatedProperty() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/delegatedProperty"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("delegateWithPrivateSet.kt") - public void testDelegateWithPrivateSet() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/delegatedProperty/delegateWithPrivateSet.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt6722.kt") - public void testKt6722() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/delegatedProperty/kt6722.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt9712.kt") - public void testKt9712() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/delegatedProperty/kt9712.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("protectedVarWithPrivateSet.kt") - public void testProtectedVarWithPrivateSet() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/delegatedProperty/protectedVarWithPrivateSet.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("stackOverflowOnCallFromGetValue.kt") - public void testStackOverflowOnCallFromGetValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/delegatedProperty/stackOverflowOnCallFromGetValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("useKPropertyLater.kt") - public void testUseKPropertyLater() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/delegatedProperty/useKPropertyLater.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/enum") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Enum extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInEnum() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/enum"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("sortEnumEntries.kt") - public void testSortEnumEntries() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/enum/sortEnumEntries.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/evaluate") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Evaluate extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInEvaluate() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/evaluate"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("char.kt") - public void testChar() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/char.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("divide.kt") - public void testDivide() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/divide.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("intrincics.kt") - public void testIntrincics() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/intrincics.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt9443.kt") - public void testKt9443() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/kt9443.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("maxValue.kt") - public void testMaxValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/maxValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("maxValueByte.kt") - public void testMaxValueByte() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/maxValueByte.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("maxValueInt.kt") - public void testMaxValueInt() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/maxValueInt.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("miltiply.kt") - public void testMiltiply() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/miltiply.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("minus.kt") - public void testMinus() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/minus.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("mod.kt") - public void testMod() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/mod.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("paranthesized.kt") - public void testParanthesized() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/paranthesized.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("plus.kt") - public void testPlus() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/plus.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleCallBinary.kt") - public void testSimpleCallBinary() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/simpleCallBinary.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("unaryMinus.kt") - public void testUnaryMinus() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/unaryMinus.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("unaryPlus.kt") - public void testUnaryPlus() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/evaluate/unaryPlus.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class FullJdk extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInFullJdk() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/fullJdk"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("constFlags.kt") - public void testConstFlags() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/constFlags.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("jvmAnnotationFlags.kt") - public void testJvmAnnotationFlags() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/jvmAnnotationFlags.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt2423.kt") - public void testKt2423() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/kt2423.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lateinitVisibility.kt") - public void testLateinitVisibility() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/lateinitVisibility.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/native") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Native extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInNative() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/fullJdk/native"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("default.kt") - public void testDefault() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/native/default.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("privateStatic.kt") - public void testPrivateStatic() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/native/privateStatic.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("staticNative.kt") - public void testStaticNative() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/native/staticNative.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/regressions") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Regressions extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInRegressions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/fullJdk/regressions"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("collections.kt") - public void testCollections() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/collections.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt1202.kt") - public void testKt1202() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt1202.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt1406.kt") - public void testKt1406() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt1406.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt274.kt") - public void testKt274() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt274.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt528.kt") - public void testKt528() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt528.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt529.kt") - public void testKt529() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt529.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt533.kt") - public void testKt533() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt533.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt6485.kt") - public void testKt6485() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt6485.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt864.kt") - public void testKt864() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/regressions/kt864.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/smap") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Smap extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInSmap() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/fullJdk/smap"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("chainCalls.kt") - public void testChainCalls() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/smap/chainCalls.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("infixCalls.kt") - public void testInfixCalls() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/smap/infixCalls.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleCallWithParams.kt") - public void testSimpleCallWithParams() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/smap/simpleCallWithParams.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Synchronized extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInSynchronized() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("changeMonitor.kt") - public void testChangeMonitor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/changeMonitor.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("exceptionInMonitorExpression.kt") - public void testExceptionInMonitorExpression() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/exceptionInMonitorExpression.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("finally.kt") - public void testFinally() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/finally.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("longValue.kt") - public void testLongValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/longValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nestedDifferentObjects.kt") - public void testNestedDifferentObjects() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/nestedDifferentObjects.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nestedSameObject.kt") - public void testNestedSameObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/nestedSameObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nonLocalReturn.kt") - public void testNonLocalReturn() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/nonLocalReturn.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("objectValue.kt") - public void testObjectValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/objectValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("sync.kt") - public void testSync() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/sync.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("value.kt") - public void testValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/value.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("wait.kt") - public void testWait() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/fullJdk/synchronized/wait.kt"); - doTestWithStdlib(fileName); - } - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/hashPMap") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class HashPMap extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInHashPMap() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/hashPMap"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("empty.kt") - public void testEmpty() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/hashPMap/empty.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("manyNumbers.kt") - public void testManyNumbers() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/hashPMap/manyNumbers.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("rewriteWithDifferent.kt") - public void testRewriteWithDifferent() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/hashPMap/rewriteWithDifferent.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("rewriteWithEqual.kt") - public void testRewriteWithEqual() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/hashPMap/rewriteWithEqual.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simplePlusGet.kt") - public void testSimplePlusGet() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/hashPMap/simplePlusGet.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simplePlusMinus.kt") - public void testSimplePlusMinus() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/hashPMap/simplePlusMinus.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/inline") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Inline extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInInline() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/inline"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("kt6895.kt") - public void testKt6895() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/inline/kt6895.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt9644let.kt") - public void testKt9644let() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/inline/kt9644let.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/intrinsics") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Intrinsics extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInIntrinsics() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/intrinsics"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("defaultObjectMapping.kt") - public void testDefaultObjectMapping() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/intrinsics/defaultObjectMapping.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt10131.kt") - public void testKt10131() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/intrinsics/kt10131.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt10131a.kt") - public void testKt10131a() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/intrinsics/kt10131a.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt5937.kt") - public void testKt5937() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/intrinsics/kt5937.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/jvmField") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class JvmField extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInJvmField() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/jvmField"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("captureClassFields.kt") - public void testCaptureClassFields() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmField/captureClassFields.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("capturePackageFields.kt") - public void testCapturePackageFields() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmField/capturePackageFields.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("checkNoAccessors.kt") - public void testCheckNoAccessors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmField/checkNoAccessors.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("classFieldReference.kt") - public void testClassFieldReference() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmField/classFieldReference.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("classFieldReflection.kt") - public void testClassFieldReflection() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmField/classFieldReflection.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("publicField.kt") - public void testPublicField() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmField/publicField.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("superCall.kt") - public void testSuperCall() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmField/superCall.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("superCall2.kt") - public void testSuperCall2() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmField/superCall2.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("topLevelFieldReference.kt") - public void testTopLevelFieldReference() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmField/topLevelFieldReference.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("topLevelFieldReflection.kt") - public void testTopLevelFieldReflection() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmField/topLevelFieldReflection.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("visibility.kt") - public void testVisibility() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmField/visibility.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("writeFieldReference.kt") - public void testWriteFieldReference() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmField/writeFieldReference.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/jvmName") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class JvmName extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInJvmName() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/jvmName"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("callableReference.kt") - public void testCallableReference() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmName/callableReference.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("clashingErasure.kt") - public void testClashingErasure() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmName/clashingErasure.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("classMembers.kt") - public void testClassMembers() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmName/classMembers.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("functionName.kt") - public void testFunctionName() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmName/functionName.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("multifileClass.kt") - public void testMultifileClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmName/multifileClass.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("multifileClassWithLocalClass.kt") - public void testMultifileClassWithLocalClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmName/multifileClassWithLocalClass.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("multifileClassWithLocalGeneric.kt") - public void testMultifileClassWithLocalGeneric() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmName/multifileClassWithLocalGeneric.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyAccessorsUseSite.kt") - public void testPropertyAccessorsUseSite() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmName/propertyAccessorsUseSite.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyName.kt") - public void testPropertyName() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmName/propertyName.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("renamedFileClass.kt") - public void testRenamedFileClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmName/renamedFileClass.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/jvmOverloads") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class JvmOverloads extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInJvmOverloads() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/jvmOverloads"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("companionObject.kt") - public void testCompanionObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmOverloads/companionObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("defaultsNotAtEnd.kt") - public void testDefaultsNotAtEnd() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmOverloads/defaultsNotAtEnd.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("doubleParameters.kt") - public void testDoubleParameters() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmOverloads/doubleParameters.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("extensionMethod.kt") - public void testExtensionMethod() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmOverloads/extensionMethod.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("multipleDefaultParameters.kt") - public void testMultipleDefaultParameters() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmOverloads/multipleDefaultParameters.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nonDefaultParameter.kt") - public void testNonDefaultParameter() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmOverloads/nonDefaultParameter.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("primaryConstructor.kt") - public void testPrimaryConstructor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmOverloads/primaryConstructor.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("secondaryConstructor.kt") - public void testSecondaryConstructor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmOverloads/secondaryConstructor.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmOverloads/simple.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class JvmStatic extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInJvmStatic() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/jvmStatic"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("closure.kt") - public void testClosure() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/closure.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("convention.kt") - public void testConvention() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/convention.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("default.kt") - public void testDefault() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/default.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("explicitObject.kt") - public void testExplicitObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/explicitObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("funAccess.kt") - public void testFunAccess() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/funAccess.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("importStaticMemberFromObject.kt") - public void testImportStaticMemberFromObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/importStaticMemberFromObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("inline.kt") - public void testInline() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/inline.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt9897_static.kt") - public void testKt9897_static() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/kt9897_static.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("postfixInc.kt") - public void testPostfixInc() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/postfixInc.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("prefixInc.kt") - public void testPrefixInc() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/prefixInc.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("privateMethod.kt") - public void testPrivateMethod() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/privateMethod.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyAccess.kt") - public void testPropertyAccess() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/propertyAccess.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyAsDefault.kt") - public void testPropertyAsDefault() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/propertyAsDefault.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/simple.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("syntheticAccessor.kt") - public void testSyntheticAccessor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/jvmStatic/syntheticAccessor.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/localFunInLambda") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class LocalFunInLambda extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInLocalFunInLambda() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/localFunInLambda"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("definedWithinLambda.kt") - public void testDefinedWithinLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/localFunInLambda/definedWithinLambda.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("definedWithinLambdaInnerUsage1.kt") - public void testDefinedWithinLambdaInnerUsage1() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/localFunInLambda/definedWithinLambdaInnerUsage1.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("definedWithinLambdaInnerUsage2.kt") - public void testDefinedWithinLambdaInnerUsage2() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/localFunInLambda/definedWithinLambdaInnerUsage2.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/localFunInLambda/simple.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/mangling") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Mangling extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInMangling() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/mangling"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("field.kt") - public void testField() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/mangling/field.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("fun.kt") - public void testFun() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/mangling/fun.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/multiDeclForArray") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class MultiDeclForArray extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInMultiDeclForArray() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/multiDeclForArray"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("kt9828.kt") - public void testKt9828() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/multiDeclForArray/kt9828.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/nonLocalReturns") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class NonLocalReturns extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInNonLocalReturns() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/nonLocalReturns"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("use.kt") - public void testUse() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/nonLocalReturns/use.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("useWithException.kt") - public void testUseWithException() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/nonLocalReturns/useWithException.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/postfixIncrementDecrement") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class PostfixIncrementDecrement extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInPostfixIncrementDecrement() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/postfixIncrementDecrement"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("memberExtOnLong.kt") - public void testMemberExtOnLong() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/postfixIncrementDecrement/memberExtOnLong.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("mutableListElement.kt") - public void testMutableListElement() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/postfixIncrementDecrement/mutableListElement.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/privateConstructor") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class PrivateConstructor extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInPrivateConstructor() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/privateConstructor"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("synthetic.kt") - public void testSynthetic() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/privateConstructor/synthetic.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/ranges") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Ranges extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInRanges() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/ranges"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("forByteProgressionWithIntIncrement.kt") - public void testForByteProgressionWithIntIncrement() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/forByteProgressionWithIntIncrement.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("forIntRange.kt") - public void testForIntRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/forIntRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("multiAssignmentIterationOverIntRange.kt") - public void testMultiAssignmentIterationOverIntRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/multiAssignmentIterationOverIntRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("safeCallRangeTo.kt") - public void testSafeCallRangeTo() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/safeCallRangeTo.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Expression extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInExpression() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/ranges/expression"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("emptyDownto.kt") - public void testEmptyDownto() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/emptyDownto.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("emptyRange.kt") - public void testEmptyRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/emptyRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("inexactDownToMinValue.kt") - public void testInexactDownToMinValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/inexactDownToMinValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("inexactSteppedDownTo.kt") - public void testInexactSteppedDownTo() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/inexactSteppedDownTo.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("inexactSteppedRange.kt") - public void testInexactSteppedRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/inexactSteppedRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("inexactToMaxValue.kt") - public void testInexactToMaxValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/inexactToMaxValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("maxValueMinusTwoToMaxValue.kt") - public void testMaxValueMinusTwoToMaxValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/maxValueMinusTwoToMaxValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("maxValueToMaxValue.kt") - public void testMaxValueToMaxValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/maxValueToMaxValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("maxValueToMinValue.kt") - public void testMaxValueToMinValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/maxValueToMinValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("oneElementDownTo.kt") - public void testOneElementDownTo() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/oneElementDownTo.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("oneElementRange.kt") - public void testOneElementRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/oneElementRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("openRange.kt") - public void testOpenRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/openRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("progressionDownToMinValue.kt") - public void testProgressionDownToMinValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionDownToMinValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("progressionMaxValueMinusTwoToMaxValue.kt") - public void testProgressionMaxValueMinusTwoToMaxValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("progressionMaxValueToMaxValue.kt") - public void testProgressionMaxValueToMaxValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionMaxValueToMaxValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("progressionMaxValueToMinValue.kt") - public void testProgressionMaxValueToMinValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionMaxValueToMinValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("progressionMinValueToMinValue.kt") - public void testProgressionMinValueToMinValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/progressionMinValueToMinValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reversedBackSequence.kt") - public void testReversedBackSequence() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedBackSequence.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reversedEmptyBackSequence.kt") - public void testReversedEmptyBackSequence() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedEmptyBackSequence.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reversedEmptyRange.kt") - public void testReversedEmptyRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedEmptyRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reversedInexactSteppedDownTo.kt") - public void testReversedInexactSteppedDownTo() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedInexactSteppedDownTo.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reversedRange.kt") - public void testReversedRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reversedSimpleSteppedRange.kt") - public void testReversedSimpleSteppedRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/reversedSimpleSteppedRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleDownTo.kt") - public void testSimpleDownTo() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleDownTo.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleRange.kt") - public void testSimpleRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleRangeWithNonConstantEnds.kt") - public void testSimpleRangeWithNonConstantEnds() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleRangeWithNonConstantEnds.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleSteppedDownTo.kt") - public void testSimpleSteppedDownTo() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleSteppedDownTo.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleSteppedRange.kt") - public void testSimpleSteppedRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression/simpleSteppedRange.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Literal extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInLiteral() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/ranges/literal"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("emptyDownto.kt") - public void testEmptyDownto() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/emptyDownto.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("emptyRange.kt") - public void testEmptyRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/emptyRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("inexactDownToMinValue.kt") - public void testInexactDownToMinValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/inexactDownToMinValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("inexactSteppedDownTo.kt") - public void testInexactSteppedDownTo() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/inexactSteppedDownTo.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("inexactSteppedRange.kt") - public void testInexactSteppedRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/inexactSteppedRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("inexactToMaxValue.kt") - public void testInexactToMaxValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/inexactToMaxValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("maxValueMinusTwoToMaxValue.kt") - public void testMaxValueMinusTwoToMaxValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/maxValueMinusTwoToMaxValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("maxValueToMaxValue.kt") - public void testMaxValueToMaxValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/maxValueToMaxValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("maxValueToMinValue.kt") - public void testMaxValueToMinValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/maxValueToMinValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("oneElementDownTo.kt") - public void testOneElementDownTo() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/oneElementDownTo.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("oneElementRange.kt") - public void testOneElementRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/oneElementRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("openRange.kt") - public void testOpenRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/openRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("progressionDownToMinValue.kt") - public void testProgressionDownToMinValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionDownToMinValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("progressionMaxValueMinusTwoToMaxValue.kt") - public void testProgressionMaxValueMinusTwoToMaxValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("progressionMaxValueToMaxValue.kt") - public void testProgressionMaxValueToMaxValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionMaxValueToMaxValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("progressionMaxValueToMinValue.kt") - public void testProgressionMaxValueToMinValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionMaxValueToMinValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("progressionMinValueToMinValue.kt") - public void testProgressionMinValueToMinValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/progressionMinValueToMinValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reversedBackSequence.kt") - public void testReversedBackSequence() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedBackSequence.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reversedEmptyBackSequence.kt") - public void testReversedEmptyBackSequence() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedEmptyBackSequence.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reversedEmptyRange.kt") - public void testReversedEmptyRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedEmptyRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reversedInexactSteppedDownTo.kt") - public void testReversedInexactSteppedDownTo() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedInexactSteppedDownTo.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reversedRange.kt") - public void testReversedRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reversedSimpleSteppedRange.kt") - public void testReversedSimpleSteppedRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/reversedSimpleSteppedRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleDownTo.kt") - public void testSimpleDownTo() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleDownTo.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleRange.kt") - public void testSimpleRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleRange.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleRangeWithNonConstantEnds.kt") - public void testSimpleRangeWithNonConstantEnds() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleRangeWithNonConstantEnds.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleSteppedDownTo.kt") - public void testSimpleSteppedDownTo() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleSteppedDownTo.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleSteppedRange.kt") - public void testSimpleSteppedRange() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/literal/simpleSteppedRange.kt"); - doTestWithStdlib(fileName); - } - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Reflection extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInReflection() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/annotations") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Annotations extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInAnnotations() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("annotationRetentionAnnotation.kt") - public void testAnnotationRetentionAnnotation() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/annotations/annotationRetentionAnnotation.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyAccessors.kt") - public void testPropertyAccessors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/annotations/propertyAccessors.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyWithoutBackingField.kt") - public void testPropertyWithoutBackingField() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/annotations/propertyWithoutBackingField.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("retentions.kt") - public void testRetentions() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/annotations/retentions.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleClassAnnotation.kt") - public void testSimpleClassAnnotation() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleClassAnnotation.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleConstructorAnnotation.kt") - public void testSimpleConstructorAnnotation() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleConstructorAnnotation.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleFunAnnotation.kt") - public void testSimpleFunAnnotation() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleFunAnnotation.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleParamAnnotation.kt") - public void testSimpleParamAnnotation() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleParamAnnotation.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleValAnnotation.kt") - public void testSimpleValAnnotation() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/annotations/simpleValAnnotation.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Call extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInCall() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/call"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("cannotCallEnumConstructor.kt") - public void testCannotCallEnumConstructor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/cannotCallEnumConstructor.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("disallowNullValueForNotNullField.kt") - public void testDisallowNullValueForNotNullField() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/disallowNullValueForNotNullField.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("equalsHashCodeToString.kt") - public void testEqualsHashCodeToString() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/equalsHashCodeToString.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("exceptionHappened.kt") - public void testExceptionHappened() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/exceptionHappened.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("fakeOverride.kt") - public void testFakeOverride() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/fakeOverride.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("fakeOverrideSubstituted.kt") - public void testFakeOverrideSubstituted() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/fakeOverrideSubstituted.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("incorrectNumberOfArguments.kt") - public void testIncorrectNumberOfArguments() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/incorrectNumberOfArguments.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("innerClassConstructor.kt") - public void testInnerClassConstructor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/innerClassConstructor.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("jvmStatic.kt") - public void testJvmStatic() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/jvmStatic.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("jvmStaticInObjectIncorrectReceiver.kt") - public void testJvmStaticInObjectIncorrectReceiver() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/jvmStaticInObjectIncorrectReceiver.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("localClassMember.kt") - public void testLocalClassMember() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/localClassMember.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("memberOfGenericClass.kt") - public void testMemberOfGenericClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/memberOfGenericClass.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("privateProperty.kt") - public void testPrivateProperty() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/privateProperty.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyAccessors.kt") - public void testPropertyAccessors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/propertyAccessors.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("returnUnit.kt") - public void testReturnUnit() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/returnUnit.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleConstructor.kt") - public void testSimpleConstructor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/simpleConstructor.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleMemberFunction.kt") - public void testSimpleMemberFunction() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/simpleMemberFunction.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleTopLevelFunctions.kt") - public void testSimpleTopLevelFunctions() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/simpleTopLevelFunctions.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class CallBy extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInCallBy() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("defaultAndNonDefaultIntertwined.kt") - public void testDefaultAndNonDefaultIntertwined() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/defaultAndNonDefaultIntertwined.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("extensionFunction.kt") - public void testExtensionFunction() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/extensionFunction.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("jvmStaticInObject.kt") - public void testJvmStaticInObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/jvmStaticInObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("manyArgumentsOnlyOneDefault.kt") - public void testManyArgumentsOnlyOneDefault() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/manyArgumentsOnlyOneDefault.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("manyMaskArguments.kt") - public void testManyMaskArguments() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/manyMaskArguments.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nonDefaultParameterOmitted.kt") - public void testNonDefaultParameterOmitted() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/nonDefaultParameterOmitted.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nullValue.kt") - public void testNullValue() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/nullValue.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt") - public void testOrdinaryMethodIsInvokedWhenNoDefaultValuesAreUsed() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("primitiveDefaultValues.kt") - public void testPrimitiveDefaultValues() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/primitiveDefaultValues.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("privateMemberFunction.kt") - public void testPrivateMemberFunction() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/privateMemberFunction.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleConstructor.kt") - public void testSimpleConstructor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/simpleConstructor.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleMemberFunciton.kt") - public void testSimpleMemberFunciton() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/simpleMemberFunciton.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleTopLevelFunction.kt") - public void testSimpleTopLevelFunction() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/callBy/simpleTopLevelFunction.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classLiterals") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class ClassLiterals extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInClassLiterals() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/classLiterals"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("annotationClassLiteral.kt") - public void testAnnotationClassLiteral() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/annotationClassLiteral.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("arrays.kt") - public void testArrays() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/arrays.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("builtinClassLiterals.kt") - public void testBuiltinClassLiterals() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/builtinClassLiterals.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("genericArrays.kt") - public void testGenericArrays() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/genericArrays.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("genericClass.kt") - public void testGenericClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/genericClass.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reifiedTypeClassLiteral.kt") - public void testReifiedTypeClassLiteral() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/reifiedTypeClassLiteral.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleClassLiteral.kt") - public void testSimpleClassLiteral() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classLiterals/simpleClassLiteral.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classes") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Classes extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInClasses() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("classSimpleName.kt") - public void testClassSimpleName() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classes/classSimpleName.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("companionObject.kt") - public void testCompanionObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classes/companionObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("defaultType.kt") - public void testDefaultType() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classes/defaultType.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("jvmName.kt") - public void testJvmName() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classes/jvmName.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("localClassSimpleName.kt") - public void testLocalClassSimpleName() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classes/localClassSimpleName.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nestedClasses.kt") - public void testNestedClasses() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classes/nestedClasses.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("objectInstance.kt") - public void testObjectInstance() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classes/objectInstance.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("qualifiedName.kt") - public void testQualifiedName() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/classes/qualifiedName.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/constructors") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Constructors extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInConstructors() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("classesWithoutConstructors.kt") - public void testClassesWithoutConstructors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/constructors/classesWithoutConstructors.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("constructorName.kt") - public void testConstructorName() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/constructors/constructorName.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("primaryConstructor.kt") - public void testPrimaryConstructor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/constructors/primaryConstructor.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleGetConstructors.kt") - public void testSimpleGetConstructors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/constructors/simpleGetConstructors.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Enclosing extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInEnclosing() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/enclosing"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("anonymousObjectInInlinedLambda.kt") - public void testAnonymousObjectInInlinedLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/anonymousObjectInInlinedLambda.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("classInLambda.kt") - public void testClassInLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/classInLambda.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("functionExpressionInProperty.kt") - public void testFunctionExpressionInProperty() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/functionExpressionInProperty.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt6368.kt") - public void testKt6368() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/kt6368.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt6691_lambdaInSamConstructor.kt") - public void testKt6691_lambdaInSamConstructor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/kt6691_lambdaInSamConstructor.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInClassObject.kt") - public void testLambdaInClassObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInClassObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInConstructor.kt") - public void testLambdaInConstructor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInConstructor.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInFunction.kt") - public void testLambdaInFunction() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInFunction.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInLambda.kt") - public void testLambdaInLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInLambda.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInLocalClassConstructor.kt") - public void testLambdaInLocalClassConstructor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInLocalClassConstructor.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInLocalClassSuperCall.kt") - public void testLambdaInLocalClassSuperCall() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInLocalClassSuperCall.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInLocalFunction.kt") - public void testLambdaInLocalFunction() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInLocalFunction.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInMemberFunction.kt") - public void testLambdaInMemberFunction() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInMemberFunction.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInMemberFunctionInLocalClass.kt") - public void testLambdaInMemberFunctionInLocalClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInMemberFunctionInLocalClass.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInMemberFunctionInNestedClass.kt") - public void testLambdaInMemberFunctionInNestedClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInMemberFunctionInNestedClass.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInObjectDeclaration.kt") - public void testLambdaInObjectDeclaration() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInObjectDeclaration.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInObjectExpression.kt") - public void testLambdaInObjectExpression() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInObjectExpression.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInObjectLiteralSuperCall.kt") - public void testLambdaInObjectLiteralSuperCall() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInObjectLiteralSuperCall.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInPackage.kt") - public void testLambdaInPackage() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInPackage.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInPropertyGetter.kt") - public void testLambdaInPropertyGetter() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInPropertyGetter.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("lambdaInPropertySetter.kt") - public void testLambdaInPropertySetter() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/lambdaInPropertySetter.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("localClassInTopLevelFunction.kt") - public void testLocalClassInTopLevelFunction() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/localClassInTopLevelFunction.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("objectInLambda.kt") - public void testObjectInLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/enclosing/objectInLambda.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/functions") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Functions extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInFunctions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("functionFromStdlib.kt") - public void testFunctionFromStdlib() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/functions/functionFromStdlib.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("platformName.kt") - public void testPlatformName() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/functions/platformName.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("privateMemberFunction.kt") - public void testPrivateMemberFunction() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/functions/privateMemberFunction.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleGetFunctions.kt") - public void testSimpleGetFunctions() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/functions/simpleGetFunctions.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleNames.kt") - public void testSimpleNames() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/functions/simpleNames.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/genericSignature") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class GenericSignature extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInGenericSignature() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/genericSignature"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("covariantOverride.kt") - public void testCovariantOverride() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/covariantOverride.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("genericBackingFieldSignature.kt") - public void testGenericBackingFieldSignature() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/genericBackingFieldSignature.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("genericMethodSignature.kt") - public void testGenericMethodSignature() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/genericMethodSignature.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt11121.kt") - public void testKt11121() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/kt11121.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt5112.kt") - public void testKt5112() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/kt5112.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt6106.kt") - public void testKt6106() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/genericSignature/kt6106.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/javaProperties") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class JavaProperties extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInJavaProperties() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/javaProperties"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("java.kt") - public void testJava() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/java.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("javaObjectType.kt") - public void testJavaObjectType() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaObjectType.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("javaObjectTypeReified.kt") - public void testJavaObjectTypeReified() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaObjectTypeReified.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("javaPrimitiveType.kt") - public void testJavaPrimitiveType() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaPrimitiveType.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("javaPrimitiveTypeReified.kt") - public void testJavaPrimitiveTypeReified() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaPrimitiveTypeReified.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("javaReified.kt") - public void testJavaReified() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/javaProperties/javaReified.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class KClassInAnnotation extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInKClassInAnnotation() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("array.kt") - public void testArray() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation/array.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("basic.kt") - public void testBasic() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation/basic.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("checkcast.kt") - public void testCheckcast() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation/checkcast.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("vararg.kt") - public void testVararg() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/kClassInAnnotation/vararg.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/lambdaClasses") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class LambdaClasses extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInLambdaClasses() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/lambdaClasses"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("parameterNamesAndNullability.kt") - public void testParameterNamesAndNullability() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/lambdaClasses/parameterNamesAndNullability.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Mapping extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInMapping() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/mapping"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("constructor.kt") - public void testConstructor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/constructor.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("extensionProperty.kt") - public void testExtensionProperty() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/extensionProperty.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("functions.kt") - public void testFunctions() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/functions.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("mappedClassIsEqualToClassLiteral.kt") - public void testMappedClassIsEqualToClassLiteral() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/mappedClassIsEqualToClassLiteral.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("memberProperty.kt") - public void testMemberProperty() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/memberProperty.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyAccessors.kt") - public void testPropertyAccessors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/propertyAccessors.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyAccessorsWithJvmName.kt") - public void testPropertyAccessorsWithJvmName() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/propertyAccessorsWithJvmName.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("syntheticFields.kt") - public void testSyntheticFields() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/syntheticFields.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("topLevelProperty.kt") - public void testTopLevelProperty() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/topLevelProperty.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/fakeOverrides") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class FakeOverrides extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInFakeOverrides() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/mapping/fakeOverrides"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("javaFieldGetterSetter.kt") - public void testJavaFieldGetterSetter() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/fakeOverrides/javaFieldGetterSetter.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("javaMethod.kt") - public void testJavaMethod() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/fakeOverrides/javaMethod.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/jvmStatic") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class JvmStatic extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInJvmStatic() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/mapping/jvmStatic"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("companionObjectFunction.kt") - public void testCompanionObjectFunction() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/jvmStatic/companionObjectFunction.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("objectFunction.kt") - public void testObjectFunction() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/jvmStatic/objectFunction.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/types") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Types extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInTypes() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/mapping/types"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("array.kt") - public void testArray() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/array.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("constructors.kt") - public void testConstructors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/constructors.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("memberFunctions.kt") - public void testMemberFunctions() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/memberFunctions.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("overrideAnyWithPrimitive.kt") - public void testOverrideAnyWithPrimitive() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/overrideAnyWithPrimitive.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("parameterizedTypes.kt") - public void testParameterizedTypes() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/parameterizedTypes.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyAccessors.kt") - public void testPropertyAccessors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/propertyAccessors.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("topLevelFunctions.kt") - public void testTopLevelFunctions() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/topLevelFunctions.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("typeParameters.kt") - public void testTypeParameters() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/typeParameters.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("unit.kt") - public void testUnit() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/types/unit.kt"); - doTestWithStdlib(fileName); - } - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class MethodsFromAny extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInMethodsFromAny() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("callableReferencesEqualToCallablesFromAPI.kt") - public void testCallableReferencesEqualToCallablesFromAPI() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("classToString.kt") - public void testClassToString() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/classToString.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("extensionPropertyReceiverToString.kt") - public void testExtensionPropertyReceiverToString() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/extensionPropertyReceiverToString.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("functionEqualsHashCode.kt") - public void testFunctionEqualsHashCode() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/functionEqualsHashCode.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("functionToString.kt") - public void testFunctionToString() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/functionToString.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("memberExtensionToString.kt") - public void testMemberExtensionToString() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/memberExtensionToString.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("parametersEqualsHashCode.kt") - public void testParametersEqualsHashCode() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/parametersEqualsHashCode.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("parametersToString.kt") - public void testParametersToString() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/parametersToString.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyEqualsHashCode.kt") - public void testPropertyEqualsHashCode() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/propertyEqualsHashCode.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyToString.kt") - public void testPropertyToString() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/propertyToString.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("typeEqualsHashCode.kt") - public void testTypeEqualsHashCode() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/typeEqualsHashCode.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("typeToString.kt") - public void testTypeToString() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/methodsFromAny/typeToString.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/parameters") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Parameters extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInParameters() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/parameters"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("functionParameterNameAndIndex.kt") - public void testFunctionParameterNameAndIndex() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/parameters/functionParameterNameAndIndex.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("isMarkedNullable.kt") - public void testIsMarkedNullable() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/parameters/isMarkedNullable.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("isOptional.kt") - public void testIsOptional() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/parameters/isOptional.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kinds.kt") - public void testKinds() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/parameters/kinds.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertySetter.kt") - public void testPropertySetter() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/parameters/propertySetter.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Properties extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInProperties() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/properties"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("allVsDeclared.kt") - public void testAllVsDeclared() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/allVsDeclared.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("callPrivatePropertyFromGetProperties.kt") - public void testCallPrivatePropertyFromGetProperties() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/callPrivatePropertyFromGetProperties.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("fakeOverridesInSubclass.kt") - public void testFakeOverridesInSubclass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/fakeOverridesInSubclass.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("genericClassLiteralPropertyReceiverIsStar.kt") - public void testGenericClassLiteralPropertyReceiverIsStar() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("getExtensionPropertiesMutableVsReadonly.kt") - public void testGetExtensionPropertiesMutableVsReadonly() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("getPropertiesMutableVsReadonly.kt") - public void testGetPropertiesMutableVsReadonly() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/getPropertiesMutableVsReadonly.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("invokeKProperty.kt") - public void testInvokeKProperty() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/invokeKProperty.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("memberAndMemberExtensionWithSameName.kt") - public void testMemberAndMemberExtensionWithSameName() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/memberAndMemberExtensionWithSameName.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("privateClassVal.kt") - public void testPrivateClassVal() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/privateClassVal.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("privateClassVar.kt") - public void testPrivateClassVar() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/privateClassVar.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("privateFakeOverrideFromSuperclass.kt") - public void testPrivateFakeOverrideFromSuperclass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/privateFakeOverrideFromSuperclass.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("privateJvmStaticVarInObject.kt") - public void testPrivateJvmStaticVarInObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/privateJvmStaticVarInObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("privatePropertyCallIsAccessibleOnAccessors.kt") - public void testPrivatePropertyCallIsAccessibleOnAccessors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/privatePropertyCallIsAccessibleOnAccessors.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("privateToThisAccessors.kt") - public void testPrivateToThisAccessors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/privateToThisAccessors.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("propertyOfNestedClassAndArrayType.kt") - public void testPropertyOfNestedClassAndArrayType() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/propertyOfNestedClassAndArrayType.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("protectedClassVar.kt") - public void testProtectedClassVar() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/protectedClassVar.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("publicClassValAccessible.kt") - public void testPublicClassValAccessible() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/publicClassValAccessible.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simpleGetProperties.kt") - public void testSimpleGetProperties() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/simpleGetProperties.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Accessors extends AbstractBlackBoxCodegenTest { - @TestMetadata("accessorNames.kt") - public void testAccessorNames() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/accessorNames.kt"); - doTestWithStdlib(fileName); - } - - public void testAllFilesPresentInAccessors() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("extensionPropertyAccessors.kt") - public void testExtensionPropertyAccessors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/extensionPropertyAccessors.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("memberExtensions.kt") - public void testMemberExtensions() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/memberExtensions.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("memberPropertyAccessors.kt") - public void testMemberPropertyAccessors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/memberPropertyAccessors.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("topLevelPropertyAccessors.kt") - public void testTopLevelPropertyAccessors() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/properties/accessors/topLevelPropertyAccessors.kt"); - doTestWithStdlib(fileName); - } - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reflection/specialBuiltIns") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class SpecialBuiltIns extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInSpecialBuiltIns() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/specialBuiltIns"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("getMembersOfStandardJavaClasses.kt") - public void testGetMembersOfStandardJavaClasses() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/specialBuiltIns/getMembersOfStandardJavaClasses.kt"); - doTestWithStdlib(fileName); - } - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/regressions") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Regressions extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInRegressions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/regressions"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("generic.kt") - public void testGeneric() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/generic.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("getGenericInterfaces.kt") - public void testGetGenericInterfaces() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/getGenericInterfaces.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("Kt1149.kt") - public void testKt1149() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/Kt1149.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt1172.kt") - public void testKt1172() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt1172.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt1568.kt") - public void testKt1568() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt1568.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("Kt1619Test.kt") - public void testKt1619Test() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/Kt1619Test.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt1779.kt") - public void testKt1779() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt1779.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt1800.kt") - public void testKt1800() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt1800.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt1932.kt") - public void testKt1932() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt1932.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt2017.kt") - public void testKt2017() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt2017.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt2246.kt") - public void testKt2246() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt2246.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt2318.kt") - public void testKt2318() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt2318.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("Kt2495Test.kt") - public void testKt2495Test() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/Kt2495Test.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt2593.kt") - public void testKt2593() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt2593.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt3046.kt") - public void testKt3046() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt3046.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt344.kt") - public void testKt344() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt344.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt3442.kt") - public void testKt3442() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt3442.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt4259.kt") - public void testKt4259() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt4259.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt4262.kt") - public void testKt4262() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt4262.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt5056.kt") - public void testKt5056() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt5056.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt5786_privateWithDefault.kt") - public void testKt5786_privateWithDefault() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt5786_privateWithDefault.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt5953.kt") - public void testKt5953() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt5953.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt6434.kt") - public void testKt6434() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt6434.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt6434_2.kt") - public void testKt6434_2() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt6434_2.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt715.kt") - public void testKt715() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt715.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt998.kt") - public void testKt998() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/kt998.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("objectCaptureOuterConstructorProperty.kt") - public void testObjectCaptureOuterConstructorProperty() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/objectCaptureOuterConstructorProperty.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("referenceToSelfInLocal.kt") - public void testReferenceToSelfInLocal() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/referenceToSelfInLocal.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("typeCastException.kt") - public void testTypeCastException() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/regressions/typeCastException.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reified") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Reified extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInReified() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reified"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("anonymousObject.kt") - public void testAnonymousObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/anonymousObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("anonymousObjectNoPropagate.kt") - public void testAnonymousObjectNoPropagate() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/anonymousObjectNoPropagate.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("anonymousObjectReifiedSupertype.kt") - public void testAnonymousObjectReifiedSupertype() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/anonymousObjectReifiedSupertype.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("approximateCapturedTypes.kt") - public void testApproximateCapturedTypes() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/approximateCapturedTypes.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("checkcast.kt") - public void testCheckcast() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/checkcast.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("copyToArray.kt") - public void testCopyToArray() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/copyToArray.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("DIExample.kt") - public void testDIExample() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/DIExample.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("defaultJavaClass.kt") - public void testDefaultJavaClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/defaultJavaClass.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("filterIsInstance.kt") - public void testFilterIsInstance() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/filterIsInstance.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("innerAnonymousObject.kt") - public void testInnerAnonymousObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/innerAnonymousObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("instanceof.kt") - public void testInstanceof() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/instanceof.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("javaClass.kt") - public void testJavaClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/javaClass.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nestedReified.kt") - public void testNestedReified() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/nestedReified.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nestedReifiedSignature.kt") - public void testNestedReifiedSignature() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/nestedReifiedSignature.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("newArrayInt.kt") - public void testNewArrayInt() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/newArrayInt.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nonInlineableLambdaInReifiedFunction.kt") - public void testNonInlineableLambdaInReifiedFunction() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/nonInlineableLambdaInReifiedFunction.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("recursiveInnerAnonymousObject.kt") - public void testRecursiveInnerAnonymousObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/recursiveInnerAnonymousObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("recursiveNewArray.kt") - public void testRecursiveNewArray() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/recursiveNewArray.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("recursiveNonInlineableLambda.kt") - public void testRecursiveNonInlineableLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/recursiveNonInlineableLambda.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reifiedInlineFunOfObject.kt") - public void testReifiedInlineFunOfObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/reifiedInlineFunOfObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reifiedInlineFunOfObjectWithinReified.kt") - public void testReifiedInlineFunOfObjectWithinReified() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/reifiedInlineFunOfObjectWithinReified.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("reifiedInlineIntoNonInlineableLambda.kt") - public void testReifiedInlineIntoNonInlineableLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/reifiedInlineIntoNonInlineableLambda.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("safecast.kt") - public void testSafecast() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/safecast.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("sameIndexRecursive.kt") - public void testSameIndexRecursive() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/sameIndexRecursive.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("spreads.kt") - public void testSpreads() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/spreads.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("varargs.kt") - public void testVarargs() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/varargs.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/reified/arraysReification") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class ArraysReification extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInArraysReification() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("instanceOf.kt") - public void testInstanceOf() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/arraysReification/instanceOf.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("instanceOfArrays.kt") - public void testInstanceOfArrays() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/arraysReification/instanceOfArrays.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("jClass.kt") - public void testJClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/arraysReification/jClass.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("jaggedArrayOfNulls.kt") - public void testJaggedArrayOfNulls() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reified/arraysReification/jaggedArrayOfNulls.kt"); - doTestWithStdlib(fileName); - } - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class StoreStackBeforeInline extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInStoreStackBeforeInline() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("differentTypes.kt") - public void testDifferentTypes() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/differentTypes.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("primitiveMerge.kt") - public void testPrimitiveMerge() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/primitiveMerge.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/simple.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("unreachableMarker.kt") - public void testUnreachableMarker() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/unreachableMarker.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("withLambda.kt") - public void testWithLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/storeStackBeforeInline/withLambda.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/strings") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Strings extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInStrings() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/strings"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("forInString.kt") - public void testForInString() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/strings/forInString.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("stringPlusOnlyWorksOnString.kt") - public void testStringPlusOnlyWorksOnString() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/strings/stringPlusOnlyWorksOnString.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/synthetic") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Synthetic extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInSynthetic() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/synthetic"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("syntheticAccessorNames.kt") - public void testSyntheticAccessorNames() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/synthetic/syntheticAccessorNames.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/toArray") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class ToArray extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInToArray() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/toArray"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("copyToArray.kt") - public void testCopyToArray() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/toArray/copyToArray.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt3177-copyToArray.kt") - public void testKt3177_copyToArray() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/toArray/kt3177-copyToArray.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("returnCopyToArray.kt") - public void testReturnCopyToArray() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/toArray/returnCopyToArray.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("toArray.kt") - public void testToArray() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/toArray/toArray.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("toArrayAlreadyPresent.kt") - public void testToArrayAlreadyPresent() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/toArray/toArrayAlreadyPresent.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/topLevelPrivate") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class TopLevelPrivate extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInTopLevelPrivate() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/topLevelPrivate"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("noPrivateNoAccessorsInMultiFileFacade.kt") - public void testNoPrivateNoAccessorsInMultiFileFacade() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("noPrivateNoAccessorsInMultiFileFacade2.kt") - public void testNoPrivateNoAccessorsInMultiFileFacade2() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade2.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("syntheticAccessorInMultiFile.kt") - public void testSyntheticAccessorInMultiFile() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/topLevelPrivate/syntheticAccessorInMultiFile.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/typeMapping") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class TypeMapping extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInTypeMapping() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/typeMapping"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("genericTypeWithNothing.kt") - public void testGenericTypeWithNothing() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/typeMapping/genericTypeWithNothing.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("typeParameterMultipleBounds.kt") - public void testTypeParameterMultipleBounds() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/typeMapping/typeParameterMultipleBounds.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/vararg") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Vararg extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInVararg() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/vararg"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("spreadCopiesArray.kt") - public void testSpreadCopiesArray() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/vararg/spreadCopiesArray.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/when") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class When extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInWhen() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/when"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("integralWhenWithNoInlinedConstants.kt") - public void testIntegralWhenWithNoInlinedConstants() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/when/integralWhenWithNoInlinedConstants.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("kt5448.kt") - public void testKt5448() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/when/kt5448.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("switchOptimizationDense.kt") - public void testSwitchOptimizationDense() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/when/switchOptimizationDense.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("switchOptimizationMultipleConditions.kt") - public void testSwitchOptimizationMultipleConditions() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/when/switchOptimizationMultipleConditions.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("switchOptimizationSparse.kt") - public void testSwitchOptimizationSparse() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/when/switchOptimizationSparse.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("switchOptimizationStatement.kt") - public void testSwitchOptimizationStatement() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/when/switchOptimizationStatement.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("switchOptimizationTypes.kt") - public void testSwitchOptimizationTypes() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/when/switchOptimizationTypes.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("switchOptimizationUnordered.kt") - public void testSwitchOptimizationUnordered() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/when/switchOptimizationUnordered.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/whenEnumOptimization") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class WhenEnumOptimization extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInWhenEnumOptimization() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/whenEnumOptimization"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("bigEnum.kt") - public void testBigEnum() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/bigEnum.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("duplicatingItems.kt") - public void testDuplicatingItems() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/duplicatingItems.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("enumInsideClassObject.kt") - public void testEnumInsideClassObject() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/enumInsideClassObject.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("expression.kt") - public void testExpression() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/expression.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("functionLiteralInTopLevel.kt") - public void testFunctionLiteralInTopLevel() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/functionLiteralInTopLevel.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("manyWhensWithinClass.kt") - public void testManyWhensWithinClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/manyWhensWithinClass.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nullability.kt") - public void testNullability() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/nullability.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("subjectAny.kt") - public void testSubjectAny() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/subjectAny.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("withoutElse.kt") - public void testWithoutElse() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenEnumOptimization/withoutElse.kt"); - doTestWithStdlib(fileName); - } - } - - @TestMetadata("compiler/testData/codegen/boxWithStdlib/whenStringOptimization") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class WhenStringOptimization extends AbstractBlackBoxCodegenTest { - public void testAllFilesPresentInWhenStringOptimization() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/whenStringOptimization"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("duplicatingItems.kt") - public void testDuplicatingItems() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenStringOptimization/duplicatingItems.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("duplicatingItemsSameHashCode.kt") - public void testDuplicatingItemsSameHashCode() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenStringOptimization/duplicatingItemsSameHashCode.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("expression.kt") - public void testExpression() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenStringOptimization/expression.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("nullability.kt") - public void testNullability() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenStringOptimization/nullability.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("sameHashCode.kt") - public void testSameHashCode() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenStringOptimization/sameHashCode.kt"); - doTestWithStdlib(fileName); - } - - @TestMetadata("statement.kt") - public void testStatement() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/whenStringOptimization/statement.kt"); - doTestWithStdlib(fileName); - } - } -} diff --git a/generators/src/org/jetbrains/kotlin/generators/tests/GenerateRangesCodegenTestData.java b/generators/src/org/jetbrains/kotlin/generators/tests/GenerateRangesCodegenTestData.java index b1defe3a870..719551c48c8 100644 --- a/generators/src/org/jetbrains/kotlin/generators/tests/GenerateRangesCodegenTestData.java +++ b/generators/src/org/jetbrains/kotlin/generators/tests/GenerateRangesCodegenTestData.java @@ -32,7 +32,7 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; public class GenerateRangesCodegenTestData { - private static final File TEST_DATA_DIR = new File("compiler/testData/codegen/boxWithStdlib/ranges"); + private static final File TEST_DATA_DIR = new File("compiler/testData/codegen/box/ranges"); private static final File AS_LITERAL_DIR = new File(TEST_DATA_DIR, "literal"); private static final File AS_EXPRESSION_DIR = new File(TEST_DATA_DIR, "expression"); private static final File[] SOURCE_TEST_FILES = { diff --git a/generators/src/org/jetbrains/kotlin/generators/tests/GenerateTests.kt b/generators/src/org/jetbrains/kotlin/generators/tests/GenerateTests.kt index 558058d7849..069d4d34b1a 100644 --- a/generators/src/org/jetbrains/kotlin/generators/tests/GenerateTests.kt +++ b/generators/src/org/jetbrains/kotlin/generators/tests/GenerateTests.kt @@ -216,10 +216,6 @@ fun main(args: Array) { model("codegen/boxWithJava") } - testClass("BlackBoxWithStdlibCodegenTestGenerated") { - model("codegen/boxWithStdlib", testMethod = "doTestWithStdlib") - } - testClass() { model("codegen/script", extension = "kts") } diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/ClassesTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/ClassesTestGenerated.java index 895e06b91ed..9b122abadce 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/ClassesTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/ClassesTestGenerated.java @@ -103,6 +103,12 @@ public class ClassesTestGenerated extends AbstractClassesTest { doTest(fileName); } + @TestMetadata("kt8011.kt") + public void ignoredKt8011() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/classes/kt8011.kt"); + doTest(fileName); + } + @TestMetadata("kt8011a.kt") public void ignoredKt8011a() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/classes/kt8011a.kt");