Confirmed users
1,620
edits
| Line 29: | Line 29: | ||
= Basic structure of the test = | = Basic structure of the test = | ||
package | #filter substitution | ||
package @ANDROID_PACKAGE_NAME@.tests; | |||
import @ANDROID_PACKAGE_NAME@.*; | |||
/* | /* | ||
Insert info about the test here - a basic description of what the test does | Insert info about the test here - a basic description of what the test does | ||
| Line 58: | Line 59: | ||
* If your tests extends BaseTest then you will not need to add the methods setUp() and tearDown() as they are already defined in BaseTest | * If your tests extends BaseTest then you will not need to add the methods setUp() and tearDown() as they are already defined in BaseTest | ||
* If you need to do extra clean-up, like removing entries you added in a database for e.g., the tearDown() method can be overwrittern but make sure to call '''super.tearDown()''' as needed in the method. The same is applicable for setUp(). | * If you need to do extra clean-up, like removing entries you added in a database for e.g., the tearDown() method can be overwrittern but make sure to call '''super.tearDown()''' as needed in the method. The same is applicable for setUp(). | ||
= APIs = | = APIs = | ||
Robotium itself provides a rich API through the Solo class - javadocs for Solo are available at [1]. | Robotium itself provides a rich API through the Solo class - javadocs for Solo are available at [1]. | ||