1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-05 15:00:11 +01:00
fdroidserver/tests/metadata
Hans-Christoph Steiner 0425788b7d consolidate all post-parse metadata checks
This puts all of the needed post parsing checks on the metadata into a
single method that is used by all parsing methods (.txt, JSON, XML, YAML).
This provides the single place to normalize the internal representation of
the metadata.

It would be good to also change the internal representation to use more Python
bool/int types so that less post parsing is needed for JSON, XML, and YAML.

The SMSSecure test .pickle was changed to account for the use of lstrip()
and rstrip() on all 'script' types.

This also changes the example JSON to use ints for versionCodes
2015-09-01 11:39:51 +02:00
..
net.osmand.plus.pickle support app metadata in XML format 2015-09-01 11:39:51 +02:00
net.osmand.plus.xml support app metadata in XML format 2015-09-01 11:39:51 +02:00
org.adaway.json consolidate all post-parse metadata checks 2015-09-01 11:39:51 +02:00
org.adaway.pickle consolidate all post-parse metadata checks 2015-09-01 11:39:51 +02:00
org.smssecure.smssecure.pickle consolidate all post-parse metadata checks 2015-09-01 11:39:51 +02:00
org.smssecure.smssecure.txt add test for metadata parsing based on a parse output to a pickle 2015-09-01 11:39:50 +02:00