gecko-dev/mobile/android/base/tests/testLoad.java.in

28 lines
548 B
Java

#filter substitution
package @ANDROID_PACKAGE_NAME@.tests;
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");
blockForGeckoReady();
loadAndVerifyBoxes(url);
verifyUrl(url);
}
}