883c3c1...
by
Joaquim Rocha <email address hidden>
Reset the progress to 0 when setting a non-action state
Per hughsie, when setting a non-action state, the apps' progress should
be reset to 0.
This patch adds that and also its coverage in the dummy plugin's tests.
fe3f767...
by
Joaquim Rocha <email address hidden>
flatpak: Remove repo symlink before creating a new one in unit tests
Before creating the repo symlink in the self test's folder, we need to
make sure that any existing link is removed (as tests share the same
folder currently).
62c7a80...
by
Joaquim Rocha <email address hidden>
flatpak: Remove runtime and remote after their use in a unit test
In the runtime extensions test, the used runtime and remote were not
getting removed after being used. This could cause some issues in tests
performed after this one (e.g. trying to install a remote when there's
one that exists already).
68eba09...
by
Joaquim Rocha <email address hidden>
flatpak: Remove checking the apps' progress in the tests
The progress was being checked after apps were installed in the unit
tests, but this may fail depending on the versions of Flatpak/ostree
since it is managed by those libraries, and it should not be the
responsibility of the Flatpak plugin to test the progress in any case.
This patch thus removes the mentioned checks.
07e9d67...
by
Philip Withnall <email address hidden>
gs-details-page: Drop workarounds for locales with codesets
Signed-off-by: Philip Withnall <email address hidden>
ed84b7a...
by
Philip Withnall <email address hidden>
gs-content-rating: Correctly parse locale names
Fix the matching system for locale names so that it correctly identifies
(for example) LANG=en_GB.UTF-8 as being en_GB, rather than being
confused by the codeset suffix.
Add some unit tests.
Signed-off-by: Philip Withnall <email address hidden>