Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
mockito
mockito.changes
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mockito.changes of Package mockito
------------------------------------------------------------------- Mon Apr 22 05:25:15 UTC 2024 - Fridrich Strba <fstrba@suse.com> - Add bundle manifest to the mockito-core artifact ------------------------------------------------------------------- Fri Apr 19 07:18:58 UTC 2024 - Fridrich Strba <fstrba@suse.com> - Update to version 5.11.0 - Changes of the 5.x line * Mockito 5 is making core changes to ensure compatibility with future JDK versions. * Switch the Default MockMaker to mockito-inline (not applicable to mockito-android) + Mockito 2.7.6 introduced the mockito-inline mockmaker based on the "inline bytecode" principle, offering compatibility advantages over the subclass mockmaker. + This change avoids JDK restrictions, such as violating module boundaries and leaking subclass creation. * Legitimate use cases for the subclass mockmaker + scenarios where the inline mockmaker does not function, such as on Graal VM's native image. + Additionally, if avoiding mocking final classes, the subclass mockmaker remains a viable option, although issues may arise on JDK 17+. + Mockito aims to support both mockmakers, allowing users to choose based on their requirements. * Update the Minimum Supported Java Version to 11 + Mockito 4 supports Java 8 and above, but Mockito 5 raises the minimum supported Java version to 11. + Community member @reta contributed to this change. + Users still on JDK 8 can continue using Mockito 4, with minimal API differences between versions. * New type() Method on ArgumentMatcher + The ArgumentMatcher interface now includes a new type() method to support varargs methods, addressing previous limitations. + Users can now differentiate between matching calls with any exact number of arguments or match any number of arguments. + Mockito 5 provides a default implementation of the new method, ensuring backward compatibility. + No obligation for users to implement the new method; Mockito 5 considers Void.type by default for varargs handling. + ArgumentCaptor is now fully type-aware, enabling capturing specific subclasses on a generic method. - Removed patches: * fix-bnd-config.patch * fix-incompatible-types.patch * fixup-ant-script.patch * mockito-matcher.patch * remove-hardcoded-source-target.patch * setting-naming-policy.patch + not needed by this version - Added patches: * keep-source-target-8.patch + make the code again buildable with --release 8 * use-unbundled-asm.patch + adapt to our change of byte-buddy, where it does not bundle asm, but uses objectweb-asm as external library ------------------------------------------------------------------- Wed Feb 21 21:43:21 UTC 2024 - Fridrich Strba <fstrba@suse.com> - Use %patch -P N instead of deprecated %patchN. ------------------------------------------------------------------- Wed Sep 13 05:04:17 UTC 2023 - Fridrich Strba <fstrba@suse.com> - Reproducible builds: produce reproducible manifest with bnd ------------------------------------------------------------------- Thu Jun 9 18:35:12 UTC 2022 - Fridrich Strba <fstrba@suse.com> - Removed patch: * mockito-hamcrest.patch + Do not import org.hamcrest.core bundle that does not exist in hamcrest 2.x ------------------------------------------------------------------- Wed Mar 23 07:20:16 UTC 2022 - Fridrich Strba <fstrba@suse.com> - Build with java source and target levels 8 ------------------------------------------------------------------- Wed Mar 25 11:45:10 UTC 2020 - Fridrich Strba <fstrba@suse.com> - Fetch sources using source service instead of script ------------------------------------------------------------------- Fri Nov 29 10:37:08 UTC 2019 - Fridrich Strba <fstrba@suse.com> - Modified patch: * fix-bnd-config.patch + allow using objenesis 3.x too ------------------------------------------------------------------- Sat Mar 23 08:54:07 UTC 2019 - Jan Engelhardt <jengelh@inai.de> - Remove nonsense and bias from description. ------------------------------------------------------------------- Tue Feb 12 08:37:38 UTC 2019 - Fridrich Strba <fstrba@suse.com> - Initial packaging of mockito 1.10.19
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor