[autotests/integration] Fix TestLibinputDevice::testName
sysName may not be empty. Set a different name.
This commit is contained in:
parent
a9ac2739f7
commit
bfb2094c0a
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ void TestLibinputDevice::testNames_data()
|
||||||
QTest::addColumn<QByteArray>("sysName");
|
QTest::addColumn<QByteArray>("sysName");
|
||||||
QTest::addColumn<QByteArray>("outputName");
|
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");
|
QTest::newRow("set") << QByteArrayLiteral("awesome test device") << QByteArrayLiteral("event0") << QByteArrayLiteral("hdmi0");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue