android
android copied to clipboard
Update dependency org.mockito.kotlin:mockito-kotlin to v5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| org.mockito.kotlin:mockito-kotlin | 4.1.0 -> 5.4.0 |
Release Notes
mockito/mockito-kotlin (org.mockito.kotlin:mockito-kotlin)
v5.4.0
Changelog generated by Shipkit Changelog Gradle Plugin
5.4.0
- 2024-07-09 - 2 commit(s) by Lars
- Added value class support (#522)
- Update mockito to 5.12 (#521)
v5.3.1
Changelog generated by Shipkit Changelog Gradle Plugin
5.3.1
- 2024-04-09 - 3 commit(s) by Oscar Guillén, Róbert Papp
- Follow-up on #508: add tests and remove unnecessary methods (#516)
- Fix broken release (#509) (#514)
- Add support for destructured parameters in answers (#512)
- Release is broken (#509)
- Port AdditionalMatchers matchers (#508)
v5.2.1
Changelog generated by Shipkit Changelog Gradle Plugin
5.2.1
- 2023-12-02 - 1 commit(s) by Róbert Papp
- Increase visibility of Mockito dependency (#498)
v5.2.0
Changelog generated by Shipkit Changelog Gradle Plugin
5.2.0
- 2023-12-01 - 1 commit(s) by Sergei
- Main dependencies updated (#496)
v5.1.0
Changelog generated by Shipkit Changelog Gradle Plugin
5.1.0
- 2023-08-09 - 3 commit(s) by Hunter Werlla, Lukáš Křečan, Tim van der Lippe
- Also run release job on 5.x tags (#491)
- #474 Fix vararg argument matcher (#490)
- Fix issue #480 by widening the allowed types for lenient().whenever() (#485)
- lenient().whenever() reports type mismatch TypeVariable(T) was expected (#480)
- Mockito 5.0 breaks vararg argument capture in Kotlin (#474)
v5.0.0
Changelog generated by Shipkit Changelog Gradle Plugin
5.0.0
- 2023-06-01 - 5 commit(s) by Lukáš Křečan, Tatsuya Fujisaki, Wes Alvaro, rajin, thecodewarrior
- #478 Upgrade Mockito (#482)
- Add
doReturn().on { method() }helper to KStubbing (#481) - Prevent silent mis-stubbing (#479)
- Mockito 5.1 support (#478)
- Exchange explanations between verifyNoInteractions() and verifyNoMoreInteractions() (#476)
- Add helper functions for coroutine (#470)
- What about improving doReturn -> when implementation? (#453)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: build.gradle
Command failed: ./gradlew --console=plain --dependency-verification lenient -q --write-verification-metadata sha256,pgp help
FAILURE: Build completed with 3 failures.
1: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':app'.
> SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in your project's local properties file at '/tmp/renovate/repos/github/nextcloud/android/local.properties'.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Failed to query the value of property 'buildFlowServiceProperty'.
> Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@6c2bb600 of type BuildFlowService.Parameters
> A problem occurred configuring project ':app'.
> SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in your project's local properties file at '/tmp/renovate/repos/github/nextcloud/android/local.properties'.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
3: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':app'.
> SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in your project's local properties file at '/tmp/renovate/repos/github/nextcloud/android/local.properties'.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
BUILD FAILED in 12s
Codecov Report
Merging #12500 (bc7ff2d) into master (5137c16) will increase coverage by
0.03%. The diff coverage isn/a.
Additional details and impacted files
@@ Coverage Diff @@
## master #12500 +/- ##
============================================
+ Coverage 27.99% 28.03% +0.03%
- Complexity 3359 3365 +6
============================================
Files 622 622
Lines 45453 45453
Branches 6498 6498
============================================
+ Hits 12724 12742 +18
+ Misses 30593 30573 -20
- Partials 2136 2138 +2
test-Unit test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/12500-Unit-test-19-16
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/12500.apk
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
Codacy
Lint
| Type | master | PR |
| Warnings | 71 | 71 |
| Errors | 3 | 3 |
SpotBugs
| Category | Base | New |
|---|---|---|
| Bad practice | 67 | 67 |
| Correctness | 68 | 68 |
| Dodgy code | 350 | 350 |
| Experimental | 1 | 1 |
| Internationalization | 7 | 7 |
| Malicious code vulnerability | 2 | 2 |
| Multithreaded correctness | 6 | 6 |
| Performance | 58 | 58 |
| Security | 19 | 19 |
| Total | 578 | 578 |
blue-Light-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/12500-Screenshot-blue-Light-19-48
test-Unit test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/12500-Unit-test-21-11
Codacy
Lint
| Type | master | PR |
| Warnings | 62 | 62 |
| Errors | 3 | 3 |
SpotBugs
| Category | Base | New |
|---|---|---|
| Bad practice | 63 | 63 |
| Correctness | 63 | 63 |
| Dodgy code | 306 | 306 |
| Experimental | 1 | 1 |
| Internationalization | 7 | 7 |
| Multithreaded correctness | 6 | 6 |
| Performance | 52 | 52 |
| Security | 18 | 18 |
| Total | 516 | 516 |
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/12500.apk
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
blue-Light-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/12500-Screenshot-blue-Light-21-25