Searched refs:replacementWork2 (Results 1 – 1 of 1) sorted by relevance
514 OneTimeWorkRequest replacementWork2 = in testBeginUniqueWork_deletesOldWorkOnReplace() local518 .then(replacementWork2) in testBeginUniqueWork_deletesOldWorkOnReplace()525 containsInAnyOrder(replacementWork1.getStringId(), replacementWork2.getStringId())); in testBeginUniqueWork_deletesOldWorkOnReplace()530 assertThat(workSpecDao.getWorkSpec(replacementWork2.getStringId()), is(not(nullValue()))); in testBeginUniqueWork_deletesOldWorkOnReplace()580 OneTimeWorkRequest replacementWork2 = in testBeginUniqueWork_keepsExistingWorkOnKeep() local584 .then(replacementWork2) in testBeginUniqueWork_keepsExistingWorkOnKeep()594 assertThat(workSpecDao.getWorkSpec(replacementWork2.getStringId()), is(nullValue())); in testBeginUniqueWork_keepsExistingWorkOnKeep()645 OneTimeWorkRequest replacementWork2 = in testBeginUniqueWork_replacesExistingWorkOnKeepWhenExistingWorkIsDone() local649 .then(replacementWork2) in testBeginUniqueWork_replacesExistingWorkOnKeepWhenExistingWorkIsDone()655 containsInAnyOrder(replacementWork1.getStringId(), replacementWork2.getStringId())); in testBeginUniqueWork_replacesExistingWorkOnKeepWhenExistingWorkIsDone()[all …]