Attaching patch d3385_versionMBeanTest_01.diff in case anyone wants to review it while I'm on vacation (1 week).
The patch only includes tests for the Version MBean. Currently only attributes (names and types) for the VersionMBean instance for derby.jar are tested (I expect to add more later).
New package for JMX management tests. Built with JDK1.5.
Test suite including all relevant management tests.
Test fixtures/logic for the VersionMBean.
Build script for management tests.
Modifications to add jmxPort as a field in TestConfiguration. Default value is 9999 (arbitrarily chosen) for now. Let me know if there is a better way to do this.
Builds management tests as part of the overall test build.
This patch does not add the new tests to a larger suite such as suites.All or junit-all.
1 of the 10 tests will fail until the VersionMBean is updated (change attribute name "MaintVersion" to MaintenanceVersion"). Running the tests requires JDK1.5 or better.