// 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.fir.findUsages;

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("fir/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../idea/tests/testData/findUsages/similarity/grouping")
public class KotlinGroupUsagesBySimilarityFirTestGenerated extends AbstractKotlinGroupUsagesBySimilarityFirTest {
    @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("blockHierarchy.kt")
    public void testBlockHierarchy() throws Exception {
        runTest("../../idea/tests/testData/findUsages/similarity/grouping/blockHierarchy.kt");
    }

    @TestMetadata("chainCalls.kt")
    public void testChainCalls() throws Exception {
        runTest("../../idea/tests/testData/findUsages/similarity/grouping/chainCalls.kt");
    }

    @TestMetadata("controlStatements.kt")
    public void testControlStatements() throws Exception {
        runTest("../../idea/tests/testData/findUsages/similarity/grouping/controlStatements.kt");
    }

    @TestMetadata("declaration.kt")
    public void testDeclaration() throws Exception {
        runTest("../../idea/tests/testData/findUsages/similarity/grouping/declaration.kt");
    }

    @TestMetadata("featuresForClassReferences.kt")
    public void testFeaturesForClassReferences() throws Exception {
        runTest("../../idea/tests/testData/findUsages/similarity/grouping/featuresForClassReferences.kt");
    }

    @TestMetadata("filter.kt")
    public void testFilter() throws Exception {
        runTest("../../idea/tests/testData/findUsages/similarity/grouping/filter.kt");
    }

    @TestMetadata("functionSignature.kt")
    public void testFunctionSignature() throws Exception {
        runTest("../../idea/tests/testData/findUsages/similarity/grouping/functionSignature.kt");
    }

    @TestMetadata("general.kt")
    public void testGeneral() throws Exception {
        runTest("../../idea/tests/testData/findUsages/similarity/grouping/general.kt");
    }

    @TestMetadata("import.kt")
    public void testImport() throws Exception {
        runTest("../../idea/tests/testData/findUsages/similarity/grouping/import.kt");
    }

    @TestMetadata("listAdd.kt")
    public void testListAdd() throws Exception {
        runTest("../../idea/tests/testData/findUsages/similarity/grouping/listAdd.kt");
    }

    @TestMetadata("noVariableNameFeatures.kt")
    public void testNoVariableNameFeatures() throws Exception {
        runTest("../../idea/tests/testData/findUsages/similarity/grouping/noVariableNameFeatures.kt");
    }

    @TestMetadata("typeReference.kt")
    public void testTypeReference() throws Exception {
        runTest("../../idea/tests/testData/findUsages/similarity/grouping/typeReference.kt");
    }
}
