You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tobias Warneke (JIRA)" <ji...@apache.org> on 2019/04/29 08:04:00 UTC

[jira] [Created] (NETBEANS-2477) test global Lookup with junit jupiter using MockServices

Tobias Warneke created NETBEANS-2477:
----------------------------------------

             Summary: test global Lookup with junit jupiter using MockServices
                 Key: NETBEANS-2477
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2477
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 8.2
            Reporter: Tobias Warneke


To test a global registered service I am using 

MockServices.setServices 

within my tests. This works fine using *junit 4.x* but fails using *junit jupiter* with this exception:

_java.lang.NoClassDefFoundError: junit/framework/AssertionFailedError_

 

Is there a version of MockServices that works with *junit jupiter*?

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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