| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/selectionpolicy/ |
| H A D | ReaperSelectionPolicyDevelopmentClientTest.kt | 19 …private val update4 = UpdateEntity(UUID.randomUUID(), Date(1608667857777L), runtimeVersion, "scope… constant in expo.modules.updates.selectionpolicy.ReaperSelectionPolicyDevelopmentClientTest 31 update4.lastAccessed = Date(1619569813254L) in testSelectUpdatesToDelete_BasicCase() 35 listOf(update2, update5, update4, update1, update3), in testSelectUpdatesToDelete_BasicCase() 51 update4.lastAccessed = Date(1619569813250L) in testSelectUpdatesToDelete_SameLastAccessedDate() 53 listOf(update3, update4, update1, update2), in testSelectUpdatesToDelete_SameLastAccessedDate() 54 update4, in testSelectUpdatesToDelete_SameLastAccessedDate() 68 update4.lastAccessed = Date(1619569813254L) in testSelectUpdatesToDelete_LaunchedUpdateIsOldest() 70 listOf(update1, update2, update3, update4), in testSelectUpdatesToDelete_LaunchedUpdateIsOldest() 82 listOf(update1, update2, update3, update4), in testSelectUpdatesToDelete_NoLaunchedUpdate()
|
| H A D | ReaperSelectionPolicyFilterAwareTest.kt | 18 …private val update4 = UpdateEntity(UUID.randomUUID(), Date(1608667857777L), runtimeVersion, scopeK… constant in expo.modules.updates.selectionpolicy.ReaperSelectionPolicyFilterAwareTest 54 listOf(update1, update2, update3, update4, update5), in testSelectUpdatesToDelete_olderAndNewerUpdates() 55 update4, in testSelectUpdatesToDelete_olderAndNewerUpdates() 62 Assert.assertFalse(updatesToDelete.contains(update4)) in testSelectUpdatesToDelete_olderAndNewerUpdates() 69 …UpdateEntity(update4.id, update4.commitTime, update4.runtimeVersion, "differentScopeKey", JSONObje… in testSelectUpdatesToDelete_differentScopeKey()
|
| /expo/packages/expo-updates/ios/Tests/ |
| H A D | ReaperSelectionPolicyFilterAwareSpec.swift | 16 var update4: Update! in spec() variable 66 update4 = Update( in spec() 115 …lectionPolicy.updatesToDelete(withLaunchedUpdate: update4, updates: [update1, update2, update3, up… in spec() 126 manifest: update4.manifest, in spec() 129 updateId: update4.updateId, in spec() 131 commitTime: update4.commitTime, in spec() 132 runtimeVersion: update4.runtimeVersion, in spec() 134 status: update4.status, in spec()
|
| H A D | ReaperSelectionPolicyDevelopmentClientSpec.swift | 14 var update4: Update! in spec() variable 68 update4 = Update( in spec() 109 update4.lastAccessed = Date(timeIntervalSince1970: 1619569814) in spec() 113 …updatesToDelete(withLaunchedUpdate: update5, updates: [update2, update5, update4, update1, update3… in spec() 125 update4.lastAccessed = Date(timeIntervalSince1970: 1619569810) in spec() 127 …lete = selectionPolicy.updatesToDelete(withLaunchedUpdate: update4, updates: [update3, update4, up… in spec() 138 update4.lastAccessed = Date(timeIntervalSince1970: 1619569814) in spec() 140 …sToDelete(withLaunchedUpdate: update1, updates: [update1, update2, update3, update4], filters: nil) in spec()
|