Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.6.0
-
Fix Version/s: 2.6.0
-
Component/s: JMock 2.x.x Library
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
org.jmock.Mockery currently depends on org.jmock.test.unit.lib.SingleThreadedImposteriser which is located in the test source folder thereby introducing a dependency from jmock.jar to jmock-tests.jar. To fix this I've moved test/org/jmock/test/unit/lib/SingleThreadedImposteriser.java to src/org/jmock/lib/SingleThreadedImposteriser.java. To prevent this happening in the future I've also updated the build.xml file so that the test files are compiled separately from the src files and placed into a separate directory (build/testclasses) to further prevent them being accidentally referenced.
Good catch. The code in Subversion head is still work in progress. 2.6.0 is not yet released. For issues with the code in subversion, it's better to just send an email to the developers or users mailing list, rather than raising a JIRA. We use JIRA for tracking issues against released versions.