From 223e409efbf29f7c06bec7a403403c9689f42b3e Mon Sep 17 00:00:00 2001 From: Andreas Buhr Date: Fri, 9 Oct 2020 00:02:00 +0200 Subject: Automatically generate unit tests for QtConcurrent There are many different ways to to call map and filter functions in QtConcurrent. This patch adds a python script to generate all possible combinations. Change-Id: I61ed1758601e219c5852e8cc939c5feebb23d2f6 Reviewed-by: Qt CI Bot Reviewed-by: Jarek Kobus --- .../concurrent/qtconcurrentfiltermapgenerated/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/auto/concurrent/qtconcurrentfiltermapgenerated/CMakeLists.txt (limited to 'tests/auto/concurrent/qtconcurrentfiltermapgenerated/CMakeLists.txt') diff --git a/tests/auto/concurrent/qtconcurrentfiltermapgenerated/CMakeLists.txt b/tests/auto/concurrent/qtconcurrentfiltermapgenerated/CMakeLists.txt new file mode 100644 index 0000000000..c2a11627ca --- /dev/null +++ b/tests/auto/concurrent/qtconcurrentfiltermapgenerated/CMakeLists.txt @@ -0,0 +1,12 @@ +##################################################################### +## tst_qtconcurrentfiltermapgenerated Test: +##################################################################### + +qt_internal_add_test(tst_qtconcurrentfiltermapgenerated + SOURCES + tst_qtconcurrentfiltermapgenerated.cpp + tst_qtconcurrentfiltermapgenerated.h + tst_qtconcurrent_selected_tests.cpp + PUBLIC_LIBRARIES + Qt::Concurrent +) -- cgit v1.2.3