tests: cleanup the basic structure of integration tests.
This commit is contained in:
parent
206bc3473d
commit
7b4e01217b
46 changed files with 50 additions and 502 deletions
|
|
@ -5,48 +5,30 @@
|
|||
|
||||
load common
|
||||
|
||||
setup_file() {
|
||||
aa_setup
|
||||
}
|
||||
|
||||
# bats test_tags=flatpak
|
||||
@test "flatpak: List installed applications, ignoring runtimes" {
|
||||
flatpak list --app
|
||||
aa_check
|
||||
}
|
||||
|
||||
# bats test_tags=flatpak
|
||||
@test "flatpak: Install an application from a remote source" {
|
||||
flatpak install --noninteractive org.vim.Vim
|
||||
aa_check
|
||||
}
|
||||
|
||||
# bats test_tags=flatpak
|
||||
@test "flatpak: Show information about an installed application" {
|
||||
flatpak info org.vim.Vim
|
||||
aa_check
|
||||
}
|
||||
|
||||
# bats test_tags=flatpak
|
||||
@test "flatpak: Run an installed application" {
|
||||
flatpak run org.vim.Vim
|
||||
aa_check
|
||||
}
|
||||
|
||||
# bats test_tags=flatpak
|
||||
@test "flatpak: Update all installed applications and runtimes" {
|
||||
flatpak update --noninteractive
|
||||
aa_check
|
||||
}
|
||||
|
||||
# bats test_tags=flatpak
|
||||
@test "flatpak: Remove an installed application" {
|
||||
flatpak remove --noninteractive org.vim.Vim
|
||||
aa_check
|
||||
}
|
||||
|
||||
# bats test_tags=flatpak
|
||||
@test "flatpak: Remove all unused applications" {
|
||||
flatpak remove --unused
|
||||
aa_check
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue