// 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.j2k.k2;

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/k2/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../shared/tests/testData/copyPaste")
public class K2JavaToKotlinCopyPasteConversionTestGenerated extends AbstractK2JavaToKotlinCopyPasteConversionTest {
    @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("AddImports.java")
    public void testAddImports() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/AddImports.java");
    }

    @TestMetadata("AddImportsButNoConversion.java")
    public void testAddImportsButNoConversion() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/AddImportsButNoConversion.java");
    }

    @TestMetadata("AddImportsClassInSamePackage.java")
    public void testAddImportsClassInSamePackage() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/AddImportsClassInSamePackage.java");
    }

    @TestMetadata("AddImportsDummyConflict.java")
    public void testAddImportsDummyConflict() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/AddImportsDummyConflict.java");
    }

    @TestMetadata("AddImportsWithExplicitImports.java")
    public void testAddImportsWithExplicitImports() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/AddImportsWithExplicitImports.java");
    }

    @TestMetadata("AddKClassImport.java")
    public void testAddKClassImport() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/AddKClassImport.java");
    }

    @TestMetadata("Arithmetic.java")
    public void testArithmetic() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/Arithmetic.java");
    }

    @TestMetadata("ClassWithNoDocComment.java")
    public void testClassWithNoDocComment() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/ClassWithNoDocComment.java");
    }

    @TestMetadata("ClassWithOverrides.java")
    public void testClassWithOverrides() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/ClassWithOverrides.java");
    }

    @TestMetadata("Comments.java")
    public void testComments() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/Comments.java");
    }

    @TestMetadata("Constructor.java")
    public void testConstructor() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/Constructor.java");
    }

    @TestMetadata("ConversionInCorrectContext.java")
    public void testConversionInCorrectContext() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/ConversionInCorrectContext.java");
    }

    @TestMetadata("ConvertedMethodReference.java")
    public void testConvertedMethodReference() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/ConvertedMethodReference.java");
    }

    @TestMetadata("CopyAnnotation.java")
    public void testCopyAnnotation() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/CopyAnnotation.java");
    }

    @TestMetadata("ExplicitApi.java")
    public void testExplicitApi() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/ExplicitApi.java");
    }

    @TestMetadata("ExtendsTypeRef.java")
    public void testExtendsTypeRef() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/ExtendsTypeRef.java");
    }

    @TestMetadata("FacadeClassName.java")
    public void testFacadeClassName() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/FacadeClassName.java");
    }

    @TestMetadata("FieldWithNoEndComment.java")
    public void testFieldWithNoEndComment() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/FieldWithNoEndComment.java");
    }

    @TestMetadata("FieldWithNoModifierAndNoSemicolon.java")
    public void testFieldWithNoModifierAndNoSemicolon() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/FieldWithNoModifierAndNoSemicolon.java");
    }

    @TestMetadata("FileWithNoPackageStatement.java")
    public void testFileWithNoPackageStatement() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/FileWithNoPackageStatement.java");
    }

    @TestMetadata("ForRangeToRangeUntil.java")
    public void testForRangeToRangeUntil() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/ForRangeToRangeUntil.java");
    }

    @TestMetadata("GetterWithError.java")
    public void testGetterWithError() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/GetterWithError.java");
    }

    @TestMetadata("HalfTheWhiteSpace.java")
    public void testHalfTheWhiteSpace() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/HalfTheWhiteSpace.java");
    }

    @TestMetadata("ImplementsTypeRef.java")
    public void testImplementsTypeRef() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/ImplementsTypeRef.java");
    }

    @TestMetadata("Imports1.java")
    public void testImports1() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/Imports1.java");
    }

    @TestMetadata("Imports2.java")
    public void testImports2() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/Imports2.java");
    }

    @TestMetadata("Imports3.java")
    public void testImports3() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/Imports3.java");
    }

    @TestMetadata("InClassContextProperty.java")
    public void testInClassContextProperty() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/InClassContextProperty.java");
    }

    @TestMetadata("IncompleteCodeWithVariableReference.java")
    public void testIncompleteCodeWithVariableReference() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/IncompleteCodeWithVariableReference.java");
    }

    @TestMetadata("Indentation.java")
    public void testIndentation() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/Indentation.java");
    }

    @TestMetadata("InsertIntoComment.java")
    public void testInsertIntoComment() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/InsertIntoComment.java");
    }

    @TestMetadata("InsertIntoString.java")
    public void testInsertIntoString() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/InsertIntoString.java");
    }

    @TestMetadata("LocalAndMemberConflict.java")
    public void testLocalAndMemberConflict() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/LocalAndMemberConflict.java");
    }

    @TestMetadata("LocalContextProperty.java")
    public void testLocalContextProperty() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/LocalContextProperty.java");
    }

    @TestMetadata("MethodDeclarationWithNoBody.java")
    public void testMethodDeclarationWithNoBody() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/MethodDeclarationWithNoBody.java");
    }

    @TestMetadata("MethodReferenceWithoutQualifier.java")
    public void testMethodReferenceWithoutQualifier() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/MethodReferenceWithoutQualifier.java");
    }

    @TestMetadata("MethodWithNoAnnotation.java")
    public void testMethodWithNoAnnotation() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/MethodWithNoAnnotation.java");
    }

    @TestMetadata("MethodWithOnlyOneAnnotation.java")
    public void testMethodWithOnlyOneAnnotation() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/MethodWithOnlyOneAnnotation.java");
    }

    @TestMetadata("NoJvmStaticForTopLevelFunction.java")
    public void testNoJvmStaticForTopLevelFunction() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/NoJvmStaticForTopLevelFunction.java");
    }

    @TestMetadata("OnlyClosingBrace.java")
    public void testOnlyClosingBrace() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/OnlyClosingBrace.java");
    }

    @TestMetadata("OnlyOneBraceFromBlock.java")
    public void testOnlyOneBraceFromBlock() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/OnlyOneBraceFromBlock.java");
    }

    @TestMetadata("OnlyQualifier.java")
    public void testOnlyQualifier() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/OnlyQualifier.java");
    }

    @TestMetadata("OpenPublicFunctionToTopLevel.java")
    public void testOpenPublicFunctionToTopLevel() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/OpenPublicFunctionToTopLevel.java");
    }

    @TestMetadata("PrivateFunctionToOpenClass.java")
    public void testPrivateFunctionToOpenClass() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/PrivateFunctionToOpenClass.java");
    }

    @TestMetadata("PrivateFunctionToTopLevel.java")
    public void testPrivateFunctionToTopLevel() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/PrivateFunctionToTopLevel.java");
    }

    @TestMetadata("RawTypeRef.java")
    public void testRawTypeRef() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/RawTypeRef.java");
    }

    @TestMetadata("RedundantTypeCast.java")
    public void testRedundantTypeCast() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/RedundantTypeCast.java");
    }

    @TestMetadata("RedundantTypeCast2.java")
    public void testRedundantTypeCast2() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/RedundantTypeCast2.java");
    }

    @TestMetadata("SampleBlock.java")
    public void testSampleBlock() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/SampleBlock.java");
    }

    @TestMetadata("SeveralMethodsSample.java")
    public void testSeveralMethodsSample() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/SeveralMethodsSample.java");
    }

    @TestMetadata("SingleWordFromIdentifier.java")
    public void testSingleWordFromIdentifier() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/SingleWordFromIdentifier.java");
    }

    @TestMetadata("TopLevelContextProperty.java")
    public void testTopLevelContextProperty() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/TopLevelContextProperty.java");
    }

    @TestMetadata("TopLevelMainWithUsedArgs.java")
    public void testTopLevelMainWithUsedArgs() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/TopLevelMainWithUsedArgs.java");
    }

    @TestMetadata("UnconvertedMethodReference.java")
    public void testUnconvertedMethodReference() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/UnconvertedMethodReference.java");
    }

    @TestMetadata("Until.java")
    public void testUntil() throws Exception {
        runTest("../../shared/tests/testData/copyPaste/Until.java");
    }
}
