// 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.codeInsight.generate;

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("idea/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("testData/codeInsight/generate/testFrameworkSupport")
public abstract class GenerateTestSupportMethodActionTestGenerated extends AbstractGenerateTestSupportMethodActionTest {
    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/codeInsight/generate/testFrameworkSupport/jUnit4")
    public static class JUnit4 extends AbstractGenerateTestSupportMethodActionTest {
        @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("dataMethod.kt")
        public void testDataMethod() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit4/dataMethod.kt");
        }

        @TestMetadata("setUp.kt")
        public void testSetUp() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit4/setUp.kt");
        }

        @TestMetadata("setUpExists.kt")
        public void testSetUpExists() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit4/setUpExists.kt");
        }

        @TestMetadata("setUpOverrides.kt")
        public void testSetUpOverrides() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit4/setUpOverrides.kt");
        }

        @TestMetadata("tearDown.kt")
        public void testTearDown() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit4/tearDown.kt");
        }

        @TestMetadata("tearDownExists.kt")
        public void testTearDownExists() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit4/tearDownExists.kt");
        }

        @TestMetadata("testMethod.kt")
        public void testTestMethod() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit4/testMethod.kt");
        }
    }

    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/codeInsight/generate/testFrameworkSupport/jUnit5")
    public static class JUnit5 extends AbstractGenerateTestSupportMethodActionTest {
        @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("dataMethod.kt")
        public void testDataMethod() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit5/dataMethod.kt");
        }

        @TestMetadata("setUp.kt")
        public void testSetUp() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit5/setUp.kt");
        }

        @TestMetadata("setUpExists.kt")
        public void testSetUpExists() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit5/setUpExists.kt");
        }

        @TestMetadata("setUpOverrides.kt")
        public void testSetUpOverrides() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit5/setUpOverrides.kt");
        }

        @TestMetadata("tearDown.kt")
        public void testTearDown() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit5/tearDown.kt");
        }

        @TestMetadata("tearDownExists.kt")
        public void testTearDownExists() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit5/tearDownExists.kt");
        }

        @TestMetadata("testMethod.kt")
        public void testTestMethod() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/jUnit5/testMethod.kt");
        }
    }

    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/codeInsight/generate/testFrameworkSupport/junit3")
    public static class Junit3 extends AbstractGenerateTestSupportMethodActionTest {
        @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("setUp.kt")
        public void testSetUp() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/junit3/setUp.kt");
        }

        @TestMetadata("setUpExists.kt")
        public void testSetUpExists() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/junit3/setUpExists.kt");
        }

        @TestMetadata("tearDown.kt")
        public void testTearDown() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/junit3/tearDown.kt");
        }

        @TestMetadata("tearDownExists.kt")
        public void testTearDownExists() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/junit3/tearDownExists.kt");
        }

        @TestMetadata("testMethod.kt")
        public void testTestMethod() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/junit3/testMethod.kt");
        }
    }

    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/codeInsight/generate/testFrameworkSupport/testNG")
    public static class TestNG extends AbstractGenerateTestSupportMethodActionTest {
        @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("dataMethod.kt")
        public void testDataMethod() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/testNG/dataMethod.kt");
        }

        @TestMetadata("setUp.kt")
        public void testSetUp() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/testNG/setUp.kt");
        }

        @TestMetadata("setUpExists.kt")
        public void testSetUpExists() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/testNG/setUpExists.kt");
        }

        @TestMetadata("setUpOverrides.kt")
        public void testSetUpOverrides() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/testNG/setUpOverrides.kt");
        }

        @TestMetadata("tearDown.kt")
        public void testTearDown() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/testNG/tearDown.kt");
        }

        @TestMetadata("tearDownExists.kt")
        public void testTearDownExists() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/testNG/tearDownExists.kt");
        }

        @TestMetadata("testMethod.kt")
        public void testTestMethod() throws Exception {
            runTest("testData/codeInsight/generate/testFrameworkSupport/testNG/testMethod.kt");
        }
    }
}
