1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 23:23:27 +02:00
fdroidserver/tests
Hans-Christoph Steiner a557764b4d
sign tests/repo/index-v1.jar once per index.TestCase run
Signing files is a slow operation, especially with jarsigner. This speeds
up the full test run from 10-12 seconds to 2-3 seconds, which makes it
possible to run the tests interactively again. And it stops signing the
file entirely for tests that do not even touch that file.

In the long run, it would probably make sense to have each test case sign
the file as it needs it, but that's a much bigger change.
2023-03-09 12:34:57 +01: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 Fix trailing whitespace 2022-09-05 17:50:13 +02:00
get_android_tools_versions common: properly parse version from NDK's source.properties 2021-03-09 15:55:45 +01:00
gnupghome gpg-sign all valid files in the repo, including source tarballs 2016-11-07 14:53:01 +01:00
metadata Remove support for Buildozer 2023-03-09 12:03:57 +01:00
metadata-rewrite-yml Revert "Merge branch 'write-yaml-overhaul' into 'master'" 2019-04-01 10:24:00 +00:00
repo signindex: add JSON check for entry.json 2023-02-17 14:34:53 +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 add new test module for the public API 2023-03-09 12:34:54 +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 tests: use context manager and/or standard setup temp files 2023-02-08 18:12:35 +01: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 add verify_jar_signature() to verify entry.jar 2023-03-09 12:34:55 +01: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 index-v2.jar is not a valid file, remove references 2022-11-15 13:22:09 +00: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 Index v2 2022-05-23 10:39:17 +00: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 Add timeout argument to requests.(get,post) 2022-09-05 17:50:10 +02:00
import_subcommand.TestCase Remove path workarounds for old python versions 2023-02-15 19:25:48 +00:00
index.TestCase sign tests/repo/index-v1.jar once per index.TestCase run 2023-03-09 12:34:57 +01: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 Remove path workarounds for old python versions 2023-02-15 19:25:48 +00:00
main.TestCase purge all vestiges of the unused fdroid stats, closes #839 2023-02-19 22:54:38 +01:00
metadata.TestCase Remove path workarounds for old python versions 2023-02-15 19:25:48 +00:00
minimal_targetsdk_30_unsigned.apk publish: use apksigner for signing apks with targetSDK>=30 2020-09-09 18:09:28 +02:00
ndk-release-checksums.py Add timeout argument to requests.(get,post) 2022-09-05 17:50:10 +02:00
net.TestCase net.download_file(): retry on errors 2022-10-22 23:15:13 +02:00
nightly.TestCase Skip nightly test on Fedora with pip in $HOME 2023-02-08 18:32:13 +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
publish.TestCase tests: use context manager and/or standard setup temp files 2023-02-08 18:12:35 +01:00
rewritemeta.TestCase Remove path workarounds for old python versions 2023-02-15 19:25:48 +00:00
run-tests tests/run-tests: silence err_handler output 2023-02-19 22:54:38 +01: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 signindex: add JSON check for entry.json 2023-02-17 14:34:53 +00: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 tests: use context manager and/or standard setup temp files 2023-02-08 18:12:35 +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
v2.only.sig_2.apk support APK Signature V2 when apksigner is installed 2019-02-01 09:17:56 +01:00
vcs.TestCase tests: use context manager and/or standard setup temp files 2023-02-08 18:12:35 +01:00
verify.TestCase verify: normalize dicts via JSON for reliable comparisons 2022-08-24 19:16:33 +02:00