[autotest/libinput] Two more test cases for testLeftHanded

With that all conditions should be covered.
This commit is contained in:
Martin Gräßlin 2016-05-25 17:47:49 +02:00
parent 3aa8dc376e
commit 202f4beeba

View file

@ -434,6 +434,8 @@ void TestLibinputDevice::testLeftHanded_data()
QTest::newRow("true -> false") << true << false << true << false << false; QTest::newRow("true -> false") << true << false << true << false << false;
QTest::newRow("false -> true") << true << false << false << true << true; QTest::newRow("false -> true") << true << false << false << true << true;
QTest::newRow("set fails") << true << true << true << false << true; QTest::newRow("set fails") << true << true << true << false << true;
QTest::newRow("true -> true") << true << false << true << true << true;
QTest::newRow("false -> false") << true << false << false << false << false;
} }
void TestLibinputDevice::testLeftHanded() void TestLibinputDevice::testLeftHanded()