diff options
Diffstat (limited to 'plugins/kotlin/analysis-api-providers-ide-impl/test/org/jetbrains/kotlin/idea/fir/analysis/providers/KotlinIdeAnnotationsResolverTestGenerated.java')
-rw-r--r-- | plugins/kotlin/analysis-api-providers-ide-impl/test/org/jetbrains/kotlin/idea/fir/analysis/providers/KotlinIdeAnnotationsResolverTestGenerated.java | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/plugins/kotlin/analysis-api-providers-ide-impl/test/org/jetbrains/kotlin/idea/fir/analysis/providers/KotlinIdeAnnotationsResolverTestGenerated.java b/plugins/kotlin/analysis-api-providers-ide-impl/test/org/jetbrains/kotlin/idea/fir/analysis/providers/KotlinIdeAnnotationsResolverTestGenerated.java new file mode 100644 index 000000000000..dc07f1a93437 --- /dev/null +++ b/plugins/kotlin/analysis-api-providers-ide-impl/test/org/jetbrains/kotlin/idea/fir/analysis/providers/KotlinIdeAnnotationsResolverTestGenerated.java @@ -0,0 +1,96 @@ +// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. + +package org.jetbrains.kotlin.idea.fir.analysis.providers; + +import com.intellij.testFramework.TestDataPath; +import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners; +import org.jetbrains.kotlin.idea.test.KotlinTestUtils; +import org.jetbrains.kotlin.test.TestMetadata; +import org.jetbrains.kotlin.idea.test.TestRoot; +import org.junit.runner.RunWith; + +/** + * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}. + * DO NOT MODIFY MANUALLY. + */ +@SuppressWarnings("all") +@TestRoot("analysis-api-providers-ide-impl") +@TestDataPath("$CONTENT_ROOT") +@RunWith(JUnit3RunnerWithInners.class) +@TestMetadata("testData/annotationsResolver") +public class KotlinIdeAnnotationsResolverTestGenerated extends AbstractKotlinIdeAnnotationsResolverTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); + } + + @TestMetadata("annotations_in_brackets_syntax.kt") + public void testAnnotations_in_brackets_syntax() throws Exception { + runTest("testData/annotationsResolver/annotations_in_brackets_syntax.kt"); + } + + @TestMetadata("different_package_fqname.kt") + public void testDifferent_package_fqname() throws Exception { + runTest("testData/annotationsResolver/different_package_fqname.kt"); + } + + @TestMetadata("different_package_short_name_full_import.kt") + public void testDifferent_package_short_name_full_import() throws Exception { + runTest("testData/annotationsResolver/different_package_short_name_full_import.kt"); + } + + @TestMetadata("different_package_short_name_no_import.kt") + public void testDifferent_package_short_name_no_import() throws Exception { + runTest("testData/annotationsResolver/different_package_short_name_no_import.kt"); + } + + @TestMetadata("different_package_short_name_star_import.kt") + public void testDifferent_package_short_name_star_import() throws Exception { + runTest("testData/annotationsResolver/different_package_short_name_star_import.kt"); + } + + @TestMetadata("same_package_fqname.kt") + public void testSame_package_fqname() throws Exception { + runTest("testData/annotationsResolver/same_package_fqname.kt"); + } + + @TestMetadata("same_package_short_name.kt") + public void testSame_package_short_name() throws Exception { + runTest("testData/annotationsResolver/same_package_short_name.kt"); + } + + @RunWith(JUnit3RunnerWithInners.class) + @TestMetadata("testData/annotationsResolver/ambiguity") + public static class Ambiguity extends AbstractKotlinIdeAnnotationsResolverTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); + } + + @TestMetadata("full_import_different_packages.kt") + public void testFull_import_different_packages() throws Exception { + runTest("testData/annotationsResolver/ambiguity/full_import_different_packages.kt"); + } + + @TestMetadata("star_import_different_packages.kt") + public void testStar_import_different_packages() throws Exception { + runTest("testData/annotationsResolver/ambiguity/star_import_different_packages.kt"); + } + } + + @RunWith(JUnit3RunnerWithInners.class) + @TestMetadata("testData/annotationsResolver/priority") + public static class Priority extends AbstractKotlinIdeAnnotationsResolverTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); + } + + @TestMetadata("full_import_beats_star_import.kt") + public void testFull_import_beats_star_import() throws Exception { + runTest("testData/annotationsResolver/priority/full_import_beats_star_import.kt"); + } + + @TestMetadata("star_import_beats_package_import.kt") + public void testStar_import_beats_package_import() throws Exception { + runTest("testData/annotationsResolver/priority/star_import_beats_package_import.kt"); + } + } +} |