// 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.hints.compilerPlugins;

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/kotlin.code-insight.k2")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("testData/hints/compilerPlugins/modality")
public abstract class KtCompilerPluginModalityHintProviderTestGenerated extends AbstractKtCompilerPluginModalityHintProviderTest {
    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/hints/compilerPlugins/modality/allopen")
    public static class Allopen extends AbstractKtCompilerPluginModalityHintProviderTest {
        @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("differentFormattings.kt")
        public void testDifferentFormattings() throws Exception {
            runTest("testData/hints/compilerPlugins/modality/allopen/differentFormattings.kt");
        }

        @TestMetadata("differentModifiersDirectly.kt")
        public void testDifferentModifiersDirectly() throws Exception {
            runTest("testData/hints/compilerPlugins/modality/allopen/differentModifiersDirectly.kt");
        }

        @TestMetadata("differentModifiersFromSuperType.kt")
        public void testDifferentModifiersFromSuperType() throws Exception {
            runTest("testData/hints/compilerPlugins/modality/allopen/differentModifiersFromSuperType.kt");
        }

        @TestMetadata("members.kt")
        public void testMembers() throws Exception {
            runTest("testData/hints/compilerPlugins/modality/allopen/members.kt");
        }
    }
}
