introduce a jruby.util.Platform class to begin isolating platform-specific tests
--------------------------------------------------------------------------------
Key: JRUBY-2132
URL: http://jira.codehaus.org/browse/JRUBY-2132
Project: JRuby
Issue Type: Improvement
Components: Core Classes/Modules
Reporter: Robert Jay Osborne
Attachments: platform_patch.diff
Instead of having so many tests for a specific platform scattered in the code,
I refactored, so you can have one place to manage it:
{code}
if (Platform.IS_WINDOWS) {
...
}
{code}
Or fancier stuff:
{code}
Runtime.getRuntime().exec(Platform.envCommand());
{code}
This is just the Platform class and test, and does not introduce any changes to
the existing codebase other than inserting itself in the test suite.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email