[autotests/integration] Fix TestLibinputDevice::testName

sysName may not be empty. Set a different name.
This commit is contained in:
Martin Gräßlin 2016-08-15 17:21:45 +02:00
parent a9ac2739f7
commit bfb2094c0a

View file

@ -193,7 +193,7 @@ void TestLibinputDevice::testNames_data()
QTest::addColumn<QByteArray>("sysName");
QTest::addColumn<QByteArray>("outputName");
QTest::newRow("empty") << QByteArray() << QByteArray() << QByteArray();
QTest::newRow("empty") << QByteArray() << QByteArrayLiteral("event1") << QByteArray();
QTest::newRow("set") << QByteArrayLiteral("awesome test device") << QByteArrayLiteral("event0") << QByteArrayLiteral("hdmi0");
}