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: v3.1.8
Choose a base ref
...
head repository: mockito/mockito
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.9
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Nov 10, 2019

  1. Guard against multiple evaluations of before statement (#1821)

    * Guard against multiple evaluations of before statement
    
    Some rules evaluate the base statement multiple times, e.g. to execute
    tests repeatedly. The changes made in #1672 led to an exception in such
    cases because the `MockitoListener` was registered multiple times. Now,
    we only add the listener the first time the statement is evaluated in
    order to restore the old behavior.
    
    Fixes #1767.
    
    * Reset listener when removing it
    marcphilipp authored and TimvdLippe committed Nov 10, 2019
    Configuration menu
    Copy the full SHA
    d64cbd3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e53343 View commit details
    Browse the repository at this point in the history
Loading