summaryrefslogtreecommitdiff
path: root/plugins/kotlin/fir/test/org/jetbrains/kotlin/idea/fir/search/HLImplementationSearcherTestGenerated.java
blob: 4e56048e8fe78a8c2aaa34947c271ed7229b6d0c (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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
// 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.search;

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("fir")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("testData/search/implementations")
public abstract class HLImplementationSearcherTestGenerated extends AbstractHLImplementationSearcherTest {
    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/search/implementations/classes")
    public static class Classes extends AbstractHLImplementationSearcherTest {
        private void runTest(String testDataFilePath) throws Exception {
            KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
        }

        @TestMetadata("classWithDeepHeiarchy.kt")
        public void testClassWithDeepHeiarchy() throws Exception {
            runTest("testData/search/implementations/classes/classWithDeepHeiarchy.kt");
        }

        @TestMetadata("classWithTypeParameters.kt")
        public void testClassWithTypeParameters() throws Exception {
            runTest("testData/search/implementations/classes/classWithTypeParameters.kt");
        }

        @TestMetadata("interfaces.kt")
        public void testInterfaces() throws Exception {
            runTest("testData/search/implementations/classes/interfaces.kt");
        }

        @TestMetadata("localClass.kt")
        public void testLocalClass() throws Exception {
            runTest("testData/search/implementations/classes/localClass.kt");
        }

        @TestMetadata("singleSuperClass.kt")
        public void testSingleSuperClass() throws Exception {
            runTest("testData/search/implementations/classes/singleSuperClass.kt");
        }

        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/search/implementations/classes/incorrectCode")
        public static class IncorrectCode extends AbstractHLImplementationSearcherTest {
            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("extendClassWithoutSuperConstructorCall.kt")
            public void testExtendClassWithoutSuperConstructorCall() throws Exception {
                runTest("testData/search/implementations/classes/incorrectCode/extendClassWithoutSuperConstructorCall.kt");
            }
        }
    }

    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/search/implementations/methods")
    public static class Methods extends AbstractHLImplementationSearcherTest {
        private void runTest(String testDataFilePath) throws Exception {
            KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
        }

        @TestMetadata("inLocalClass.kt")
        public void testInLocalClass() throws Exception {
            runTest("testData/search/implementations/methods/inLocalClass.kt");
        }

        @TestMetadata("singleSuperMethod.kt")
        public void testSingleSuperMethod() throws Exception {
            runTest("testData/search/implementations/methods/singleSuperMethod.kt");
        }

        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/search/implementations/methods/incorrectCode")
        public static class IncorrectCode extends AbstractHLImplementationSearcherTest {
            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("overideMethodWithoutOverrideModifier.kt")
            public void testOverideMethodWithoutOverrideModifier() throws Exception {
                runTest("testData/search/implementations/methods/incorrectCode/overideMethodWithoutOverrideModifier.kt");
            }
        }
    }

    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/search/implementations/properties")
    public static class Properties extends AbstractHLImplementationSearcherTest {
        private void runTest(String testDataFilePath) throws Exception {
            KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
        }

        @TestMetadata("inLocalClass.kt")
        public void testInLocalClass() throws Exception {
            runTest("testData/search/implementations/properties/inLocalClass.kt");
        }

        @TestMetadata("singleSuperProperty.kt")
        public void testSingleSuperProperty() throws Exception {
            runTest("testData/search/implementations/properties/singleSuperProperty.kt");
        }

        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/search/implementations/properties/incorrectCode")
        public static class IncorrectCode extends AbstractHLImplementationSearcherTest {
            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("overidePropertyWithoutOverrideModifier.kt")
            public void testOveridePropertyWithoutOverrideModifier() throws Exception {
                runTest("testData/search/implementations/properties/incorrectCode/overidePropertyWithoutOverrideModifier.kt");
            }
        }
    }
}