Home
last modified time | relevance | path

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

/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/selectionpolicy/
H A DReaperSelectionPolicyDevelopmentClientTest.kt18 …private val update3 = UpdateEntity(UUID.randomUUID(), Date(1608667857776L), runtimeVersion, "scope… constant in expo.modules.updates.selectionpolicy.ReaperSelectionPolicyDevelopmentClientTest
30 update3.lastAccessed = Date(1619569813253L) in testSelectUpdatesToDelete_BasicCase()
35 listOf(update2, update5, update4, update1, update3), in testSelectUpdatesToDelete_BasicCase()
50 update3.lastAccessed = Date(1619569813250L) in testSelectUpdatesToDelete_SameLastAccessedDate()
53 listOf(update3, update4, update1, update2), in testSelectUpdatesToDelete_SameLastAccessedDate()
67 update3.lastAccessed = Date(1619569813253L) in testSelectUpdatesToDelete_LaunchedUpdateIsOldest()
70 listOf(update1, update2, update3, update4), in testSelectUpdatesToDelete_LaunchedUpdateIsOldest()
82 listOf(update1, update2, update3, update4), in testSelectUpdatesToDelete_NoLaunchedUpdate()
103 listOf(update1, update2, update3), in testSelectUpdatesToDelete_BelowMaxNumber()
104 update3, in testSelectUpdatesToDelete_BelowMaxNumber()
H A DReaperSelectionPolicyFilterAwareTest.kt17 …private val update3 = UpdateEntity(UUID.randomUUID(), Date(1608667857776L), runtimeVersion, scopeK… constant in expo.modules.updates.selectionpolicy.ReaperSelectionPolicyFilterAwareTest
31 listOf(update1, update2, update3), in testSelectUpdatesToDelete_olderUpdates()
32 update3, in testSelectUpdatesToDelete_olderUpdates()
38 Assert.assertFalse(updatesToDelete.contains(update3)) in testSelectUpdatesToDelete_olderUpdates()
54 listOf(update1, update2, update3, update4, update5), in testSelectUpdatesToDelete_olderAndNewerUpdates()
61 Assert.assertFalse(updatesToDelete.contains(update3)) in testSelectUpdatesToDelete_olderAndNewerUpdates()
71 listOf(update1, update2, update3, update4DifferentScope), in testSelectUpdatesToDelete_differentScopeKey()
/expo/packages/expo-updates/ios/Tests/
H A DReaperSelectionPolicyDevelopmentClientSpec.swift13 var update3: Update! in spec() variable
53 update3 = Update( in spec()
108 update3.lastAccessed = Date(timeIntervalSince1970: 1619569813) in spec()
113 …(withLaunchedUpdate: update5, updates: [update2, update5, update4, update1, update3], filters: nil) in spec()
124 update3.lastAccessed = Date(timeIntervalSince1970: 1619569810) in spec()
127 …= selectionPolicy.updatesToDelete(withLaunchedUpdate: update4, updates: [update3, update4, update1… in spec()
137 update3.lastAccessed = Date(timeIntervalSince1970: 1619569813) in spec()
140 …updatesToDelete(withLaunchedUpdate: update1, updates: [update1, update2, update3, update4], filter… in spec()
148 …= selectionPolicy.updatesToDelete(withLaunchedUpdate: update3, updates: [update1, update2, update3 in spec()
H A DReaperSelectionPolicyFilterAwareSpec.swift15 var update3: Update! in spec() variable
53 update3 = Update( in spec()
102 …= selectionPolicy.updatesToDelete(withLaunchedUpdate: update3, updates: [update1, update2, update3 in spec()
106 expect(updatesToDelete.contains(update3)) == false in spec()
115 …updatesToDelete(withLaunchedUpdate: update4, updates: [update1, update2, update3, update4, update5… in spec()
139 …e(withLaunchedUpdate: update4DifferentScope, updates: [update1, update2, update3, update4Different… in spec()
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/db/
H A DUpdatesDatabaseTest.kt114 … val update3 = UpdateEntity(UUID.randomUUID(), Date(), runtimeVersion, projectId, JSONObject("{}")) in testDeleteUnusedAssets() constant
116 updateDao.insertUpdate(update3) in testDeleteUnusedAssets()
117 assetDao.insertAssets(listOf(asset3), update3) in testDeleteUnusedAssets()
118 assetDao.addExistingAssetToUpdate(update3, commonAsset, false) in testDeleteUnusedAssets()
124 updateDao.markUpdateFinished(update3) in testDeleteUnusedAssets()