Advertisement
Guest User

RegisterUser

a guest
Jan 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. class RegisterUserSteps{
  2. @Rule
  3. var activityTestRule: ActivityTestRule<SignupActivity> = ActivityTestRule(SignupActivity::class.java)
  4.  
  5. private var activity: Activity? = null
  6.  
  7. @Before
  8. fun setup() {
  9. activity = activityTestRule.launchActivity(null)
  10. }
  11.  
  12. @After
  13. fun tearDown() {
  14. //activityTestRule.finishActivity()
  15. }
  16.  
  17. @Given("^I have a Signup Screen shown$")
  18. fun I_have_a_SignupActivity_shown() {
  19. //assertNotNull(activity)
  20. }
  21. .
  22. .
  23. .
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement