Remove redundant #if 1 from qdbusmarshall test
Change-Id: I5342210cda1f02950667621e5e64d65d6357c6ce Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
98992786f3
commit
1f0f5c1691
@ -167,7 +167,6 @@ void tst_QDBusMarshall::sendBasic_data()
|
||||
|
||||
// basic types:
|
||||
QTest::newRow("bool") << QVariant(false) << "b" << "false";
|
||||
#if 1
|
||||
QTest::newRow("bool2") << QVariant(true) << "b" << "true";
|
||||
QTest::newRow("byte") << qVariantFromValue(uchar(1)) << "y" << "1";
|
||||
QTest::newRow("int16") << qVariantFromValue(short(2)) << "n" << "2";
|
||||
@ -185,7 +184,6 @@ void tst_QDBusMarshall::sendBasic_data()
|
||||
|
||||
if (fileDescriptorPassing)
|
||||
QTest::newRow("file-descriptor") << qVariantFromValue(QDBusUnixFileDescriptor(fileDescriptorForTest())) << "h" << "[Unix FD: valid]";
|
||||
#endif
|
||||
}
|
||||
|
||||
void tst_QDBusMarshall::sendVariant_data()
|
||||
|
Loading…
Reference in New Issue
Block a user