chiark / gitweb /
Add test for when apk icon src could not be found
authorJonas Kalderstam <jonas@kalderstam.se>
Tue, 27 Mar 2018 16:39:59 +0000 (18:39 +0200)
committerJonas Kalderstam <jonas@kalderstam.se>
Tue, 27 Mar 2018 16:39:59 +0000 (18:39 +0200)
commit9e4459d7d1497bcc3ad342d428ce6a49686668c0
tree6af00a61ca4be3f4945628bdd3563e3eb6dc3776
parent1f706283cedec66055d09b11bd74702861f18a5f
Add test for when apk icon src could not be found

An APK (Netflix) was found to have the following icon filename:

    \u2003\u2009\n.xml

This breaks the aapt dump parsing because it iterates line by line and
this filename goes across two lines. Consequently, icon_src will be
None (default value) when it is passed to the icons parser.
tests/update.TestCase