Test for KT-3256 'Can't rename a Kotlin function from Java code'

#KT-3256
This commit is contained in:
Nikolay Krasko
2013-11-22 19:49:38 +04:00
parent 3104fc9574
commit 722118772a
2 changed files with 8 additions and 0 deletions
@@ -0,0 +1,3 @@
// RENAME: JAVA_METHOD->testing.rename.C->int first()->second
// KT-3256 Can't rename a Kotlin function from Java code
@@ -68,6 +68,11 @@ public class RenameTestGenerated extends AbstractRenameTest {
doTest("idea/testData/refactoring/rename/renameKotlinClassConstructor/renameKotlinConstructor.test");
}
@TestMetadata("renameKotlinMethod/javaWrapperForKotlinMethod.test")
public void testRenameKotlinMethod_JavaWrapperForKotlinMethod() throws Exception {
doTest("idea/testData/refactoring/rename/renameKotlinMethod/javaWrapperForKotlinMethod.test");
}
@TestMetadata("renameKotlinMethod/renameKotlinMethod.test")
public void testRenameKotlinMethod_RenameKotlinMethod() throws Exception {
doTest("idea/testData/refactoring/rename/renameKotlinMethod/renameKotlinMethod.test");