Closed dependabot-preview[bot] closed 5 years ago
Merging #137 into RxJava2.x will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## RxJava2.x #137 +/- ##
==========================================
Coverage 97.38% 97.38%
==========================================
Files 5 5
Lines 153 153
Branches 11 11
==========================================
Hits 149 149
Misses 3 3
Partials 1 1
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 7dc7f98...c9f5158. Read the comment docs.
Bumps truth from 0.42 to 0.45.
Release notes
*Sourced from [truth's releases](https://github.com/google/truth/releases).* > ## Truth 0.45 > We are pushing hard to release a Truth 1.0 by June 30, after which we don't expect to remove any more APIs. Thanks for your patience with both our slow progress over the past several years and our rapid churn now. > > To use the migration tools below, you'll need to [set up Error Prone](https://errorprone.info/docs/installation) and [configure our tools as plugins](https://errorprone.info/docs/plugins) to [run in patch mode](https://errorprone.info/docs/patching). > > Deletions: > - Removed deprecated `Subject.isSameAs` and `isNotSameAs`. Use `isSameInstanceAs` and `isNotSameInstanceAs`, which are equivalent. (36200e6a) > - Hid the constuctor of `Correspondence`. Use the class's static factory methods instead. The most mechanical migration is usually to `Correspondence.from`. We will release a tool soon to help with migration. (11da1ca2) > - Removed deprecated `Subject.fail*` methods. See `Subject.failWithActual` and `failWithoutActual`, which use the new `Fact` class. To help with migration, we're released [`FailWithFacts`](https://github.com/google/truth/blob/master/refactorings/src/main/java/com/google/common/truth/refactorings/FailWithFacts.java) (and also [`ImplementAssertionWithChaining`](https://github.com/google/error-prone/blob/master/core/src/main/java/com/google/errorprone/bugpatterns/ImplementAssertionWithChaining.java), which is also sometimes useful for these migrations), though you will likely need to make manual changes, as well. (36200e6a) > - Removed deprecated no-arg `Subject.check()`. Use the overload that accepts a description. (To help with this migration, we have added [`ProvideDescriptionToCheck`](https://github.com/google/error-prone/blob/8f3ac0077261cded0de983fe9c9cde20fb92d744/core/src/main/java/com/google/errorprone/bugpatterns/ProvideDescriptionToCheck.java) to [Error Prone](https://github.com/google/error-prone) -- but then removed it before it became part of a release, so you'll need to pull it in manually.) (36200e6a) > - Removed deprecated `MathUtil`. For similar static methods, see Guava's [`DoubleMath.fuzzyEquals`](https://google.github.io/guava/releases/snapshot-jre/api/docs/com/google/common/math/DoubleMath.html#fuzzyEquals-double-double-double-). But callers from custom `Subject` implementations may prefer an approach like `check("score()").that(actual.score()).isWithin(tolerance).of(expected)`. (7b2876d0) > - Removed deprecated `createAndEnableStackTrace()`. Use `create()`, which now also enables stack traces. (9362f4cb) > > Deprecations: > - Deprecated `isOrdered()` and `isStrictlyOrdered()`. Use `isInOrder()` and `isInStrictOrder()`, which are equivalent. (146080a5, 386207d5) > - Deprecated `containsAll*` on ProtoTruth, `*StreamSubject`, and `Primitive*ArraySubject.*ArrayAsIterable`. Use `containsAtLeast*`, which is equivalent. (82c1f2dc, 386207d5) > - Deprecated `Subject.actual()`. Instead of calling it, declare your own field to store the actual value. To automate most migrations, we've provided [`StoreActualValueInField`](https://github.com/google/truth/blob/master/refactorings/src/main/java/com/google/common/truth/refactorings/StoreActualValueInField.java). (297c0f1e) > - Deprecated `Subject.named`. Instead of `assertThat(foo).named("foo")`, use `assertWithMessage("foo").that(foo)`. For custom subjects, use `assertWithMessage("foo").about(foos()).that(foo)`. For other scenarios, see [this FAQ entry about adding messages](https://google.github.io/truth/faq#full-chain). To automate most migrations, we've provided [`NamedToWithMessage`](https://github.com/google/truth/blob/master/refactorings/src/main/java/com/google/common/truth/refactorings/NamedToWithMessage.java) (and [a quick-and-dirty regex version for common cases](https://github.com/google/truth/blob/master/refactorings/src/main/java/com/google/common/truth/refactorings/NamedToWithMessage.java#L57)). We plan to also release notes from our API Review of this decision. (08afb24e) > - "Deprecated" the type parameters on `Subject`. To prepare for their removal in the next release, you can edit your code today to refer to the raw `Subject` type. (Kotlin `Subject` authors, see below.) Also "deprecated" the self-type parameter on `ComparableSubject`. Again, you can prepare your code by referring to raw `ComparableSubject` (and later change it to refer to `ComparableSubjectCommits
- See full diff in [compare view](https://github.com/google/truth/commits)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.