commit | 0efe28338f8d4cc5d14364f8bf0ad50c4d96941a | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Mon Mar 18 19:39:02 2019 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Tue Mar 19 15:17:29 2019 +0800 |
tree | 56152955560597ebbad724dd0621f2ffcb421910 | |
parent | f7a0b28443d8997f19892cc3806e6b7a94150aab [diff] |
Fix AssistDataRequesterTest The failure is because mock on ActivityTaskManager does not work. Although we mock ActivityTaskManager in test case, ActivityTaskManager in AssistDataRequester uses direct call, instead of mock one. Make ActivityTaskManager be a member of AssistDataRequester and assign mocked ActivityTaskManager in test case. Test: atest AssistDataRequesterTest Fix: 128560700 Change-Id: I30a075b9a1f483f2986ff43b62adc4304690abac