wx930910
wx930910
### Jira - [PDFBOX-5284](https://issues.apache.org/jira/browse/PDFBOX-5284) ### Description #### Replace test class [PDFTabulaTextStripper](https://github.com/apache/pdfbox/blob/588cb208653262ada43732a4e61c6fa3158f45f4/pdfbox/src/test/java/org/apache/pdfbox/text/TestTextStripper.java#L619) by spying object and improve test design ##### Motivation * Decouple test class `PDFTabulaTextStripper` from production class `PDFTextStripper`. *...
Fix [CAY-2717](https://issues.apache.org/jira/browse/CAY-2717) ### Description #### Refactor test class [DataContextDataChannelEventsIT.java](https://github.com/apache/cayenne/blob/b156addac1c8e4079fa88e977fee609210c5da69/cayenne-server/src/test/java/org/apache/cayenne/access/DataContextDataChannelEventsIT.java#L43) by using Mockito. ##### Motivation - Decoupling test class `MockChannelListener` from production interface `DataChannelListener` - Making test condition more clear by...
Fixes [#JCR-4710 Refactor DummyInternalVersion in VersionIteratorImplTest.java to improve test logic](https://issues.apache.org/jira/browse/JCR-4710). ### Description #### Refactor test class [VersionIteratorImplTest.java](https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/version/VersionIteratorImplTest.java) #### Motivation - Decoupling test class `DummyInternalVersion` from production interface `InternalVersion`. - Making...
Fix [COLLECTIONS-798](https://issues.apache.org/jira/browse/COLLECTIONS-798) ### Description #### Replace test class [TestBuilder](https://github.com/apache/commons-collections/blob/3aae82cbaaaf539bf3f54cd6a0679efc123f2c8e/src/test/java/org/apache/commons/collections4/bloomfilter/hasher/HasherBuilderTest.java#L41) by mocking object and improve test design. ##### Motivation - Decouple test class `TestBuilder` from production interface `Builder`. - Make test...
Fix [BEANUTILS-551](https://issues.apache.org/jira/browse/BEANUTILS-551) ### Description #### Replace test class [IntrospectionContextTestImpl](https://github.com/apache/commons-beanutils/blob/7196d86767e37a382329bb3b087d0f58c7301caf/src/test/java/org/apache/commons/beanutils2/SuppressPropertiesBeanIntrospectorTestCase.java#L101) by mocking object and improve test design ##### Motivation - Decouple test class `IntrospectionContextTestImpl` from production interface `IntrospectionContext`. - Extract attribute...
### JIRA Fixes [XPATH-198](https://issues.apache.org/jira/browse/JXPATH-198) ### Description #### Refactor test class [Context](https://github.com/apache/commons-jxpath/blob/192f4c92727cf5387a8043525a1e1e1533c9ac69/src/test/java/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java#L388) #### Motivation * Decouple test class `Context` from production interface `ExpressionContext`. * Remove the redundant test child class `Context`...
Fixes [PROTON-2431](https://issues.apache.org/jira/browse/PROTON-2431) ### Description #### Refactor test class [SinkHandler](https://github.com/apache/qpid-proton-j/blob/c242c260e44d94bba1a9c82a22af3b0b2a0dc5c6/proton-j/src/test/java/org/apache/qpid/proton/reactor/ReactorTest.java#L388) by mocking object and improve test design ##### Motivation - Decoupling test class `SinkHandler` from production class `BaseHandler`. - Making test...