// 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.debugger.evaluate;

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("../../completion/testData/basic/codeFragments")
public abstract class K1CodeFragmentCompletionTestGenerated extends AbstractK1CodeFragmentCompletionTest {
    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("../../completion/testData/basic/codeFragments/runtimeType")
    public abstract static class RuntimeType extends AbstractK1CodeFragmentCompletionTest {
        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("../../completion/testData/basic/codeFragments/runtimeType/k1")
        public static class K1 extends AbstractK1CodeFragmentCompletionTest {
            @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("argumentType.kt")
            public void testArgumentType() throws Exception {
                runTest("../../completion/testData/basic/codeFragments/runtimeType/k1/argumentType.kt");
            }

            @TestMetadata("notImportedExtension.kt")
            public void testNotImportedExtension() throws Exception {
                runTest("../../completion/testData/basic/codeFragments/runtimeType/k1/notImportedExtension.kt");
            }

            @TestMetadata("runtimeCast.kt")
            public void testRuntimeCast() throws Exception {
                runTest("../../completion/testData/basic/codeFragments/runtimeType/k1/runtimeCast.kt");
            }

            @TestMetadata("smartCompletion.kt")
            public void testSmartCompletion() throws Exception {
                runTest("../../completion/testData/basic/codeFragments/runtimeType/k1/smartCompletion.kt");
            }
        }

        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("../../completion/testData/basic/codeFragments/runtimeType/k2")
        public static class K2 extends AbstractK1CodeFragmentCompletionTest {
            @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("argumentType.kt")
            public void testArgumentType() throws Exception {
                runTest("../../completion/testData/basic/codeFragments/runtimeType/k2/argumentType.kt");
            }

            @TestMetadata("notImportedExtension.kt")
            public void testNotImportedExtension() throws Exception {
                runTest("../../completion/testData/basic/codeFragments/runtimeType/k2/notImportedExtension.kt");
            }

            @TestMetadata("runtimeCast.kt")
            public void testRuntimeCast() throws Exception {
                runTest("../../completion/testData/basic/codeFragments/runtimeType/k2/runtimeCast.kt");
            }
        }

        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("../../completion/testData/basic/codeFragments/runtimeType")
        public static class Uncategorized extends AbstractK1CodeFragmentCompletionTest {
            @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("castWithGenerics.kt")
            public void testCastWithGenerics() throws Exception {
                runTest("../../completion/testData/basic/codeFragments/runtimeType/castWithGenerics.kt");
            }

            @TestMetadata("complexHierarchy.kt")
            public void testComplexHierarchy() throws Exception {
                runTest("../../completion/testData/basic/codeFragments/runtimeType/complexHierarchy.kt");
            }

            @TestMetadata("extensionMethod.kt")
            public void testExtensionMethod() throws Exception {
                runTest("../../completion/testData/basic/codeFragments/runtimeType/extensionMethod.kt");
            }

            @TestMetadata("extensionMethodForParameterizedType.kt")
            public void testExtensionMethodForParameterizedType() throws Exception {
                runTest("../../completion/testData/basic/codeFragments/runtimeType/extensionMethodForParameterizedType.kt");
            }

            @TestMetadata("extensionMethodForParameterizedTypeN.kt")
            public void testExtensionMethodForParameterizedTypeN() throws Exception {
                runTest("../../completion/testData/basic/codeFragments/runtimeType/extensionMethodForParameterizedTypeN.kt");
            }
        }
    }

    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("../../completion/testData/basic/codeFragments")
    public static class Uncategorized extends AbstractK1CodeFragmentCompletionTest {
        @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("blockCodeFragment.kt")
        public void testBlockCodeFragment() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/blockCodeFragment.kt");
        }

        @TestMetadata("classHeader.kt")
        public void testClassHeader() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/classHeader.kt");
        }

        @TestMetadata("elementAt.kt")
        public void testElementAt() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/elementAt.kt");
        }

        @TestMetadata("elementAtFirstInBlock.kt")
        public void testElementAtFirstInBlock() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/elementAtFirstInBlock.kt");
        }

        @TestMetadata("localVal.kt")
        public void testLocalVal() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/localVal.kt");
        }

        @TestMetadata("localVariables.kt")
        public void testLocalVariables() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/localVariables.kt");
        }

        @TestMetadata("localVariablesOnReturn.kt")
        public void testLocalVariablesOnReturn() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/localVariablesOnReturn.kt");
        }

        @TestMetadata("noDuplicatesForSyntheticProperties.kt")
        public void testNoDuplicatesForSyntheticProperties() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/noDuplicatesForSyntheticProperties.kt");
        }

        @TestMetadata("privateAndProtectedProperties.kt")
        public void testPrivateAndProtectedProperties() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/privateAndProtectedProperties.kt");
        }

        @TestMetadata("privateAndProtectedPropertiesOuterClass.kt")
        public void testPrivateAndProtectedPropertiesOuterClass() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/privateAndProtectedPropertiesOuterClass.kt");
        }

        @TestMetadata("privatesInSecondPressCompletion.kt")
        public void testPrivatesInSecondPressCompletion() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/privatesInSecondPressCompletion.kt");
        }

        @TestMetadata("syntheticFieldProperties.kt")
        public void testSyntheticFieldProperties() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/syntheticFieldProperties.kt");
        }

        @TestMetadata("topLevel.kt")
        public void testTopLevel() throws Exception {
            runTest("../../completion/testData/basic/codeFragments/topLevel.kt");
        }
    }
}
