I created some test cases for my MagicDraw 19.0 plugins but when I try to execute them using JUnit, i get the following error:
- Code: Select all
[junit] java.lang.IllegalStateException: Application has to be started inside OSGI Framework
this error is caused by a
- Code: Select all
[junit] java.lang.NullPointerException
[junit] at com.nomagic.runtime.Bridge.isGUIVisible(Bridge.java:68)
Unfortunately, I don't find a we to start the test case with magic draw using OSGi. The documentation only provides an ant script which produces the same error.
Regards,
Marc