Add mutt_test to the test runs, this test tries to emulate a real
curses application to test the interaction of various curses calls.
This commit is contained in:
parent
cd641597e2
commit
c395ca4a40
|
@ -2187,6 +2187,20 @@ wunderscore_body()
|
|||
h_run wunderscore
|
||||
}
|
||||
|
||||
##########################################
|
||||
# Simulate curses application behaviour
|
||||
##########################################
|
||||
|
||||
atf_test_case mutt_test
|
||||
mutt_test_head()
|
||||
{
|
||||
atf_set "descr" "Try to emulate a curses application"
|
||||
}
|
||||
mutt_test_body()
|
||||
{
|
||||
h_run mutt_test
|
||||
}
|
||||
|
||||
atf_init_test_cases()
|
||||
{
|
||||
# testframe utility functions
|
||||
|
@ -2444,4 +2458,7 @@ atf_init_test_cases()
|
|||
# curses underscore attribute manipulation routines
|
||||
atf_add_test_case underscore
|
||||
atf_add_test_case wunderscore
|
||||
|
||||
# emulate a curses application
|
||||
atf_add_test_case mutt_test
|
||||
}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
#
|
||||
# This test attempts to emulate some of the behaviours of mutt, it is neither
|
||||
# an exact nor complete emulation of what mutt does but it does test the
|
||||
# interaction of various call types.
|
||||
#
|
||||
include start_color
|
||||
include fill_screen
|
||||
comparend mutt_test1.chk
|
||||
|
|
Loading…
Reference in New Issue