summaryrefslogtreecommitdiff
path: root/plugins/kotlin/fir/test/org/jetbrains/kotlin/idea/fir/codeInsight/handlers/HLGotoSuperActionHandlerTestGenerated.java
blob: 151dfa596592f81f14e57cc2f51d241c620f1f1f (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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
// 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.codeInsight.handlers;

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/codeInsight/handlers/gotoSuperActionHandler")
public abstract class HLGotoSuperActionHandlerTestGenerated extends AbstractHLGotoSuperActionHandlerTest {
    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/codeInsight/handlers/gotoSuperActionHandler/classes")
    public static class Classes extends AbstractHLGotoSuperActionHandlerTest {
        private void runTest(String testDataFilePath) throws Exception {
            KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
        }

        @TestMetadata("classImplemeningInterfaces.kt")
        public void testClassImplemeningInterfaces() throws Exception {
            runTest("testData/codeInsight/handlers/gotoSuperActionHandler/classes/classImplemeningInterfaces.kt");
        }

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

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

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

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

            @TestMetadata("extendFinalClass.kt")
            public void testExtendFinalClass() throws Exception {
                runTest("testData/codeInsight/handlers/gotoSuperActionHandler/classes/incorrectCode/extendFinalClass.kt");
            }
        }
    }

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

        @TestMetadata("intersectionOverrideMethods.kt")
        public void testIntersectionOverrideMethods() throws Exception {
            runTest("testData/codeInsight/handlers/gotoSuperActionHandler/methods/intersectionOverrideMethods.kt");
        }

        @TestMetadata("multipleSuperMethodsFromInterfaces.kt")
        public void testMultipleSuperMethodsFromInterfaces() throws Exception {
            runTest("testData/codeInsight/handlers/gotoSuperActionHandler/methods/multipleSuperMethodsFromInterfaces.kt");
        }

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

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

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

            @TestMetadata("overrideFinalMethod.kt")
            public void testOverrideFinalMethod() throws Exception {
                runTest("testData/codeInsight/handlers/gotoSuperActionHandler/methods/incorrectCode/overrideFinalMethod.kt");
            }

            @TestMetadata("overrideFinalMethodInFinalClass.kt")
            public void testOverrideFinalMethodInFinalClass() throws Exception {
                runTest("testData/codeInsight/handlers/gotoSuperActionHandler/methods/incorrectCode/overrideFinalMethodInFinalClass.kt");
            }
        }
    }

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

        @TestMetadata("intersectionOverrideProperties.kt")
        public void testIntersectionOverrideProperties() throws Exception {
            runTest("testData/codeInsight/handlers/gotoSuperActionHandler/properties/intersectionOverrideProperties.kt");
        }

        @TestMetadata("multipleSuperPropertiesFromInterfaces.kt")
        public void testMultipleSuperPropertiesFromInterfaces() throws Exception {
            runTest("testData/codeInsight/handlers/gotoSuperActionHandler/properties/multipleSuperPropertiesFromInterfaces.kt");
        }

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

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

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

            @TestMetadata("overrideFinalProperty.kt")
            public void testOverrideFinalProperty() throws Exception {
                runTest("testData/codeInsight/handlers/gotoSuperActionHandler/properties/incorrectCode/overrideFinalProperty.kt");
            }

            @TestMetadata("overrideFinalPropertyInFinalClass.kt")
            public void testOverrideFinalPropertyInFinalClass() throws Exception {
                runTest("testData/codeInsight/handlers/gotoSuperActionHandler/properties/incorrectCode/overrideFinalPropertyInFinalClass.kt");
            }
        }
    }
}