[FIR] Extract K2 MPP test data to the separated directory
This commit is contained in:
committed by
Space Team
parent
5b2a1feaf0
commit
ee53c5780f
+334
-114
@@ -33119,140 +33119,360 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/multiplatform/k2")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class K2 {
|
||||
@Test
|
||||
public void testAllFilesPresentInK2() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/multiplatform/k2/annotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Annotations {
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationsViaActualTypeAliasFromBinary.kt")
|
||||
public void testAnnotationsViaActualTypeAliasFromBinary() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/annotations/annotationsViaActualTypeAliasFromBinary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectClassInJvmMultifileFacade.kt")
|
||||
public void testExpectClassInJvmMultifileFacade() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/annotations/expectClassInJvmMultifileFacade.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("optionalExpectation.kt")
|
||||
public void testOptionalExpectation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/annotations/optionalExpectation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/multiplatform/k2/basic")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Basic {
|
||||
@Test
|
||||
@TestMetadata("accessToLocalClassFromBackend.kt")
|
||||
public void testAccessToLocalClassFromBackend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/accessToLocalClassFromBackend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInBasic() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2/basic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("correctParentForTypeParameter.kt")
|
||||
public void testCorrectParentForTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/correctParentForTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntryNameCall.kt")
|
||||
public void testEnumEntryNameCall() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/enumEntryNameCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualCallableReference.kt")
|
||||
public void testExpectActualCallableReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualCallableReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualDifferentExtensionReceiversOnOverloads.kt")
|
||||
public void testExpectActualDifferentExtensionReceiversOnOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualDifferentExtensionReceiversOnOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualDifferentPackages.kt")
|
||||
public void testExpectActualDifferentPackages() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualDifferentPackages.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualFakeOverrides.kt")
|
||||
public void testExpectActualFakeOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualMultiCommon.kt")
|
||||
public void testExpectActualMultiCommon() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualMultiCommon.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualOverloads.kt")
|
||||
public void testExpectActualOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualSimple.kt")
|
||||
public void testExpectActualSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualTypealias.kt")
|
||||
public void testExpectActualTypealias() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectInterfaceInSupertypes.kt")
|
||||
public void testExpectInterfaceInSupertypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectInterfaceInSupertypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectProperty.kt")
|
||||
public void testExpectProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverridesInPlatformModule.kt")
|
||||
public void testFakeOverridesInPlatformModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/fakeOverridesInPlatformModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getRidOfDoubleBindingInFir2IrLazyProperty.kt")
|
||||
public void testGetRidOfDoubleBindingInFir2IrLazyProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/getRidOfDoubleBindingInFir2IrLazyProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("independentCommonSourceModules.kt")
|
||||
public void testIndependentCommonSourceModules() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/independentCommonSourceModules.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-51753-1.kt")
|
||||
public void testKt_51753_1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/kt-51753-1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-51753-2.kt")
|
||||
public void testKt_51753_2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/kt-51753-2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-56329.kt")
|
||||
public void testKt_56329() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/kt-56329.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noArgActualConstructor.kt")
|
||||
public void testNoArgActualConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/noArgActualConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueClasses.kt")
|
||||
public void testValueClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/valueClasses.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/multiplatform/k2/defaultArguments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DefaultArguments {
|
||||
@Test
|
||||
public void testAllFilesPresentInDefaultArguments() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bothInExpectAndActual.kt")
|
||||
public void testBothInExpectAndActual() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/bothInExpectAndActual.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bothInExpectAndActual2.kt")
|
||||
public void testBothInExpectAndActual2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/bothInExpectAndActual2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedExpectedInterface.kt")
|
||||
public void testDelegatedExpectedInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/delegatedExpectedInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dispatchReceiverValue.kt")
|
||||
public void testDispatchReceiverValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/dispatchReceiverValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverValue.kt")
|
||||
public void testExtensionReceiverValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/extensionReceiverValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("function.kt")
|
||||
public void testFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/function.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionFromOtherModule.kt")
|
||||
public void testFunctionFromOtherModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/functionFromOtherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritedFromCommonClass.kt")
|
||||
public void testInheritedFromCommonClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromCommonClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritedFromExpectedClass.kt")
|
||||
public void testInheritedFromExpectedClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritedFromExpectedInterface.kt")
|
||||
public void testInheritedFromExpectedInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritedFromExpectedMethod.kt")
|
||||
public void testInheritedFromExpectedMethod() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritedInExpectedDeclarations.kt")
|
||||
public void testInheritedInExpectedDeclarations() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedInExpectedDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritedViaAnotherInterfaceIndirectly.kt")
|
||||
public void testInheritedViaAnotherInterfaceIndirectly() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedViaAnotherInterfaceIndirectly.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunctionWithDefaultLambda.kt")
|
||||
public void testInlineFunctionWithDefaultLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inlineFunctionWithDefaultLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/jvmOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt23239.kt")
|
||||
public void testKt23239() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/kt23239.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt23739.kt")
|
||||
public void testKt23739() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/kt23739.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedEnumEntryValue.kt")
|
||||
public void testNestedEnumEntryValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/nestedEnumEntryValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parametersInArgumentValues.kt")
|
||||
public void testParametersInArgumentValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/parametersInArgumentValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superCall.kt")
|
||||
public void testSuperCall() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/superCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspend.kt")
|
||||
public void testSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/suspend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAlias.kt")
|
||||
public void testTypeAlias() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/typeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withTypeParameter.kt")
|
||||
public void testWithTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/withTypeParameter.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/multiplatform/multiModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class MultiModule {
|
||||
@Test
|
||||
@TestMetadata("accessToLocalClassFromBackend.kt")
|
||||
public void testAccessToLocalClassFromBackend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/accessToLocalClassFromBackend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInMultiModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("correctParentForTypeParameter.kt")
|
||||
public void testCorrectParentForTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/correctParentForTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntryNameCall.kt")
|
||||
public void testEnumEntryNameCall() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/enumEntryNameCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualCallableReference.kt")
|
||||
public void testExpectActualCallableReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualCallableReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualDifferentExtensionReceiversOnOverloads.kt")
|
||||
public void testExpectActualDifferentExtensionReceiversOnOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualDifferentExtensionReceiversOnOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualDifferentPackages.kt")
|
||||
public void testExpectActualDifferentPackages() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualDifferentPackages.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualFakeOverrides.kt")
|
||||
public void testExpectActualFakeOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualFakeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualMultiCommon.kt")
|
||||
public void testExpectActualMultiCommon() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualMultiCommon.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualOverloads.kt")
|
||||
public void testExpectActualOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualSimple.kt")
|
||||
public void testExpectActualSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualTypealias.kt")
|
||||
public void testExpectActualTypealias() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualTypealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectInterfaceInSupertypes.kt")
|
||||
public void testExpectInterfaceInSupertypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectInterfaceInSupertypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectInterfaceInheritance.kt")
|
||||
public void testExpectInterfaceInheritance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectInterfaceInheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverridesInPlatformModule.kt")
|
||||
public void testFakeOverridesInPlatformModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/fakeOverridesInPlatformModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getRidOfDoubleBindingInFir2IrLazyProperty.kt")
|
||||
public void testGetRidOfDoubleBindingInFir2IrLazyProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/getRidOfDoubleBindingInFir2IrLazyProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("hmppSimple.kt")
|
||||
public void testHmppSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/hmppSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("independentCommonSourceModules.kt")
|
||||
public void testIndependentCommonSourceModules() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/independentCommonSourceModules.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-51753-1.kt")
|
||||
public void testKt_51753_1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/kt-51753-1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-51753-2.kt")
|
||||
public void testKt_51753_2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/kt-51753-2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-56329.kt")
|
||||
public void testKt_56329() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/kt-56329.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueClasses.kt")
|
||||
public void testValueClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/valueClasses.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+334
-114
@@ -33119,140 +33119,360 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/multiplatform/k2")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class K2 {
|
||||
@Test
|
||||
public void testAllFilesPresentInK2() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/multiplatform/k2/annotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Annotations {
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationsViaActualTypeAliasFromBinary.kt")
|
||||
public void testAnnotationsViaActualTypeAliasFromBinary() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/annotations/annotationsViaActualTypeAliasFromBinary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectClassInJvmMultifileFacade.kt")
|
||||
public void testExpectClassInJvmMultifileFacade() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/annotations/expectClassInJvmMultifileFacade.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("optionalExpectation.kt")
|
||||
public void testOptionalExpectation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/annotations/optionalExpectation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/multiplatform/k2/basic")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Basic {
|
||||
@Test
|
||||
@TestMetadata("accessToLocalClassFromBackend.kt")
|
||||
public void testAccessToLocalClassFromBackend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/accessToLocalClassFromBackend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInBasic() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2/basic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("correctParentForTypeParameter.kt")
|
||||
public void testCorrectParentForTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/correctParentForTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntryNameCall.kt")
|
||||
public void testEnumEntryNameCall() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/enumEntryNameCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualCallableReference.kt")
|
||||
public void testExpectActualCallableReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualCallableReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualDifferentExtensionReceiversOnOverloads.kt")
|
||||
public void testExpectActualDifferentExtensionReceiversOnOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualDifferentExtensionReceiversOnOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualDifferentPackages.kt")
|
||||
public void testExpectActualDifferentPackages() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualDifferentPackages.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualFakeOverrides.kt")
|
||||
public void testExpectActualFakeOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualMultiCommon.kt")
|
||||
public void testExpectActualMultiCommon() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualMultiCommon.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualOverloads.kt")
|
||||
public void testExpectActualOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualSimple.kt")
|
||||
public void testExpectActualSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualTypealias.kt")
|
||||
public void testExpectActualTypealias() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectInterfaceInSupertypes.kt")
|
||||
public void testExpectInterfaceInSupertypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectInterfaceInSupertypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectProperty.kt")
|
||||
public void testExpectProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverridesInPlatformModule.kt")
|
||||
public void testFakeOverridesInPlatformModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/fakeOverridesInPlatformModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getRidOfDoubleBindingInFir2IrLazyProperty.kt")
|
||||
public void testGetRidOfDoubleBindingInFir2IrLazyProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/getRidOfDoubleBindingInFir2IrLazyProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("independentCommonSourceModules.kt")
|
||||
public void testIndependentCommonSourceModules() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/independentCommonSourceModules.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-51753-1.kt")
|
||||
public void testKt_51753_1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/kt-51753-1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-51753-2.kt")
|
||||
public void testKt_51753_2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/kt-51753-2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-56329.kt")
|
||||
public void testKt_56329() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/kt-56329.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noArgActualConstructor.kt")
|
||||
public void testNoArgActualConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/noArgActualConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueClasses.kt")
|
||||
public void testValueClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/valueClasses.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/multiplatform/k2/defaultArguments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DefaultArguments {
|
||||
@Test
|
||||
public void testAllFilesPresentInDefaultArguments() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bothInExpectAndActual.kt")
|
||||
public void testBothInExpectAndActual() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/bothInExpectAndActual.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bothInExpectAndActual2.kt")
|
||||
public void testBothInExpectAndActual2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/bothInExpectAndActual2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedExpectedInterface.kt")
|
||||
public void testDelegatedExpectedInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/delegatedExpectedInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dispatchReceiverValue.kt")
|
||||
public void testDispatchReceiverValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/dispatchReceiverValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverValue.kt")
|
||||
public void testExtensionReceiverValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/extensionReceiverValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("function.kt")
|
||||
public void testFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/function.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionFromOtherModule.kt")
|
||||
public void testFunctionFromOtherModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/functionFromOtherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritedFromCommonClass.kt")
|
||||
public void testInheritedFromCommonClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromCommonClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritedFromExpectedClass.kt")
|
||||
public void testInheritedFromExpectedClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritedFromExpectedInterface.kt")
|
||||
public void testInheritedFromExpectedInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritedFromExpectedMethod.kt")
|
||||
public void testInheritedFromExpectedMethod() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritedInExpectedDeclarations.kt")
|
||||
public void testInheritedInExpectedDeclarations() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedInExpectedDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritedViaAnotherInterfaceIndirectly.kt")
|
||||
public void testInheritedViaAnotherInterfaceIndirectly() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedViaAnotherInterfaceIndirectly.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunctionWithDefaultLambda.kt")
|
||||
public void testInlineFunctionWithDefaultLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inlineFunctionWithDefaultLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/jvmOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt23239.kt")
|
||||
public void testKt23239() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/kt23239.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt23739.kt")
|
||||
public void testKt23739() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/kt23739.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedEnumEntryValue.kt")
|
||||
public void testNestedEnumEntryValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/nestedEnumEntryValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parametersInArgumentValues.kt")
|
||||
public void testParametersInArgumentValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/parametersInArgumentValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superCall.kt")
|
||||
public void testSuperCall() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/superCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspend.kt")
|
||||
public void testSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/suspend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAlias.kt")
|
||||
public void testTypeAlias() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/typeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withTypeParameter.kt")
|
||||
public void testWithTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/defaultArguments/withTypeParameter.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/multiplatform/multiModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class MultiModule {
|
||||
@Test
|
||||
@TestMetadata("accessToLocalClassFromBackend.kt")
|
||||
public void testAccessToLocalClassFromBackend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/accessToLocalClassFromBackend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInMultiModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("correctParentForTypeParameter.kt")
|
||||
public void testCorrectParentForTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/correctParentForTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntryNameCall.kt")
|
||||
public void testEnumEntryNameCall() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/enumEntryNameCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualCallableReference.kt")
|
||||
public void testExpectActualCallableReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualCallableReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualDifferentExtensionReceiversOnOverloads.kt")
|
||||
public void testExpectActualDifferentExtensionReceiversOnOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualDifferentExtensionReceiversOnOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualDifferentPackages.kt")
|
||||
public void testExpectActualDifferentPackages() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualDifferentPackages.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualFakeOverrides.kt")
|
||||
public void testExpectActualFakeOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualFakeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualMultiCommon.kt")
|
||||
public void testExpectActualMultiCommon() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualMultiCommon.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualOverloads.kt")
|
||||
public void testExpectActualOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualSimple.kt")
|
||||
public void testExpectActualSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualTypealias.kt")
|
||||
public void testExpectActualTypealias() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualTypealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectInterfaceInSupertypes.kt")
|
||||
public void testExpectInterfaceInSupertypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectInterfaceInSupertypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectInterfaceInheritance.kt")
|
||||
public void testExpectInterfaceInheritance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectInterfaceInheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverridesInPlatformModule.kt")
|
||||
public void testFakeOverridesInPlatformModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/fakeOverridesInPlatformModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getRidOfDoubleBindingInFir2IrLazyProperty.kt")
|
||||
public void testGetRidOfDoubleBindingInFir2IrLazyProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/getRidOfDoubleBindingInFir2IrLazyProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("hmppSimple.kt")
|
||||
public void testHmppSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/hmppSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("independentCommonSourceModules.kt")
|
||||
public void testIndependentCommonSourceModules() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/independentCommonSourceModules.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-51753-1.kt")
|
||||
public void testKt_51753_1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/kt-51753-1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-51753-2.kt")
|
||||
public void testKt_51753_2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/kt-51753-2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-56329.kt")
|
||||
public void testKt_56329() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/kt-56329.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueClasses.kt")
|
||||
public void testValueClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/valueClasses.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user