summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/other.pro
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2015-01-23 15:32:05 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2015-01-28 12:20:54 +0000
commitce9c4915d53c9dabfa3b5a28e62ecd2bb49337d4 (patch)
treee2f0b3b6eb3c815788abc6e41481d6eb812ead94 /tests/auto/other/other.pro
parentb65a415e674df75821600c8ac0bcdfdfc0703a2b (diff)
Android: Don't open assets files in read/write mode
We would return true when opening assets in read/write mode despite the fact that the files are not writable. The logic now matches that of the qrc file engine. This also adds a unit test for Android-specific issues. [ChangeLog][Android][Important Behavior Changes] Opening assets with QIODevice::ReadWrite now returns false to correctly indicate that the files are not writable. Change-Id: I019cc27861fc9b000dc13c5e0a38c0fc09a08671 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com> Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'tests/auto/other/other.pro')
-rw-r--r--tests/auto/other/other.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/other/other.pro b/tests/auto/other/other.pro
index 9f7d45e562..c5673727be 100644
--- a/tests/auto/other/other.pro
+++ b/tests/auto/other/other.pro
@@ -71,3 +71,6 @@ wince*|!contains(QT_CONFIG, accessibility): SUBDIRS -= qaccessibility
winrt: SUBDIRS -= \
qprocess_and_guieventloop
+
+android: SUBDIRS += \
+ android