aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/tests/testreferencetopointer.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-11-24 08:43:06 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-11-27 14:40:01 +0100
commit045c1b70893dc7b4ab85fc8935847a71e5ec714f (patch)
tree9b41901e0bd1fe10091cdca42f8cebbd068393ed /sources/shiboken6/ApiExtractor/tests/testreferencetopointer.cpp
parent9824308bbc0bc20429c78e08323cd65260757476 (diff)
shiboken6: Port the MetaClass::find*() helpers to QAnyStringView
Task-number: PYSIDE-2537 Change-Id: I7d9c160b4b8c46854b11722c05510da766dcc3f5 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/tests/testreferencetopointer.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/tests/testreferencetopointer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/ApiExtractor/tests/testreferencetopointer.cpp b/sources/shiboken6/ApiExtractor/tests/testreferencetopointer.cpp
index e3b18758b..ae85c5a86 100644
--- a/sources/shiboken6/ApiExtractor/tests/testreferencetopointer.cpp
+++ b/sources/shiboken6/ApiExtractor/tests/testreferencetopointer.cpp
@@ -25,9 +25,9 @@ void TestReferenceToPointer::testReferenceToPointerArgument()
QScopedPointer<AbstractMetaBuilder> builder(TestUtil::parse(cppCode, xmlCode, false));
QVERIFY(builder);
AbstractMetaClassList classes = builder->classes();
- const auto classB = AbstractMetaClass::findClass(classes, u"B");
+ const auto classB = AbstractMetaClass::findClass(classes, "B");
QVERIFY(classB);
- const auto func = classB->findFunction(u"dummy");
+ const auto func = classB->findFunction("dummy");
QVERIFY(func);
QCOMPARE(func->arguments().constFirst().type().minimalSignature(), u"A*&");
}