diff --git a/plugins/uast-kotlin/testData/ParametersDisorder.kt.181 b/plugins/uast-kotlin/testData/ParametersDisorder.kt similarity index 100% rename from plugins/uast-kotlin/testData/ParametersDisorder.kt.181 rename to plugins/uast-kotlin/testData/ParametersDisorder.kt diff --git a/plugins/uast-kotlin/testData/ParametersDisorder.log.txt.181 b/plugins/uast-kotlin/testData/ParametersDisorder.log.txt similarity index 100% rename from plugins/uast-kotlin/testData/ParametersDisorder.log.txt.181 rename to plugins/uast-kotlin/testData/ParametersDisorder.log.txt diff --git a/plugins/uast-kotlin/testData/ParametersDisorder.render.txt.181 b/plugins/uast-kotlin/testData/ParametersDisorder.render.txt similarity index 100% rename from plugins/uast-kotlin/testData/ParametersDisorder.render.txt.181 rename to plugins/uast-kotlin/testData/ParametersDisorder.render.txt diff --git a/plugins/uast-kotlin/tests/SimpleKotlinRenderLogTest.kt b/plugins/uast-kotlin/tests/SimpleKotlinRenderLogTest.kt index 3975af4287e..66812b55f10 100644 --- a/plugins/uast-kotlin/tests/SimpleKotlinRenderLogTest.kt +++ b/plugins/uast-kotlin/tests/SimpleKotlinRenderLogTest.kt @@ -75,4 +75,10 @@ class SimpleKotlinRenderLogTest : AbstractKotlinRenderLogTest() { @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) + } } diff --git a/plugins/uast-kotlin/tests/SimpleKotlinRenderLogTest.kt.181 b/plugins/uast-kotlin/tests/SimpleKotlinRenderLogTest.kt.181 deleted file mode 100644 index 66812b55f10..00000000000 --- a/plugins/uast-kotlin/tests/SimpleKotlinRenderLogTest.kt.181 +++ /dev/null @@ -1,84 +0,0 @@ -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) - } -}