cashapp / licensee

Gradle plugin which validates the licenses of your dependency graph match what you expect
https://cashapp.github.io/licensee/docs/1.x/
Apache License 2.0
626 stars 28 forks source link

Update dependency com.google.testparameterinjector:test-parameter-injector to v1.15 #287

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.testparameterinjector:test-parameter-injector 1.14 -> 1.15 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

google/testparameterinjector (com.google.testparameterinjector:test-parameter-injector) ### [`v1.15`](https://togithub.com/google/testparameterinjector/blob/HEAD/CHANGELOG.md#115) - Add context aware version of [`TestParameterValuesProvider`](https://google.github.io/TestParameterInjector/docs/latest/com/google/testing/junit/testparameterinjector/TestParameterValuesProvider.html). It is the same as the old [`TestParameter.TestParameterValuesProvider`](https://google.github.io/TestParameterInjector/docs/latest/com/google/testing/junit/testparameterinjector/TestParameter.TestParameterValuesProvider.html), except that `provideValues()` was changed to `provideValues(Context)` where [`Context`](https://google.github.io/TestParameterInjector/docs/latest/com/google/testing/junit/testparameterinjector/TestParameterValuesProvider.Context.html) contains the test class and the other annotations. This allows for more generic providers that take into account custom annotations with extra data, or the implementation of abstract methods on a base test class. Example usage: ```java import com.google.testing.junit.testparameterinjector.TestParameterValuesProvider; private static final class MyProvider extends TestParameterValuesProvider { @​Override public List provideValues(Context context) throws Exception { var testInstance = context.testClass().getDeclaredConstructor().newInstance(); var fooList = ((MyBaseTestClass) testInstance).getFooList(); // ... // OR var fooList = context.getOtherAnnotation(MyCustomAnnotation.class).fooList(); // ... } } ``` - Fixed some theoretical non-determinism that could arise from Java reflection methods

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.



This PR has been generated by Mend Renovate. View repository job log here.