1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00
fdroidserver/tests
Hans-Christoph Steiner f9864dc3a2 rewritemeta: split into remove_blank_flags_from_builds()
This takes this key bit of functionality, splits it out as its own
function, and adds some unit tests.
2023-05-10 09:21:14 +02:00
..
build-tools Added test aapt output files for build-tools 28.0.3 2019-01-13 19:27:02 +01:00
builder build: read VM CPUs/RAM from builder/Vagrantfile 2022-11-15 08:57:41 +01:00
extra disable pylint no-member on tests/extra/manual-vmtools-test.py 2023-03-20 17:38:10 +01:00
get_android_tools_versions common.get_android_tools_versions() for modern NDK dir layout 2023-04-11 13:54:17 +02:00
gnupghome gpg-sign all valid files in the repo, including source tarballs 2016-11-07 14:53:01 +01:00
metadata update test_read_metadata to use ruamel.yaml and YAML 1.2 2023-05-02 13:52:38 +02:00
metadata-rewrite-yml metadata: Remove code ensuring YAML 1.2 compatibility 2023-04-18 17:08:44 +02:00
repo index-v2 'mirrors' fully settable from config 2023-04-27 07:53:02 +00:00
signindex Support ETag when downloading repository index 2017-05-02 15:37:02 -03:00
source-files scanner: also scan classpath 2022-08-24 21:34:55 +02:00
stats signindex: add JSON check for entry.json 2023-02-17 14:34:53 +00:00
triple-t-2 update: parse Triple-T v2.x layout 2019-10-04 14:11:40 +02:00
triple-t-anysoftkeyboard add test_insert_triple_t_anysoftkeyboard() 2021-08-04 17:33:38 +02:00
triple-t-flutter Add test case for Triple-T metadata in a Flutter project 2022-03-07 12:40:37 +01:00
triple-t-multiple update test_insert_triple_t_multiple_metadata() test data 2021-08-03 20:53:56 +02:00
valid-package-names move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
aosp_testkey_debug.keystore nightly: support OpenSSL 3.0 with Paramiko 2022-11-16 14:40:08 +01:00
api.TestCase download_repo_index_v2() for verified downloading of index-v2 2023-03-09 12:35:29 +01:00
apk.embedded_1.apk Add apk.embedded_1.apk test 2022-05-03 14:59:52 +00:00
bad-unicode-πÇÇ现代通用字-български-عربي1.apk rename test files to work round filename length limits 2017-11-27 16:57:30 +01:00
build.TestCase build: fix loading config files in tests 2023-05-05 09:49:34 +02:00
check-fdroid-apk use standard User-Agent in check-fdroid-apk 2018-01-26 10:18:41 +01:00
checkupdates.TestCase Remove path workarounds for old python versions 2023-02-15 19:25:48 +00:00
common.TestCase all ndk paths in config must be strings 2023-04-11 13:54:19 +02:00
config.py signindex: add JSON check for entry.json 2023-02-17 14:34:53 +00:00
corrupt-featureGraphic.png update: log errors on bad graphics, and then ignore the file 2019-09-26 22:06:21 +02:00
deploy.TestCase add real test of moving files with deploy.update_serverwebroot() 2023-04-24 11:08:42 +02:00
dummy-keystore.jks added functions for storing/loading signer fingerprints to stats 2017-09-26 14:11:09 +02:00
dump_internal_metadata_format.py Run shell scripts with -e (Closes: #1035) 2022-11-03 12:25:31 +00:00
exception.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
funding-usernames.yaml update: insert donation links based on FUNDING.yml 2020-06-16 15:35:26 +02:00
gpgsign.TestCase enable black on tests: api, gpgsign, main, net, vcs 2023-04-27 11:34:14 +02:00
gradle-maven-blocks.yaml scanner: fix maven url check for kts files 2022-08-08 15:52:47 +00:00
gradle-release-checksums.py pylint: Reenable R1722 consider-using-sys-exit 2023-03-20 16:33:16 +01:00
import_subcommand.TestCase metadata: refactor into one function to do YAML post processing 2023-04-28 10:44:19 +02:00
index.TestCase index.TestCase: manually convert to black code format 2023-04-27 11:34:07 +02:00
init.TestCase tests: use context manager and/or standard setup temp files 2023-02-08 18:12:35 +01:00
install.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
IsMD5Disabled.java tests: support Java setups where MD5 is not disabled by default 2017-09-19 20:16:08 +02:00
janus.apk update: reject APKs with invalid file sig, probably Janus exploits 2017-12-14 16:57:22 +01:00
key-tricks.py index: fix GitLab Raw URLs with gitlab.com and recent versions 2020-12-15 08:30:48 +01:00
keystore.jks tests: add test for correctly handling CVC when archiving 2019-12-24 17:35:54 +01:00
lint.TestCase fix code format for new black rule 2023-03-20 14:47:48 +01:00
main.TestCase enable black on tests: api, gpgsign, main, net, vcs 2023-04-27 11:34:14 +02:00
metadata.TestCase update test_read_metadata to use ruamel.yaml and YAML 1.2 2023-05-02 13:52:38 +02:00
minimal_targetsdk_30_unsigned.apk publish: use apksigner for signing apks with targetSDK>=30 2020-09-09 18:09:28 +02:00
net.TestCase enable black on tests: api, gpgsign, main, net, vcs 2023-04-27 11:34:14 +02:00
nightly.TestCase fix code format for new black rule 2023-03-20 14:47:48 +01:00
no_targetsdk_minsdk1_unsigned.apk fallback to minsdk when targetsdk isn't set 2020-09-14 14:12:18 +02:00
no_targetsdk_minsdk30_unsigned.apk fallback to minsdk when targetsdk isn't set 2020-09-14 14:12:18 +02:00
Norway_bouvet_europe_2.obf.zip use smallest possible valid .obf.zip file in tests 2020-12-03 21:48:37 +01:00
openssl-version-check-test.py Add timeout argument to requests.(get,post) 2022-09-05 17:50:10 +02:00
org.bitbucket.tickytacky.mirrormirror_1.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.bitbucket.tickytacky.mirrormirror_2.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.bitbucket.tickytacky.mirrormirror_3.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.bitbucket.tickytacky.mirrormirror_4.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.dyndns.fules.ck_20.apk use androguard if aapt isn't found 2017-05-04 23:35:17 +02:00
org.sajeg.fallingblocks_3.apk update: handle messed up namespaces in AndroidManifest.xml 2023-03-20 13:24:59 +00:00
publish.TestCase tests: use context manager and/or standard setup temp files 2023-02-08 18:12:35 +01:00
rewritemeta.TestCase rewritemeta: split into remove_blank_flags_from_builds() 2023-05-10 09:21:14 +02:00
run-tests deploy: ensure mirrors and binary transparency always create 'master' 2023-05-10 09:21:14 +02:00
scanner.TestCase tests: use context manager and/or standard setup temp files 2023-02-08 18:12:35 +01:00
signatures.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
signindex.TestCase fix code format for new black rule 2023-03-20 14:47:48 +01:00
SpeedoMeterApp.main_1.apk update: do not crash with androguard when working with apps without icons 2018-03-12 17:55:45 +01:00
SystemWebView-repack.apk update: add test with APK for icon_id related exceptions 2021-10-01 16:44:14 +02:00
test-gradlew-fdroid gradlew-fdroid: use gradle zipballs from local cachedir, if present 2021-03-11 08:40:34 +01:00
testcommon.py tests: use context manager and/or standard setup temp files 2023-02-08 18:12:35 +01:00
update.TestCase update: handle messed up namespaces in AndroidManifest.xml 2023-03-20 13:24:59 +00: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
v2.only.sig_2.apk support APK Signature V2 when apksigner is installed 2019-02-01 09:17:56 +01:00
vcs.TestCase enable black on tests: api, gpgsign, main, net, vcs 2023-04-27 11:34:14 +02:00
verify.TestCase fix code format for new black rule 2023-03-20 14:47:48 +01:00