commit | d254354def7d5396f23d7e27067dbfff11c90fb1 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Sat Mar 13 02:55:58 2021 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Sat Mar 13 02:55:58 2021 +0000 |
tree | 03c1c9aed29a0ce7e1718c0a45db2b279457698e | |
parent | 4435b972175cad94b4dd5eb3f4accc428f4a11bb [diff] | |
parent | 897f01e1ca0c417e5a70039acc1182c678e51b83 [diff] |
Merge "Fixed Mockito expectation after Slog.wtf() change" into sc-dev
diff --git a/car-test-lib/src/android/car/test/mocks/AbstractExtendedMockitoTestCase.java b/car-test-lib/src/android/car/test/mocks/AbstractExtendedMockitoTestCase.java index 6d44c81..a78cc4f 100644 --- a/car-test-lib/src/android/car/test/mocks/AbstractExtendedMockitoTestCase.java +++ b/car-test-lib/src/android/car/test/mocks/AbstractExtendedMockitoTestCase.java
@@ -320,7 +320,7 @@ }).when(() -> Slog.wtf(anyString(), anyString())); doAnswer((invocation) -> { return addWtf(invocation); - }).when(() -> Slog.wtf(anyString(), anyString(), notNull())); + }).when(() -> Slog.wtf(anyString(), anyString(), any(Throwable.class))); } private Object addWtf(InvocationOnMock invocation) {