/*
 * 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.plugin.sandbox;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil;
import org.jetbrains.kotlin.test.TargetBackend;
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/plugin-sandbox/testData/firLoadK2Compiled")
@TestDataPath("$PROJECT_ROOT")
public class FirLoadK2CompiledWithPluginJsKotlinTestGenerated extends AbstractFirLoadK2CompiledWithPluginJsKotlinTest {
  @Test
  public void testAllFilesPresentInFirLoadK2Compiled() {
    KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/plugin-sandbox/testData/firLoadK2Compiled"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
  }

  @Test
  @TestMetadata("annotationsGeneratedInBackend.kt")
  public void testAnnotationsGeneratedInBackend() {
    runTest("plugins/plugin-sandbox/testData/firLoadK2Compiled/annotationsGeneratedInBackend.kt");
  }

  @Test
  @TestMetadata("annotationsGeneratedInBackend_MPP.kt")
  public void testAnnotationsGeneratedInBackend_MPP() {
    runTest("plugins/plugin-sandbox/testData/firLoadK2Compiled/annotationsGeneratedInBackend_MPP.kt");
  }

  @Test
  @TestMetadata("simple.kt")
  public void testSimple() {
    runTest("plugins/plugin-sandbox/testData/firLoadK2Compiled/simple.kt");
  }

  @Test
  @TestMetadata("simple-lang-ver-2.1.kt")
  public void testSimple_lang_ver_2_1() {
    runTest("plugins/plugin-sandbox/testData/firLoadK2Compiled/simple-lang-ver-2.1.kt");
  }
}
