Skip to content

test(map-sample): add Power-Assert Robolectric tests for map demo activities - #37

Draft
dkhawk wants to merge 1 commit into
test/navigation-samples-suitefrom
test/map-sample-activity-demos
Draft

dkhawk wants to merge 1 commit into
test/navigation-samples-suitefrom
test/map-sample-activity-demos

Conversation

@dkhawk

@dkhawk dkhawk commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Stacked on #32 (which builds on #33).

Adds 30 focused Robolectric tests across 4 domain-scoped suites (+ MapDemoTestHelper.kt) in map-sample using Kotlin Power-Assert (assertMap, assertMarker, assertGeo):

  • MapCameraAndUiDemoTest.kt (12 tests): MainActivity, BasicMapDemoActivity, CameraDemoActivity, CameraClampingDemoActivity, UiSettingsDemoActivity, VisibleRegionDemoActivity, EventsDemoActivity, OnPoiClickDemoActivity, ProgrammaticDemoActivity, ToolbarDemoActivity, SnapshotDemoActivity.
  • MapOverlaysDemoTest.kt (7 tests): CircleDemoActivity, DayNightCircleDemoActivity, PolygonDemoActivity, PolylineDemoActivity, TileOverlayDemoActivity, TileOverlayOnStyledMapDemoActivity, ZIndexDemoActivity.
  • MapMarkersDemoTest.kt (6 tests): MarkerDemoActivity, MarkerCloseInfoWindowOnRetapDemoActivity, MarkerAnchorsDemoActivity, MarkerZIndexDemoActivity, TagsDemoActivity.
  • MapStylingAndStateDemoTest.kt (5 tests): BackgroundColorCustomizationDemoActivity, LayersDemoActivity, MapStylingDemoActivity, TopStylesDemoActivity, SaveStateDemoActivity.

@dkhawk
dkhawk force-pushed the test/navigation-samples-suite branch from 9488175 to 260ad32 Compare November 30, 2026 19:28
@dkhawk
dkhawk force-pushed the test/map-sample-activity-demos branch from daf9323 to 440eacd Compare November 30, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant