This is an automated email from the ASF dual-hosted git repository. entl pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit f0b395c63b7d40ff18c8655bd2abe596aa04a3a0 Author: Martin Entlicher <[email protected]> AuthorDate: Thu Apr 1 19:54:21 2021 +0200 The debug test needs to specify configuration, after a second Native Image configuration was added. --- java/java.lsp.server/vscode/src/test/suite/extension.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java/java.lsp.server/vscode/src/test/suite/extension.test.ts b/java/java.lsp.server/vscode/src/test/suite/extension.test.ts index 2d8053a..5f4e7ec 100644 --- a/java/java.lsp.server/vscode/src/test/suite/extension.test.ts +++ b/java/java.lsp.server/vscode/src/test/suite/extension.test.ts @@ -194,8 +194,9 @@ class Main { then(() => waitUserApplication(5, false, () => resolve(true))); } console.log("Test: invoking debug debug.run"); - vscode.commands.executeCommand("workbench.action.debug.run").then( - () => waitUserApplication(5, true, onProcessStarted)); + const workspaceFolder = (vscode.workspace.workspaceFolders!)[0]; + vscode.debug.startDebugging(workspaceFolder, {type: "java8+", name: "Launch Java 8+ App", request: "launch"}, {}). + then(() => waitUserApplication(5, true, onProcessStarted)); }); return r; } catch (error) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
