wx930910 opened a new pull request #94:
URL: https://github.com/apache/jackrabbit/pull/94


   Fixes [#1: Refactor DummyInternalVersion in VersionIteratorImplTest.java to 
improve test logic](https://github.com/wx930910/jackrabbit/issues/1).
   
   ### Description
   
   #### Refactor test class 
[VersionIteratorImplTest.java](https://github.com/wx930910/jackrabbit/blob/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/version/VersionIteratorImplTest.java)
   
   <hr>
   
   ##### Key changed/added classes in this PR
    * Created mocking object to replace test subclass `DummyInternalVersion`, 
decoupled test from production code.
    * Created a method that return the mocking object for reuse purpose.
    * Use method stub to replace method overriding to control mocking object's 
behavior.
    * Remove redundant overridden methods to improve test logic.
   
   <hr>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to