mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 948591 - Intermittent testClearPrivateData | Exception caught - junit.framework.AssertionFailedError: Text string: '^Settings$' is not found! r=mcomella
This commit is contained in:
parent
d43b123e65
commit
26f0001835
@ -15,11 +15,7 @@ public interface Actions {
|
||||
RIGHT,
|
||||
ENTER,
|
||||
MENU,
|
||||
/**
|
||||
* @deprecated Use Solo.goBack() in Robocop instead.
|
||||
*/
|
||||
@Deprecated
|
||||
BACK
|
||||
DELETE,
|
||||
}
|
||||
|
||||
public interface EventExpecter {
|
||||
|
@ -337,25 +337,25 @@ public class FennecNativeActions implements Actions {
|
||||
public void sendSpecialKey(SpecialKey button) {
|
||||
switch(button) {
|
||||
case DOWN:
|
||||
sendKeyCode(KeyEvent.KEYCODE_DPAD_DOWN);
|
||||
sendKeyCode(Solo.DOWN);
|
||||
break;
|
||||
case UP:
|
||||
sendKeyCode(KeyEvent.KEYCODE_DPAD_UP);
|
||||
sendKeyCode(Solo.UP);
|
||||
break;
|
||||
case LEFT:
|
||||
sendKeyCode(KeyEvent.KEYCODE_DPAD_LEFT);
|
||||
sendKeyCode(Solo.LEFT);
|
||||
break;
|
||||
case RIGHT:
|
||||
sendKeyCode(KeyEvent.KEYCODE_DPAD_RIGHT);
|
||||
sendKeyCode(Solo.RIGHT);
|
||||
break;
|
||||
case ENTER:
|
||||
sendKeyCode(KeyEvent.KEYCODE_ENTER);
|
||||
sendKeyCode(Solo.ENTER);
|
||||
break;
|
||||
case MENU:
|
||||
sendKeyCode(KeyEvent.KEYCODE_MENU);
|
||||
sendKeyCode(Solo.MENU);
|
||||
break;
|
||||
case BACK:
|
||||
sendKeyCode(KeyEvent.KEYCODE_BACK);
|
||||
case DELETE:
|
||||
sendKeyCode(Solo.DELETE);
|
||||
break;
|
||||
default:
|
||||
mAsserter.ok(false, "sendSpecialKey", "Unknown SpecialKey " + button);
|
||||
@ -367,7 +367,7 @@ public class FennecNativeActions implements Actions {
|
||||
if (keyCode <= 0 || keyCode > KeyEvent.getMaxKeyCode()) {
|
||||
mAsserter.ok(false, "sendKeyCode", "Unknown keyCode " + keyCode);
|
||||
}
|
||||
mInstr.sendCharacterSync(keyCode);
|
||||
mSolo.sendKey(keyCode);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user