/*
 * 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.EnforcedProperty;
import org.jetbrains.kotlin.konan.test.blackbox.support.ClassLevelProperty;
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/CExport/InterfaceNone")
@TestDataPath("$PROJECT_ROOT")
@EnforcedProperty(property = ClassLevelProperty.BINARY_LIBRARY_KIND, propertyValue = "DYNAMIC")
@EnforcedProperty(property = ClassLevelProperty.C_INTERFACE_MODE, propertyValue = "NONE")
@ClassicPipeline()
public class CExportDynamicInterfaceNoneTestGenerated extends AbstractNativeCExportTest {
  @Test
  public void testAllFilesPresentInInterfaceNone() {
    KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceNone"), Pattern.compile("^([^_](.+))$"), null, false);
  }

  @Test
  @TestMetadata("nativeRefs")
  public void testNativeRefs() {
    runTest("native/native.tests/testData/CExport/InterfaceNone/nativeRefs/");
  }

  @Test
  @TestMetadata("primitiveTypes")
  public void testPrimitiveTypes() {
    runTest("native/native.tests/testData/CExport/InterfaceNone/primitiveTypes/");
  }

  @Test
  @TestMetadata("smoke0")
  public void testSmoke0() {
    runTest("native/native.tests/testData/CExport/InterfaceNone/smoke0/");
  }
}
