mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-10-16 00:28:49 +00:00
This adds a script that checks for common whitespace issues (per our house style) and can (if run with --write) correct some of them. It adds a run of the script (without --write) to the tox config, and includes fixes for all the issues the script discovered in the existing tests and libs. Signed-off-by: Adam Williamson <awilliam@redhat.com>
31 lines
644 B
Perl
31 lines
644 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
# This test tests if Terminal starts.
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
# open the application
|
|
menu_launch_type "terminal";
|
|
assert_screen "apps_run_terminal";
|
|
|
|
# Register application
|
|
register_application("gnome-terminal");
|
|
|
|
# Close the application
|
|
quit_with_shortcut();
|
|
}
|
|
|
|
# If this test fails, the others will probably start failing too,
|
|
# so there is no need to continue.
|
|
# Also, when subsequent tests fail, the suite will revert to this state for further testing.
|
|
sub test_flags {
|
|
return { fatal => 1, milestone => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|