Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockito/mockito
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.6.0
Choose a base ref
...
head repository: mockito/mockito
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.7.0
Choose a head ref
  • 15 commits
  • 19 files changed
  • 7 contributors

Commits on Oct 9, 2023

  1. Bump versions.bytebuddy from 1.14.8 to 1.14.9 (#3138)

    Bumps `versions.bytebuddy` from 1.14.8 to 1.14.9.
    
    Updates `net.bytebuddy:byte-buddy` from 1.14.8 to 1.14.9
    - [Release notes](https://github.com/raphw/byte-buddy/releases)
    - [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
    - [Commits](raphw/byte-buddy@byte-buddy-1.14.8...byte-buddy-1.14.9)
    
    Updates `net.bytebuddy:byte-buddy-agent` from 1.14.8 to 1.14.9
    - [Release notes](https://github.com/raphw/byte-buddy/releases)
    - [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
    - [Commits](raphw/byte-buddy@byte-buddy-1.14.8...byte-buddy-1.14.9)
    
    Updates `net.bytebuddy:byte-buddy-android` from 1.14.8 to 1.14.9
    - [Release notes](https://github.com/raphw/byte-buddy/releases)
    - [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
    - [Commits](raphw/byte-buddy@byte-buddy-1.14.8...byte-buddy-1.14.9)
    
    ---
    updated-dependencies:
    - dependency-name: net.bytebuddy:byte-buddy
      dependency-type: direct:production
      update-type: version-update:semver-patch
    - dependency-name: net.bytebuddy:byte-buddy-agent
      dependency-type: direct:production
      update-type: version-update:semver-patch
    - dependency-name: net.bytebuddy:byte-buddy-android
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    125e410 View commit details
    Browse the repository at this point in the history
  2. Bump com.github.ben-manes.versions from 0.48.0 to 0.49.0 (#3139)

    Bumps com.github.ben-manes.versions from 0.48.0 to 0.49.0.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.ben-manes.versions
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    9f06733 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Bump biz.aQute.bnd.builder from 6.4.0 to 7.0.0 (#3135)

    Bumps biz.aQute.bnd.builder from 6.4.0 to 7.0.0.
    
    ---
    updated-dependencies:
    - dependency-name: biz.aQute.bnd.builder
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    e4bb62f View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    66acd09 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Add generic-inferred method for Argumentcaptor (#3144)

    Add a new method .captor(U...) on the ArgumentCaptor class that
    has the same interface as Mockito.mock(U...) with the goal of removing
    the need for unchecked-warning suppression when users make use of
    generic types in argument captors.
    ascopes authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    fd62884 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Configuration menu
    Copy the full SHA
    c574cea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9342e9a View commit details
    Browse the repository at this point in the history
  3. Add CodeCov token to upload coverage report (#3149)

    We already had this secret configured in our settings,
    but didn't supply it to the actual GitHub action step.
    TimvdLippe authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    e736992 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    73d6afc View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Configuration menu
    Copy the full SHA
    f5449f9 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2023

  1. Bump versions.errorprone from 2.22.0 to 2.23.0 (#3153)

    Bumps `versions.errorprone` from 2.22.0 to 2.23.0.
    
    Updates `com.google.errorprone:error_prone_core` from 2.22.0 to 2.23.0
    - [Release notes](https://github.com/google/error-prone/releases)
    - [Commits](google/error-prone@v2.22.0...v2.23.0)
    
    Updates `com.google.errorprone:error_prone_test_helpers` from 2.22.0 to 2.23.0
    - [Release notes](https://github.com/google/error-prone/releases)
    - [Commits](google/error-prone@v2.22.0...v2.23.0)
    
    ---
    updated-dependencies:
    - dependency-name: com.google.errorprone:error_prone_core
      dependency-type: direct:production
      update-type: version-update:semver-minor
    - dependency-name: com.google.errorprone:error_prone_test_helpers
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 21, 2023
    Configuration menu
    Copy the full SHA
    1bca5b8 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Handle Termux in InlineDelegateByteBuddyMockMaker.java (#3158)

    Termux on Android can run any JVM, so we cannot rely on the vendor
    here to determine if we are in Termux. Nonetheless, ByteBuddy can fail to instrument correctly
    on this platform, so it is worth showing a meaninful
    error message in this scenario.
    ascopes authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    a8adbf5 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. Attempt to detect system property mangling prior to loading ByteBuddy. (

    #3164)
    
    If the user stubs their System properties (e.g. to test code that handles System properties
    to determine the platform), then they may unexpectedly hit the issue that ByteBuddy will
    attempt to fork a subprocess upon being installed, and that relies on the JVM Process class.
    Internally, the Process class makes a call to 'System.getProperty(os.name)', which results
    in a NullPointerException being raised if the property does not exist.
    
    When this exception occurs, it bubbles up to Mockito in the shape of a very confusing
    error message, which we should ideally try to avoid.
    
    This change adds a check for this edge case prior to loading ByteBuddy so that a meaningful
    error message can be raised that instructs the user on how to mitigate this issue.
    ascopes authored Oct 29, 2023
    Configuration menu
    Copy the full SHA
    f522f49 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.10 to 1.9.20 (#3165)

    Bumps [org.jetbrains.kotlin:kotlin-stdlib](https://github.com/JetBrains/kotlin) from 1.9.10 to 1.9.20.
    - [Release notes](https://github.com/JetBrains/kotlin/releases)
    - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
    - [Commits](https://github.com/JetBrains/kotlin/commits)
    
    ---
    updated-dependencies:
    - dependency-name: org.jetbrains.kotlin:kotlin-stdlib
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    f62fbe7 View commit details
    Browse the repository at this point in the history
  2. Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.10 to 1.9.20 (#…

    …3166)
    
    Bumps [org.jetbrains.kotlin:kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) from 1.9.10 to 1.9.20.
    - [Release notes](https://github.com/JetBrains/kotlin/releases)
    - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
    - [Commits](https://github.com/JetBrains/kotlin/commits)
    
    ---
    updated-dependencies:
    - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    5c4e72c View commit details
    Browse the repository at this point in the history
Loading