Move statement: Add or remove empty lines correctly

#KT-14946 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-08-05 19:18:34 +09:00
committed by klunnii
parent 73dec25eb1
commit 8a595ad165
38 changed files with 232 additions and 17 deletions
@@ -194,6 +194,41 @@ public class MoveStatementTestGenerated extends AbstractMoveStatementTest {
public void testClassWithoutBody4() throws Exception {
runTest("idea/testData/codeInsight/moveUpDown/classBodyDeclarations/class/classWithoutBody4.kt");
}
@TestMetadata("kt-14946-1.kt")
public void testKt_14946_1() throws Exception {
runTest("idea/testData/codeInsight/moveUpDown/classBodyDeclarations/class/kt-14946-1.kt");
}
@TestMetadata("kt-14946-2.kt")
public void testKt_14946_2() throws Exception {
runTest("idea/testData/codeInsight/moveUpDown/classBodyDeclarations/class/kt-14946-2.kt");
}
@TestMetadata("kt-14946-3.kt")
public void testKt_14946_3() throws Exception {
runTest("idea/testData/codeInsight/moveUpDown/classBodyDeclarations/class/kt-14946-3.kt");
}
@TestMetadata("kt-14946-4.kt")
public void testKt_14946_4() throws Exception {
runTest("idea/testData/codeInsight/moveUpDown/classBodyDeclarations/class/kt-14946-4.kt");
}
@TestMetadata("kt-14946-5.kt")
public void testKt_14946_5() throws Exception {
runTest("idea/testData/codeInsight/moveUpDown/classBodyDeclarations/class/kt-14946-5.kt");
}
@TestMetadata("kt-14946-6.kt")
public void testKt_14946_6() throws Exception {
runTest("idea/testData/codeInsight/moveUpDown/classBodyDeclarations/class/kt-14946-6.kt");
}
@TestMetadata("kt-14946-7.kt")
public void testKt_14946_7() throws Exception {
runTest("idea/testData/codeInsight/moveUpDown/classBodyDeclarations/class/kt-14946-7.kt");
}
}
@TestMetadata("idea/testData/codeInsight/moveUpDown/classBodyDeclarations/classInitializer")