summaryrefslogtreecommitdiff
path: root/plugins/kotlin/analysis-api-providers-ide-impl/test/org/jetbrains/kotlin/idea/fir/analysis/providers/KotlinIdeAnnotationsResolverTestGenerated.java
blob: dc07f1a934376bcc046092bdacc4e1c656ec6953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
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");
        }
    }
}