Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

mockito-5.11.0-2.3 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: mockito Distribution: openSUSE Tumbleweed
Version: 5.11.0 Vendor: openSUSE
Release: 2.3 Build date: Mon Apr 22 07:25:15 2024
Group: Development/Libraries/Java Build host: reproducible
Size: 723895 Source RPM: mockito-5.11.0-2.3.src.rpm
Packager: http://bugs.opensuse.org
Url: http://mockito.org
Summary: A Java mocking framework
Mockito is a mocking framework. It lets you write tests. Tests
produce clean verification errors.

Provides

Requires

License

MIT

Changelog

* Mon Apr 22 2024 Fridrich Strba <[email protected]>
  - Add bundle manifest to the mockito-core artifact
* Fri Apr 19 2024 Fridrich Strba <[email protected]>
  - 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 2024 Fridrich Strba <[email protected]>
  - Use %patch -P N instead of deprecated %patchN.
* Wed Sep 13 2023 Fridrich Strba <[email protected]>
  - Reproducible builds: produce reproducible manifest with bnd
* Thu Jun 09 2022 Fridrich Strba <[email protected]>
  - Removed patch:
    * mockito-hamcrest.patch
      + Do not import org.hamcrest.core bundle that does not exist in
      hamcrest 2.x
* Wed Mar 23 2022 Fridrich Strba <[email protected]>
  - Build with java source and target levels 8
* Wed Mar 25 2020 Fridrich Strba <[email protected]>
  - Fetch sources using source service instead of script
* Fri Nov 29 2019 Fridrich Strba <[email protected]>
  - Modified patch:
    * fix-bnd-config.patch
      + allow using objenesis 3.x too
* Sat Mar 23 2019 Jan Engelhardt <[email protected]>
  - Remove nonsense and bias from description.
* Tue Feb 12 2019 Fridrich Strba <[email protected]>
  - Initial packaging of mockito 1.10.19

Files

/usr/share/doc/packages/mockito
/usr/share/doc/packages/mockito/README.md
/usr/share/doc/packages/mockito/custom-argument-matching.md
/usr/share/java/mockito
/usr/share/java/mockito/mockito-core.jar
/usr/share/licenses/mockito
/usr/share/licenses/mockito/LICENSE
/usr/share/maven-metadata/mockito.xml
/usr/share/maven-poms/mockito
/usr/share/maven-poms/mockito/mockito-core.pom


Generated by rpm2html 1.8.1

Fabrice Bellet, Mon Dec 9 23:39:48 2024