Make jMock thread-safe
----------------------
Key: JMOCK-213
URL:
http://jira.codehaus.org/browse/JMOCK-213 Project: jMock
Issue Type: Improvement
Components: Library
Affects Versions: 2.5.1, 2.5.0, 2.5.0-RC2, 2.5.0-RC1, 2.4.0, 2.4.0-RC1, 2.3.0, 2.3.0-RC2, 2.3.0-RC1, 2.2.0, 2.2.0-RC1, 2.1.0, 2.1.0-RC5, 2.1.0-RC4, 2.1.0-RC3, 2.1.0-RC2, 2.1.0-RC1, 2.0.0, 2.0.0-RC1, 1.2.0, 1.1.0, 1.1.0-RC2, 1.1.0-RC1, 1.0.1, 1.0
Reporter: Nat Pryce
Fix For: 2.7.0
The Mockery is not thread safe but people often use jMock with multithreaded code.
Thread-safety can be easily implemented as a decorator that wraps the imposteriser. It can then be plugged into the Mockery when needed.
The only other issue to address is that expectation failures are swallowed by background threads. Issue JMOCK-183 will address this issue.
--
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