Don't suggest adding replaceWith in DeprecationLevel.HIDDEN (#1094)

#KT-17917 Fixed
This commit is contained in:
nd
2017-05-24 15:06:51 +02:00
committed by Dmitry Jemerov
parent 8d6d228bb8
commit cb5459b7d7
3 changed files with 25 additions and 3 deletions
@@ -7802,6 +7802,12 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
doTest(fileName);
}
@TestMetadata("DeprecationLevelHidden.kt")
public void testDeprecationLevelHidden() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/deprecatedCallableAddReplaceWith/DeprecationLevelHidden.kt");
doTest(fileName);
}
@TestMetadata("ExceptionInPropertyDestructuringEntry.kt")
public void testExceptionInPropertyDestructuringEntry() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/deprecatedCallableAddReplaceWith/ExceptionInPropertyDestructuringEntry.kt");