1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00
fdroidserver/tests
Hans-Christoph Steiner 56ef716a4e test for original "v0" index XML compatibility
The original index.xml format needs to stay around for backwards
compatibility, but we shouldn't touch it anymore once the new format is in
place.  This is a test to make sure `fdroid update` can still generate the
correct XML.

install_list and uninstall_list should be tuples or lists in order to
ensure that the order is preserved.

These tests also check that the added and lastupdated dates are
working correct, based on the dates in tests/stats/known_apks.txt. I
could see no useful way to test the timestamp, it is just hardcoded
using a regexp search-and-replace.  Running these tests manually might
require deleting tmp/apkcache.
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 test dumps to YAML for easy comparison 2016-12-05 20:16:54 +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 update URL for git repo of test app 2017-01-20 12:12:20 +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 test dumps to YAML for easy comparison 2016-12-05 20:16:54 +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