You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "mohsen-Nour (via GitHub)" <gi...@apache.org> on 2026/06/20 08:18:49 UTC

[I] Go to Source not working in Test Resutl window [netbeans]

mohsen-Nour opened a new issue, #9454:
URL: https://github.com/apache/netbeans/issues/9454

   ### Apache NetBeans version
   
   Apache NetBeans 30
   
   ### What happened
   
   Hello 
   After test using junit.jupiter in Test Result window in case of Failure shows class hierarchy on class that cause error (Test Class) if right click on Class
   name the Go to Source  appear. if click on that   it does not go to source class  
   
   ### Language / Project Type / NetBeans Component
   
   Java Multi level  Gradle Project 
   
   ### How to reproduce
   
   <img width="993" height="519" alt="Image" src="https://github.com/user-attachments/assets/e98ae361-ceb5-4765-b316-43e558fc90ff" />
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Ubuntu
   
   ### JDK
   
   21
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Go to Source not working in Test Resutl window [netbeans]

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #9454:
URL: https://github.com/apache/netbeans/issues/9454#issuecomment-4757723511

   Can you please provide a reproducer?


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Go to Source not working in Test Resutl window [netbeans]

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing closed issue #9454: Go to Source not working in Test Resutl window
URL: https://github.com/apache/netbeans/issues/9454


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Go to Source not working in Test Resutl window [netbeans]

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #9454:
URL: https://github.com/apache/netbeans/issues/9454#issuecomment-4762972072

   The core of the problem is a broken string contenation. That should be fixed by #9459.
   
   @mohsen-Nour please check the dev build available for the checks page of the PR (or directly: https://github.com/apache/netbeans/suites/75234703289/artifacts/7778303916). Thank you.
   
   While looking into this I noticed that the gradle JUnit integration can be improved by applying the lessons from the maven junit integration also to gradle, that is a different task though.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Go to Source not working in Test Resutl window [netbeans]

Posted by "mohsen-Nour (via GitHub)" <gi...@apache.org>.
mohsen-Nour commented on issue #9454:
URL: https://github.com/apache/netbeans/issues/9454#issuecomment-4761110824

   
   I create tiny project Using Gradle (151kb)
   
   And is accessible from this link
   https://drive.google.com/file/d/1ivT4X5IaOCX8JBQ17HWwyEdsBu2eWQz7/view?usp=sharing 
   
   
   
   AppTest  is name of class  and it does not pass the test and  by right clicking on the class name on Test Result window and "Go to Source " will be appear
   
   
   `
   package agri.test.demo;
   
   import org.junit.jupiter.api.Test;
   import static org.junit.jupiter.api.Assertions.*;
   
   class AppTest {
       @Test void appHasAGreeting() {
           App classUnderTest = new App();
           assertNull(classUnderTest.getGreeting(), "app should have a greeting"
                   + "1");
       }
   }
   `
   
   


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists