Searched refs:originalWork (Results 1 – 1 of 1) sorted by relevance
505 OneTimeWorkRequest originalWork = in testBeginUniqueWork_deletesOldWorkOnReplace() local507 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() local543 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() local573 insertNamedWorks(uniqueName, originalWork); in testBeginUniqueWork_keepsExistingWorkOnKeep()[all …]