mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 910106 - Disable Robocop verifyHomePagerHidden() on Android 2.2 for too many intermittent failures
This commit is contained in:
parent
4cf46f0798
commit
4aa7fd6db6
@ -2,6 +2,7 @@
|
||||
package @ANDROID_PACKAGE_NAME@.tests;
|
||||
|
||||
import @ANDROID_PACKAGE_NAME@.*;
|
||||
import android.os.Build;
|
||||
|
||||
abstract class PixelTest extends BaseTest {
|
||||
private static final long PAINT_CLEAR_DELAY = 10000; // milliseconds
|
||||
@ -9,7 +10,11 @@ abstract class PixelTest extends BaseTest {
|
||||
protected final PaintedSurface loadAndGetPainted(String url) {
|
||||
Actions.RepeatedEventExpecter paintExpecter = mActions.expectPaint();
|
||||
loadUrl(url);
|
||||
verifyHomePagerHidden();
|
||||
// Skip this on the Tegras (Android 2.2) since they are too slow,
|
||||
// which results in too many intermittent failures.
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) {
|
||||
verifyHomePagerHidden();
|
||||
}
|
||||
paintExpecter.blockUntilClear(PAINT_CLEAR_DELAY);
|
||||
paintExpecter.unregisterListener();
|
||||
PaintedSurface p = mDriver.getPaintedSurface();
|
||||
|
Loading…
Reference in New Issue
Block a user