lewismc commented on issue #142: ANY23-444 Update all dependencies and plugins
URL: https://github.com/apache/any23/pull/142#issuecomment-533934246
 
 
   Thanks for review @HansBrende I've addressed everything you mentioned. 
   Using the following environment I get test failures
   ```
   Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
2018-10-24T11:41:47-07:00)
   Maven home: /usr/local/Cellar/maven/3.6.0/libexec
   Java version: 13, vendor: Oracle Corporation, runtime: 
/Library/Java/JavaVirtualMachines/jdk-13.jdk/Contents/Home
   Default locale: en_US, platform encoding: UTF-8
   OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
   ```
   **mvn clean test**
   ```
   [INFO] Running org.apache.any23.extractor.rdfa.RDFa11ParserTest
   [ERROR] Tests run: 12, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 
0.142 s <<< FAILURE! - in org.apache.any23.extractor.rdfa.RDFa11ParserTest
   [ERROR] 
testIsRelativeNegative(org.apache.any23.extractor.rdfa.RDFa11ParserTest)  Time 
elapsed: 0.072 s  <<< ERROR!
   org.mockito.exceptions.base.MockitoException:
   
   Mockito cannot mock this class: interface org.w3c.dom.Document.
   
   Mockito can only mock non-private & non-final classes.
   If you're not sure why you're getting this error, please report to the 
mailing list.
   
   
   Java               : 13
   JVM vendor name    : Oracle Corporation
   JVM vendor version : 13+33
   JVM name           : Java HotSpot(TM) 64-Bit Server VM
   JVM version        : 13+33
   JVM info           : mixed mode, sharing
   OS name            : Mac OS X
   OS version         : 10.14.6
   
   
   Underlying exception : java.lang.IllegalArgumentException: 
org.mockito.codegenDocument$MockitoMock$1538161731 must be defined in the same 
package as org.mockito.codegen.InjectionBase/package
        at 
org.apache.any23.extractor.rdfa.RDFa11ParserTest.testIsRelativeNegative(RDFa11ParserTest.java:86)
   Caused by: java.lang.IllegalArgumentException: 
org.mockito.codegenDocument$MockitoMock$1538161731 must be defined in the same 
package as org.mockito.codegen.InjectionBase/package
        at 
org.apache.any23.extractor.rdfa.RDFa11ParserTest.testIsRelativeNegative(RDFa11ParserTest.java:86)
   
   [ERROR] 
testGetDocumentBase(org.apache.any23.extractor.rdfa.RDFa11ParserTest)  Time 
elapsed: 0.03 s  <<< ERROR!
   org.mockito.exceptions.base.MockitoException:
   
   Mockito cannot mock this class: interface org.w3c.dom.Document.
   
   Mockito can only mock non-private & non-final classes.
   If you're not sure why you're getting this error, please report to the 
mailing list.
   
   
   Java               : 13
   JVM vendor name    : Oracle Corporation
   JVM vendor version : 13+33
   JVM name           : Java HotSpot(TM) 64-Bit Server VM
   JVM version        : 13+33
   JVM info           : mixed mode, sharing
   OS name            : Mac OS X
   OS version         : 10.14.6
   
   
   Underlying exception : java.lang.IllegalArgumentException: 
org.mockito.codegenDocument$MockitoMock$1341603674 must be defined in the same 
package as org.mockito.codegen.InjectionBase/package
        at 
org.apache.any23.extractor.rdfa.RDFa11ParserTest.testGetDocumentBase(RDFa11ParserTest.java:48)
   Caused by: java.lang.IllegalArgumentException: 
org.mockito.codegenDocument$MockitoMock$1341603674 must be defined in the same 
package as org.mockito.codegen.InjectionBase/package
        at 
org.apache.any23.extractor.rdfa.RDFa11ParserTest.testGetDocumentBase(RDFa11ParserTest.java:48)
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to