diff options
author | David Christie <dnchrist@google.com> | 2013-08-02 11:06:02 -0700 |
---|---|---|
committer | David Christie <dnchrist@google.com> | 2013-08-02 12:33:00 -0700 |
commit | 0ca981fe42c43a4b7c345f4a0a2b3b2a519be5da (patch) | |
tree | b9f3530588a409fa62a3ec3f683c1fe0577583d5 /services/tests/servicestests | |
parent | df2cab2fc46c3f2c56f85dee1a19d0fa48cfd444 (diff) | |
download | frameworks_base-0ca981fe42c43a4b7c345f4a0a2b3b2a519be5da.zip frameworks_base-0ca981fe42c43a4b7c345f4a0a2b3b2a519be5da.tar.gz frameworks_base-0ca981fe42c43a4b7c345f4a0a2b3b2a519be5da.tar.bz2 |
Fix broken unit test
Change-Id: I4aa0035233749f6d585c151329436439ae9b2921
Diffstat (limited to 'services/tests/servicestests')
-rw-r--r-- | services/tests/servicestests/src/com/android/server/NetworkStatsServiceTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/tests/servicestests/src/com/android/server/NetworkStatsServiceTest.java b/services/tests/servicestests/src/com/android/server/NetworkStatsServiceTest.java index a9909b2..90a9b6a 100644 --- a/services/tests/servicestests/src/com/android/server/NetworkStatsServiceTest.java +++ b/services/tests/servicestests/src/com/android/server/NetworkStatsServiceTest.java @@ -40,6 +40,7 @@ import static android.text.format.DateUtils.MINUTE_IN_MILLIS; import static android.text.format.DateUtils.WEEK_IN_MILLIS; import static com.android.server.net.NetworkStatsService.ACTION_NETWORK_STATS_POLL; import static org.easymock.EasyMock.anyLong; +import static org.easymock.EasyMock.anyObject; import static org.easymock.EasyMock.aryEq; import static org.easymock.EasyMock.capture; import static org.easymock.EasyMock.createMock; @@ -880,7 +881,7 @@ public class NetworkStatsServiceTest extends AndroidTestCase { expectLastCall().anyTimes(); mAlarmManager.set(eq(AlarmManager.ELAPSED_REALTIME), anyLong(), anyLong(), anyLong(), - isA(PendingIntent.class), isA(WorkSource.class)); + isA(PendingIntent.class), anyObject(WorkSource.class)); expectLastCall().atLeastOnce(); mNetManager.setGlobalAlert(anyLong()); |