Details
Description
Add to CTF header an optional element specifies the "minimum JVM for this test." Thus, an entire test directory will be executed or skipped depending on the currently-in-use JVM that is running the test.
This will allow us to add tests to the CTF on more recent JVMs that the minimum that we support.
Since our current minimum platform is Java 1.3, this will allow us to add tests that require Java 1.4 or Java 5 or Java 6.
This will be done on the entire TestDescriptor.xml level and not on the UnitTest level, because otherwise we'd be trying to compile or not compile individual source files based on the JVM version, and it's not worth adding that sort of complexity.
Issue Links
- is depended upon by
-
CASTOR-1668
Add test of enum style classes to XML test suite
-
Attaching a patch to provide this functionality.