Create From Usage: Fix template insertion when target container is not empty

This commit is contained in:
Alexey Sedunov
2014-10-20 15:01:11 +04:00
parent 07a2a16232
commit d4a9b922e5
4 changed files with 38 additions and 3 deletions
@@ -795,7 +795,13 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserType.kt");
doTest(fileName);
}
@TestMetadata("beforeFunOnUserTypeWithDeclarations.kt")
public void testFunOnUserTypeWithDeclarations() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithDeclarations.kt");
doTest(fileName);
}
@TestMetadata("beforeFunOnUserTypeWithTypeParams.kt")
public void testFunOnUserTypeWithTypeParams() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithTypeParams.kt");