| 1 |
# Copyright (C) 2022 The Qt Company Ltd. |
| 2 |
# SPDX-License-Identifier: BSD-3-Clause |
| 3 |
|
| 4 |
##################################################################### |
| 5 |
## tst_qfileselectors Test: |
| 6 |
##################################################################### |
| 7 |
|
| 8 |
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) |
| 9 |
cmake_minimum_required(VERSION 3.16) |
| 10 |
project(tst_qfileselectors LANGUAGES CXX) |
| 11 |
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) |
| 12 |
endif() |
| 13 |
|
| 14 |
# Resources: |
| 15 |
set(qfileselector_resource_files |
| 16 |
"extras/+custom1/test" |
| 17 |
"extras/+custom1/test3" |
| 18 |
"extras/+custom2/test" |
| 19 |
"extras/+custom3/+custom2/test" |
| 20 |
"extras/+custom3/+custom4/test" |
| 21 |
"extras/+custom3/+custom5/test" |
| 22 |
"extras/+custom3/test" |
| 23 |
"extras/+custom5/+custom3/test" |
| 24 |
"extras/test" |
| 25 |
"extras/test2" |
| 26 |
"platforms/+android/test" |
| 27 |
"platforms/+android/test2" |
| 28 |
"platforms/+darwin/test" |
| 29 |
"platforms/+haiku/test" |
| 30 |
"platforms/+haiku/test2" |
| 31 |
"platforms/+ios/test" |
| 32 |
"platforms/+ios/test2" |
| 33 |
"platforms/+linux/test" |
| 34 |
"platforms/+linux/test2" |
| 35 |
"platforms/+wasm/test" |
| 36 |
"platforms/+wasm/test2" |
| 37 |
"platforms/+macos/test" |
| 38 |
"platforms/+macos/test2" |
| 39 |
"platforms/+qnx/test" |
| 40 |
"platforms/+qnx/test2" |
| 41 |
"platforms/+unix/+emscripten/+wasm/test" |
| 42 |
"platforms/+unix/+emscripten/test" |
| 43 |
"platforms/+unix/+android/test" |
| 44 |
"platforms/+unix/+darwin/+ios/test" |
| 45 |
"platforms/+unix/+darwin/+macos/test" |
| 46 |
"platforms/+unix/+darwin/test" |
| 47 |
"platforms/+unix/+haiku/test" |
| 48 |
"platforms/+unix/+linux/test" |
| 49 |
"platforms/+unix/+qnx/test" |
| 50 |
"platforms/+unix/+vxworks/test" |
| 51 |
"platforms/+unix/test" |
| 52 |
"platforms/+unix/test3" |
| 53 |
"platforms/+vxworks/test" |
| 54 |
"platforms/+vxworks/test2" |
| 55 |
"platforms/+wince/test" |
| 56 |
"platforms/+wince/test2" |
| 57 |
"platforms/+windows/+wince/test" |
| 58 |
"platforms/+windows/+winnt/test" |
| 59 |
"platforms/+windows/+winrt/test" |
| 60 |
"platforms/+windows/test" |
| 61 |
"platforms/+windows/test3" |
| 62 |
"platforms/+winnt/test2" |
| 63 |
"platforms/+winrt/test" |
| 64 |
"platforms/+winrt/test2" |
| 65 |
"platforms/test" |
| 66 |
"platforms/test2" |
| 67 |
"platforms/test3" |
| 68 |
"platforms/test4" |
| 69 |
"platforms/test5" |
| 70 |
) |
| 71 |
|
| 72 |
qt_internal_add_test(tst_qfileselectors |
| 73 |
SOURCES |
| 74 |
tst_qfileselector.cpp |
| 75 |
LIBRARIES |
| 76 |
Qt::CorePrivate |
| 77 |
TESTDATA ${qfileselector_resource_files} |
| 78 |
BUILTIN_TESTDATA |
| 79 |
) |
| 80 |
|