FIR IDE: Refactor functions insertion handler

This commit is contained in:
Roman Golyshev
2021-03-15 02:26:17 +03:00
parent 43b829b1f0
commit fe921b98ce
9 changed files with 147 additions and 87 deletions
@@ -154,6 +154,11 @@ public class PerformanceBasicCompletionHandlerTestGenerated extends AbstractPerf
runTest("idea/idea-completion/testData/handlers/basic/KT36306.kt");
}
@TestMetadata("LocalFunction.kt")
public void testLocalFunction() throws Exception {
runTest("idea/idea-completion/testData/handlers/basic/LocalFunction.kt");
}
@TestMetadata("NestedTypeArg.kt")
public void testNestedTypeArg() throws Exception {
runTest("idea/idea-completion/testData/handlers/basic/NestedTypeArg.kt");
@@ -478,6 +483,11 @@ public class PerformanceBasicCompletionHandlerTestGenerated extends AbstractPerf
runTest("idea/idea-completion/testData/handlers/basic/highOrderFunctions/HigherOrderSuspendFunctionWithArgs.kt");
}
@TestMetadata("InsertFunctionLiteralForLocalFunction.kt")
public void testInsertFunctionLiteralForLocalFunction() throws Exception {
runTest("idea/idea-completion/testData/handlers/basic/highOrderFunctions/InsertFunctionLiteralForLocalFunction.kt");
}
@TestMetadata("InsertFunctionWithSingleParameterWithBrace.kt")
public void testInsertFunctionWithSingleParameterWithBrace() throws Exception {
runTest("idea/idea-completion/testData/handlers/basic/highOrderFunctions/InsertFunctionWithSingleParameterWithBrace.kt");