tst_qfile: skip trash bin test on webOS

Skipping moveToTrash() test is needed because WebOS
does not implement a trash bin directory.

Fixes: QTBUG-104053
Change-Id: Id1d1595eb401d8ef3a403c915d95be1cd75368d2
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit c58e97245df207034ab6a4b066813d02ee74234f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Janne Juntunen 2022-06-07 09:59:25 +03:00 committed by Qt Cherry-pick Bot
parent 415e37c84a
commit 24139989a5

View File

@ -3797,8 +3797,8 @@ void tst_QFile::moveToTrash_data()
void tst_QFile::moveToTrash()
{
#ifdef Q_OS_ANDROID
QSKIP("Android doesn't implement a trash bin");
#if defined(Q_OS_ANDROID) or defined(Q_OS_WEBOS)
QSKIP("This platform doesn't implement a trash bin");
#endif
QFETCH(QString, source);
QFETCH(bool, create);