/*
 * 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.kapt.cli.test;

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 org.jetbrains.kotlin.generators.tests.GenerateTestsKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("plugins/kapt/kapt-cli/testData/integration-kapt4")
@TestDataPath("$PROJECT_ROOT")
public class FirKaptToolIntegrationTestGenerated extends AbstractFirKaptToolIntegrationTest {
  @Test
  public void testAllFilesPresentInIntegration_kapt4() {
    KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kapt/kapt-cli/testData/integration-kapt4"), Pattern.compile("^([^.]+)$"), null, false);
  }

  @Test
  @TestMetadata("aptError")
  public void testAptError() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/aptError/");
  }

  @Test
  @TestMetadata("argfile")
  public void testArgfile() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/argfile/");
  }

  @Test
  @TestMetadata("compileModeUnsupported")
  public void testCompileModeUnsupported() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/compileModeUnsupported/");
  }

  @Test
  @TestMetadata("compilerPlugins")
  public void testCompilerPlugins() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/compilerPlugins/");
  }

  @Test
  @TestMetadata("correctErrorTypesOff")
  public void testCorrectErrorTypesOff() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/correctErrorTypesOff/");
  }

  @Test
  @TestMetadata("correctErrorTypesOn")
  public void testCorrectErrorTypesOn() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/correctErrorTypesOn/");
  }

  @Test
  @TestMetadata("defaultMethodsDisable")
  public void testDefaultMethodsDisable() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/defaultMethodsDisable/");
  }

  @Test
  @TestMetadata("defaultMethodsEnable")
  public void testDefaultMethodsEnable() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/defaultMethodsEnable/");
  }

  @Test
  @TestMetadata("defaultMethodsNoCompatibility")
  public void testDefaultMethodsNoCompatibility() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/defaultMethodsNoCompatibility/");
  }

  @Test
  @TestMetadata("defaultPackage")
  public void testDefaultPackage() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/defaultPackage/");
  }

  @Test
  @TestMetadata("kaptUseK2Flag")
  public void testKaptUseK2Flag() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/kaptUseK2Flag/");
  }

  @Test
  @TestMetadata("kotlinFileGeneration")
  public void testKotlinFileGeneration() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/kotlinFileGeneration/");
  }

  @Test
  @TestMetadata("kotlinFileGenerationDefaultOutput")
  public void testKotlinFileGenerationDefaultOutput() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/kotlinFileGenerationDefaultOutput/");
  }

  @Test
  @TestMetadata("kt33800")
  public void testKt33800() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/kt33800/");
  }

  @Test
  @TestMetadata("multipass")
  public void testMultipass() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/multipass/");
  }

  @Test
  @TestMetadata("noOutput")
  public void testNoOutput() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/noOutput/");
  }

  @Test
  @TestMetadata("separateStubAptCompilation")
  public void testSeparateStubAptCompilation() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/separateStubAptCompilation/");
  }

  @Test
  @TestMetadata("simple")
  public void testSimple() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/simple/");
  }

  @Test
  @TestMetadata("withoutService")
  public void testWithoutService() {
    runTest("plugins/kapt/kapt-cli/testData/integration-kapt4/withoutService/");
  }
}
