// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package org.jetbrains.kotlin.nj2k.inference.common;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;

/**
 * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}.
 * DO NOT MODIFY MANUALLY.
 */
@SuppressWarnings("all")
@TestRoot("j2k/k1.new/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("testData/inference/common")
public class CommonConstraintCollectorTestGenerated extends AbstractCommonConstraintCollectorTest {
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public final KotlinPluginMode getPluginMode() {
        return KotlinPluginMode.K1;
    }

    private void runTest(String testDataFilePath) throws Exception {
        KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
    }

    @TestMetadata("arrayAssignment.kt")
    public void testArrayAssignment() throws Exception {
        runTest("testData/inference/common/arrayAssignment.kt");
    }

    @TestMetadata("arrayOfArrays.kt")
    public void testArrayOfArrays() throws Exception {
        runTest("testData/inference/common/arrayOfArrays.kt");
    }

    @TestMetadata("callFunctionWithTypeParamFromOuterScope.kt")
    public void testCallFunctionWithTypeParamFromOuterScope() throws Exception {
        runTest("testData/inference/common/callFunctionWithTypeParamFromOuterScope.kt");
    }

    @TestMetadata("callWithTypeParams.kt")
    public void testCallWithTypeParams() throws Exception {
        runTest("testData/inference/common/callWithTypeParams.kt");
    }

    @TestMetadata("constructorCall.kt")
    public void testConstructorCall() throws Exception {
        runTest("testData/inference/common/constructorCall.kt");
    }

    @TestMetadata("delegationConstructorCall.kt")
    public void testDelegationConstructorCall() throws Exception {
        runTest("testData/inference/common/delegationConstructorCall.kt");
    }

    @TestMetadata("elementOfArrayAssignment.kt")
    public void testElementOfArrayAssignment() throws Exception {
        runTest("testData/inference/common/elementOfArrayAssignment.kt");
    }

    @TestMetadata("elementOfListAssignment.kt")
    public void testElementOfListAssignment() throws Exception {
        runTest("testData/inference/common/elementOfListAssignment.kt");
    }

    @TestMetadata("forLoop.kt")
    public void testForLoop() throws Exception {
        runTest("testData/inference/common/forLoop.kt");
    }

    @TestMetadata("functionCall.kt")
    public void testFunctionCall() throws Exception {
        runTest("testData/inference/common/functionCall.kt");
    }

    @TestMetadata("functionReturn.kt")
    public void testFunctionReturn() throws Exception {
        runTest("testData/inference/common/functionReturn.kt");
    }

    @TestMetadata("functionWithTypeParamCall.kt")
    public void testFunctionWithTypeParamCall() throws Exception {
        runTest("testData/inference/common/functionWithTypeParamCall.kt");
    }

    @TestMetadata("lambdaAsParameter.kt")
    public void testLambdaAsParameter() throws Exception {
        runTest("testData/inference/common/lambdaAsParameter.kt");
    }

    @TestMetadata("lambdaAssign.kt")
    public void testLambdaAssign() throws Exception {
        runTest("testData/inference/common/lambdaAssign.kt");
    }

    @TestMetadata("lambdaImplicitReturn.kt")
    public void testLambdaImplicitReturn() throws Exception {
        runTest("testData/inference/common/lambdaImplicitReturn.kt");
    }

    @TestMetadata("lambdaReturn.kt")
    public void testLambdaReturn() throws Exception {
        runTest("testData/inference/common/lambdaReturn.kt");
    }

    @TestMetadata("listAssignment.kt")
    public void testListAssignment() throws Exception {
        runTest("testData/inference/common/listAssignment.kt");
    }

    @TestMetadata("listGenerator.kt")
    public void testListGenerator() throws Exception {
        runTest("testData/inference/common/listGenerator.kt");
    }

    @TestMetadata("listOfLists.kt")
    public void testListOfLists() throws Exception {
        runTest("testData/inference/common/listOfLists.kt");
    }

    @TestMetadata("listOfListsGenerator.kt")
    public void testListOfListsGenerator() throws Exception {
        runTest("testData/inference/common/listOfListsGenerator.kt");
    }

    @TestMetadata("memberCall.kt")
    public void testMemberCall() throws Exception {
        runTest("testData/inference/common/memberCall.kt");
    }

    @TestMetadata("newExpression.kt")
    public void testNewExpression() throws Exception {
        runTest("testData/inference/common/newExpression.kt");
    }

    @TestMetadata("returnFromLambda.kt")
    public void testReturnFromLambda() throws Exception {
        runTest("testData/inference/common/returnFromLambda.kt");
    }

    @TestMetadata("sequenceOfCalls.kt")
    public void testSequenceOfCalls() throws Exception {
        runTest("testData/inference/common/sequenceOfCalls.kt");
    }

    @TestMetadata("sequenceOfCallsWIthLambda.kt")
    public void testSequenceOfCallsWIthLambda() throws Exception {
        runTest("testData/inference/common/sequenceOfCallsWIthLambda.kt");
    }

    @TestMetadata("simpleAssignment.kt")
    public void testSimpleAssignment() throws Exception {
        runTest("testData/inference/common/simpleAssignment.kt");
    }

    @TestMetadata("superCall.kt")
    public void testSuperCall() throws Exception {
        runTest("testData/inference/common/superCall.kt");
    }

    @TestMetadata("superConstuctorCall.kt")
    public void testSuperConstuctorCall() throws Exception {
        runTest("testData/inference/common/superConstuctorCall.kt");
    }

    @TestMetadata("superFunctionReturnTypeWithTypeParameters.kt")
    public void testSuperFunctionReturnTypeWithTypeParameters() throws Exception {
        runTest("testData/inference/common/superFunctionReturnTypeWithTypeParameters.kt");
    }

    @TestMetadata("superFunctionReturnTypeWithTypeParametersSubstitution.kt")
    public void testSuperFunctionReturnTypeWithTypeParametersSubstitution() throws Exception {
        runTest("testData/inference/common/superFunctionReturnTypeWithTypeParametersSubstitution.kt");
    }

    @TestMetadata("superFunctionType.kt")
    public void testSuperFunctionType() throws Exception {
        runTest("testData/inference/common/superFunctionType.kt");
    }

    @TestMetadata("typeParamsBounds.kt")
    public void testTypeParamsBounds() throws Exception {
        runTest("testData/inference/common/typeParamsBounds.kt");
    }

    @TestMetadata("varargsInCall.kt")
    public void testVarargsInCall() throws Exception {
        runTest("testData/inference/common/varargsInCall.kt");
    }
}
