ops4j / org.ops4j.pax.exam2

Pax Exam is a testing framework for OSGi
https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/
Apache License 2.0
84 stars 100 forks source link

[PAXEXAM-926] RMI port range is not configurable for forked container #79

Closed nfalco79 closed 5 years ago

nfalco79 commented 5 years ago

Make socket-based communication for invoker and RMI of forked container configurable through system properties.

If you agree to change some method visibility I could test using mockito otherwise I should use PowerMockito to enable mock of private methods and final classes.

nfalco79 commented 5 years ago

@ffang could you make a code review?

nfalco79 commented 5 years ago

@laeubi I had add two unit test

ffang commented 5 years ago

@nfalco79 sorry, somehow I missed your message, the PR is good to me(If it's not too late to say). Thanks!