Migrate away from deprecated Truth APIs.

This is a transitional step towards truth 1.0.1, where these APIs have
been completely removed.

Bug: 168765701
Test: m checkbuild
Merged-In: I76f9c37cb699ce6ab8715ffe35d11668ccbceea1
Change-Id: I76f9c37cb699ce6ab8715ffe35d11668ccbceea1
(cherry picked from commit 46e85a2fad)
This commit is contained in:
Alexander Dorokhine
2020-09-18 15:43:47 -07:00
parent 177533ddbb
commit 6decca7890
36 changed files with 139 additions and 144 deletions

View File

@@ -70,7 +70,7 @@ public class SoundSettingsTest {
keys.add("ring_volume");
keys.add("notification_volume");
assertThat(keys).containsAllIn(niks);
assertThat(keys).containsAtLeastElementsIn(niks);
}
@Test