[formatter] add tests for line indent after properties

^KT-42560
This commit is contained in:
Dmitry Gridin
2020-10-09 20:03:48 +07:00
parent 434139d986
commit 23beaa5883
10 changed files with 76 additions and 0 deletions
@@ -36,6 +36,16 @@ public class TypingIndentationTestBaseGenerated extends AbstractTypingIndentatio
runTest("idea/testData/indentationOnNewline/AfterClassNameBeforeFun.after.kt");
}
@TestMetadata("AfterExtensionPropertyGetter.after.kt")
public void testAfterExtensionPropertyGetter() throws Exception {
runTest("idea/testData/indentationOnNewline/AfterExtensionPropertyGetter.after.kt");
}
@TestMetadata("AfterExtensionPropertySetter.after.kt")
public void testAfterExtensionPropertySetter() throws Exception {
runTest("idea/testData/indentationOnNewline/AfterExtensionPropertySetter.after.kt");
}
@TestMetadata("AfterFinally.after.kt")
public void testAfterFinally() throws Exception {
runTest("idea/testData/indentationOnNewline/AfterFinally.after.kt");
@@ -46,6 +56,16 @@ public class TypingIndentationTestBaseGenerated extends AbstractTypingIndentatio
runTest("idea/testData/indentationOnNewline/AfterImport.after.kt");
}
@TestMetadata("AfterPropertyGetter.after.kt")
public void testAfterPropertyGetter() throws Exception {
runTest("idea/testData/indentationOnNewline/AfterPropertyGetter.after.kt");
}
@TestMetadata("AfterPropertySetter.after.kt")
public void testAfterPropertySetter() throws Exception {
runTest("idea/testData/indentationOnNewline/AfterPropertySetter.after.kt");
}
@TestMetadata("AfterTry.after.kt")
public void testAfterTry() throws Exception {
runTest("idea/testData/indentationOnNewline/AfterTry.after.kt");