mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 21:50:42 -10:00
28 lines
584 B
Plaintext
28 lines
584 B
Plaintext
#filter substitution
|
|
package @[email protected];
|
|
|
|
import @ANDROID_PACKAGE_NAME@.*;
|
|
|
|
/**
|
|
* A basic page load test.
|
|
* - loads a page
|
|
* - verifies it rendered properly
|
|
* - verifies the displayed url is correct
|
|
*/
|
|
public class testLoad extends PixelTest {
|
|
@Override
|
|
protected int getTestType() {
|
|
return TEST_MOCHITEST;
|
|
}
|
|
|
|
public void testLoad() {
|
|
String url = getAbsoluteUrl("/robocop/robocop_boxes.html");
|
|
|
|
mActions.expectGeckoEvent("Gecko:Ready").blockForEvent();
|
|
|
|
loadAndVerifyBoxes(url);
|
|
|
|
verifyUrl(url);
|
|
}
|
|
}
|