// Copyright 2000-2023 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.quickfix.tests;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
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/inspections-k2/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../../idea/tests/testData/quickfix/optIn")
public abstract class K2MultiFileQuickFixTestGenerated extends AbstractK2MultiFileQuickFixTest {
    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("../../../idea/tests/testData/quickfix/optIn/multifile")
    public static class Multifile extends AbstractK2MultiFileQuickFixTest {
        private void runTest(String testDataFilePath) throws Exception {
            KotlinTestUtils.runTest(this::doTestWithExtraFile, this, testDataFilePath);
        }

        @TestMetadata("apiFromJava.test")
        public void testApiFromJava() throws Exception {
            runTest("../../../idea/tests/testData/quickfix/optIn/multifile/apiFromJava.test");
        }

        @TestMetadata("apiFromJava2.test")
        public void testApiFromJava2() throws Exception {
            runTest("../../../idea/tests/testData/quickfix/optIn/multifile/apiFromJava2.test");
        }

        @TestMetadata("apiFromJava3.test")
        public void testApiFromJava3() throws Exception {
            runTest("../../../idea/tests/testData/quickfix/optIn/multifile/apiFromJava3.test");
        }

        @TestMetadata("apiFromJava4.test")
        public void testApiFromJava4() throws Exception {
            runTest("../../../idea/tests/testData/quickfix/optIn/multifile/apiFromJava4.test");
        }

        @TestMetadata("reservedKeywordPackage.test")
        public void testReservedKeywordPackage() throws Exception {
            runTest("../../../idea/tests/testData/quickfix/optIn/multifile/reservedKeywordPackage.test");
        }

        @TestMetadata("reservedKeywordPackage2.test")
        public void testReservedKeywordPackage2() throws Exception {
            runTest("../../../idea/tests/testData/quickfix/optIn/multifile/reservedKeywordPackage2.test");
        }
    }
}
