Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport fixes release/2.x to master #1238

Merged
merged 35 commits into from Dec 1, 2017
Merged

Backport fixes release/2.x to master #1238

merged 35 commits into from Dec 1, 2017

Conversation

TimvdLippe
Copy link
Contributor

  • Update licenses
  • Remove unused buildSrc
  • Remove old gradle files
  • Add some more tests
  • Fix coverage

TimvdLippe and others added 12 commits October 22, 2017 16:43
Replace string concatination inside an append call with a chained
append calls to make the code a tad easier to read, so the reader
isn't left wondering why some of the concatinations are done with
appends and some with the + operator.
Update license plugin and add missing license headers
* Add @CheckReturnValue to stubbing/verification methods

* Clarify documentation on annotation
* Enable jacoco coverage on subprojects

* Reduce duplication in JaCoCo configuration for subprojects

* Remove unused logger message
@TimvdLippe
Copy link
Contributor Author

This PR is blocked on #1174

@codecov-io
Copy link

codecov-io commented Dec 1, 2017

Codecov Report

Merging #1238 into master will increase coverage by 0.84%.
The diff coverage is 93.33%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1238      +/-   ##
============================================
+ Coverage     87.32%   88.17%   +0.84%     
- Complexity     2304     2320      +16     
============================================
  Files           287      284       -3     
  Lines          5879     5867      -12     
  Branches        709      708       -1     
============================================
+ Hits           5134     5173      +39     
+ Misses          553      515      -38     
+ Partials        192      179      -13
Impacted Files Coverage Δ Complexity Δ
...va/org/mockito/internal/util/collections/Sets.java 50% <ø> (+7.14%) 3 <0> (ø) ⬇️
src/main/java/org/mockito/Mockito.java 96.66% <ø> (ø) 40 <0> (ø) ⬇️
...l/configuration/plugins/DefaultMockitoPlugins.java 73.68% <ø> (ø) 6 <0> (ø) ⬇️
...a/org/mockito/internal/creation/SuspendMethod.java 80% <ø> (+40%) 3 <0> (+1) ⬆️
...nternal/listeners/VerificationStartedNotifier.java 97.22% <ø> (ø) 7 <0> (ø) ⬇️
.../internal/invocation/DefaultInvocationFactory.java 100% <ø> (ø) 2 <0> (ø) ⬇️
...va/org/mockito/internal/invocation/RealMethod.java 91.66% <ø> (ø) 0 <0> (ø) ⬇️
...java/org/mockito/internal/exceptions/Reporter.java 92.74% <ø> (ø) 94 <0> (ø) ⬇️
.../internal/junit/MismatchReportingTestListener.java 100% <100%> (ø) 4 <0> (ø) ⬇️
.../internal/creation/bytebuddy/MockMethodAdvice.java 72.56% <100%> (+10.4%) 20 <6> (+6) ⬆️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 79a090d...77259fa. Read the comment docs.

@TimvdLippe
Copy link
Contributor Author

If anyone wants to take another look at this PR, feel free to comment. Since all code has been reviewed already, I will be merging this PR tomorrow if no issues are found.

@szpak
Copy link
Member

szpak commented Dec 1, 2017

LGTM (from the bird's eye view).

Thanks for taking care about that. The need to switch to 3.x is just a matter of time * and your work will be priceless then

* - years are still a matter of time ;)

@szpak szpak merged commit 682ea1f into master Dec 1, 2017
@TimvdLippe TimvdLippe deleted the backport-fixes branch October 9, 2018 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants