Support for OSGi/Minimum execution environment

Aldo Eisma <[email protected]> Wed, 17 Oct 2007 12:32:16 +0200
Newsgroups gmane.comp.java.junit.devel
Message-ID <OF3E1A70EC.BF76280E-ONC1257377.003829D5-C1257377.0039E351@nl.ibm.com>
All,

We would like to be able to run junit 3.8 tests on the OSGi/Minimum and 
Micro Edition execution environments, but this is currently not possible.
(1) junit.jar includes utility classes that depend on awt and swing 
packages that are not in those execution environment.
example: junit.runner.TestCollector.
(2) the implementation of junit depends on methods not in OSGi/Minimum in 
a few places
example: the method compare(double, double) is undefined for the type 
Double, junit/framework/Assert.java, line 95, in junit 3.8.2

This limitation could be removed fairly easily by (a) amending the 
implementation for problem 2 and (b) splitting up junit in two jars such 
that the base jar contains only the OSGi/Minimum compatible subset.
Any thoughts?

Thanks, Aldo

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
Junit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/junit-devel