summaryrefslogtreecommitdiff
path: root/tests/test-update-portal.c
Commit message (Collapse)AuthorAgeFilesLines
* test-update-portal: Fix warn_unused_result warningPhaedrus Leeds2021-10-271-1/+3
|
* portal: Define constants for the D-Bus names and pathSimon McVittie2021-04-151-3/+4
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Drop more collection_id useAlexander Larsson2020-03-231-1/+0
| | | | | | | | | | | | | | | | | | | | Most code that looks for a regular collection id set on the remote is removed, as these should never happen in flatpak repo setups now. Some is replaces with looking at xa.sideload-collection-id: * The libflatpak FlatpakRef::collection-id property now comes comes from the sideload id * Various CLI commands showing or changing the collection-id for a remote now uses the sideload id * Collection id deploy in update now sets the sideload-collection-id instead * Setting the collection id for a remote in libflatpak now sets the sideload id Additionally we now delete the code that allows unsigned summaries when there is a collection id (because there is none). create-usb now uses the sideload id as as collection id source when exporting. The direct repo operations (export, bundle, commit-from) still support collection ids, because on the server we do want to set it so that we can sideload.
* tests: add some missing includesAlexander Larsson2019-12-201-0/+2
|
* update-portal: Add tests with changed permission errorsAlexander Larsson2019-10-021-0/+49
|
* tests: Test self-update via the update-portalAlexander Larsson2019-10-021-1/+195
| | | | We test a successful update, a null update and a failed update.
* test: Add test for update-portal monitoringAlexander Larsson2019-10-021-0/+198
We add socat to the test runtime, and then we use that to run a test app outside the sandbox as if it was inside. The testcase connects creates a monitor and ensure we properly get signals for updates.