gnome-software:wip/improve-tests

Last commit made on 2019-01-25
Get this branch:
git clone -b wip/improve-tests https://git.launchpad.net/gnome-software

Branch merges

Branch information

Name:
wip/improve-tests
Repository:
lp:gnome-software

Recent commits

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

gs_utils_content_rating_system_from_locale() correctly parses locales
now.

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>

2e721fc... by Robert Ancell

icons: Use the currently selected icon theme for stock icons

Previously only the GNOME default icon theme was used.

ad85776... by id:sicklylife

Update Japanese translation

87bd9f9... by id:sicklylife

Update Japanese translation

8f2c296... by Philip Withnall <email address hidden>

gs-content-rating: Expand a contraction in a translatable string

Some style guides recommend this kind of thing.

Signed-off-by: Philip Withnall <email address hidden>

https://gitlab.gnome.org/GNOME/gnome-software/issues/566