Hello, I have made a patch for JMUnit 1.2.1 CLDC 1.1 that allows to execute TestSuites on simulators/emulators and devices that throw a SecurityException like Nokia ones.
The patch basically removes MIDlet from Test inheritance chain (the class Assertion no longer extends MIDlet).
You could download it and know a bit more at the project's page at http://sites.google.com/site/franciscobenitezleon/projects/jmunit-revised
Francisco Benitez Leon
* Email: email@example.com, firstname.lastname@example.org
* Site: sites.google.com/site/franciscobenitezleon
* Blog: franciscobenitezleon.wordpress.com
Thanks. Your documentation is very good. I look forward to trying it.
I hope you find it useful. I have been using JMUnit for a while and thought this was the best way to thank you for your effort.
I am now in the process of modifying NetBeans Mobility J2MEUnit module to integrate the patched library.
So far, I have modified the JMUnit Empty Test template and changed some lines of code to include the new library as the default option when using Tools->Create JUnit Test. I'm also planning to include a new wizard for automating the creation of the necessary files to run the tests (MIDlet, TestSuite and TestRunner). I'm going slower than I thought as I'm not very familiar with NetBeans API, but I'll let you know when I finish it.