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:
parent
415e37c84a
commit
24139989a5
@ -3797,8 +3797,8 @@ void tst_QFile::moveToTrash_data()
|
|||||||
|
|
||||||
void tst_QFile::moveToTrash()
|
void tst_QFile::moveToTrash()
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_ANDROID
|
#if defined(Q_OS_ANDROID) or defined(Q_OS_WEBOS)
|
||||||
QSKIP("Android doesn't implement a trash bin");
|
QSKIP("This platform doesn't implement a trash bin");
|
||||||
#endif
|
#endif
|
||||||
QFETCH(QString, source);
|
QFETCH(QString, source);
|
||||||
QFETCH(bool, create);
|
QFETCH(bool, create);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user