From 202f4beeba6d88dd50f2563f1895b53c79d65751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 25 May 2016 17:47:49 +0200 Subject: [PATCH] [autotest/libinput] Two more test cases for testLeftHanded With that all conditions should be covered. --- autotests/libinput/device_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autotests/libinput/device_test.cpp b/autotests/libinput/device_test.cpp index 1ba514da41..85650f63fd 100644 --- a/autotests/libinput/device_test.cpp +++ b/autotests/libinput/device_test.cpp @@ -434,6 +434,8 @@ void TestLibinputDevice::testLeftHanded_data() QTest::newRow("true -> false") << true << false << true << false << false; QTest::newRow("false -> true") << true << false << false << true << 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()