summaryrefslogtreecommitdiff
path: root/plugins/kotlin/uast/uast-kotlin/tests/test/org/jetbrains/uast/test/kotlin/comparison/FE1UastDeclarationTestGenerated.java
blob: 357a5890b40b66828c871903df9b6b474d13d763 (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
// 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.uast.test.kotlin.comparison;

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("uast/uast-kotlin/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../uast-kotlin-fir/testData/declaration")
public class FE1UastDeclarationTestGenerated extends AbstractFE1UastDeclarationTest {
    private void runTest(String testDataFilePath) throws Exception {
        KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
    }

    @TestMetadata("annotationOnElvis.kt")
    public void testAnnotationOnElvis() throws Exception {
        runTest("../../uast-kotlin-fir/testData/declaration/annotationOnElvis.kt");
    }

    @TestMetadata("commentsOnProperties.kt")
    public void testCommentsOnProperties() throws Exception {
        runTest("../../uast-kotlin-fir/testData/declaration/commentsOnProperties.kt");
    }

    @TestMetadata("doWhile.kt")
    public void testDoWhile() throws Exception {
        runTest("../../uast-kotlin-fir/testData/declaration/doWhile.kt");
    }

    @TestMetadata("facade.kt")
    public void testFacade() throws Exception {
        runTest("../../uast-kotlin-fir/testData/declaration/facade.kt");
    }

    @TestMetadata("if.kt")
    public void testIf() throws Exception {
        runTest("../../uast-kotlin-fir/testData/declaration/if.kt");
    }

    @TestMetadata("importOnDemand.kt")
    public void testImportOnDemand() throws Exception {
        runTest("../../uast-kotlin-fir/testData/declaration/importOnDemand.kt");
    }

    @TestMetadata("labeledExpression.kt")
    public void testLabeledExpression() throws Exception {
        runTest("../../uast-kotlin-fir/testData/declaration/labeledExpression.kt");
    }

    @TestMetadata("objects.kt")
    public void testObjects() throws Exception {
        runTest("../../uast-kotlin-fir/testData/declaration/objects.kt");
    }

    @TestMetadata("retention.kt")
    public void testRetention() throws Exception {
        runTest("../../uast-kotlin-fir/testData/declaration/retention.kt");
    }
}