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:23:00 UTC

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

     [ https://issues.apache.org/jira/browse/NETBEANS-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tobias Warneke updated NETBEANS-2477:
-------------------------------------
    Description: 
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*? Or 

 

  was:
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*?

 


> 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
>            Priority: Major
>
> 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*? Or 
>  



--
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