/*
 * 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.fir.dataframe;

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/kotlin-dataframe/testData/diagnostics")
@TestDataPath("$PROJECT_ROOT")
public class DataFrameDiagnosticTestGenerated extends AbstractDataFrameDiagnosticTest {
  @Test
  public void testAllFilesPresentInDiagnostics() {
    KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlin-dataframe/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true);
  }

  @Test
  @TestMetadata("disableInterpretation.kt")
  public void testDisableInterpretation() {
    runTest("plugins/kotlin-dataframe/testData/diagnostics/disableInterpretation.kt");
  }

  @Test
  @TestMetadata("schemaInfo.kt")
  public void testSchemaInfo() {
    runTest("plugins/kotlin-dataframe/testData/diagnostics/schemaInfo.kt");
  }

  @Test
  @TestMetadata("selectDuringTyping.kt")
  public void testSelectDuringTyping() {
    runTest("plugins/kotlin-dataframe/testData/diagnostics/selectDuringTyping.kt");
  }

  @Test
  @TestMetadata("structuralCast.kt")
  public void testStructuralCast() {
    runTest("plugins/kotlin-dataframe/testData/diagnostics/structuralCast.kt");
  }

  @Test
  @TestMetadata("targetOfCastIsNotDataSchema.kt")
  public void testTargetOfCastIsNotDataSchema() {
    runTest("plugins/kotlin-dataframe/testData/diagnostics/targetOfCastIsNotDataSchema.kt");
  }

  @Test
  @TestMetadata("toDataFrame_java.kt")
  public void testToDataFrame_java() {
    runTest("plugins/kotlin-dataframe/testData/diagnostics/toDataFrame_java.kt");
  }
}
