1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00
fdroidserver/tests
Hans-Christoph Steiner 98a2f70e38 fix intermittent test failure
For some reason, the parser stopped working intermittently, even
though the format has been the same since aapt 23 or earlier.  Then
also, some of the test cases pointed to symlinks that were no longer
generated, and one test app now has a blank versionName.

Strange that this wasn't caught in the gitlab-ci runs.  !484

FAIL: test_get_api_id_aapt (__main__.CommonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./common.TestCase", line 578, in testA_get_api_id_aapt
    self.assertEqual(versionName, vn)
AssertionError: '0.1' != "0.1' platformBuildVersionName='4.3.1-1425645"
- 0.1
+ 0.1' platformBuildVersionName='4.3.1-1425645
2018-05-03 13:46:42 +02:00
..
extra rewritemeta yaml: fixed boolen mapping for build flags 2017-07-04 11:51:08 +02: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 handle bad SDK Version values in APKs 2018-04-26 15:19:41 +02:00
metadata-rewrite-yml metadata: add new Translation app field for URL for contributions 2018-02-05 15:45:12 +01:00
repo handle bad SDK Version values in APKs 2018-04-26 15:19:41 +02:00
signindex Support ETag when downloading repository index 2017-05-02 15:37:02 -03:00
source-files Add Nextcloud and DavDroid test case 2017-12-27 11:51:57 +01:00
stats handle bad SDK Version values in APKs 2018-04-26 15:19:41 +02:00
androguard_test.py update: find aapt when it is not in the PATH 2017-05-18 17:21:05 +02: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 standard dir setup so all tests start in same dir 2017-11-30 17:32:53 +01:00
check-fdroid-apk use standard User-Agent in check-fdroid-apk 2018-01-26 10:18:41 +01:00
common.TestCase fix intermittent test failure 2018-05-03 13:46:42 +02:00
complete-ci-tests tests: only generate keystores when that is actually being tested 2017-12-20 23:46:37 +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
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 fix metadata dump test to run on CI servers 2017-02-28 12:08:04 +01:00
exception.TestCase tests: pre-set failfast as reminder of a handy time saver 2017-10-25 23:01:25 +02:00
import_proxy.py add a basic test of fdroid import 2015-09-10 11:08:40 +02:00
import.TestCase tests: use standard dir setup so all tests start in same dir 2017-11-30 17:32:53 +01:00
index.TestCase handle jarsigner/apksigner output cleanly for rational logging 2017-12-07 17:32:14 +01:00
install.TestCase tests: pre-set failfast as reminder of a handy time saver 2017-10-25 23:01:25 +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
keystore.jks test for original "v0" index XML compatibility 2017-02-24 11:01:01 +01:00
lint.TestCase VercodeOperation: only allow simple math expresssions and %c 2018-03-05 09:45:58 +01:00
metadata.TestCase tests: use standard dir setup so all tests start in same dir 2017-11-30 17:32:53 +01:00
openssl-version-check-test.py update: update openssl KnownVuln scan to handle all recent versions 2017-07-06 13:31:42 +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 standard dir setup so all tests start in same dir 2017-11-30 17:32:53 +01:00
run-tests index: ensure index.xml timestamp is in UTC, closes #481 2018-04-25 16:35:22 +02:00
scanner.TestCase scanner: fix tests so they work on all tested platforms 2017-12-19 22:51:40 +01:00
signatures.TestCase tests: pre-set failfast as reminder of a handy time saver 2017-10-25 23:01:25 +02: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
testcommon.py added signatures subcommand 2017-09-07 00:03:35 +02:00
update.TestCase reusable method for checking if a value is a resId or not 2018-04-26 15:19:41 +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