/*
 * 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 androidx.compose.compiler.plugins.kotlin;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil;
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 androidx.compose.compiler.plugins.kotlin.TestGeneratorKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("plugins/compose/compiler-hosted/testData/codegen")
@TestDataPath("$PROJECT_ROOT")
public class CompilerFacilityTestForComposeCompilerPluginGenerated extends AbstractCompilerFacilityTestForComposeCompilerPlugin {
  @Test
  @TestMetadata("abstractDefaults.kt")
  public void testAbstractDefaults() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/abstractDefaults.kt");
  }

  @Test
  public void testAllFilesPresentInCodegen() {
    KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/compose/compiler-hosted/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), null, true);
  }

  @Test
  @TestMetadata("annotatedParamInImmutable.kt")
  public void testAnnotatedParamInImmutable() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/annotatedParamInImmutable.kt");
  }

  @Test
  @TestMetadata("classContainingInlineFunction.kt")
  public void testClassContainingInlineFunction() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/classContainingInlineFunction.kt");
  }

  @Test
  @TestMetadata("composeNavigationWithDataClass.kt")
  public void testComposeNavigationWithDataClass() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/composeNavigationWithDataClass.kt");
  }

  @Test
  @TestMetadata("constExprInitializer.kt")
  public void testConstExprInitializer() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/constExprInitializer.kt");
  }

  @Test
  @TestMetadata("dataClass.kt")
  public void testDataClass() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/dataClass.kt");
  }

  @Test
  @TestMetadata("funInterface.kt")
  public void testFunInterface() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/funInterface.kt");
  }

  @Test
  @TestMetadata("inlineFuncInDependencyOfDependency.kt")
  public void testInlineFuncInDependencyOfDependency() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/inlineFuncInDependencyOfDependency.kt");
  }

  @Test
  @TestMetadata("inlineFuncWithExposedComposableSingleton.kt")
  public void testInlineFuncWithExposedComposableSingleton() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/inlineFuncWithExposedComposableSingleton.kt");
  }

  @Test
  @TestMetadata("interface.kt")
  public void testInterface() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/interface.kt");
  }

  @Test
  @TestMetadata("interfaceDelegation.kt")
  public void testInterfaceDelegation() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/interfaceDelegation.kt");
  }

  @Test
  @TestMetadata("interfaceWithFakeOverride.kt")
  public void testInterfaceWithFakeOverride() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/interfaceWithFakeOverride.kt");
  }

  @Test
  @TestMetadata("javaSam.kt")
  public void testJavaSam() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/javaSam.kt");
  }

  @Test
  @TestMetadata("lazyPropertyBackingField.kt")
  public void testLazyPropertyBackingField() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/lazyPropertyBackingField.kt");
  }

  @Test
  @TestMetadata("multiModulesWithComposableFunction.kt")
  public void testMultiModulesWithComposableFunction() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/multiModulesWithComposableFunction.kt");
  }

  @Test
  @TestMetadata("nestedLambda.kt")
  public void testNestedLambda() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/nestedLambda.kt");
  }

  @Test
  @TestMetadata("propertyGetterBody.kt")
  public void testPropertyGetterBody() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/propertyGetterBody.kt");
  }

  @Test
  @TestMetadata("propertyWithDelegateBackingField.kt")
  public void testPropertyWithDelegateBackingField() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/propertyWithDelegateBackingField.kt");
  }

  @Test
  @TestMetadata("sourceLibModuleInlineClass.kt")
  public void testSourceLibModuleInlineClass() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/sourceLibModuleInlineClass.kt");
  }

  @Test
  @TestMetadata("sourceLibModuleInlineFunc.kt")
  public void testSourceLibModuleInlineFunc() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/sourceLibModuleInlineFunc.kt");
  }

  @Test
  @TestMetadata("sourceLibModuleInlineFunc2.kt")
  public void testSourceLibModuleInlineFunc2() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/sourceLibModuleInlineFunc2.kt");
  }

  @Test
  @TestMetadata("sourceLibModuleInlineFuncJvmName.kt")
  public void testSourceLibModuleInlineFuncJvmName() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/sourceLibModuleInlineFuncJvmName.kt");
  }

  @Test
  @TestMetadata("sourceLibModuleInlineFuncOfCompanion.kt")
  public void testSourceLibModuleInlineFuncOfCompanion() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/sourceLibModuleInlineFuncOfCompanion.kt");
  }

  @Test
  @TestMetadata("sourceLibModuleInlineFuncOfInnerClass.kt")
  public void testSourceLibModuleInlineFuncOfInnerClass() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/sourceLibModuleInlineFuncOfInnerClass.kt");
  }

  @Test
  @TestMetadata("sourceLibModuleInlineFuncRef.kt")
  public void testSourceLibModuleInlineFuncRef() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/sourceLibModuleInlineFuncRef.kt");
  }

  @Test
  @TestMetadata("sourceLibModuleInlineFuncRef2.kt")
  public void testSourceLibModuleInlineFuncRef2() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/sourceLibModuleInlineFuncRef2.kt");
  }

  @Test
  @TestMetadata("sourceLibModuleInlinePropertyGetter.kt")
  public void testSourceLibModuleInlinePropertyGetter() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/sourceLibModuleInlinePropertyGetter.kt");
  }

  @Test
  @TestMetadata("testOverrideLambda.kt")
  public void testTestOverrideLambda() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/testOverrideLambda.kt");
  }

  @Test
  @TestMetadata("valueArgumentForLibraryConstructor.kt")
  public void testValueArgumentForLibraryConstructor() {
    runTest("plugins/compose/compiler-hosted/testData/codegen/valueArgumentForLibraryConstructor.kt");
  }
}
