JRuby created mock objects, injected into JRuby instantiated Java objects
result in errors
------------------------------------------------------------------------------------------
Key: JRUBY-2516
URL: http://jira.codehaus.org/browse/JRUBY-2516
Project: JRuby
Issue Type: Bug
Components: Java Integration
Affects Versions: JRuby 1.1.1
Environment: Mac OS X 10.5.2 Java build 1.5.0_13-b05-237
Reporter: Evan David Light
Attachments: JRuby-Java-Mocking-Integration.tar.gz
This may be a PEBKAC on my part, trying to use Mocha on Java objects via JRuby
but here is the sample.
Actually, I first encountered the problem with JtestR v0.2.1. However, I'm
raising it here as, ideally, this sort of approach would be ideal for unit
testing Java code.
Sample code attached.
--
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