Skip to content
Commit 0efe2833 authored by Charles Chen's avatar Charles Chen
Browse files

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
parent f7a0b284
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment