Thomas Diesler [
http://community.jboss.org/people/thomas.diesler%40jboss.com] replied to
the discussion
"On demand resolution"
To view the discussion, visit:
http://community.jboss.org/message/535026#535026
--------------------------------------------------------------
In case you don't know ...
You can run most of the framework tests against Felix and Equinox. This is sometimes
useful when you want to see how the RI behaves.
[tdiesler@tdvaio bundle]$ mvn -Dtest=DynamicImportPackageTestCase test
Running org.jboss.test.osgi.classloader.DynamicImportPackageTestCase
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.62 sec <<<
FAILURE!
[tdiesler@tdvaio bundle]$ mvn -Dfrwk=felix -Dtest=DynamicImportPackageTestCase test
Running org.jboss.test.osgi.classloader.DynamicImportPackageTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.469 sec
This of course does not work for unit tests that use non standard OSGi API.
i.e you cannot build/run the entire testsuite with another framework - only individual
tests
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/535026#535026]
Start a new discussion in JBoss Microcontainer Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]