Skip to content

Instantly share code, notes, and snippets.

@ferPrieto
Created January 13, 2022 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ferPrieto/8f41c9e57f1d30386e505ae0736ae727 to your computer and use it in GitHub Desktop.
Save ferPrieto/8f41c9e57f1d30386e505ae0736ae727 to your computer and use it in GitHub Desktop.
internal fun launchesScreenRobot(
composeTestRule: AndroidComposeTestRule<ActivityScenarioRule<EntryPointActivity>, EntryPointActivity>,
func: LaunchesScreenRobot.() -> Unit
) = LaunchesScreenRobot(composeTestRule).also { func }
internal open class LaunchesScreenRobot constructor(
private val composeTestRule: AndroidComposeTestRule<ActivityScenarioRule<EntryPointActivity>, EntryPointActivity>
) {
// Robot definitions and functions
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment