/*
 * 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.konan.test.blackbox;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil;
import org.jetbrains.kotlin.konan.test.blackbox.support.group.ClassicPipeline;
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.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("native/native.tests/testData/CInterop/experimental/cases")
@TestDataPath("$PROJECT_ROOT")
@ClassicPipeline()
public class CInteropExperimentalTestGenerated extends AbstractNativeCInteropExperimentalTest {
  @Test
  public void testAllFilesPresentInCases() {
    KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/experimental/cases"), Pattern.compile("^([^_](.+))$"), null, false);
  }

  @Test
  @TestMetadata("enum")
  public void testEnum() {
    runTest("native/native.tests/testData/CInterop/experimental/cases/enum/");
  }

  @Test
  @TestMetadata("function")
  public void testFunction() {
    runTest("native/native.tests/testData/CInterop/experimental/cases/function/");
  }

  @Test
  @TestMetadata("global")
  public void testGlobal() {
    runTest("native/native.tests/testData/CInterop/experimental/cases/global/");
  }

  @Test
  @TestMetadata("objccategory")
  public void testObjccategory() {
    runTest("native/native.tests/testData/CInterop/experimental/cases/objccategory/");
  }

  @Test
  @TestMetadata("objcclass")
  public void testObjcclass() {
    runTest("native/native.tests/testData/CInterop/experimental/cases/objcclass/");
  }

  @Test
  @TestMetadata("objcprotocol")
  public void testObjcprotocol() {
    runTest("native/native.tests/testData/CInterop/experimental/cases/objcprotocol/");
  }

  @Test
  @TestMetadata("objctypedef")
  public void testObjctypedef() {
    runTest("native/native.tests/testData/CInterop/experimental/cases/objctypedef/");
  }

  @Test
  @TestMetadata("struct")
  public void testStruct() {
    runTest("native/native.tests/testData/CInterop/experimental/cases/struct/");
  }

  @Test
  @TestMetadata("typedef")
  public void testTypedef() {
    runTest("native/native.tests/testData/CInterop/experimental/cases/typedef/");
  }
}
