Home
last modified time | relevance | path

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

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java505 OneTimeWorkRequest originalWork = in testBeginUniqueWork_deletesOldWorkOnReplace() local
507 insertNamedWorks(uniqueName, originalWork); in testBeginUniqueWork_deletesOldWorkOnReplace()
510 assertThat(workSpecIds, containsInAnyOrder(originalWork.getStringId())); in testBeginUniqueWork_deletesOldWorkOnReplace()
528 assertThat(workSpecDao.getWorkSpec(originalWork.getStringId()), is(nullValue())); in testBeginUniqueWork_deletesOldWorkOnReplace()
538 PeriodicWorkRequest originalWork = new PeriodicWorkRequest.Builder( in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace() local
543 insertNamedWorks(uniqueName, originalWork); in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace()
546 assertThat(workSpecIds, containsInAnyOrder(originalWork.getStringId())); in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace()
562 assertThat(workSpecDao.getWorkSpec(originalWork.getStringId()), is(nullValue())); in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace()
571 OneTimeWorkRequest originalWork = in testBeginUniqueWork_keepsExistingWorkOnKeep() local
573 insertNamedWorks(uniqueName, originalWork); in testBeginUniqueWork_keepsExistingWorkOnKeep()
[all …]