diff options
author | Will Thompson <wjt@endlessm.com> | 2019-11-29 17:47:37 +0000 |
---|---|---|
committer | Will Thompson <will@willthompson.co.uk> | 2019-11-29 20:15:08 +0000 |
commit | babb2da71a7d35286a25c7e4d2225b6f9809e1b8 (patch) | |
tree | c46b3bb7d243a87f215f84e43dfea4d5e1248964 /tests/test-run.sh | |
parent | ad86e1ad451910be705c8ea79d954637a81ff0ec (diff) | |
download | flatpak-babb2da71a7d35286a25c7e4d2225b6f9809e1b8.tar.gz |
tests: test search-provider DefaultDisabled logic
2ebf67286660f5111baac379fd44a401f57b40bb introduced special handling to
mark exported GNOME Shell search provider .ini files as disabled by
default. This functionality was not previously tested.
Diffstat (limited to 'tests/test-run.sh')
-rw-r--r-- | tests/test-run.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-run.sh b/tests/test-run.sh index 18ee1d9f..fecb756e 100644 --- a/tests/test-run.sh +++ b/tests/test-run.sh @@ -46,6 +46,8 @@ assert_has_dir $FL_DIR/app/org.test.Hello/$ARCH/stable/active/export assert_has_file $FL_DIR/exports/share/applications/org.test.Hello.desktop # Ensure Exec key is rewritten assert_file_has_content $FL_DIR/exports/share/applications/org.test.Hello.desktop "^Exec=.*/flatpak run --branch=stable --arch=$ARCH --command=hello\.sh org\.test\.Hello$" +assert_has_file $FL_DIR/exports/share/gnome-shell/search-providers/org.test.Hello.search-provider.ini +assert_file_has_content $FL_DIR/exports/share/gnome-shell/search-providers/org.test.Hello.search-provider.ini "^DefaultDisabled=true$" assert_has_file $FL_DIR/exports/share/icons/hicolor/64x64/apps/org.test.Hello.png assert_not_has_file $FL_DIR/exports/share/icons/hicolor/64x64/apps/dont-export.png assert_has_file $FL_DIR/exports/share/icons/HighContrast/64x64/apps/org.test.Hello.png |