1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00
fdroidserver/tests
Hans-Christoph Steiner c0bc3afda9 convert metadata.Build to a subclass of dict
Like with the App class in the commit before, this makes it a lot
easier to work with this data when converting between the internal
formats and external formats like YAML, JSON, MsgPack, protobuf, etc.

The one unfortunate thing here is Build.update. It becomes
dict.update(), which is a method not an attribute.
build.get('update') or build['update'] could be used, but that would
be oddly inconsistent. So instead the field is renamed to
'androidupdate', except for in the .txt v0 metadata files. This better
describes what field does anyway, since it runs `android update`.

Build.update is only referenced in two places right next to each other
for the ant builds, so this change still seems worthwhile.
2017-02-24 11:01:01 +01:00
..
getsig include test cases for python getsig replacement 2014-11-07 09:20:33 +00:00
gnupghome gpg-sign all valid files in the repo, including source tarballs 2016-11-07 14:53:01 +01:00
metadata convert metadata.Build to a subclass of dict 2017-02-24 11:01:01 +01:00
repo test for original "v0" index XML compatibility 2017-02-24 11:01:01 +01:00
source-files build: improve regsub pattern for setting buildToolsVersion 2015-08-19 17:55:17 +02:00
stats test for original "v0" index XML compatibility 2017-02-24 11:01:01 +01:00
build.TestCase add force_build_tools config option 2016-06-21 10:29:56 +02:00
common.TestCase all: make newer pycodestyle happy 2016-11-15 20:55:06 +00:00
complete-ci-tests gitlab-ci: workaround "ImportError: No module named 'packaging'" 2017-02-06 17:28:07 +01:00
config.py test for original "v0" index XML compatibility 2017-02-24 11:01:01 +01:00
description-parsing.py tests: switch to python3 2016-03-11 13:27:00 +00:00
import_proxy.py add a basic test of fdroid import 2015-09-10 11:08:40 +02:00
import.TestCase convert App to subclass of dict to support parsing/dumping libs 2017-02-24 11:01:01 +01:00
install.TestCase refactor env handling for FDroidPopen to support .fdroid.* metadata 2016-03-23 17:16:27 +01:00
keystore.jks test for original "v0" index XML compatibility 2017-02-24 11:01:01 +01:00
metadata.TestCase convert metadata.Build to a subclass of dict 2017-02-24 11:01:01 +01:00
run-tests test for original "v0" index XML compatibility 2017-02-24 11:01:01 +01:00
update.TestCase remove support for XML app metadata, its broken 2016-12-05 20:16:54 +01: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