Name Description Size Coverage
Constants.kt 338 -
DeleteFilesHelper.kt 1832 -
EspressoHelper.kt Some convenient methods for testing Focus with espresso. 2883 -
ext -
FeatureSettingsHelper.kt 1872 -
FocusTestRule.kt A composite JUnit [TestRule] that bundles the standard Focus test prerequisites: notification permission grant, environment setup, and mock web server lifecycle. Declare it as the outermost rule in each test class: ``` @get:Rule(order = 0) val focusTestRule = FocusTestRule() ``` 1509 -
MainActivityTestRule.kt 4538 -
MockLocationUpdatesRule.kt Rule that sets up a mock location provider that can inject location samples straight to the device that the test is running on. Credit to the mapbox team https://github.com/mapbox/mapbox-navigation-android/blob/87fab7ea1152b29533ee121eaf6c05bc202adf02/libtesting-ui/src/main/java/com/mapbox/navigation/testing/ui/MockLocationUpdatesRule.kt 3911 -
RetryTestRule.kt 1467 -
StringsHelper.kt 1042 -
TestAssetHelper.kt Helper for hosting web pages locally for testing purposes. 2316 -
TestHelper.kt 12922 -
TestSetupRule.kt A JUnit [ExternalResource] that performs the standard Focus test environment setup: clipboard access prevention and status bar collapse. Intended to be composed inside [FocusTestRule] rather than used directly. 1074 -