Add some more missing basic testcases.

master
Ville Skyttä 2010-04-21 19:45:33 +03:00
parent 38e9ef18b2
commit 1267cf8bd2
10 changed files with 105 additions and 0 deletions

View File

@ -0,0 +1 @@
assert_source_completions rpcdebug

View File

@ -0,0 +1 @@
assert_source_completions strace

View File

@ -0,0 +1 @@
assert_source_completions xmllint

View File

@ -0,0 +1 @@
assert_source_completions xmlwf

View File

@ -0,0 +1 @@
assert_source_completions xrandr

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}; # setup()
proc teardown {} {
assert_env_unmodified
}; # teardown()
setup
assert_complete_any "rpcdebug -"
sync_after_int
teardown

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}; # setup()
proc teardown {} {
assert_env_unmodified
}; # teardown()
setup
assert_complete_any "strace -"
sync_after_int
teardown

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}; # setup()
proc teardown {} {
assert_env_unmodified
}; # teardown()
setup
assert_complete_any "xmllint "
sync_after_int
teardown

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}; # setup()
proc teardown {} {
assert_env_unmodified
}; # teardown()
setup
assert_complete_any "xmlwf "
sync_after_int
teardown

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}; # setup()
proc teardown {} {
assert_env_unmodified
}; # teardown()
setup
assert_complete_any "xrandr "
sync_after_int
teardown