/*
 * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
 * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
 */

package org.jetbrains.kotlin.analysis.api.standalone.fir.test.cases.generated.cases.symbols;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.kotlin.analysis.api.standalone.fir.test.configurators.AnalysisApiFirStandaloneModeTestConfiguratorFactory;
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiTestConfiguratorFactoryData;
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiTestConfigurator;
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.TestModuleKind;
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.FrontendKind;
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisSessionMode;
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiMode;
import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.symbols.AbstractSymbolByFqNameTest;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.jupiter.api.Test;

import java.io.File;
import java.util.regex.Pattern;

/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.analysis.api.GenerateAnalysisApiTestsKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByFqName")
@TestDataPath("$PROJECT_ROOT")
public class FirStandaloneNormalAnalysisSourceModuleSymbolByFqNameTestGenerated extends AbstractSymbolByFqNameTest {
  @NotNull
  @Override
  public AnalysisApiTestConfigurator getConfigurator() {
    return AnalysisApiFirStandaloneModeTestConfiguratorFactory.INSTANCE.createConfigurator(
      new AnalysisApiTestConfiguratorFactoryData(
        FrontendKind.Fir,
        TestModuleKind.Source,
        AnalysisSessionMode.Normal,
        AnalysisApiMode.Standalone
      )
    );
  }

  @Test
  public void testAllFilesPresentInSymbolByFqName() {
    KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByFqName"), Pattern.compile("^(.+)\\.kt$"), null, true, "withTestCompilerPluginEnabled");
  }

  @Test
  @TestMetadata("any.kt")
  public void testAny() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/any.kt");
  }

  @Test
  @TestMetadata("array.kt")
  public void testArray() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/array.kt");
  }

  @Test
  @TestMetadata("class.kt")
  public void testClass() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/class.kt");
  }

  @Test
  @TestMetadata("classFromJdk.kt")
  public void testClassFromJdk() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/classFromJdk.kt");
  }

  @Test
  @TestMetadata("classWithContextReceiverFromLibrary.kt")
  public void testClassWithContextReceiverFromLibrary() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/classWithContextReceiverFromLibrary.kt");
  }

  @Test
  @TestMetadata("enumEntry.kt")
  public void testEnumEntry() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/enumEntry.kt");
  }

  @Test
  @TestMetadata("fileWalkDirectionEnum.kt")
  public void testFileWalkDirectionEnum() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.kt");
  }

  @Test
  @TestMetadata("functionWithContextParameterFromLibrary.kt")
  public void testFunctionWithContextParameterFromLibrary() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/functionWithContextParameterFromLibrary.kt");
  }

  @Test
  @TestMetadata("functionWithContextReceiverFromLibrary.kt")
  public void testFunctionWithContextReceiverFromLibrary() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/functionWithContextReceiverFromLibrary.kt");
  }

  @Test
  @TestMetadata("getFirst.kt")
  public void testGetFirst() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/getFirst.kt");
  }

  @Test
  @TestMetadata("intArray.kt")
  public void testIntArray() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/intArray.kt");
  }

  @Test
  @TestMetadata("iterator.kt")
  public void testIterator() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/iterator.kt");
  }

  @Test
  @TestMetadata("kclass.kt")
  public void testKclass() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/kclass.kt");
  }

  @Test
  @TestMetadata("libraryNestedClass.kt")
  public void testLibraryNestedClass() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/libraryNestedClass.kt");
  }

  @Test
  @TestMetadata("listOf.kt")
  public void testListOf() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/listOf.kt");
  }

  @Test
  @TestMetadata("memberFunction.kt")
  public void testMemberFunction() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.kt");
  }

  @Test
  @TestMetadata("memberFunctionWithOverloads.kt")
  public void testMemberFunctionWithOverloads() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.kt");
  }

  @Test
  @TestMetadata("nestedClass.kt")
  public void testNestedClass() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/nestedClass.kt");
  }

  @Test
  @TestMetadata("nothing.kt")
  public void testNothing() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/nothing.kt");
  }

  @Test
  @TestMetadata("propertyFromAnnotation.kt")
  public void testPropertyFromAnnotation() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/propertyFromAnnotation.kt");
  }

  @Test
  @TestMetadata("propertyFromAnnotationJs.kt")
  public void testPropertyFromAnnotationJs() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/propertyFromAnnotationJs.kt");
  }

  @Test
  @TestMetadata("propertyFromAnnotationWithDefaultValue.kt")
  public void testPropertyFromAnnotationWithDefaultValue() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/propertyFromAnnotationWithDefaultValue.kt");
  }

  @Test
  @TestMetadata("propertyFromAnnotationWithDefaultValueJs.kt")
  public void testPropertyFromAnnotationWithDefaultValueJs() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/propertyFromAnnotationWithDefaultValueJs.kt");
  }

  @Test
  @TestMetadata("propertyFromAnnotationWithVararg.kt")
  public void testPropertyFromAnnotationWithVararg() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/propertyFromAnnotationWithVararg.kt");
  }

  @Test
  @TestMetadata("propertyFromAnnotationWithVarargAndDefaultValue.kt")
  public void testPropertyFromAnnotationWithVarargAndDefaultValue() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/propertyFromAnnotationWithVarargAndDefaultValue.kt");
  }

  @Test
  @TestMetadata("propertyFromAnnotationWithVarargAndDefaultValueJs.kt")
  public void testPropertyFromAnnotationWithVarargAndDefaultValueJs() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/propertyFromAnnotationWithVarargAndDefaultValueJs.kt");
  }

  @Test
  @TestMetadata("propertyFromAnnotationWithVarargJs.kt")
  public void testPropertyFromAnnotationWithVarargJs() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/propertyFromAnnotationWithVarargJs.kt");
  }

  @Test
  @TestMetadata("propertyWithContextParameterFromLibrary.kt")
  public void testPropertyWithContextParameterFromLibrary() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/propertyWithContextParameterFromLibrary.kt");
  }

  @Test
  @TestMetadata("propertyWithContextReceiverFromLibrary.kt")
  public void testPropertyWithContextReceiverFromLibrary() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/propertyWithContextReceiverFromLibrary.kt");
  }

  @Test
  @TestMetadata("samConstructorFromInterface.kt")
  public void testSamConstructorFromInterface() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/samConstructorFromInterface.kt");
  }

  @Test
  @TestMetadata("samConstructorFromTypeAlias.kt")
  public void testSamConstructorFromTypeAlias() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/samConstructorFromTypeAlias.kt");
  }

  @Test
  @TestMetadata("signatureEnhancementOuterClassBoundsToInner.kt")
  public void testSignatureEnhancementOuterClassBoundsToInner() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/signatureEnhancementOuterClassBoundsToInner.kt");
  }

  @Test
  @TestMetadata("typealias.kt")
  public void testTypealias() {
    runTest("analysis/analysis-api/testData/symbols/symbolByFqName/typealias.kt");
  }
}
