raydac / java-comment-preprocessor

preprocessor for computer languages with C-like comment format (C/C++/Java/Go)
Apache License 2.0
172 stars 27 forks source link

Problem with newer mockito? #20

Closed praiskup closed 5 years ago

praiskup commented 5 years ago

[ERROR] /builddir/build/BUILD/java-comment-preprocessor-6.1.4/src/test/java/com/igormaznitsa/jcp/AbstractMockPreprocessorContextTest.java:[44,52] cannot find symbol symbol: method getArgumentAt(int,java.lang.Class) location: variable invocation of type org.mockito.invocation.InvocationOnMock [ERROR] /builddir/build/BUILD/java-comment-preprocessor-6.1.4/src/test/java/com/igormaznitsa/jcp/AbstractMockPreprocessorContextTest.java:[44,124] cannot find symbol symbol: method getArgumentAt(int,java.lang.Class) location: variable invocation of type org.mockito.invocation.InvocationOnMock

Seems to be related to mockito/mockito/issues/945

raydac commented 5 years ago

yes, new mockito version can't be used with 6.1.4, I have reworked project structure and fixed build process in 7.0.0-SNAPSHOT to be compatible with mockito and java 11