![]() ![]() This mockmaker creates mocks manipulating bytecode equivalent within the original class such that its method implementations hook into the normal Mockito machinery.Īs a comparison, the subclass mockmaker generates "real" subclasses for mocks, to mimic the same behavior. Switch the default mockmaker to mockito-inlineīack in Mockito 2.7.6, we published a new mockmaker based on the "inline bytecode" principle. Therefore, to prepare for the future of JDK, we are making some core changes to ensure Mockito keeps on working. Most notably, JDK 17 made some changes which are incompatible with the current subclass mockmaker. v5.0.0 Mockito 5: prepare for future JDK versionsįor a while now, we have seen an increase in problems/incompatibilities with recent versions of the JDK due to our usage of JVM-internal API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |