Searched refs:testLifecycleOwner (Results 1 – 2 of 2) sorted by relevance
64 TestLifecycleOwner testLifecycleOwner = new TestLifecycleOwner(); in testDedupedMappedLiveData_dedupesValues() local66 dedupedLiveData.observe(testLifecycleOwner, observer); in testDedupedMappedLiveData_dedupesValues()83 dedupedLiveData.removeObservers(testLifecycleOwner); in testDedupedMappedLiveData_dedupesValues()101 TestLifecycleOwner testLifecycleOwner = new TestLifecycleOwner(); in testDedupedMappedLiveData_mapsValues() local103 mappedLiveData.observe(testLifecycleOwner, observer); in testDedupedMappedLiveData_mapsValues()118 mappedLiveData.removeObservers(testLifecycleOwner); in testDedupedMappedLiveData_mapsValues()
842 TestLifecycleOwner testLifecycleOwner = new TestLifecycleOwner(); in testGetStatusesById() local845 liveData.observe(testLifecycleOwner, mockObserver); in testGetStatusesById()892 liveData.removeObservers(testLifecycleOwner); in testGetStatusesById()971 TestLifecycleOwner testLifecycleOwner = new TestLifecycleOwner(); in testGetStatusesByTag() local973 liveData.observe(testLifecycleOwner, mockObserver); in testGetStatusesByTag()1005 liveData.removeObservers(testLifecycleOwner); in testGetStatusesByTag()1071 TestLifecycleOwner testLifecycleOwner = new TestLifecycleOwner(); in testGetStatusesByName() local1073 liveData.observe(testLifecycleOwner, mockObserver); in testGetStatusesByName()1110 liveData.removeObservers(testLifecycleOwner); in testGetStatusesByName()1324 TestLifecycleOwner testLifecycleOwner = new TestLifecycleOwner(); in testCancelAllWork_updatesLastCancelAllTimeLiveData() local[all …]