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

mockito-junit-jupiter-5.11.0-2.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: mockito-junit-jupiter Distribution: openSUSE Tumbleweed
Version: 5.11.0 Vendor: openSUSE
Release: 2.1 Build date: Mon Apr 22 07:25:15 2024
Group: Development/Libraries/Java Build host: reproducible
Size: 13595 Source RPM: mockito-5.11.0-2.1.src.rpm
Packager: https://bugs.opensuse.org
Url: http://mockito.org
Summary: Mockito JUnit 5 support
Mockito JUnit 5 support.

Provides

Requires

License

MIT

Changelog

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

Files

/usr/share/java/mockito
/usr/share/java/mockito/mockito-junit-jupiter.jar
/usr/share/maven-metadata/mockito-junit-jupiter.xml
/usr/share/maven-poms/mockito
/usr/share/maven-poms/mockito/mockito-junit-jupiter.pom


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat May 4 23:22:30 2024