/*
 * 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.low.level.api.fir.diagnostic.compiler.based;

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.analysis.api.GenerateAnalysisApiTestsKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("plugins/scripting/scripting-tests/testData/codegen/testScripts")
@TestDataPath("$PROJECT_ROOT")
public class LLScriptWithCustomDefBlackBoxTestGenerated extends AbstractLLScriptWithCustomDefBlackBoxTest {
  @Test
  public void testAllFilesPresentInTestScripts() {
    KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/scripting/scripting-tests/testData/codegen/testScripts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|partialBody|fir|ll|latestLV)\\.kts?$"), true);
  }

  @Test
  @TestMetadata("annotations.test.kts")
  public void testAnnotations_test() {
    runTest("plugins/scripting/scripting-tests/testData/codegen/testScripts/annotations.test.kts");
  }

  @Test
  @TestMetadata("declarationsOrderExtension.test.kts")
  public void testDeclarationsOrderExtension_test() {
    runTest("plugins/scripting/scripting-tests/testData/codegen/testScripts/declarationsOrderExtension.test.kts");
  }

  @Test
  @TestMetadata("declarationsOrderSingleExpression.test.kts")
  public void testDeclarationsOrderSingleExpression_test() {
    runTest("plugins/scripting/scripting-tests/testData/codegen/testScripts/declarationsOrderSingleExpression.test.kts");
  }

  @Test
  @TestMetadata("declarationsOrderTopLevelProperty.test.kts")
  public void testDeclarationsOrderTopLevelProperty_test() {
    runTest("plugins/scripting/scripting-tests/testData/codegen/testScripts/declarationsOrderTopLevelProperty.test.kts");
  }

  @Test
  @TestMetadata("declarationsOrderWith.test.kts")
  public void testDeclarationsOrderWith_test() {
    runTest("plugins/scripting/scripting-tests/testData/codegen/testScripts/declarationsOrderWith.test.kts");
  }

  @Test
  @TestMetadata("empty.test.kts")
  public void testEmpty_test() {
    runTest("plugins/scripting/scripting-tests/testData/codegen/testScripts/empty.test.kts");
  }

  @Test
  @TestMetadata("params.test.kts")
  public void testParams_test() {
    runTest("plugins/scripting/scripting-tests/testData/codegen/testScripts/params.test.kts");
  }

  @Test
  @TestMetadata("reflect.test.kts")
  public void testReflect_test() {
    runTest("plugins/scripting/scripting-tests/testData/codegen/testScripts/reflect.test.kts");
  }

  @Test
  @TestMetadata("simple.test.kts")
  public void testSimple_test() {
    runTest("plugins/scripting/scripting-tests/testData/codegen/testScripts/simple.test.kts");
  }

  @Test
  @TestMetadata("unnamedLocalVariables.test.kts")
  public void testUnnamedLocalVariables_test() {
    runTest("plugins/scripting/scripting-tests/testData/codegen/testScripts/unnamedLocalVariables.test.kts");
  }
}
