Home
last modified time | relevance | path

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

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java548 PeriodicWorkRequest replacementWork = new PeriodicWorkRequest.Builder( in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace() local
556 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() local
620 replacementWork); in testEnqueueUniquePeriodicWork_keepsExistingWorkOnKeep()
627 assertThat(workSpecDao.getWorkSpec(replacementWork.getStringId()), is(nullValue())); in testEnqueueUniquePeriodicWork_keepsExistingWorkOnKeep()
679 PeriodicWorkRequest replacementWork = new PeriodicWorkRequest.Builder( in testEnqueueUniquePeriodicWork_replacesExistingWorkOnKeepWhenExistingWorkIsDone() local
687 replacementWork); in testEnqueueUniquePeriodicWork_replacesExistingWorkOnKeepWhenExistingWorkIsDone()
690 assertThat(workSpecIds, contains(replacementWork.getStringId())); in testEnqueueUniquePeriodicWork_replacesExistingWorkOnKeepWhenExistingWorkIsDone()
[all …]