File: SimpleKotlinRenderLogTest.kt

package info (click to toggle)
kotlin 1.3.31%2Bds1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 109,908 kB
  • sloc: java: 454,756; xml: 18,599; javascript: 10,452; sh: 513; python: 97; makefile: 69; ansic: 4
file content (96 lines) | stat: -rw-r--r-- 2,949 bytes parent folder | download | duplicates (2)
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
package org.jetbrains.uast.test.kotlin

import org.junit.Test

class SimpleKotlinRenderLogTest : AbstractKotlinRenderLogTest() {
    @Test fun testLocalDeclarations() = doTest("LocalDeclarations")

    @Test fun testSimple() = doTest("Simple")

    @Test fun testWhenIs() = doTest("WhenIs")

    @Test fun testDefaultImpls() = doTest("DefaultImpls")

    @Test fun testElvis() = doTest("Elvis")

    @Test fun testPropertyAccessors() = doTest("PropertyAccessors")

    @Test fun testPropertyInitializer() = doTest("PropertyInitializer")

    @Test fun testPropertyInitializerWithoutSetter() = doTest("PropertyInitializerWithoutSetter")

    @Test fun testAnnotationParameters() = doTest("AnnotationParameters")

    @Test fun testEnumValueMembers() = doTest("EnumValueMembers")

    @Test fun testStringTemplate() = doTest("StringTemplate")

    @Test fun testStringTemplateComplex() = doTest("StringTemplateComplex")

    @Test fun testQualifiedConstructorCall() = doTest("QualifiedConstructorCall")

    @Test fun testPropertyDelegate() = doTest("PropertyDelegate")

    @Test fun testLocalVariableWithAnnotation() = doTest("LocalVariableWithAnnotation")

    @Test fun testPropertyWithAnnotation() = doTest("PropertyWithAnnotation")

    @Test fun testIfStatement() = doTest("IfStatement")

    @Test fun testInnerClasses() = doTest("InnerClasses")

    @Test fun testSimpleScript() = doTest("SimpleScript") { testName, file -> check(testName, file, false) }

    @Test fun testDestructuringDeclaration() = doTest("DestructuringDeclaration")

    @Test fun testDefaultParameterValues() = doTest("DefaultParameterValues")

    @Test fun testParameterPropertyWithAnnotation() = doTest("ParameterPropertyWithAnnotation")

    @Test fun testParametersWithDefaultValues() = doTest("ParametersWithDefaultValues")

    @Test
    fun testUnexpectedContainer() = doTest("UnexpectedContainerException")

    @Test
    fun testWhenStringLiteral() = doTest("WhenStringLiteral")

    @Test
    fun testWhenAndDestructing() = doTest("WhenAndDestructing") { testName, file -> check(testName, file, false) }

    @Test
    fun testSuperCalls() = doTest("SuperCalls")

    @Test
    fun testConstructors() = doTest("Constructors")

    @Test
    fun testClassAnnotation() = doTest("ClassAnnotation")

    @Test
    fun testReceiverFun() = doTest("ReceiverFun")

    @Test
    fun testAnonymous() = doTest("Anonymous")

    @Test
    fun testAnnotationComplex() = doTest("AnnotationComplex")

    @Test
    fun testParametersDisorder() = doTest("ParametersDisorder") { testName, file ->
        // disabled due to inconsistent parents for 2-receivers call (KT-22344)
        check(testName, file, false)
    }

    @Test
    fun testLambdas() = doTest("Lambdas")

    @Test
    fun testTypeReferences() = doTest("TypeReferences")

    @Test
    fun testDelegate() = doTest("Delegate")

    @Test
    fun testConstructorDelegate() = doTest("ConstructorDelegate")
}