1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00
fdroidserver/tests
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
..
getsig include test cases for python getsig replacement 2014-11-07 09:20:33 +00:00
metadata consolidate all post-parse metadata checks 2015-09-01 11:39:51 +02:00
source-files build: improve regsub pattern for setting buildToolsVersion 2015-08-19 17:55:17 +02:00
build.TestCase build: improve regsub pattern for setting buildToolsVersion 2015-08-19 17:55:17 +02:00
common.TestCase add test files to pre-commit hook and fix pep8 errors 2015-09-01 11:39:50 +02:00
description-parsing.py auto-clean newlines and spaces in repo/archive descriptions 2014-07-14 15:01:57 -04:00
install.TestCase add test files to pre-commit hook and fix pep8 errors 2015-09-01 11:39:50 +02:00
metadata.TestCase support app metadata in XML format 2015-09-01 11:39:51 +02:00
run-tests fix syntax error in manual generation and add ./gendocs.sh to the tests 2015-08-19 17:51:29 +02:00
update.TestCase add test files to pre-commit hook and fix pep8 errors 2015-09-01 11:39:50 +02:00
urzip-badcert.apk include test cases for python getsig replacement 2014-11-07 09:20:33 +00:00
urzip-badsig.apk include test cases for python getsig replacement 2014-11-07 09:20:33 +00:00
urzip-release-unsigned.apk added test case for common.isApkDebuggable() 2014-12-14 13:25:20 +01:00
urzip-release.apk added test case for common.isApkDebuggable() 2014-12-14 13:25:20 +01:00
urzip.apk tests: try fdroid update after adding an APK to an existing repo 2014-06-04 21:54:55 -04:00