aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/pysidetest/containertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/pysidetest/containertest.cpp')
-rw-r--r--sources/pyside6/tests/pysidetest/containertest.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/sources/pyside6/tests/pysidetest/containertest.cpp b/sources/pyside6/tests/pysidetest/containertest.cpp
index ccb90b12f..9debfa5b7 100644
--- a/sources/pyside6/tests/pysidetest/containertest.cpp
+++ b/sources/pyside6/tests/pysidetest/containertest.cpp
@@ -60,3 +60,23 @@ QMultiHash<int, QString> ContainerTest::passThroughMultiHash(const QMultiHash<in
{
return in;
}
+
+QList<int> ContainerTest::createList()
+{
+ return {1, 2};
+}
+
+QList<int> ContainerTest::passThroughList(const QList<int> &list)
+{
+ return list;
+}
+
+QSet<int> ContainerTest::createSet()
+{
+ return {1, 2};
+}
+
+QSet<int> ContainerTest::passThroughSet(const QSet<int> &set)
+{
+ return set;
+}