Changes between Version 186 and Version 187 of j2p
- Timestamp:
- 01/20/25 17:16:48 (7 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v186 v187 563 563 ||Mockito is complaining {{{AttributeError: 'Dummy' has no attribute 'xxx' configured}}}||python mockito does not automatically mock method calls and fields with null. You have to explicitly mock them|| 564 564 ||My python test gives {{{tudelft.utilities.pyrunner.PythonError: Failed to execute python ..... }}}||This happens when the python code prints to stderr. Normally test exceptions are caught so apparently your code prints to stderr. Maybe you are using a ReportToLogger or a direct print to stderr?|| 565 ||I get an UnsolvedSymbolException from javaparser: Method 'get' cannot be resolved in context ..any().. ||javaparser appears having problems with resolving any() inside a when(...any()...). The only workaround seems to use any(TheClass...)||565 ||I get an UnsolvedSymbolException from javaparser: Method 'get' cannot be resolved in context ..any().. ||javaparser appears having problems with resolving any() inside a when(...any()...). Apart from a manual override, only workaround seems to use any(TheClass...) or variants like anyLong() ||