1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00
fdroidserver/tests
Hans-Christoph Steiner 6c2cf2ccdd convert internal dict keys to match fdroidclient's Apk class
This syncs up the field names between the fdroiddata .yml files, the keys
used in the implementation in fdroidserver, the index data format, and the
final data structures in fdroidclient.  This makes it easier for devs to
follow, and makes the Jackson parsing library automatically handle
converting the data from the index file to Java instances.

This bumps the metadata version since the apkcache will have to be
discarded.

Here are the name changes:
* apkname --> apkName
* id --> packageName
* sha256 --> hash
* version --> versionName
* versioncode --> versionCode

tests/repo/index.xml was changed only to bump the metadata version
from 17 to 18.
2017-03-17 13:55:40 +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 metadata output-lines now substitute $$VERSION$$/etc. 2017-03-16 09:24:05 +01:00
repo include non-APKs that match metadata and fdroid-generated filenames 2017-03-10 18:37:18 +01:00
source-files build: improve regsub pattern for setting buildToolsVersion 2015-08-19 17:55:17 +02:00
stats include non-APKs that match metadata and fdroid-generated filenames 2017-03-10 18:37:18 +01:00
build.TestCase add force_build_tools config option 2016-06-21 10:29:56 +02:00
common.TestCase rename Build fields: version -> versionName, vercode -> versionCode 2017-02-24 11:01:01 +01: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
dump_internal_metadata_format.py fix metadata dump test to run on CI servers 2017-02-28 12:08:04 +01: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 add index V1 format, a direct translation of internal dict 2017-03-17 13:55:40 +01:00
update.TestCase convert internal dict keys to match fdroidclient's Apk class 2017-03-17 13:55:40 +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