ground-android icon indicating copy to clipboard operation
ground-android copied to clipboard

Add unit tests when card is hidden due to current button click

Open github-actions[bot] opened this issue 1 year ago • 0 comments

https://github.com/google/ground-android/blob/559b81589e6fc01bd896a4dc1ac2bd851c008193/ground/src/test/java/com/google/android/ground/ui/datacollection/tasks/location/CaptureLocationTaskFragmentTest.kt#L65-L66


      isRequired = false,
    )
  private val job = Job(id = "job1")
  private val lastLocationFlow = MutableSharedFlow<Location>(replay = 1)

  override fun setUp() {
    super.setUp()
    // TODO: Add unit tests when card is hidden due to current button click
    // Issue URL: https://github.com/google/ground-android/issues/2952
    mapStateRepository.isLocationLockEnabled = true
    whenever(locationManager.locationUpdates).thenReturn(lastLocationFlow)
  }

  @Test
  fun testHeader() {

github-actions[bot] avatar Dec 23 '24 17:12 github-actions[bot]