History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WAFFLE-29
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Mauro Talevi
Reporter: Mauro Talevi
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Waffle

Create Waffle Mock module

Created: 03/Nov/07 07:59 AM   Updated: 13/Nov/07 03:16 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0-rc-1

Time Tracking:
Not Specified


 Description  « Hide

The Waffle Mock module should contain any mock-related classes that help Waffle users mock
the Waffle interfaces.

The AbstractRegistrarTestCase should migrate to waffle-mock.

A new jMock 2 Mockery class should also be provided.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mauro Talevi - 03/Nov/07 08:43 AM
Added waffle-mock extension module with Abstract/PicoRegistrarMockery to mirror Abstract/PicoRegistrarTestCase.

The jMock 1 classes left in core for the moment, pending consensus on move.


Mauro Talevi - 11/Nov/07 04:48 AM
Moved Abstract*RegistrarTestCase classes to waffle-mock extension.
jMock and JUnit are now by default test-scoped and only compile-scoped in waffle-mock.

Mauro Talevi - 13/Nov/07 03:16 AM
Removed redundant support for jMock 1 classes, which has been renamed in the move to waffle-mock.

To upgrade, replace:

  • AbstractRegistrarTestCase -> AbstractRegistrarMockery
  • PicoRegistrarTestCase -> PicoRegistrarMockery

without any need to subclass the Mockery, but simply instantiate as in normal jMock 2 style.