tst_QMetaObject: don't compare QByteArray/QLatin1StringView
This isn't needed, and actually counter-productive, because this mix used to be ambiguous in Qt 6.5. Amends 5c563a98a5ffe2a72a641bfa9ed30e17ecffd893. Not picking to 6.5, because the 6.5 cherry-pick of the amended commit doesn't compile, so the _L1's were already removed as part of manual conflict resolution. Pick-to: 6.10 6.9 6.8 Change-Id: I1810f90c7cf6e3760f1d99e026b291311501c3aa Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
26bf2bedca
commit
fe7f01019c
@ -2784,13 +2784,13 @@ void tst_QMetaObject::metaMethod()
|
||||
index = QtTestObject::staticMetaObject.indexOfConstructor("QtTestObject(QObject*,QVector<int>)");
|
||||
QVERIFY(index > 0);
|
||||
QCOMPARE(QtTestObject::staticMetaObject.constructor(index).methodSignature(),
|
||||
"QtTestObject(QObject*,QList<int>)"_L1);
|
||||
"QtTestObject(QObject*,QList<int>)");
|
||||
index = QtTestObject::staticMetaObject.indexOfConstructor("QtTestObject(QList<int>,QObject*)");
|
||||
QVERIFY(index > 0);
|
||||
index = QtTestObject::staticMetaObject.indexOfConstructor("QtTestObject(QVector<int>,QObject*)");
|
||||
QVERIFY(index > 0);
|
||||
QCOMPARE(QtTestObject::staticMetaObject.constructor(index).methodSignature(),
|
||||
"QtTestObject(QList<int>,QObject*)"_L1);
|
||||
"QtTestObject(QList<int>,QObject*)");
|
||||
}
|
||||
|
||||
// this is a copy-paste-adapt of the above
|
||||
|
Loading…
x
Reference in New Issue
Block a user