Created
May 20, 2012 14:39
-
-
Save modalsoul/2758332 to your computer and use it in GitHub Desktop.
Android UI test sample assert initial state
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Check initial state... | |
TextView textView = (TextView)mCurrentActivity.findViewById(jp.modal.soul.uiTestSample.R.id.mainTextView); | |
assertEquals("Hello World, UiTestSampleActivity!", textView.getText().toString()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment