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

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("code-insight/line-markers")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public abstract class KotlinPsiBasedTestFrameworkK2TestGenerated extends AbstractKotlinPsiBasedTestFrameworkK2Test {
    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("../../idea/tests/testData/codeInsight/lineMarker/runMarkers")
    public static class WithLightTestFramework extends AbstractKotlinPsiBasedTestFrameworkK2Test {
        @java.lang.Override
        @org.jetbrains.annotations.NotNull
        public final KotlinPluginMode getPluginMode() {
            return KotlinPluginMode.K2;
        }

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

        @TestMetadata("jUnit3TestFile.kt")
        public void testJUnit3TestFile() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit3TestFile.kt");
        }

        @TestMetadata("jUnit3TestFileWithJUnit4.kt")
        public void testJUnit3TestFileWithJUnit4() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit3TestFileWithJUnit4.kt");
        }

        @TestMetadata("jUnit4TestFile.kt")
        public void testJUnit4TestFile() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit4TestFile.kt");
        }

        @TestMetadata("jUnit5TestFile.kt")
        public void testJUnit5TestFile() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit5TestFile.kt");
        }

        @TestMetadata("jUnit5WithExtensionsTestFile.kt")
        public void testJUnit5WithExtensionsTestFile() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit5WithExtensionsTestFile.kt");
        }

        @TestMetadata("jUnitTestClassWithSubclasses.kt")
        public void testJUnitTestClassWithSubclasses() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnitTestClassWithSubclasses.kt");
        }

        @TestMetadata("testNGTestClassWithSubclasses.kt")
        public void testTestNGTestClassWithSubclasses() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/testNGTestClassWithSubclasses.kt");
        }
    }

    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("../../idea/tests/testData/codeInsight/lineMarker/runMarkers")
    public static class WithoutLightTestFramework extends AbstractKotlinPsiBasedTestFrameworkK2Test {
        @java.lang.Override
        @org.jetbrains.annotations.NotNull
        public final KotlinPluginMode getPluginMode() {
            return KotlinPluginMode.K2;
        }

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

        @TestMetadata("jUnit3TestFile.kt")
        public void testJUnit3TestFile() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit3TestFile.kt");
        }

        @TestMetadata("jUnit3TestFileWithJUnit4.kt")
        public void testJUnit3TestFileWithJUnit4() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit3TestFileWithJUnit4.kt");
        }

        @TestMetadata("jUnit4TestFile.kt")
        public void testJUnit4TestFile() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit4TestFile.kt");
        }

        @TestMetadata("jUnit5TestFile.kt")
        public void testJUnit5TestFile() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit5TestFile.kt");
        }

        @TestMetadata("jUnit5WithExtensionsTestFile.kt")
        public void testJUnit5WithExtensionsTestFile() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit5WithExtensionsTestFile.kt");
        }

        @TestMetadata("jUnitTestClassWithSubclasses.kt")
        public void testJUnitTestClassWithSubclasses() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnitTestClassWithSubclasses.kt");
        }

        @TestMetadata("testNGTestClassWithSubclasses.kt")
        public void testTestNGTestClassWithSubclasses() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/testNGTestClassWithSubclasses.kt");
        }
    }

    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("../../idea/tests/testData/codeInsight/lineMarker/runMarkers")
    public static class WithGradleConfiguration extends AbstractKotlinPsiBasedTestFrameworkK2Test {
        @java.lang.Override
        @org.jetbrains.annotations.NotNull
        public final KotlinPluginMode getPluginMode() {
            return KotlinPluginMode.K2;
        }

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

        @TestMetadata("jUnit3TestFile.kt")
        public void testJUnit3TestFile() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit3TestFile.kt");
        }

        @TestMetadata("jUnit3TestFileWithJUnit4.kt")
        public void testJUnit3TestFileWithJUnit4() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit3TestFileWithJUnit4.kt");
        }

        @TestMetadata("jUnit4TestFile.kt")
        public void testJUnit4TestFile() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit4TestFile.kt");
        }

        @TestMetadata("jUnit5TestFile.kt")
        public void testJUnit5TestFile() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit5TestFile.kt");
        }

        @TestMetadata("jUnit5WithExtensionsTestFile.kt")
        public void testJUnit5WithExtensionsTestFile() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnit5WithExtensionsTestFile.kt");
        }

        @TestMetadata("jUnitTestClassWithSubclasses.kt")
        public void testJUnitTestClassWithSubclasses() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/jUnitTestClassWithSubclasses.kt");
        }

        @TestMetadata("testNGTestClassWithSubclasses.kt")
        public void testTestNGTestClassWithSubclasses() throws Exception {
            runTest("../../idea/tests/testData/codeInsight/lineMarker/runMarkers/testNGTestClassWithSubclasses.kt");
        }
    }
}
