Make ReplaceWith work for objects (KT-16211, KT-14929)

#KT-16211 Fixed
This commit is contained in:
Nikolay Krasko
2018-09-25 17:45:06 +03:00
parent 18c181641f
commit 0833f23d02
8 changed files with 107 additions and 3 deletions
@@ -5261,6 +5261,16 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
runTest("idea/testData/quickfix/deprecatedSymbolUsage/noReplacement.kt");
}
@TestMetadata("objects.kt")
public void testObjects() throws Exception {
runTest("idea/testData/quickfix/deprecatedSymbolUsage/objects.kt");
}
@TestMetadata("objectsInQualified.kt")
public void testObjectsInQualified() throws Exception {
runTest("idea/testData/quickfix/deprecatedSymbolUsage/objectsInQualified.kt");
}
@TestMetadata("operatorCall.kt")
public void testOperatorCall() throws Exception {
runTest("idea/testData/quickfix/deprecatedSymbolUsage/operatorCall.kt");
@@ -6024,6 +6034,11 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
runTest("idea/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsageWithConflict1.kt");
}
@TestMetadata("objectAliased.kt")
public void testObjectAliased() throws Exception {
runTest("idea/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliased.kt");
}
@TestMetadata("onlyAliasDeprecated.kt")
public void testOnlyAliasDeprecated() throws Exception {
runTest("idea/testData/quickfix/deprecatedSymbolUsage/typeAliases/onlyAliasDeprecated.kt");