// 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.mutability;

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/mutability")
public class MutabilityInferenceTestGenerated extends AbstractMutabilityInferenceTest {
    @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("arrayList.kt")
    public void testArrayList() throws Exception {
        runTest("testData/inference/mutability/arrayList.kt");
    }

    @TestMetadata("collectionMutableCalls.kt")
    public void testCollectionMutableCalls() throws Exception {
        runTest("testData/inference/mutability/collectionMutableCalls.kt");
    }

    @TestMetadata("covariance.kt")
    public void testCovariance() throws Exception {
        runTest("testData/inference/mutability/covariance.kt");
    }

    @TestMetadata("iteratorCall.kt")
    public void testIteratorCall() throws Exception {
        runTest("testData/inference/mutability/iteratorCall.kt");
    }

    @TestMetadata("IteratorMutableCalls.kt")
    public void testIteratorMutableCalls() throws Exception {
        runTest("testData/inference/mutability/IteratorMutableCalls.kt");
    }

    @TestMetadata("list.kt")
    public void testList() throws Exception {
        runTest("testData/inference/mutability/list.kt");
    }

    @TestMetadata("listIteratorMutableCalls.kt")
    public void testListIteratorMutableCalls() throws Exception {
        runTest("testData/inference/mutability/listIteratorMutableCalls.kt");
    }

    @TestMetadata("listMutableCalls.kt")
    public void testListMutableCalls() throws Exception {
        runTest("testData/inference/mutability/listMutableCalls.kt");
    }

    @TestMetadata("listOfListsForEach.kt")
    public void testListOfListsForEach() throws Exception {
        runTest("testData/inference/mutability/listOfListsForEach.kt");
    }

    @TestMetadata("listOfMutableList.kt")
    public void testListOfMutableList() throws Exception {
        runTest("testData/inference/mutability/listOfMutableList.kt");
    }

    @TestMetadata("mapEntryMutableCalls.kt")
    public void testMapEntryMutableCalls() throws Exception {
        runTest("testData/inference/mutability/mapEntryMutableCalls.kt");
    }

    @TestMetadata("mapMutableCalls.kt")
    public void testMapMutableCalls() throws Exception {
        runTest("testData/inference/mutability/mapMutableCalls.kt");
    }

    @TestMetadata("setMutableCalls.kt")
    public void testSetMutableCalls() throws Exception {
        runTest("testData/inference/mutability/setMutableCalls.kt");
    }
}
