939a74add3
#KT-66174 Fixed
1653 lines
58 KiB
Java
Generated
1653 lines
58 KiB
Java
Generated
/*
|
|
* 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.cli;
|
|
|
|
import com.intellij.testFramework.TestDataPath;
|
|
import org.jetbrains.kotlin.test.JUnit3RunnerWithInners;
|
|
import org.jetbrains.kotlin.test.KotlinTestUtils;
|
|
import org.jetbrains.kotlin.test.util.KtTestUtil;
|
|
import org.jetbrains.kotlin.test.TestMetadata;
|
|
import org.junit.runner.RunWith;
|
|
|
|
import java.io.File;
|
|
import java.util.regex.Pattern;
|
|
|
|
/** This class is generated by {@link org.jetbrains.kotlin.test.generators.GenerateCompilerTestsKt}. DO NOT MODIFY MANUALLY */
|
|
@SuppressWarnings("all")
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
public class CliTestGenerated extends AbstractCliTest {
|
|
@TestMetadata("compiler/testData/cli/jvm/readingConfigFromEnvironment")
|
|
@TestDataPath("$PROJECT_ROOT")
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
public static class ReadingConfigFromEnvironment extends AbstractCliTest {
|
|
private void runTest(String testDataFilePath) {
|
|
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
|
|
}
|
|
|
|
public void testAllFilesPresentInReadingConfigFromEnvironment() {
|
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/readingConfigFromEnvironment"), Pattern.compile("^(.+)\\.args$"), null, false);
|
|
}
|
|
|
|
@TestMetadata("appendingArgs.args")
|
|
public void testAppendingArgs() {
|
|
runTest("compiler/testData/cli/jvm/readingConfigFromEnvironment/appendingArgs.args");
|
|
}
|
|
|
|
@TestMetadata("overridingArgs.args")
|
|
public void testOverridingArgs() {
|
|
runTest("compiler/testData/cli/jvm/readingConfigFromEnvironment/overridingArgs.args");
|
|
}
|
|
|
|
@TestMetadata("overridingLv.args")
|
|
public void testOverridingLv() {
|
|
runTest("compiler/testData/cli/jvm/readingConfigFromEnvironment/overridingLv.args");
|
|
}
|
|
|
|
@TestMetadata("overridingXx.args")
|
|
public void testOverridingXx() {
|
|
runTest("compiler/testData/cli/jvm/readingConfigFromEnvironment/overridingXx.args");
|
|
}
|
|
|
|
@TestMetadata("simple.args")
|
|
public void testSimple() {
|
|
runTest("compiler/testData/cli/jvm/readingConfigFromEnvironment/simple.args");
|
|
}
|
|
}
|
|
|
|
@TestMetadata("compiler/testData/cli/jvm/plugins")
|
|
@TestDataPath("$PROJECT_ROOT")
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
public static class Plugins extends AbstractCliTest {
|
|
private void runTest(String testDataFilePath) {
|
|
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
|
|
}
|
|
|
|
public void testAllFilesPresentInPlugins() {
|
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/plugins"), Pattern.compile("^(.+)\\.args$"), null, false);
|
|
}
|
|
|
|
@TestMetadata("firAllOpenPlugin_legacy.args")
|
|
public void testFirAllOpenPlugin_legacy() {
|
|
runTest("compiler/testData/cli/jvm/plugins/firAllOpenPlugin_legacy.args");
|
|
}
|
|
|
|
@TestMetadata("firAllOpenPlugin_modern.args")
|
|
public void testFirAllOpenPlugin_modern() {
|
|
runTest("compiler/testData/cli/jvm/plugins/firAllOpenPlugin_modern.args");
|
|
}
|
|
|
|
@TestMetadata("mixingModernAndLegacyArgs.args")
|
|
public void testMixingModernAndLegacyArgs() {
|
|
runTest("compiler/testData/cli/jvm/plugins/mixingModernAndLegacyArgs.args");
|
|
}
|
|
|
|
@TestMetadata("multipleOptionsForOnePlugin.args")
|
|
public void testMultipleOptionsForOnePlugin() {
|
|
runTest("compiler/testData/cli/jvm/plugins/multipleOptionsForOnePlugin.args");
|
|
}
|
|
|
|
@TestMetadata("multiplePlugins.args")
|
|
public void testMultiplePlugins() {
|
|
runTest("compiler/testData/cli/jvm/plugins/multiplePlugins.args");
|
|
}
|
|
|
|
@TestMetadata("multiplePluginsInSameArg.args")
|
|
public void testMultiplePluginsInSameArg() {
|
|
runTest("compiler/testData/cli/jvm/plugins/multiplePluginsInSameArg.args");
|
|
}
|
|
|
|
@TestMetadata("noPluginInClasspath.args")
|
|
public void testNoPluginInClasspath() {
|
|
runTest("compiler/testData/cli/jvm/plugins/noPluginInClasspath.args");
|
|
}
|
|
}
|
|
|
|
@TestMetadata("compiler/testData/cli/jvm/hmpp")
|
|
@TestDataPath("$PROJECT_ROOT")
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
public static class Hmpp extends AbstractCliTest {
|
|
private void runTest(String testDataFilePath) {
|
|
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
|
|
}
|
|
|
|
public void testAllFilesPresentInHmpp() {
|
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/hmpp"), Pattern.compile("^(.+)\\.args$"), null, false);
|
|
}
|
|
|
|
@TestMetadata("cycleInDependencies.args")
|
|
public void testCycleInDependencies() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/cycleInDependencies.args");
|
|
}
|
|
|
|
@TestMetadata("duplicatedFragments.args")
|
|
public void testDuplicatedFragments() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/duplicatedFragments.args");
|
|
}
|
|
|
|
@TestMetadata("fragmentSourcesIncorrectSyntax.args")
|
|
public void testFragmentSourcesIncorrectSyntax() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/fragmentSourcesIncorrectSyntax.args");
|
|
}
|
|
|
|
@TestMetadata("fragmentWithoutSources.args")
|
|
public void testFragmentWithoutSources() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/fragmentWithoutSources.args");
|
|
}
|
|
|
|
@TestMetadata("lowLanguageVersion.args")
|
|
public void testLowLanguageVersion() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/lowLanguageVersion.args");
|
|
}
|
|
|
|
@TestMetadata("missingFragment.args")
|
|
public void testMissingFragment() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/missingFragment.args");
|
|
}
|
|
|
|
@TestMetadata("refinesSingleModule.args")
|
|
public void testRefinesSingleModule() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/refinesSingleModule.args");
|
|
}
|
|
|
|
@TestMetadata("refinesWithoutFragments.args")
|
|
public void testRefinesWithoutFragments() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/refinesWithoutFragments.args");
|
|
}
|
|
|
|
@TestMetadata("sameSourceInDifferentFragments.args")
|
|
public void testSameSourceInDifferentFragments() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/sameSourceInDifferentFragments.args");
|
|
}
|
|
|
|
@TestMetadata("scriptInCommonFragment.args")
|
|
public void testScriptInCommonFragment() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/scriptInCommonFragment.args");
|
|
}
|
|
|
|
@TestMetadata("sourceNotInAnyFragment.args")
|
|
public void testSourceNotInAnyFragment() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/sourceNotInAnyFragment.args");
|
|
}
|
|
|
|
@TestMetadata("successfulCompilation.args")
|
|
public void testSuccessfulCompilation() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/successfulCompilation.args");
|
|
}
|
|
|
|
@TestMetadata("successfulCompilation2.args")
|
|
public void testSuccessfulCompilation2() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/successfulCompilation2.args");
|
|
}
|
|
|
|
@TestMetadata("successfulCompilationWithScript.args")
|
|
public void testSuccessfulCompilationWithScript() {
|
|
runTest("compiler/testData/cli/jvm/hmpp/successfulCompilationWithScript.args");
|
|
}
|
|
}
|
|
|
|
@TestMetadata("compiler/testData/cli/jvm")
|
|
@TestDataPath("$PROJECT_ROOT")
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
public static class Jvm extends AbstractCliTest {
|
|
private void runTest(String testDataFilePath) {
|
|
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
|
|
}
|
|
|
|
@TestMetadata("abiStabilityIncorrectValue.args")
|
|
public void testAbiStabilityIncorrectValue() {
|
|
runTest("compiler/testData/cli/jvm/abiStabilityIncorrectValue.args");
|
|
}
|
|
|
|
public void testAllFilesPresentInJvm() {
|
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm"), Pattern.compile("^(.+)\\.args$"), null, false);
|
|
}
|
|
|
|
@TestMetadata("apiAndLanguageVersionsUnsupported.args")
|
|
public void testApiAndLanguageVersionsUnsupported() {
|
|
runTest("compiler/testData/cli/jvm/apiAndLanguageVersionsUnsupported.args");
|
|
}
|
|
|
|
@TestMetadata("apiVersion.args")
|
|
public void testApiVersion() {
|
|
runTest("compiler/testData/cli/jvm/apiVersion.args");
|
|
}
|
|
|
|
@TestMetadata("apiVersionAndSinceNewerKotlin.args")
|
|
public void testApiVersionAndSinceNewerKotlin() {
|
|
runTest("compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.args");
|
|
}
|
|
|
|
@TestMetadata("apiVersionGreaterThanLanguage.args")
|
|
public void testApiVersionGreaterThanLanguage() {
|
|
runTest("compiler/testData/cli/jvm/apiVersionGreaterThanLanguage.args");
|
|
}
|
|
|
|
@TestMetadata("apiVersionGreaterThanLanguageSuppress.args")
|
|
public void testApiVersionGreaterThanLanguageSuppress() {
|
|
runTest("compiler/testData/cli/jvm/apiVersionGreaterThanLanguageSuppress.args");
|
|
}
|
|
|
|
@TestMetadata("apiVersionGreaterThanLanguageSuppressUseless.args")
|
|
public void testApiVersionGreaterThanLanguageSuppressUseless() {
|
|
runTest("compiler/testData/cli/jvm/apiVersionGreaterThanLanguageSuppressUseless.args");
|
|
}
|
|
|
|
@TestMetadata("apiVersionInvalid.args")
|
|
public void testApiVersionInvalid() {
|
|
runTest("compiler/testData/cli/jvm/apiVersionInvalid.args");
|
|
}
|
|
|
|
@TestMetadata("apiVersionLessThanLanguage.args")
|
|
public void testApiVersionLessThanLanguage() {
|
|
runTest("compiler/testData/cli/jvm/apiVersionLessThanLanguage.args");
|
|
}
|
|
|
|
@TestMetadata("apiVersionLessThanLanguageUsingArgfile.args")
|
|
public void testApiVersionLessThanLanguageUsingArgfile() {
|
|
runTest("compiler/testData/cli/jvm/apiVersionLessThanLanguageUsingArgfile.args");
|
|
}
|
|
|
|
@TestMetadata("apiVersionUnsupported.args")
|
|
public void testApiVersionUnsupported() {
|
|
runTest("compiler/testData/cli/jvm/apiVersionUnsupported.args");
|
|
}
|
|
|
|
@TestMetadata("argfileWithEmptyArgument.args")
|
|
public void testArgfileWithEmptyArgument() {
|
|
runTest("compiler/testData/cli/jvm/argfileWithEmptyArgument.args");
|
|
}
|
|
|
|
@TestMetadata("argfileWithEscaping.args")
|
|
public void testArgfileWithEscaping() {
|
|
runTest("compiler/testData/cli/jvm/argfileWithEscaping.args");
|
|
}
|
|
|
|
@TestMetadata("argfileWithUnfinishedQuoteAndEscape.args")
|
|
public void testArgfileWithUnfinishedQuoteAndEscape() {
|
|
runTest("compiler/testData/cli/jvm/argfileWithUnfinishedQuoteAndEscape.args");
|
|
}
|
|
|
|
@TestMetadata("argumentPassedMultipleTimes.args")
|
|
public void testArgumentPassedMultipleTimes() {
|
|
runTest("compiler/testData/cli/jvm/argumentPassedMultipleTimes.args");
|
|
}
|
|
|
|
@TestMetadata("builderInferenceByDefault.args")
|
|
public void testBuilderInferenceByDefault() {
|
|
runTest("compiler/testData/cli/jvm/builderInferenceByDefault.args");
|
|
}
|
|
|
|
@TestMetadata("builderInferenceErrors.args")
|
|
public void testBuilderInferenceErrors() {
|
|
runTest("compiler/testData/cli/jvm/builderInferenceErrors.args");
|
|
}
|
|
|
|
@TestMetadata("classAndFileClassClash.args")
|
|
public void testClassAndFileClassClash() {
|
|
runTest("compiler/testData/cli/jvm/classAndFileClassClash.args");
|
|
}
|
|
|
|
@TestMetadata("classAndOtherFileClassClash.args")
|
|
public void testClassAndOtherFileClassClash() {
|
|
runTest("compiler/testData/cli/jvm/classAndOtherFileClassClash.args");
|
|
}
|
|
|
|
@TestMetadata("classAndPartClash.args")
|
|
public void testClassAndPartClash() {
|
|
runTest("compiler/testData/cli/jvm/classAndPartClash.args");
|
|
}
|
|
|
|
@TestMetadata("classAndTraitClash.args")
|
|
public void testClassAndTraitClash() {
|
|
runTest("compiler/testData/cli/jvm/classAndTraitClash.args");
|
|
}
|
|
|
|
@TestMetadata("classpath.args")
|
|
public void testClasspath() {
|
|
runTest("compiler/testData/cli/jvm/classpath.args");
|
|
}
|
|
|
|
@TestMetadata("compatqualDefault.args")
|
|
public void testCompatqualDefault() {
|
|
runTest("compiler/testData/cli/jvm/compatqualDefault.args");
|
|
}
|
|
|
|
@TestMetadata("compatqualDisable.args")
|
|
public void testCompatqualDisable() {
|
|
runTest("compiler/testData/cli/jvm/compatqualDisable.args");
|
|
}
|
|
|
|
@TestMetadata("compatqualEnable.args")
|
|
public void testCompatqualEnable() {
|
|
runTest("compiler/testData/cli/jvm/compatqualEnable.args");
|
|
}
|
|
|
|
@TestMetadata("compatqualWrong.args")
|
|
public void testCompatqualWrong() {
|
|
runTest("compiler/testData/cli/jvm/compatqualWrong.args");
|
|
}
|
|
|
|
@TestMetadata("conflictingJvmDeclarations.args")
|
|
public void testConflictingJvmDeclarations() {
|
|
runTest("compiler/testData/cli/jvm/conflictingJvmDeclarations.args");
|
|
}
|
|
|
|
@TestMetadata("conflictingJvmDeclarationsK2.args")
|
|
public void testConflictingJvmDeclarationsK2() {
|
|
runTest("compiler/testData/cli/jvm/conflictingJvmDeclarationsK2.args");
|
|
}
|
|
|
|
@TestMetadata("conflictingOverloads.args")
|
|
public void testConflictingOverloads() {
|
|
runTest("compiler/testData/cli/jvm/conflictingOverloads.args");
|
|
}
|
|
|
|
@TestMetadata("conflictingProjection.args")
|
|
public void testConflictingProjection() {
|
|
runTest("compiler/testData/cli/jvm/conflictingProjection.args");
|
|
}
|
|
|
|
@TestMetadata("coroutinesEnable.args")
|
|
public void testCoroutinesEnable() {
|
|
runTest("compiler/testData/cli/jvm/coroutinesEnable.args");
|
|
}
|
|
|
|
@TestMetadata("coroutinesError.args")
|
|
public void testCoroutinesError() {
|
|
runTest("compiler/testData/cli/jvm/coroutinesError.args");
|
|
}
|
|
|
|
@TestMetadata("coroutinesErrorAndEnable.args")
|
|
public void testCoroutinesErrorAndEnable() {
|
|
runTest("compiler/testData/cli/jvm/coroutinesErrorAndEnable.args");
|
|
}
|
|
|
|
@TestMetadata("coroutinesWarn.args")
|
|
public void testCoroutinesWarn() {
|
|
runTest("compiler/testData/cli/jvm/coroutinesWarn.args");
|
|
}
|
|
|
|
@TestMetadata("deprecatedApiVersion.args")
|
|
public void testDeprecatedApiVersion() {
|
|
runTest("compiler/testData/cli/jvm/deprecatedApiVersion.args");
|
|
}
|
|
|
|
@TestMetadata("deprecatedLanguageUnsupportedApi.args")
|
|
public void testDeprecatedLanguageUnsupportedApi() {
|
|
runTest("compiler/testData/cli/jvm/deprecatedLanguageUnsupportedApi.args");
|
|
}
|
|
|
|
@TestMetadata("deprecatedLanguageVersion.args")
|
|
public void testDeprecatedLanguageVersion() {
|
|
runTest("compiler/testData/cli/jvm/deprecatedLanguageVersion.args");
|
|
}
|
|
|
|
@TestMetadata("diagnosticsOrder.args")
|
|
public void testDiagnosticsOrder() {
|
|
runTest("compiler/testData/cli/jvm/diagnosticsOrder.args");
|
|
}
|
|
|
|
@TestMetadata("disabledFeatureFromUnsupportedVersion.args")
|
|
public void testDisabledFeatureFromUnsupportedVersion() {
|
|
runTest("compiler/testData/cli/jvm/disabledFeatureFromUnsupportedVersion.args");
|
|
}
|
|
|
|
@TestMetadata("duplicateSources.args")
|
|
public void testDuplicateSources() {
|
|
runTest("compiler/testData/cli/jvm/duplicateSources.args");
|
|
}
|
|
|
|
@TestMetadata("duplicateSourcesInModule.args")
|
|
public void testDuplicateSourcesInModule() {
|
|
runTest("compiler/testData/cli/jvm/duplicateSourcesInModule.args");
|
|
}
|
|
|
|
@TestMetadata("duplicateSourcesNormalized.args")
|
|
public void testDuplicateSourcesNormalized() {
|
|
runTest("compiler/testData/cli/jvm/duplicateSourcesNormalized.args");
|
|
}
|
|
|
|
@TestMetadata("emptySources.args")
|
|
public void testEmptySources() {
|
|
runTest("compiler/testData/cli/jvm/emptySources.args");
|
|
}
|
|
|
|
@TestMetadata("enumEntriesForJavaNotEnabled.args")
|
|
public void testEnumEntriesForJavaNotEnabled() {
|
|
runTest("compiler/testData/cli/jvm/enumEntriesForJavaNotEnabled.args");
|
|
}
|
|
|
|
@TestMetadata("enumEntriesNotEnabled.args")
|
|
public void testEnumEntriesNotEnabled() {
|
|
runTest("compiler/testData/cli/jvm/enumEntriesNotEnabled.args");
|
|
}
|
|
|
|
@TestMetadata("errorSuppressionNoWarning.args")
|
|
public void testErrorSuppressionNoWarning() {
|
|
runTest("compiler/testData/cli/jvm/errorSuppressionNoWarning.args");
|
|
}
|
|
|
|
@TestMetadata("errorSuppressionWarning.args")
|
|
public void testErrorSuppressionWarning() {
|
|
runTest("compiler/testData/cli/jvm/errorSuppressionWarning.args");
|
|
}
|
|
|
|
@TestMetadata("experimentalDeprecated.args")
|
|
public void testExperimentalDeprecated() {
|
|
runTest("compiler/testData/cli/jvm/experimentalDeprecated.args");
|
|
}
|
|
|
|
@TestMetadata("experimentalDeprecatedK1.args")
|
|
public void testExperimentalDeprecatedK1() {
|
|
runTest("compiler/testData/cli/jvm/experimentalDeprecatedK1.args");
|
|
}
|
|
|
|
@TestMetadata("experimentalDeprecatedWarning.args")
|
|
public void testExperimentalDeprecatedWarning() {
|
|
runTest("compiler/testData/cli/jvm/experimentalDeprecatedWarning.args");
|
|
}
|
|
|
|
@TestMetadata("experimentalDeprecatedWarningK1.args")
|
|
public void testExperimentalDeprecatedWarningK1() {
|
|
runTest("compiler/testData/cli/jvm/experimentalDeprecatedWarningK1.args");
|
|
}
|
|
|
|
@TestMetadata("experimentalIsNotAnnotation.args")
|
|
public void testExperimentalIsNotAnnotation() {
|
|
runTest("compiler/testData/cli/jvm/experimentalIsNotAnnotation.args");
|
|
}
|
|
|
|
@TestMetadata("experimentalIsNotAnnotationK1.args")
|
|
public void testExperimentalIsNotAnnotationK1() {
|
|
runTest("compiler/testData/cli/jvm/experimentalIsNotAnnotationK1.args");
|
|
}
|
|
|
|
@TestMetadata("experimentalIsNotMarker.args")
|
|
public void testExperimentalIsNotMarker() {
|
|
runTest("compiler/testData/cli/jvm/experimentalIsNotMarker.args");
|
|
}
|
|
|
|
@TestMetadata("experimentalIsNotMarkerK1.args")
|
|
public void testExperimentalIsNotMarkerK1() {
|
|
runTest("compiler/testData/cli/jvm/experimentalIsNotMarkerK1.args");
|
|
}
|
|
|
|
@TestMetadata("experimentalNested.args")
|
|
public void testExperimentalNested() {
|
|
runTest("compiler/testData/cli/jvm/experimentalNested.args");
|
|
}
|
|
|
|
@TestMetadata("experimentalNestedK1.args")
|
|
public void testExperimentalNestedK1() {
|
|
runTest("compiler/testData/cli/jvm/experimentalNestedK1.args");
|
|
}
|
|
|
|
@TestMetadata("experimentalUnresolved.args")
|
|
public void testExperimentalUnresolved() {
|
|
runTest("compiler/testData/cli/jvm/experimentalUnresolved.args");
|
|
}
|
|
|
|
@TestMetadata("experimentalUnresolvedK1.args")
|
|
public void testExperimentalUnresolvedK1() {
|
|
runTest("compiler/testData/cli/jvm/experimentalUnresolvedK1.args");
|
|
}
|
|
|
|
@TestMetadata("explicitlyDisableSamConversionsWithOldFlag.args")
|
|
public void testExplicitlyDisableSamConversionsWithOldFlag() {
|
|
runTest("compiler/testData/cli/jvm/explicitlyDisableSamConversionsWithOldFlag.args");
|
|
}
|
|
|
|
@TestMetadata("explicitlyDisabledSamConversions.args")
|
|
public void testExplicitlyDisabledSamConversions() {
|
|
runTest("compiler/testData/cli/jvm/explicitlyDisabledSamConversions.args");
|
|
}
|
|
|
|
@TestMetadata("expression1.args")
|
|
public void testExpression1() {
|
|
runTest("compiler/testData/cli/jvm/expression1.args");
|
|
}
|
|
|
|
@TestMetadata("extendedCheckers.args")
|
|
public void testExtendedCheckers() {
|
|
runTest("compiler/testData/cli/jvm/extendedCheckers.args");
|
|
}
|
|
|
|
@TestMetadata("extendedCheckersNoWarning.args")
|
|
public void testExtendedCheckersNoWarning() {
|
|
runTest("compiler/testData/cli/jvm/extendedCheckersNoWarning.args");
|
|
}
|
|
|
|
@TestMetadata("extraArgumentPassedInObsoleteForm.args")
|
|
public void testExtraArgumentPassedInObsoleteForm() {
|
|
runTest("compiler/testData/cli/jvm/extraArgumentPassedInObsoleteForm.args");
|
|
}
|
|
|
|
@TestMetadata("extraBooleanArgumentEqualsFalse.args")
|
|
public void testExtraBooleanArgumentEqualsFalse() {
|
|
runTest("compiler/testData/cli/jvm/extraBooleanArgumentEqualsFalse.args");
|
|
}
|
|
|
|
@TestMetadata("extraBooleanArgumentEqualsNonsense.args")
|
|
public void testExtraBooleanArgumentEqualsNonsense() {
|
|
runTest("compiler/testData/cli/jvm/extraBooleanArgumentEqualsNonsense.args");
|
|
}
|
|
|
|
@TestMetadata("extraBooleanArgumentEqualsTrue.args")
|
|
public void testExtraBooleanArgumentEqualsTrue() {
|
|
runTest("compiler/testData/cli/jvm/extraBooleanArgumentEqualsTrue.args");
|
|
}
|
|
|
|
@TestMetadata("extraHelp.args")
|
|
public void testExtraHelp() {
|
|
runTest("compiler/testData/cli/jvm/extraHelp.args");
|
|
}
|
|
|
|
@TestMetadata("fileClassAndMultifileClassClash.args")
|
|
public void testFileClassAndMultifileClassClash() {
|
|
runTest("compiler/testData/cli/jvm/fileClassAndMultifileClassClash.args");
|
|
}
|
|
|
|
@TestMetadata("fileClassAndTImplClash.args")
|
|
public void testFileClassAndTImplClash() {
|
|
runTest("compiler/testData/cli/jvm/fileClassAndTImplClash.args");
|
|
}
|
|
|
|
@TestMetadata("fileClassClashMultipleFiles.args")
|
|
public void testFileClassClashMultipleFiles() {
|
|
runTest("compiler/testData/cli/jvm/fileClassClashMultipleFiles.args");
|
|
}
|
|
|
|
@TestMetadata("firDeprecationJava.args")
|
|
public void testFirDeprecationJava() {
|
|
runTest("compiler/testData/cli/jvm/firDeprecationJava.args");
|
|
}
|
|
|
|
@TestMetadata("firDfa.args")
|
|
public void testFirDfa() {
|
|
runTest("compiler/testData/cli/jvm/firDfa.args");
|
|
}
|
|
|
|
@TestMetadata("firError.args")
|
|
public void testFirError() {
|
|
runTest("compiler/testData/cli/jvm/firError.args");
|
|
}
|
|
|
|
@TestMetadata("firErrorOnLastLine.args")
|
|
public void testFirErrorOnLastLine() {
|
|
runTest("compiler/testData/cli/jvm/firErrorOnLastLine.args");
|
|
}
|
|
|
|
@TestMetadata("firErrorOnLastLineNoEol.args")
|
|
public void testFirErrorOnLastLineNoEol() {
|
|
runTest("compiler/testData/cli/jvm/firErrorOnLastLineNoEol.args");
|
|
}
|
|
|
|
@TestMetadata("firFriendlyErrorIfNoJdkOptionIsSet.args")
|
|
public void testFirFriendlyErrorIfNoJdkOptionIsSet() {
|
|
runTest("compiler/testData/cli/jvm/firFriendlyErrorIfNoJdkOptionIsSet.args");
|
|
}
|
|
|
|
@TestMetadata("firHello.args")
|
|
public void testFirHello() {
|
|
runTest("compiler/testData/cli/jvm/firHello.args");
|
|
}
|
|
|
|
@TestMetadata("firHello20.args")
|
|
public void testFirHello20() {
|
|
runTest("compiler/testData/cli/jvm/firHello20.args");
|
|
}
|
|
|
|
@TestMetadata("firHello20WithFlag.args")
|
|
public void testFirHello20WithFlag() {
|
|
runTest("compiler/testData/cli/jvm/firHello20WithFlag.args");
|
|
}
|
|
|
|
@TestMetadata("firHello20WithOldLV.args")
|
|
public void testFirHello20WithOldLV() {
|
|
runTest("compiler/testData/cli/jvm/firHello20WithOldLV.args");
|
|
}
|
|
|
|
@TestMetadata("firLightTreeOff.args")
|
|
public void testFirLightTreeOff() {
|
|
runTest("compiler/testData/cli/jvm/firLightTreeOff.args");
|
|
}
|
|
|
|
@TestMetadata("firLightTreeOn.args")
|
|
public void testFirLightTreeOn() {
|
|
runTest("compiler/testData/cli/jvm/firLightTreeOn.args");
|
|
}
|
|
|
|
@TestMetadata("firMultiplatformCompilationWithError.args")
|
|
public void testFirMultiplatformCompilationWithError() {
|
|
runTest("compiler/testData/cli/jvm/firMultiplatformCompilationWithError.args");
|
|
}
|
|
|
|
@TestMetadata("firMultiplatformCompilationWithPsiWithoutErrors.args")
|
|
public void testFirMultiplatformCompilationWithPsiWithoutErrors() {
|
|
runTest("compiler/testData/cli/jvm/firMultiplatformCompilationWithPsiWithoutErrors.args");
|
|
}
|
|
|
|
@TestMetadata("firMultiplatformCompilationWithoutErrors.args")
|
|
public void testFirMultiplatformCompilationWithoutErrors() {
|
|
runTest("compiler/testData/cli/jvm/firMultiplatformCompilationWithoutErrors.args");
|
|
}
|
|
|
|
@TestMetadata("firStdlibDependency.args")
|
|
public void testFirStdlibDependency() {
|
|
runTest("compiler/testData/cli/jvm/firStdlibDependency.args");
|
|
}
|
|
|
|
@TestMetadata("firSyntaxError.args")
|
|
public void testFirSyntaxError() {
|
|
runTest("compiler/testData/cli/jvm/firSyntaxError.args");
|
|
}
|
|
|
|
@TestMetadata("firVsClassicAnnotation.args")
|
|
public void testFirVsClassicAnnotation() {
|
|
runTest("compiler/testData/cli/jvm/firVsClassicAnnotation.args");
|
|
}
|
|
|
|
@TestMetadata("forbidKotlinPackageK1.args")
|
|
public void testForbidKotlinPackageK1() {
|
|
runTest("compiler/testData/cli/jvm/forbidKotlinPackageK1.args");
|
|
}
|
|
|
|
@TestMetadata("forbidKotlinPackageK2.args")
|
|
public void testForbidKotlinPackageK2() {
|
|
runTest("compiler/testData/cli/jvm/forbidKotlinPackageK2.args");
|
|
}
|
|
|
|
@TestMetadata("functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.args")
|
|
public void testFunctionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference() {
|
|
runTest("compiler/testData/cli/jvm/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.args");
|
|
}
|
|
|
|
@TestMetadata("functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.args")
|
|
public void testFunctionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference() {
|
|
runTest("compiler/testData/cli/jvm/functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.args");
|
|
}
|
|
|
|
@TestMetadata("help.args")
|
|
public void testHelp() {
|
|
runTest("compiler/testData/cli/jvm/help.args");
|
|
}
|
|
|
|
@TestMetadata("inapplicableLateinitModifier.args")
|
|
public void testInapplicableLateinitModifier() {
|
|
runTest("compiler/testData/cli/jvm/inapplicableLateinitModifier.args");
|
|
}
|
|
|
|
@TestMetadata("inlineCycle.args")
|
|
public void testInlineCycle() {
|
|
runTest("compiler/testData/cli/jvm/inlineCycle.args");
|
|
}
|
|
|
|
@TestMetadata("instanceAccessBeforeSuperCall.args")
|
|
public void testInstanceAccessBeforeSuperCall() {
|
|
runTest("compiler/testData/cli/jvm/instanceAccessBeforeSuperCall.args");
|
|
}
|
|
|
|
@TestMetadata("internalArgDisableLanguageFeature.args")
|
|
public void testInternalArgDisableLanguageFeature() {
|
|
runTest("compiler/testData/cli/jvm/internalArgDisableLanguageFeature.args");
|
|
}
|
|
|
|
@TestMetadata("internalArgEmptyFeatureName.args")
|
|
public void testInternalArgEmptyFeatureName() {
|
|
runTest("compiler/testData/cli/jvm/internalArgEmptyFeatureName.args");
|
|
}
|
|
|
|
@TestMetadata("internalArgEnableLanguageFeature.args")
|
|
public void testInternalArgEnableLanguageFeature() {
|
|
runTest("compiler/testData/cli/jvm/internalArgEnableLanguageFeature.args");
|
|
}
|
|
|
|
@TestMetadata("internalArgMissingModificator.args")
|
|
public void testInternalArgMissingModificator() {
|
|
runTest("compiler/testData/cli/jvm/internalArgMissingModificator.args");
|
|
}
|
|
|
|
@TestMetadata("internalArgNoWarningForEnablingBugfix.args")
|
|
public void testInternalArgNoWarningForEnablingBugfix() {
|
|
runTest("compiler/testData/cli/jvm/internalArgNoWarningForEnablingBugfix.args");
|
|
}
|
|
|
|
@TestMetadata("internalArgOverrideLanguageFeature.args")
|
|
public void testInternalArgOverrideLanguageFeature() {
|
|
runTest("compiler/testData/cli/jvm/internalArgOverrideLanguageFeature.args");
|
|
}
|
|
|
|
@TestMetadata("internalArgOverrideOffLanguageFeature.args")
|
|
public void testInternalArgOverrideOffLanguageFeature() {
|
|
runTest("compiler/testData/cli/jvm/internalArgOverrideOffLanguageFeature.args");
|
|
}
|
|
|
|
@TestMetadata("internalArgUnrecognizedFeature.args")
|
|
public void testInternalArgUnrecognizedFeature() {
|
|
runTest("compiler/testData/cli/jvm/internalArgUnrecognizedFeature.args");
|
|
}
|
|
|
|
@TestMetadata("internalArgWrongPrefix.args")
|
|
public void testInternalArgWrongPrefix() {
|
|
runTest("compiler/testData/cli/jvm/internalArgWrongPrefix.args");
|
|
}
|
|
|
|
@TestMetadata("invalidMetadataVersion.args")
|
|
public void testInvalidMetadataVersion() {
|
|
runTest("compiler/testData/cli/jvm/invalidMetadataVersion.args");
|
|
}
|
|
|
|
@TestMetadata("javaSealedClass.args")
|
|
public void testJavaSealedClass() {
|
|
runTest("compiler/testData/cli/jvm/javaSealedClass.args");
|
|
}
|
|
|
|
@TestMetadata("javaSrcWrongPackage.args")
|
|
public void testJavaSrcWrongPackage() {
|
|
runTest("compiler/testData/cli/jvm/javaSrcWrongPackage.args");
|
|
}
|
|
|
|
@TestMetadata("javacKotlinJavaInterdependency.args")
|
|
public void testJavacKotlinJavaInterdependency() {
|
|
runTest("compiler/testData/cli/jvm/javacKotlinJavaInterdependency.args");
|
|
}
|
|
|
|
@TestMetadata("jdkPathDoesNotExist.args")
|
|
public void testJdkPathDoesNotExist() {
|
|
runTest("compiler/testData/cli/jvm/jdkPathDoesNotExist.args");
|
|
}
|
|
|
|
@TestMetadata("jdkRelease.args")
|
|
public void testJdkRelease() {
|
|
runTest("compiler/testData/cli/jvm/jdkRelease.args");
|
|
}
|
|
|
|
@TestMetadata("jdkRelease6WithJvmTarget8Jdk11.args")
|
|
public void testJdkRelease6WithJvmTarget8Jdk11() {
|
|
runTest("compiler/testData/cli/jvm/jdkRelease6WithJvmTarget8Jdk11.args");
|
|
}
|
|
|
|
@TestMetadata("jdkRelease6WithJvmTarget8Jdk8.args")
|
|
public void testJdkRelease6WithJvmTarget8Jdk8() {
|
|
runTest("compiler/testData/cli/jvm/jdkRelease6WithJvmTarget8Jdk8.args");
|
|
}
|
|
|
|
@TestMetadata("jdkRelease6WithJvmTarget9.args")
|
|
public void testJdkRelease6WithJvmTarget9() {
|
|
runTest("compiler/testData/cli/jvm/jdkRelease6WithJvmTarget9.args");
|
|
}
|
|
|
|
@TestMetadata("jdkRelease6WithoutExplicitJvmTarget.args")
|
|
public void testJdkRelease6WithoutExplicitJvmTarget() {
|
|
runTest("compiler/testData/cli/jvm/jdkRelease6WithoutExplicitJvmTarget.args");
|
|
}
|
|
|
|
@TestMetadata("jdkRelease7WithJvmTarget8Jdk11.args")
|
|
public void testJdkRelease7WithJvmTarget8Jdk11() {
|
|
runTest("compiler/testData/cli/jvm/jdkRelease7WithJvmTarget8Jdk11.args");
|
|
}
|
|
|
|
@TestMetadata("jdkRelease7WithJvmTarget8Jdk8.args")
|
|
public void testJdkRelease7WithJvmTarget8Jdk8() {
|
|
runTest("compiler/testData/cli/jvm/jdkRelease7WithJvmTarget8Jdk8.args");
|
|
}
|
|
|
|
@TestMetadata("jdkRelease8.args")
|
|
public void testJdkRelease8() {
|
|
runTest("compiler/testData/cli/jvm/jdkRelease8.args");
|
|
}
|
|
|
|
@TestMetadata("jspecifyByLv15.args")
|
|
public void testJspecifyByLv15() {
|
|
runTest("compiler/testData/cli/jvm/jspecifyByLv15.args");
|
|
}
|
|
|
|
@TestMetadata("jspecifyByLv16.args")
|
|
public void testJspecifyByLv16() {
|
|
runTest("compiler/testData/cli/jvm/jspecifyByLv16.args");
|
|
}
|
|
|
|
@TestMetadata("jspecifyDefault.args")
|
|
public void testJspecifyDefault() {
|
|
runTest("compiler/testData/cli/jvm/jspecifyDefault.args");
|
|
}
|
|
|
|
@TestMetadata("jspecifyIgnore.args")
|
|
public void testJspecifyIgnore() {
|
|
runTest("compiler/testData/cli/jvm/jspecifyIgnore.args");
|
|
}
|
|
|
|
@TestMetadata("jspecifyStrict.args")
|
|
public void testJspecifyStrict() {
|
|
runTest("compiler/testData/cli/jvm/jspecifyStrict.args");
|
|
}
|
|
|
|
@TestMetadata("jspecifyWarn.args")
|
|
public void testJspecifyWarn() {
|
|
runTest("compiler/testData/cli/jvm/jspecifyWarn.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305AllIgnore.args")
|
|
public void testJsr305AllIgnore() {
|
|
runTest("compiler/testData/cli/jvm/jsr305AllIgnore.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305DefaultMigration.args")
|
|
public void testJsr305DefaultMigration() {
|
|
runTest("compiler/testData/cli/jvm/jsr305DefaultMigration.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305DeprecatedEnable.args")
|
|
public void testJsr305DeprecatedEnable() {
|
|
runTest("compiler/testData/cli/jvm/jsr305DeprecatedEnable.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305DeprecatedIgnore.args")
|
|
public void testJsr305DeprecatedIgnore() {
|
|
runTest("compiler/testData/cli/jvm/jsr305DeprecatedIgnore.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305DeprecatedWarn.args")
|
|
public void testJsr305DeprecatedWarn() {
|
|
runTest("compiler/testData/cli/jvm/jsr305DeprecatedWarn.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305FqNameIgnore.args")
|
|
public void testJsr305FqNameIgnore() {
|
|
runTest("compiler/testData/cli/jvm/jsr305FqNameIgnore.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305FqNameStrict.args")
|
|
public void testJsr305FqNameStrict() {
|
|
runTest("compiler/testData/cli/jvm/jsr305FqNameStrict.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305Ignore.args")
|
|
public void testJsr305Ignore() {
|
|
runTest("compiler/testData/cli/jvm/jsr305Ignore.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305MigrationDefault.args")
|
|
public void testJsr305MigrationDefault() {
|
|
runTest("compiler/testData/cli/jvm/jsr305MigrationDefault.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305MigrationFqNameIgnore.args")
|
|
public void testJsr305MigrationFqNameIgnore() {
|
|
runTest("compiler/testData/cli/jvm/jsr305MigrationFqNameIgnore.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305MigrationIgnore.args")
|
|
public void testJsr305MigrationIgnore() {
|
|
runTest("compiler/testData/cli/jvm/jsr305MigrationIgnore.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305MigrationWarn.args")
|
|
public void testJsr305MigrationWarn() {
|
|
runTest("compiler/testData/cli/jvm/jsr305MigrationWarn.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305NoFlag.args")
|
|
public void testJsr305NoFlag() {
|
|
runTest("compiler/testData/cli/jvm/jsr305NoFlag.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305Strict.args")
|
|
public void testJsr305Strict() {
|
|
runTest("compiler/testData/cli/jvm/jsr305Strict.args");
|
|
}
|
|
|
|
@TestMetadata("jsr305Warn.args")
|
|
public void testJsr305Warn() {
|
|
runTest("compiler/testData/cli/jvm/jsr305Warn.args");
|
|
}
|
|
|
|
@TestMetadata("jvm6Target.args")
|
|
public void testJvm6Target() {
|
|
runTest("compiler/testData/cli/jvm/jvm6Target.args");
|
|
}
|
|
|
|
@TestMetadata("jvm8Target.args")
|
|
public void testJvm8Target() {
|
|
runTest("compiler/testData/cli/jvm/jvm8Target.args");
|
|
}
|
|
|
|
@TestMetadata("jvmDefaultIncorrectValue.args")
|
|
public void testJvmDefaultIncorrectValue() {
|
|
runTest("compiler/testData/cli/jvm/jvmDefaultIncorrectValue.args");
|
|
}
|
|
|
|
@TestMetadata("jvmRecordOk.args")
|
|
public void testJvmRecordOk() {
|
|
runTest("compiler/testData/cli/jvm/jvmRecordOk.args");
|
|
}
|
|
|
|
@TestMetadata("jvmRecordWrongTarget.args")
|
|
public void testJvmRecordWrongTarget() {
|
|
runTest("compiler/testData/cli/jvm/jvmRecordWrongTarget.args");
|
|
}
|
|
|
|
@TestMetadata("k2SimpleMultiplatformGenericClass.args")
|
|
public void testK2SimpleMultiplatformGenericClass() {
|
|
runTest("compiler/testData/cli/jvm/k2SimpleMultiplatformGenericClass.args");
|
|
}
|
|
|
|
@TestMetadata("kotlinHomeWithoutStdlib.args")
|
|
public void testKotlinHomeWithoutStdlib() {
|
|
runTest("compiler/testData/cli/jvm/kotlinHomeWithoutStdlib.args");
|
|
}
|
|
|
|
@TestMetadata("kotlinPackage.args")
|
|
public void testKotlinPackage() {
|
|
runTest("compiler/testData/cli/jvm/kotlinPackage.args");
|
|
}
|
|
|
|
@TestMetadata("kt19628_13.args")
|
|
public void testKt19628_13() {
|
|
runTest("compiler/testData/cli/jvm/kt19628_13.args");
|
|
}
|
|
|
|
@TestMetadata("kt19628_progressive.args")
|
|
public void testKt19628_progressive() {
|
|
runTest("compiler/testData/cli/jvm/kt19628_progressive.args");
|
|
}
|
|
|
|
@TestMetadata("kt22304.args")
|
|
public void testKt22304() {
|
|
runTest("compiler/testData/cli/jvm/kt22304.args");
|
|
}
|
|
|
|
@TestMetadata("kt48833_doNotSuppressVersionErrors.args")
|
|
public void testKt48833_doNotSuppressVersionErrors() {
|
|
runTest("compiler/testData/cli/jvm/kt48833_doNotSuppressVersionErrors.args");
|
|
}
|
|
|
|
@TestMetadata("kt49209.args")
|
|
public void testKt49209() {
|
|
runTest("compiler/testData/cli/jvm/kt49209.args");
|
|
}
|
|
|
|
@TestMetadata("kt51846_backendThreadsValidation1.args")
|
|
public void testKt51846_backendThreadsValidation1() {
|
|
runTest("compiler/testData/cli/jvm/kt51846_backendThreadsValidation1.args");
|
|
}
|
|
|
|
@TestMetadata("kt51846_backendThreadsValidation2.args")
|
|
public void testKt51846_backendThreadsValidation2() {
|
|
runTest("compiler/testData/cli/jvm/kt51846_backendThreadsValidation2.args");
|
|
}
|
|
|
|
@TestMetadata("kt51846_backendThreadsValidation3.args")
|
|
public void testKt51846_backendThreadsValidation3() {
|
|
runTest("compiler/testData/cli/jvm/kt51846_backendThreadsValidation3.args");
|
|
}
|
|
|
|
@TestMetadata("languageVersion.args")
|
|
public void testLanguageVersion() {
|
|
runTest("compiler/testData/cli/jvm/languageVersion.args");
|
|
}
|
|
|
|
@TestMetadata("languageVersionInvalid.args")
|
|
public void testLanguageVersionInvalid() {
|
|
runTest("compiler/testData/cli/jvm/languageVersionInvalid.args");
|
|
}
|
|
|
|
@TestMetadata("languageVersionUnsupported.args")
|
|
public void testLanguageVersionUnsupported() {
|
|
runTest("compiler/testData/cli/jvm/languageVersionUnsupported.args");
|
|
}
|
|
|
|
@TestMetadata("legacySmartCastsAfterTry.args")
|
|
public void testLegacySmartCastsAfterTry() {
|
|
runTest("compiler/testData/cli/jvm/legacySmartCastsAfterTry.args");
|
|
}
|
|
|
|
@TestMetadata("mixingArgfilesAndUsualArgs.args")
|
|
public void testMixingArgfilesAndUsualArgs() {
|
|
runTest("compiler/testData/cli/jvm/mixingArgfilesAndUsualArgs.args");
|
|
}
|
|
|
|
@TestMetadata("modulesWithDependencyCycle.args")
|
|
public void testModulesWithDependencyCycle() {
|
|
runTest("compiler/testData/cli/jvm/modulesWithDependencyCycle.args");
|
|
}
|
|
|
|
@TestMetadata("multiplatformCompilationWithCommonScript.args")
|
|
public void testMultiplatformCompilationWithCommonScript() {
|
|
runTest("compiler/testData/cli/jvm/multiplatformCompilationWithCommonScript.args");
|
|
}
|
|
|
|
@TestMetadata("multiplatformCompilationWithScript.args")
|
|
public void testMultiplatformCompilationWithScript() {
|
|
runTest("compiler/testData/cli/jvm/multiplatformCompilationWithScript.args");
|
|
}
|
|
|
|
@TestMetadata("multipleTextRangesInDiagnosticsOrder.args")
|
|
public void testMultipleTextRangesInDiagnosticsOrder() {
|
|
runTest("compiler/testData/cli/jvm/multipleTextRangesInDiagnosticsOrder.args");
|
|
}
|
|
|
|
@TestMetadata("newLineInPackage.args")
|
|
public void testNewLineInPackage() {
|
|
runTest("compiler/testData/cli/jvm/newLineInPackage.args");
|
|
}
|
|
|
|
@TestMetadata("noReflect.args")
|
|
public void testNoReflect() {
|
|
runTest("compiler/testData/cli/jvm/noReflect.args");
|
|
}
|
|
|
|
@TestMetadata("noStdlib.args")
|
|
public void testNoStdlib() {
|
|
runTest("compiler/testData/cli/jvm/noStdlib.args");
|
|
}
|
|
|
|
@TestMetadata("nonExistingClassPathAndAnnotationsPath.args")
|
|
public void testNonExistingClassPathAndAnnotationsPath() {
|
|
runTest("compiler/testData/cli/jvm/nonExistingClassPathAndAnnotationsPath.args");
|
|
}
|
|
|
|
@TestMetadata("nonExistingPhaseName.args")
|
|
public void testNonExistingPhaseName() {
|
|
runTest("compiler/testData/cli/jvm/nonExistingPhaseName.args");
|
|
}
|
|
|
|
@TestMetadata("nonExistingPluginClassPath.args")
|
|
public void testNonExistingPluginClassPath() {
|
|
runTest("compiler/testData/cli/jvm/nonExistingPluginClassPath.args");
|
|
}
|
|
|
|
@TestMetadata("nonExistingSourcePath.args")
|
|
public void testNonExistingSourcePath() {
|
|
runTest("compiler/testData/cli/jvm/nonExistingSourcePath.args");
|
|
}
|
|
|
|
@TestMetadata("nonExistingSourcePathK2.args")
|
|
public void testNonExistingSourcePathK2() {
|
|
runTest("compiler/testData/cli/jvm/nonExistingSourcePathK2.args");
|
|
}
|
|
|
|
@TestMetadata("nonLocalDisabled.args")
|
|
public void testNonLocalDisabled() {
|
|
runTest("compiler/testData/cli/jvm/nonLocalDisabled.args");
|
|
}
|
|
|
|
@TestMetadata("nonexistentPathInModule.args")
|
|
public void testNonexistentPathInModule() {
|
|
runTest("compiler/testData/cli/jvm/nonexistentPathInModule.args");
|
|
}
|
|
|
|
@TestMetadata("nonexistentScript.args")
|
|
public void testNonexistentScript() {
|
|
runTest("compiler/testData/cli/jvm/nonexistentScript.args");
|
|
}
|
|
|
|
@TestMetadata("nonexistingArgfile.args")
|
|
public void testNonexistingArgfile() {
|
|
runTest("compiler/testData/cli/jvm/nonexistingArgfile.args");
|
|
}
|
|
|
|
@TestMetadata("nullabilityAnnotations.args")
|
|
public void testNullabilityAnnotations() {
|
|
runTest("compiler/testData/cli/jvm/nullabilityAnnotations.args");
|
|
}
|
|
|
|
@TestMetadata("oldBackend.args")
|
|
public void testOldBackend() {
|
|
runTest("compiler/testData/cli/jvm/oldBackend.args");
|
|
}
|
|
|
|
@TestMetadata("oldBackendWithScript.args")
|
|
public void testOldBackendWithScript() {
|
|
runTest("compiler/testData/cli/jvm/oldBackendWithScript.args");
|
|
}
|
|
|
|
@TestMetadata("optInEmptyMessage.args")
|
|
public void testOptInEmptyMessage() {
|
|
runTest("compiler/testData/cli/jvm/optInEmptyMessage.args");
|
|
}
|
|
|
|
@TestMetadata("optInEmptyMessageFir.args")
|
|
public void testOptInEmptyMessageFir() {
|
|
runTest("compiler/testData/cli/jvm/optInEmptyMessageFir.args");
|
|
}
|
|
|
|
@TestMetadata("optInOverrideMessage.args")
|
|
public void testOptInOverrideMessage() {
|
|
runTest("compiler/testData/cli/jvm/optInOverrideMessage.args");
|
|
}
|
|
|
|
@TestMetadata("optInOverrideMessageFir.args")
|
|
public void testOptInOverrideMessageFir() {
|
|
runTest("compiler/testData/cli/jvm/optInOverrideMessageFir.args");
|
|
}
|
|
|
|
@TestMetadata("progressiveModeOff.args")
|
|
public void testProgressiveModeOff() {
|
|
runTest("compiler/testData/cli/jvm/progressiveModeOff.args");
|
|
}
|
|
|
|
@TestMetadata("progressiveModeOn.args")
|
|
public void testProgressiveModeOn() {
|
|
runTest("compiler/testData/cli/jvm/progressiveModeOn.args");
|
|
}
|
|
|
|
@TestMetadata("recordAsSingleFileRoot.args")
|
|
public void testRecordAsSingleFileRoot() {
|
|
runTest("compiler/testData/cli/jvm/recordAsSingleFileRoot.args");
|
|
}
|
|
|
|
@TestMetadata("reportInternalDiagnosticNames.args")
|
|
public void testReportInternalDiagnosticNames() {
|
|
runTest("compiler/testData/cli/jvm/reportInternalDiagnosticNames.args");
|
|
}
|
|
|
|
@TestMetadata("requireKotlinCompilerVersion.args")
|
|
public void testRequireKotlinCompilerVersion() {
|
|
runTest("compiler/testData/cli/jvm/requireKotlinCompilerVersion.args");
|
|
}
|
|
|
|
@TestMetadata("requireKotlinCompilerVersionK2.args")
|
|
public void testRequireKotlinCompilerVersionK2() {
|
|
runTest("compiler/testData/cli/jvm/requireKotlinCompilerVersionK2.args");
|
|
}
|
|
|
|
@TestMetadata("resultInReturnTypeSupportedByDefault15.args")
|
|
public void testResultInReturnTypeSupportedByDefault15() {
|
|
runTest("compiler/testData/cli/jvm/resultInReturnTypeSupportedByDefault15.args");
|
|
}
|
|
|
|
@TestMetadata("returnAsWhenKey.args")
|
|
public void testReturnAsWhenKey() {
|
|
runTest("compiler/testData/cli/jvm/returnAsWhenKey.args");
|
|
}
|
|
|
|
@TestMetadata("sanitized-name.clash.args")
|
|
public void testSanitized_name_clash() {
|
|
runTest("compiler/testData/cli/jvm/sanitized-name.clash.args");
|
|
}
|
|
|
|
@TestMetadata("selfUpperBoundInference.args")
|
|
public void testSelfUpperBoundInference() {
|
|
runTest("compiler/testData/cli/jvm/selfUpperBoundInference.args");
|
|
}
|
|
|
|
@TestMetadata("signatureClash.args")
|
|
public void testSignatureClash() {
|
|
runTest("compiler/testData/cli/jvm/signatureClash.args");
|
|
}
|
|
|
|
@TestMetadata("simple.args")
|
|
public void testSimple() {
|
|
runTest("compiler/testData/cli/jvm/simple.args");
|
|
}
|
|
|
|
@TestMetadata("singleJavaFileRoots.args")
|
|
public void testSingleJavaFileRoots() {
|
|
runTest("compiler/testData/cli/jvm/singleJavaFileRoots.args");
|
|
}
|
|
|
|
@TestMetadata("standaloneSamConversionsAreEnabledWithNewInference.args")
|
|
public void testStandaloneSamConversionsAreEnabledWithNewInference() {
|
|
runTest("compiler/testData/cli/jvm/standaloneSamConversionsAreEnabledWithNewInference.args");
|
|
}
|
|
|
|
@TestMetadata("standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args")
|
|
public void testStandaloneSamConversionsAreEnabledWithNewInferenceInternalFlag() {
|
|
runTest("compiler/testData/cli/jvm/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args");
|
|
}
|
|
|
|
@TestMetadata("suppressAllWarningsJvm.args")
|
|
public void testSuppressAllWarningsJvm() {
|
|
runTest("compiler/testData/cli/jvm/suppressAllWarningsJvm.args");
|
|
}
|
|
|
|
@TestMetadata("suspensionPointInMonitor.args")
|
|
public void testSuspensionPointInMonitor() {
|
|
runTest("compiler/testData/cli/jvm/suspensionPointInMonitor.args");
|
|
}
|
|
|
|
@TestMetadata("syntheticAccessorForPropertiesSignatureClash.args")
|
|
public void testSyntheticAccessorForPropertiesSignatureClash() {
|
|
runTest("compiler/testData/cli/jvm/syntheticAccessorForPropertiesSignatureClash.args");
|
|
}
|
|
|
|
@TestMetadata("syntheticAccessorPropertyAndFunSignatureClash.args")
|
|
public void testSyntheticAccessorPropertyAndFunSignatureClash() {
|
|
runTest("compiler/testData/cli/jvm/syntheticAccessorPropertyAndFunSignatureClash.args");
|
|
}
|
|
|
|
@TestMetadata("syntheticAccessorSignatureClash.args")
|
|
public void testSyntheticAccessorSignatureClash() {
|
|
runTest("compiler/testData/cli/jvm/syntheticAccessorSignatureClash.args");
|
|
}
|
|
|
|
@TestMetadata("twoDiagnosticsOnSingleElement.args")
|
|
public void testTwoDiagnosticsOnSingleElement() {
|
|
runTest("compiler/testData/cli/jvm/twoDiagnosticsOnSingleElement.args");
|
|
}
|
|
|
|
@TestMetadata("unknownExtraFlags.args")
|
|
public void testUnknownExtraFlags() {
|
|
runTest("compiler/testData/cli/jvm/unknownExtraFlags.args");
|
|
}
|
|
|
|
@TestMetadata("unrestrictedBuilderInference.args")
|
|
public void testUnrestrictedBuilderInference() {
|
|
runTest("compiler/testData/cli/jvm/unrestrictedBuilderInference.args");
|
|
}
|
|
|
|
@TestMetadata("useDeclarationThatWasExperimentalWithoutExplicitImport.args")
|
|
public void testUseDeclarationThatWasExperimentalWithoutExplicitImport() {
|
|
runTest("compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.args");
|
|
}
|
|
|
|
@TestMetadata("useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args")
|
|
public void testUseDeclarationThatWasExperimentalWithoutExplicitImportCommandLine() {
|
|
runTest("compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args");
|
|
}
|
|
|
|
@TestMetadata("useDeclarationThatWasExperimentalWithoutMarker.args")
|
|
public void testUseDeclarationThatWasExperimentalWithoutMarker() {
|
|
runTest("compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.args");
|
|
}
|
|
|
|
@TestMetadata("warningJdkWithNoJdk.args")
|
|
public void testWarningJdkWithNoJdk() {
|
|
runTest("compiler/testData/cli/jvm/warningJdkWithNoJdk.args");
|
|
}
|
|
|
|
@TestMetadata("warningsInDummy.args")
|
|
public void testWarningsInDummy() {
|
|
runTest("compiler/testData/cli/jvm/warningsInDummy.args");
|
|
}
|
|
|
|
@TestMetadata("werror.args")
|
|
public void testWerror() {
|
|
runTest("compiler/testData/cli/jvm/werror.args");
|
|
}
|
|
|
|
@TestMetadata("werrorWithExplicitError.args")
|
|
public void testWerrorWithExplicitError() {
|
|
runTest("compiler/testData/cli/jvm/werrorWithExplicitError.args");
|
|
}
|
|
|
|
@TestMetadata("werrorWithNoWarn.args")
|
|
public void testWerrorWithNoWarn() {
|
|
runTest("compiler/testData/cli/jvm/werrorWithNoWarn.args");
|
|
}
|
|
|
|
@TestMetadata("werrorWithStrongWarning.args")
|
|
public void testWerrorWithStrongWarning() {
|
|
runTest("compiler/testData/cli/jvm/werrorWithStrongWarning.args");
|
|
}
|
|
|
|
@TestMetadata("wrongAbiVersion.args")
|
|
public void testWrongAbiVersion() {
|
|
runTest("compiler/testData/cli/jvm/wrongAbiVersion.args");
|
|
}
|
|
|
|
@TestMetadata("wrongAnnotationArgumentInCtor.args")
|
|
public void testWrongAnnotationArgumentInCtor() {
|
|
runTest("compiler/testData/cli/jvm/wrongAnnotationArgumentInCtor.args");
|
|
}
|
|
|
|
@TestMetadata("wrongArgument.args")
|
|
public void testWrongArgument() {
|
|
runTest("compiler/testData/cli/jvm/wrongArgument.args");
|
|
}
|
|
|
|
@TestMetadata("wrongJdkPath.args")
|
|
public void testWrongJdkPath() {
|
|
runTest("compiler/testData/cli/jvm/wrongJdkPath.args");
|
|
}
|
|
|
|
@TestMetadata("wrongJvmTargetVersion.args")
|
|
public void testWrongJvmTargetVersion() {
|
|
runTest("compiler/testData/cli/jvm/wrongJvmTargetVersion.args");
|
|
}
|
|
|
|
@TestMetadata("wrongScriptWithDirectory.args")
|
|
public void testWrongScriptWithDirectory() {
|
|
runTest("compiler/testData/cli/jvm/wrongScriptWithDirectory.args");
|
|
}
|
|
|
|
@TestMetadata("wrongScriptWithKtSource.args")
|
|
public void testWrongScriptWithKtSource() {
|
|
runTest("compiler/testData/cli/jvm/wrongScriptWithKtSource.args");
|
|
}
|
|
|
|
@TestMetadata("wrongScriptWithNoSource.args")
|
|
public void testWrongScriptWithNoSource() {
|
|
runTest("compiler/testData/cli/jvm/wrongScriptWithNoSource.args");
|
|
}
|
|
|
|
@TestMetadata("wrongXjsr305.args")
|
|
public void testWrongXjsr305() {
|
|
runTest("compiler/testData/cli/jvm/wrongXjsr305.args");
|
|
}
|
|
}
|
|
|
|
@TestMetadata("compiler/testData/cli/js")
|
|
@TestDataPath("$PROJECT_ROOT")
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
public static class Js extends AbstractCliTest {
|
|
private void runTest(String testDataFilePath) {
|
|
KotlinTestUtils.runTest(this::doJsTest, this, testDataFilePath);
|
|
}
|
|
|
|
public void testAllFilesPresentInJs() {
|
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/js"), Pattern.compile("^(.+)\\.args$"), null, false);
|
|
}
|
|
|
|
@TestMetadata("compilationErrorK2.args")
|
|
public void testCompilationErrorK2() {
|
|
runTest("compiler/testData/cli/js/compilationErrorK2.args");
|
|
}
|
|
|
|
@TestMetadata("createMetadata.args")
|
|
public void testCreateMetadata() {
|
|
runTest("compiler/testData/cli/js/createMetadata.args");
|
|
}
|
|
|
|
@TestMetadata("emptySources.args")
|
|
public void testEmptySources() {
|
|
runTest("compiler/testData/cli/js/emptySources.args");
|
|
}
|
|
|
|
@TestMetadata("fir.args")
|
|
public void testFir() {
|
|
runTest("compiler/testData/cli/js/fir.args");
|
|
}
|
|
|
|
@TestMetadata("firLightTreeOn.args")
|
|
public void testFirLightTreeOn() {
|
|
runTest("compiler/testData/cli/js/firLightTreeOn.args");
|
|
}
|
|
|
|
@TestMetadata("firMpp.args")
|
|
public void testFirMpp() {
|
|
runTest("compiler/testData/cli/js/firMpp.args");
|
|
}
|
|
|
|
@TestMetadata("firMppWithKlib.args")
|
|
public void testFirMppWithKlib() {
|
|
runTest("compiler/testData/cli/js/firMppWithKlib.args");
|
|
}
|
|
|
|
@TestMetadata("firMultiplatformCompilationWithError.args")
|
|
public void testFirMultiplatformCompilationWithError() {
|
|
runTest("compiler/testData/cli/js/firMultiplatformCompilationWithError.args");
|
|
}
|
|
|
|
@TestMetadata("jsExtraHelp.args")
|
|
public void testJsExtraHelp() {
|
|
runTest("compiler/testData/cli/js/jsExtraHelp.args");
|
|
}
|
|
|
|
@TestMetadata("jsHelp.args")
|
|
public void testJsHelp() {
|
|
runTest("compiler/testData/cli/js/jsHelp.args");
|
|
}
|
|
|
|
@TestMetadata("kotlinPackage.args")
|
|
public void testKotlinPackage() {
|
|
runTest("compiler/testData/cli/js/kotlinPackage.args");
|
|
}
|
|
|
|
@TestMetadata("languageVersion.args")
|
|
public void testLanguageVersion() {
|
|
runTest("compiler/testData/cli/js/languageVersion.args");
|
|
}
|
|
|
|
@TestMetadata("libraryDirNotFound.args")
|
|
public void testLibraryDirNotFound() {
|
|
runTest("compiler/testData/cli/js/libraryDirNotFound.args");
|
|
}
|
|
|
|
@TestMetadata("nonExistingKotlinHome.args")
|
|
public void testNonExistingKotlinHome() {
|
|
runTest("compiler/testData/cli/js/nonExistingKotlinHome.args");
|
|
}
|
|
|
|
@TestMetadata("nonExistingSourcePath.args")
|
|
public void testNonExistingSourcePath() {
|
|
runTest("compiler/testData/cli/js/nonExistingSourcePath.args");
|
|
}
|
|
|
|
@TestMetadata("notValidLibraryDir.args")
|
|
public void testNotValidLibraryDir() {
|
|
runTest("compiler/testData/cli/js/notValidLibraryDir.args");
|
|
}
|
|
|
|
@TestMetadata("perFileWithValidModuleKind.args")
|
|
public void testPerFileWithValidModuleKind() {
|
|
runTest("compiler/testData/cli/js/perFileWithValidModuleKind.args");
|
|
}
|
|
|
|
@TestMetadata("perFileWithWrongModuleKind.args")
|
|
public void testPerFileWithWrongModuleKind() {
|
|
runTest("compiler/testData/cli/js/perFileWithWrongModuleKind.args");
|
|
}
|
|
|
|
@TestMetadata("reifiedIntersectionType.args")
|
|
public void testReifiedIntersectionType() {
|
|
runTest("compiler/testData/cli/js/reifiedIntersectionType.args");
|
|
}
|
|
|
|
@TestMetadata("simple2js.args")
|
|
public void testSimple2js() {
|
|
runTest("compiler/testData/cli/js/simple2js.args");
|
|
}
|
|
|
|
@TestMetadata("sourceMap.args")
|
|
public void testSourceMap() {
|
|
runTest("compiler/testData/cli/js/sourceMap.args");
|
|
}
|
|
|
|
@TestMetadata("sourceMapCharEscape.args")
|
|
public void testSourceMapCharEscape() {
|
|
runTest("compiler/testData/cli/js/sourceMapCharEscape.args");
|
|
}
|
|
|
|
@TestMetadata("sourceMapDuplicateRelativePaths.args")
|
|
public void testSourceMapDuplicateRelativePaths() {
|
|
runTest("compiler/testData/cli/js/sourceMapDuplicateRelativePaths.args");
|
|
}
|
|
|
|
@TestMetadata("sourceMapEmbedSources.args")
|
|
public void testSourceMapEmbedSources() {
|
|
runTest("compiler/testData/cli/js/sourceMapEmbedSources.args");
|
|
}
|
|
|
|
@TestMetadata("sourceMapPrefix.args")
|
|
public void testSourceMapPrefix() {
|
|
runTest("compiler/testData/cli/js/sourceMapPrefix.args");
|
|
}
|
|
|
|
@TestMetadata("sourceMapRelativeRoot.args")
|
|
public void testSourceMapRelativeRoot() {
|
|
runTest("compiler/testData/cli/js/sourceMapRelativeRoot.args");
|
|
}
|
|
|
|
@TestMetadata("sourceMapRootManual.args")
|
|
public void testSourceMapRootManual() {
|
|
runTest("compiler/testData/cli/js/sourceMapRootManual.args");
|
|
}
|
|
|
|
@TestMetadata("sourceMapRootMissing.args")
|
|
public void testSourceMapRootMissing() {
|
|
runTest("compiler/testData/cli/js/sourceMapRootMissing.args");
|
|
}
|
|
|
|
@TestMetadata("sourceMapRootMultiple.args")
|
|
public void testSourceMapRootMultiple() {
|
|
runTest("compiler/testData/cli/js/sourceMapRootMultiple.args");
|
|
}
|
|
|
|
@TestMetadata("successfulHmpp.args")
|
|
public void testSuccessfulHmpp() {
|
|
runTest("compiler/testData/cli/js/successfulHmpp.args");
|
|
}
|
|
|
|
@TestMetadata("suppressAllWarningsJS.args")
|
|
public void testSuppressAllWarningsJS() {
|
|
runTest("compiler/testData/cli/js/suppressAllWarningsJS.args");
|
|
}
|
|
|
|
@TestMetadata("withFolderAsLib.args")
|
|
public void testWithFolderAsLib() {
|
|
runTest("compiler/testData/cli/js/withFolderAsLib.args");
|
|
}
|
|
|
|
@TestMetadata("withLib.args")
|
|
public void testWithLib() {
|
|
runTest("compiler/testData/cli/js/withLib.args");
|
|
}
|
|
}
|
|
|
|
@TestMetadata("compiler/testData/cli/js-dce")
|
|
@TestDataPath("$PROJECT_ROOT")
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
public static class Js_dce extends AbstractCliTest {
|
|
private void runTest(String testDataFilePath) {
|
|
KotlinTestUtils.runTest(this::doJsDceTest, this, testDataFilePath);
|
|
}
|
|
|
|
public void testAllFilesPresentInJs_dce() {
|
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/js-dce"), Pattern.compile("^(.+)\\.args$"), null, false);
|
|
}
|
|
|
|
@TestMetadata("dceExtraHelp.args")
|
|
public void testDceExtraHelp() {
|
|
runTest("compiler/testData/cli/js-dce/dceExtraHelp.args");
|
|
}
|
|
|
|
@TestMetadata("dceHelp.args")
|
|
public void testDceHelp() {
|
|
runTest("compiler/testData/cli/js-dce/dceHelp.args");
|
|
}
|
|
|
|
@TestMetadata("emptySources.args")
|
|
public void testEmptySources() {
|
|
runTest("compiler/testData/cli/js-dce/emptySources.args");
|
|
}
|
|
|
|
@TestMetadata("includeDeclarations.args")
|
|
public void testIncludeDeclarations() {
|
|
runTest("compiler/testData/cli/js-dce/includeDeclarations.args");
|
|
}
|
|
|
|
@TestMetadata("invalidFilename.args")
|
|
public void testInvalidFilename() {
|
|
runTest("compiler/testData/cli/js-dce/invalidFilename.args");
|
|
}
|
|
|
|
@TestMetadata("nonExistingSourcePath.args")
|
|
public void testNonExistingSourcePath() {
|
|
runTest("compiler/testData/cli/js-dce/nonExistingSourcePath.args");
|
|
}
|
|
|
|
@TestMetadata("notFile.args")
|
|
public void testNotFile() {
|
|
runTest("compiler/testData/cli/js-dce/notFile.args");
|
|
}
|
|
|
|
@TestMetadata("outputIsDirectory.args")
|
|
public void testOutputIsDirectory() {
|
|
runTest("compiler/testData/cli/js-dce/outputIsDirectory.args");
|
|
}
|
|
|
|
@TestMetadata("parseError.args")
|
|
public void testParseError() {
|
|
runTest("compiler/testData/cli/js-dce/parseError.args");
|
|
}
|
|
|
|
@TestMetadata("printReachability.args")
|
|
public void testPrintReachability() {
|
|
runTest("compiler/testData/cli/js-dce/printReachability.args");
|
|
}
|
|
|
|
@TestMetadata("simple.args")
|
|
public void testSimple() {
|
|
runTest("compiler/testData/cli/js-dce/simple.args");
|
|
}
|
|
|
|
@TestMetadata("withSourceMap.args")
|
|
public void testWithSourceMap() {
|
|
runTest("compiler/testData/cli/js-dce/withSourceMap.args");
|
|
}
|
|
}
|
|
|
|
@TestMetadata("compiler/testData/cli/metadata")
|
|
@TestDataPath("$PROJECT_ROOT")
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
public static class Metadata extends AbstractCliTest {
|
|
private void runTest(String testDataFilePath) {
|
|
KotlinTestUtils.runTest(this::doMetadataTest, this, testDataFilePath);
|
|
}
|
|
|
|
public void testAllFilesPresentInMetadata() {
|
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/metadata"), Pattern.compile("^(.+)\\.args$"), null, false);
|
|
}
|
|
|
|
@TestMetadata("anonymousObjectType.args")
|
|
public void testAnonymousObjectType() {
|
|
runTest("compiler/testData/cli/metadata/anonymousObjectType.args");
|
|
}
|
|
|
|
@TestMetadata("getOrDefault.args")
|
|
public void testGetOrDefault() {
|
|
runTest("compiler/testData/cli/metadata/getOrDefault.args");
|
|
}
|
|
|
|
@TestMetadata("hmppModules.args")
|
|
public void testHmppModules() {
|
|
runTest("compiler/testData/cli/metadata/hmppModules.args");
|
|
}
|
|
|
|
@TestMetadata("inheritorOfExpectSealedClass.args")
|
|
public void testInheritorOfExpectSealedClass() {
|
|
runTest("compiler/testData/cli/metadata/inheritorOfExpectSealedClass.args");
|
|
}
|
|
|
|
@TestMetadata("kotlinPackage.args")
|
|
public void testKotlinPackage() {
|
|
runTest("compiler/testData/cli/metadata/kotlinPackage.args");
|
|
}
|
|
|
|
@TestMetadata("kt58139.args")
|
|
public void testKt58139() {
|
|
runTest("compiler/testData/cli/metadata/kt58139.args");
|
|
}
|
|
|
|
@TestMetadata("lambdaWithReceiver.args")
|
|
public void testLambdaWithReceiver() {
|
|
runTest("compiler/testData/cli/metadata/lambdaWithReceiver.args");
|
|
}
|
|
|
|
@TestMetadata("moduleName.args")
|
|
public void testModuleName() {
|
|
runTest("compiler/testData/cli/metadata/moduleName.args");
|
|
}
|
|
|
|
@TestMetadata("noVirtualFileHiddenForMemberWithPlatformDependentAnnotation.args")
|
|
public void testNoVirtualFileHiddenForMemberWithPlatformDependentAnnotation() {
|
|
runTest("compiler/testData/cli/metadata/noVirtualFileHiddenForMemberWithPlatformDependentAnnotation.args");
|
|
}
|
|
|
|
@TestMetadata("optionalAnnotationsFromMetadata.args")
|
|
public void testOptionalAnnotationsFromMetadata() {
|
|
runTest("compiler/testData/cli/metadata/optionalAnnotationsFromMetadata.args");
|
|
}
|
|
|
|
@TestMetadata("optionalExpectationUsage.args")
|
|
public void testOptionalExpectationUsage() {
|
|
runTest("compiler/testData/cli/metadata/optionalExpectationUsage.args");
|
|
}
|
|
}
|
|
}
|