petrovic-d commented on code in PR #7979:
URL: https://github.com/apache/netbeans/pull/7979#discussion_r1889895537
##########
java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/WorkspaceServiceImpl.java:
##########
@@ -401,11 +403,15 @@ public CompletableFuture<Object>
executeCommand(ExecuteCommandParams params) {
LOG.log(Level.INFO, "Project {2}: {0} test roots opened in
{1}ms", new Object[] { testRoots.size(), (System.currentTimeMillis() - t),
file});
BiFunction<FileObject,
Collection<TestMethodController.TestMethod>, Collection<TestSuiteInfo>> f =
(fo, methods) -> {
String url = Utils.toUri(fo);
+ Project owner = FileOwnerQuery.getOwner(fo);
+ String moduleName = owner != null ?
ProjectUtils.getInformation(owner).getDisplayName(): null;
Review Comment:
Yes. For the maven we will have `parentName-artifactId`, and for the gradle
it's `parentName:moduleName`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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