diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-01-19 10:23:34 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-01-19 15:34:17 +0000 |
commit | 9e006d6a3c39482ae2d97d115a259b038e845916 (patch) | |
tree | d4e91f85516c9dc541f8f3d17c82ca2a98577bde /tests/auto/corelib/io/qfile | |
parent | d6bca7b1982338927fa9e20c8e9cb08dcdb2fcbc (diff) |
Android: skip tst_QFile::moveToTrash()
Android doesn't have a trash bin, so this test is not valid for that
platform.
Fixes: QTBUG-89398
Change-Id: I119b25682ba18e18466b5687cae369445dc73311
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 0392dce4f0a2093987ab45c48f0748c3dd97e7fc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/corelib/io/qfile')
-rw-r--r-- | tests/auto/corelib/io/qfile/BLACKLIST | 3 | ||||
-rw-r--r-- | tests/auto/corelib/io/qfile/tst_qfile.cpp | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/corelib/io/qfile/BLACKLIST b/tests/auto/corelib/io/qfile/BLACKLIST deleted file mode 100644 index 19f1cccf9e..0000000000 --- a/tests/auto/corelib/io/qfile/BLACKLIST +++ /dev/null @@ -1,3 +0,0 @@ -# QTBUG-89398 -[moveToTrash] -android diff --git a/tests/auto/corelib/io/qfile/tst_qfile.cpp b/tests/auto/corelib/io/qfile/tst_qfile.cpp index e408cd3e48..0aa38bca31 100644 --- a/tests/auto/corelib/io/qfile/tst_qfile.cpp +++ b/tests/auto/corelib/io/qfile/tst_qfile.cpp @@ -3701,6 +3701,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); |