// 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.idea.k2.refactoring.move;

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("refactorings/kotlin.refactorings.move.k2")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../idea/tests/testData/refactoring/changePackage")
public class K2ChangePackageTestGenerated extends AbstractK2ChangePackageTest {
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public final KotlinPluginMode getPluginMode() {
        return KotlinPluginMode.K2;
    }

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

    @TestMetadata("java/movePackageToAnotherPackage/movePackageToAnotherPackage.test")
    public void testJava_movePackageToAnotherPackage_MovePackageToAnotherPackage() throws Exception {
        runTest("../../idea/tests/testData/refactoring/changePackage/java/movePackageToAnotherPackage/movePackageToAnotherPackage.test");
    }

    @TestMetadata("kotlin/addExtensionImport/addExtensionImport.test")
    public void testKotlin_addExtensionImport_AddExtensionImport() throws Exception {
        runTest("../../idea/tests/testData/refactoring/changePackage/kotlin/addExtensionImport/addExtensionImport.test");
    }

    @TestMetadata("kotlin/changeToDefaultPackage/changeToDefaultPackage.test")
    public void testKotlin_changeToDefaultPackage_ChangeToDefaultPackage() throws Exception {
        runTest("../../idea/tests/testData/refactoring/changePackage/kotlin/changeToDefaultPackage/changeToDefaultPackage.test");
    }

    @TestMetadata("kotlin/changeToNonDefaultPackage/changeToNonDefaultPackage.test")
    public void testKotlin_changeToNonDefaultPackage_ChangeToNonDefaultPackage() throws Exception {
        runTest("../../idea/tests/testData/refactoring/changePackage/kotlin/changeToNonDefaultPackage/changeToNonDefaultPackage.test");
    }

    @TestMetadata("kotlin/longName/longName.test")
    public void testKotlin_longName_LongName() throws Exception {
        runTest("../../idea/tests/testData/refactoring/changePackage/kotlin/longName/longName.test");
    }

    @TestMetadata("kotlin/updateAllUsagesByDefault/updateAllUsagesByDefault.test")
    public void testKotlin_updateAllUsagesByDefault_UpdateAllUsagesByDefault() throws Exception {
        runTest("../../idea/tests/testData/refactoring/changePackage/kotlin/updateAllUsagesByDefault/updateAllUsagesByDefault.test");
    }

    @TestMetadata("kotlin/updateOnlyRealReferences/updateOnlyRealReferences.test")
    public void testKotlin_updateOnlyRealReferences_UpdateOnlyRealReferences() throws Exception {
        runTest("../../idea/tests/testData/refactoring/changePackage/kotlin/updateOnlyRealReferences/updateOnlyRealReferences.test");
    }
}
