Searched refs:replacementWork (Results 1 – 1 of 1) sorted by relevance
548 PeriodicWorkRequest replacementWork = new PeriodicWorkRequest.Builder( in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace() local556 replacementWork); in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace()559 assertThat(workSpecIds, contains(replacementWork.getStringId())); in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace()563 assertThat(workSpecDao.getWorkSpec(replacementWork.getStringId()), is(not(nullValue()))); in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace()612 PeriodicWorkRequest replacementWork = new PeriodicWorkRequest.Builder( in testEnqueueUniquePeriodicWork_keepsExistingWorkOnKeep() local620 replacementWork); in testEnqueueUniquePeriodicWork_keepsExistingWorkOnKeep()627 assertThat(workSpecDao.getWorkSpec(replacementWork.getStringId()), is(nullValue())); in testEnqueueUniquePeriodicWork_keepsExistingWorkOnKeep()679 PeriodicWorkRequest replacementWork = new PeriodicWorkRequest.Builder( in testEnqueueUniquePeriodicWork_replacesExistingWorkOnKeepWhenExistingWorkIsDone() local687 replacementWork); in testEnqueueUniquePeriodicWork_replacesExistingWorkOnKeepWhenExistingWorkIsDone()690 assertThat(workSpecIds, contains(replacementWork.getStringId())); in testEnqueueUniquePeriodicWork_replacesExistingWorkOnKeepWhenExistingWorkIsDone()[all …]