2011-12-16 11:27:52 -08:00
|
|
|
#filter substitution
|
|
|
|
package @ANDROID_PACKAGE_NAME@.tests;
|
|
|
|
|
2012-02-07 11:10:58 -08:00
|
|
|
/**
|
|
|
|
* A basic page load test.
|
|
|
|
* - loads a page
|
|
|
|
* - verifies it rendered properly
|
|
|
|
* - verifies the displayed url is correct
|
|
|
|
*/
|
|
|
|
public class testLoad extends PixelTest {
|
2012-06-27 16:56:49 -07:00
|
|
|
@Override
|
|
|
|
protected int getTestType() {
|
|
|
|
return TEST_MOCHITEST;
|
|
|
|
}
|
|
|
|
|
2012-01-05 07:20:22 -08:00
|
|
|
public void testLoad() {
|
2012-02-02 07:09:26 -08:00
|
|
|
String url = getAbsoluteUrl("/robocop/robocop_boxes.html");
|
2012-01-30 19:46:34 -08:00
|
|
|
|
2012-10-25 12:37:39 -07:00
|
|
|
blockForGeckoReady();
|
2012-02-10 06:44:06 -08:00
|
|
|
|
2012-02-07 11:10:58 -08:00
|
|
|
loadAndVerifyBoxes(url);
|
2012-01-30 19:46:34 -08:00
|
|
|
|
2012-02-02 07:09:26 -08:00
|
|
|
verifyUrl(url);
|
2012-01-05 07:20:22 -08:00
|
|
|
}
|
2011-12-16 11:27:52 -08:00
|
|
|
}
|