Migrate to use instrumentation classes from settingslib.
Test: Compiles. Manually tested. Change-Id: I70a6e76cc8440547746ecc008c32bd06a7de8161
This commit is contained in:
@@ -60,6 +60,7 @@ public class DataUsageListTest {
|
||||
|
||||
@Test
|
||||
public void resumePause_shouldListenUnlistenDataStateChange() {
|
||||
mDataUsageList.onAttach(mContext);
|
||||
mDataUsageList.onResume();
|
||||
|
||||
verify(mListener).setListener(true, 0, mContext);
|
||||
|
||||
Reference in New Issue
Block a user