Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
removing unneeded test
Browse files Browse the repository at this point in the history
  • Loading branch information
Langston Smith committed Apr 1, 2020
1 parent aa927b5 commit 40767b5
Showing 1 changed file with 1 addition and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,36 +252,7 @@ class LocationLayerControllerTest : EspressoTest() {
}
executeComponentTest(componentAction)
}

@Test
fun pulsingCircle_cancelLocationComponent_pulsingLayerVisibility() {
val componentAction = object : LocationComponentAction.OnPerformLocationComponentAction {
override fun onLocationComponentAction(
component: LocationComponent,
mapboxMap: MapboxMap,
style: Style,
uiController: UiController,
context: Context
) {
component.activateLocationComponent(
LocationComponentActivationOptions
.builder(context, style)
.useDefaultLocationEngine(false)
.build()
)
component.isLocationComponentEnabled = true
component.forceLocationUpdate(location)
TestingAsyncUtils.waitForLayer(uiController, mapView)

component.applyStyle(LocationComponentOptions.builder(context)
.pulseEnabled(true).build())

assertThat(mapboxMap.isLayerVisible(PULSING_CIRCLE_LAYER), `is`(false))
}
}
executeComponentTest(componentAction)
}


@Test
fun pulsingCircle_changeColorCheck() {
val componentAction = object : LocationComponentAction.OnPerformLocationComponentAction {
Expand Down

0 comments on commit 40767b5

Please sign in to comment.