Add regression tests to cover Unused symbol with private anonymous object property

^KT-39454 Fixed
This commit is contained in:
Vladimir Dolzhenko
2020-09-17 11:54:18 +02:00
parent d1ba69044e
commit 985f2b839c
5 changed files with 56 additions and 0 deletions
@@ -14285,6 +14285,21 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
runTest("idea/testData/inspectionsLocal/unusedSymbol/jsExport.kt");
}
@TestMetadata("privateProperty.kt")
public void testPrivateProperty() throws Exception {
runTest("idea/testData/inspectionsLocal/unusedSymbol/privateProperty.kt");
}
@TestMetadata("privatePropertyViaGetter.kt")
public void testPrivatePropertyViaGetter() throws Exception {
runTest("idea/testData/inspectionsLocal/unusedSymbol/privatePropertyViaGetter.kt");
}
@TestMetadata("privatePropertyViaSetter.kt")
public void testPrivatePropertyViaSetter() throws Exception {
runTest("idea/testData/inspectionsLocal/unusedSymbol/privatePropertyViaSetter.kt");
}
@TestMetadata("propertyOfInlineClassType.kt")
public void testPropertyOfInlineClassType() throws Exception {
runTest("idea/testData/inspectionsLocal/unusedSymbol/propertyOfInlineClassType.kt");