Android: skip tst_QFile::moveToTrash()

Android doesn't have a trash bin, so this test is not valid for that
platform.

Pick-to: 6.0
Fixes: QTBUG-89398
Change-Id: I119b25682ba18e18466b5687cae369445dc73311
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Assam Boudjelthia 2021-01-19 10:23:34 +02:00
parent 43d379797a
commit 0392dce4f0
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +0,0 @@
# QTBUG-89398
[moveToTrash]
android

View File

@ -3715,6 +3715,9 @@ void tst_QFile::moveToTrash_data()
void tst_QFile::moveToTrash()
{
#ifdef Q_OS_ANDROID
QSKIP("Android doesn't implement a trash bin");
#endif
QFETCH(QString, source);
QFETCH(bool, create);
QFETCH(bool, result);