2011-12-16 11:27:52 -08:00
|
|
|
#filter substitution
|
|
|
|
package @ANDROID_PACKAGE_NAME@.tests;
|
|
|
|
|
|
|
|
import @ANDROID_PACKAGE_NAME@.*;
|
|
|
|
|
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-01-05 07:20:22 -08:00
|
|
|
public void testLoad() {
|
2012-02-02 07:09:26 -08:00
|
|
|
setTestType("mochitest");
|
|
|
|
String url = getAbsoluteUrl("/robocop/robocop_boxes.html");
|
2012-01-30 19:46:34 -08:00
|
|
|
|
2012-02-10 06:44:06 -08:00
|
|
|
mActions.expectGeckoEvent("Gecko:Ready").blockForEvent();
|
|
|
|
|
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
|
|
|
}
|