|
|
@ -39,9 +39,6 @@ class QukeysBasic : public VirtualDeviceTest {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
TEST_F(QukeysBasic, TapQukeyAlone) {
|
|
|
|
TEST_F(QukeysBasic, TapQukeyAlone) {
|
|
|
|
// XXX Temporary workaround
|
|
|
|
|
|
|
|
sim_.RunForMillis(1000);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Press `A`
|
|
|
|
// Press `A`
|
|
|
|
sim_.Press(key_addr_A);
|
|
|
|
sim_.Press(key_addr_A);
|
|
|
|
|
|
|
|
|
|
|
@ -74,8 +71,8 @@ TEST_F(QukeysBasic, TapQukeyAlone) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TEST_F(QukeysBasic, HoldQukeyAlone) {
|
|
|
|
TEST_F(QukeysBasic, HoldQukeyAlone) {
|
|
|
|
// XXX Temporary workaround
|
|
|
|
// Prevent rapid typing suppression from affecting the test
|
|
|
|
sim_.RunForMillis(1000);
|
|
|
|
sim_.RunForMillis(QUKEYS_MIN_PRIOR_INTERVAL);
|
|
|
|
|
|
|
|
|
|
|
|
// Press `A`
|
|
|
|
// Press `A`
|
|
|
|
sim_.Press(key_addr_A);
|
|
|
|
sim_.Press(key_addr_A);
|
|
|
@ -125,8 +122,8 @@ TEST_F(QukeysBasic, HoldQukeyAlone) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TEST_F(QukeysBasic, FullOverlap) {
|
|
|
|
TEST_F(QukeysBasic, FullOverlap) {
|
|
|
|
// XXX Temporary workaround
|
|
|
|
// Prevent rapid typing suppression from affecting the test
|
|
|
|
sim_.RunForMillis(1000);
|
|
|
|
sim_.RunForMillis(QUKEYS_MIN_PRIOR_INTERVAL);
|
|
|
|
|
|
|
|
|
|
|
|
sim_.Press(key_addr_F);
|
|
|
|
sim_.Press(key_addr_F);
|
|
|
|
sim_.RunForMillis(20);
|
|
|
|
sim_.RunForMillis(20);
|
|
|
@ -172,8 +169,8 @@ TEST_F(QukeysBasic, FullOverlap) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TEST_F(QukeysBasic, RolloverPrimary) {
|
|
|
|
TEST_F(QukeysBasic, RolloverPrimary) {
|
|
|
|
// XXX Temporary workaround
|
|
|
|
// Prevent rapid typing suppression from affecting the test
|
|
|
|
sim_.RunForMillis(1000);
|
|
|
|
sim_.RunForMillis(QUKEYS_MIN_PRIOR_INTERVAL);
|
|
|
|
|
|
|
|
|
|
|
|
sim_.Press(key_addr_F);
|
|
|
|
sim_.Press(key_addr_F);
|
|
|
|
sim_.RunForMillis(20);
|
|
|
|
sim_.RunForMillis(20);
|
|
|
|