diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2020-04-24 16:37:42 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2020-04-27 14:34:51 +0200 |
commit | 7e1dacc27a8a9b10c51d42f816083e77e7ad0690 (patch) | |
tree | 59450243c316e8e4238b142206fb074d999bdef6 /tests/auto/corelib/text/qchar | |
parent | ceaf23b361a44759892def4270b243fac56db8ba (diff) |
Port qtbase/tests/auto/corelib/text tests to CMake
Task-number: QTBUG-78220
Change-Id: I497da6ed489854bdee5a1ead9a3f34118c78d001
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/corelib/text/qchar')
-rw-r--r-- | tests/auto/corelib/text/qchar/CMakeLists.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/auto/corelib/text/qchar/CMakeLists.txt b/tests/auto/corelib/text/qchar/CMakeLists.txt new file mode 100644 index 0000000000..ae4bc1f23d --- /dev/null +++ b/tests/auto/corelib/text/qchar/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from qchar.pro. + +##################################################################### +## tst_qchar Test: +##################################################################### + +# Collect test data +list(APPEND test_data "data/NormalizationTest.txt") + +qt_add_test(tst_qchar + SOURCES + tst_qchar.cpp + PUBLIC_LIBRARIES + Qt::CorePrivate + TESTDATA ${test_data} +) + +## Scopes: +##################################################################### + +if(ANDROID AND NOT ANDROID_EMBEDDED) + # Resources: + set(testdata_resource_files + "data/NormalizationTest.txt" + ) + + qt_add_resource(tst_qchar "testdata" + PREFIX + "/" + FILES + ${testdata_resource_files} + ) +endif() |