Home
last modified time | relevance | path

Searched refs:filtersCaptor (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/
DDeleteAllDataUseCaseTest.kt49 @Captor lateinit var filtersCaptor: ArgumentCaptor<DeleteUsingFiltersRequest> in <lambda>() variable in com.android.healthconnect.controller.tests.deletion.api.DeleteAllDataUseCaseTest
69 verify(manager, times(1)).deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
70 assertThat((filtersCaptor.value.timeRangeFilter as TimeInstantRangeFilter).startTime) in <lambda>()
72 assertThat((filtersCaptor.value.timeRangeFilter as TimeInstantRangeFilter).endTime) in <lambda>()
74 assertThat(filtersCaptor.value.dataOrigins).isEmpty() in <lambda>()
75 assertThat(filtersCaptor.value.recordTypes).isEmpty() in <lambda>()
DDeleteAppDataUseCaseTest.kt51 @Captor lateinit var filtersCaptor: ArgumentCaptor<DeleteUsingFiltersRequest> in <lambda>() variable in com.android.healthconnect.controller.tests.deletion.api.DeleteAppDataUseCaseTest
76 verify(dataManager, times(1)).deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
77 Truth.assertThat((filtersCaptor.value.timeRangeFilter as TimeInstantRangeFilter).startTime) in <lambda>()
79 Truth.assertThat((filtersCaptor.value.timeRangeFilter as TimeInstantRangeFilter).endTime) in <lambda>()
81 Truth.assertThat(filtersCaptor.value.dataOrigins) in <lambda>()
83 Truth.assertThat(filtersCaptor.value.recordTypes).isEmpty() in <lambda>()
DDeletePermissionTypeUseCaseTest.kt52 @Captor lateinit var filtersCaptor: ArgumentCaptor<DeleteUsingFiltersRequest> in <lambda>() variable in com.android.healthconnect.controller.tests.deletion.api.DeletePermissionTypeUseCaseTest
77 .deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
79 Truth.assertThat((filtersCaptor.value.timeRangeFilter as TimeInstantRangeFilter).startTime) in <lambda>()
81 Truth.assertThat((filtersCaptor.value.timeRangeFilter as TimeInstantRangeFilter).endTime) in <lambda>()
83 Truth.assertThat(filtersCaptor.value.dataOrigins).isEmpty() in <lambda>()
85 Truth.assertThat(filtersCaptor.value.recordTypes) in <lambda>()
DDeleteCategoryUseCaseTest.kt64 @Captor lateinit var filtersCaptor: ArgumentCaptor<DeleteUsingFiltersRequest> in <lambda>() variable in com.android.healthconnect.controller.tests.deletion.api.DeleteCategoryUseCaseTest
88 .deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
90 assertThat((filtersCaptor.value.timeRangeFilter as TimeInstantRangeFilter).startTime) in <lambda>()
92 assertThat((filtersCaptor.value.timeRangeFilter as TimeInstantRangeFilter).endTime) in <lambda>()
94 assertThat(filtersCaptor.value.dataOrigins).isEmpty() in <lambda>()
95 assertThat(filtersCaptor.value.recordTypes) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/api/
DDeleteAllDataUseCaseTest.kt46 @Captor lateinit var filtersCaptor: ArgumentCaptor<DeleteUsingFiltersRequest> in <lambda>() variable in com.android.healthconnect.controller.tests.selectabledeletion.api.DeleteAllDataUseCaseTest
62 verify(manager, times(1)).deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
63 assertThat(filtersCaptor.value.timeRangeFilter).isNull() in <lambda>()
64 assertThat(filtersCaptor.value.dataOrigins).isEmpty() in <lambda>()
65 assertThat(filtersCaptor.value.recordTypes).isEmpty() in <lambda>()
DDeleteAppDataUseCaseTest.kt48 @Captor lateinit var filtersCaptor: ArgumentCaptor<DeleteUsingFiltersRequest> in <lambda>() variable in com.android.healthconnect.controller.tests.selectabledeletion.api.DeleteAppDataUseCaseTest
67 verify(dataManager, times(1)).deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
68 Truth.assertThat(filtersCaptor.value.timeRangeFilter).isNull() in <lambda>()
69 Truth.assertThat(filtersCaptor.value.dataOrigins) in <lambda>()
71 Truth.assertThat(filtersCaptor.value.recordTypes).isEmpty() in <lambda>()
DDeletePermissionTypesFromAppUseCaseTest.kt56 @Captor lateinit var filtersCaptor: ArgumentCaptor<DeleteUsingFiltersRequest> in <lambda>() variable in com.android.healthconnect.controller.tests.selectabledeletion.api.DeletePermissionTypeUseCaseTest
84 .deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
86 assertThat(filtersCaptor.value.timeRangeFilter).isNull() in <lambda>()
87 assertThat(filtersCaptor.value.dataOrigins) in <lambda>()
89 assertThat(filtersCaptor.value.recordTypes) in <lambda>()
DDeletePermissionTypesUseCaseTest.kt55 @Captor lateinit var filtersCaptor: ArgumentCaptor<DeleteUsingFiltersRequest> in <lambda>() variable in com.android.healthconnect.controller.tests.selectabledeletion.api.DeletePermissionTypesUseCaseTest
81 .deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
83 assertThat(filtersCaptor.value.timeRangeFilter).isNull() in <lambda>()
84 assertThat(filtersCaptor.value.dataOrigins).isEmpty() in <lambda>()
85 assertThat(filtersCaptor.value.recordTypes) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/api/
DUpdatePriorityListUseCaseTest.kt40 @Captor lateinit var filtersCaptor: ArgumentCaptor<UpdateDataOriginPriorityOrderRequest> in <lambda>() variable in com.android.healthconnect.controller.tests.permissiontypes.api.UpdatePriorityListUseCaseTest
64 .updateDataOriginPriorityOrder(filtersCaptor.capture(), Mockito.any(), Mockito.any()) in <lambda>()
65 Truth.assertThat(filtersCaptor.value.dataCategory).isEqualTo(HealthDataCategory.ACTIVITY) in <lambda>()
66 Truth.assertThat(filtersCaptor.value.dataOriginInOrder) in <lambda>()