Home
last modified time | relevance | path

Searched refs:setFromArray (Results 1 – 1 of 1) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DDeleteNonRequiredAppsTaskTest.java90 mPackageManager.setInstalledApps(setFromArray("app.a")); in testNoAppsToDelete()
110 .thenReturn(setFromArray("app.a", "app.b")); in testAppsToDelete()
112 mPackageManager.setInstalledApps(setFromArray("app.a", "app.c")); in testAppsToDelete()
132 .thenReturn(setFromArray("app.a", "app.b")); in testAllAppsAlreadyDeleted()
152 .thenReturn(setFromArray("app.a")); in testDeletionFailed()
153 mPackageManager.setInstalledApps(setFromArray("app.a")); in testDeletionFailed()
169 private <T> Set<T> setFromArray(T... array) { in setFromArray() method in DeleteNonRequiredAppsTaskTest
177 assertEquals(setFromArray(appArray), mDeletedApps); in assertDeletedApps()