From 844f76cf8e01377fa3de6ac8c61eb8342c0c31f1 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 2 Dec 2020 10:35:13 +0100 Subject: shiboken6: Remove deprecated typesystem tags and were deprecated in favor of attributes on the functions in PySide2. Similarly for , but it is still used as a child of . Leave this usage in place, but add parsing of the rename attribute to . Change-Id: I8e80ba13a3e4af1df0448bd0de034d242a9fdeb4 Reviewed-by: Christian Tismer --- sources/shiboken6/ApiExtractor/tests/testmodifyfunction.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'sources/shiboken6/ApiExtractor/tests/testmodifyfunction.cpp') diff --git a/sources/shiboken6/ApiExtractor/tests/testmodifyfunction.cpp b/sources/shiboken6/ApiExtractor/tests/testmodifyfunction.cpp index 0fa07b75c..ebee345a0 100644 --- a/sources/shiboken6/ApiExtractor/tests/testmodifyfunction.cpp +++ b/sources/shiboken6/ApiExtractor/tests/testmodifyfunction.cpp @@ -54,13 +54,12 @@ void TestModifyFunction::testRenameArgument() \n\ \n\ \n\ - \n\ - \n\ - \n\ - \n\ - \n\ - \n"; + const char xmlCode2[] = R"('> + + + + +)"; const QByteArray xmlCode = QByteArray(xmlCode1) + pattern + QByteArray(xmlCode2); QScopedPointer builder(TestUtil::parse(cppCode, xmlCode.constData(), false)); -- cgit v1.2.3