« Return to Thread: [jira] Created: (JMOCK-210) Add getMockery() to MockObjectTestCase

[jira] Resolved: (JMOCK-210) Add getMockery() to MockObjectTestCase

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


     [ http://jira.codehaus.org/browse/JMOCK-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nat Pryce resolved JMOCK-210.
-----------------------------

         Assignee: Nat Pryce
       Resolution: Fixed
    Fix Version/s: 2.6.0

I've added a context() method to the MockObjectTestCase class

> Add getMockery() to MockObjectTestCase
> --------------------------------------
>
>                 Key: JMOCK-210
>                 URL: http://jira.codehaus.org/browse/JMOCK-210
>             Project: jMock
>          Issue Type: Improvement
>          Components: Library
>    Affects Versions: 2.5.1
>            Reporter: Kenny MacLeod
>            Assignee: Nat Pryce
>            Priority: Trivial
>             Fix For: 2.6.0
>
>
> Please add an accessor method in org.jmock.integration.junit3.MockObjectTestCase to allow subclasses direct access to the Mockery object.
> My use case is that my test has a collaborator class which needs to create mocks and expectations itself, and I'd rather not pass it the reference to the MockObjectTestCase class.

--
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


 « Return to Thread: [jira] Created: (JMOCK-210) Add getMockery() to MockObjectTestCase