# HG changeset patch # User rosfran # Date 1178204856 -3600 # Node ID 9df91aff54792e1a15fbbb1411eebcbc6aeaa3db # Parent 7427cb5b2469abdd0d4c06e657f79ea7314c3419 [svn r632] Added new LiveTV test case. diff -r 7427cb5b2469 -r 9df91aff5479 gmyth/tests/Makefile.am --- a/gmyth/tests/Makefile.am Thu May 03 16:05:04 2007 +0100 +++ b/gmyth/tests/Makefile.am Thu May 03 16:07:36 2007 +0100 @@ -43,6 +43,7 @@ test_filetransfer.py \ test_filelocal.py \ test_file_download.py \ + test_livetv_stress.py \ coverage.py TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) diff -r 7427cb5b2469 -r 9df91aff5479 gmyth/tests/test_livetv.py --- a/gmyth/tests/test_livetv.py Thu May 03 16:05:04 2007 +0100 +++ b/gmyth/tests/test_livetv.py Thu May 03 16:07:36 2007 +0100 @@ -1,10 +1,18 @@ #!/usr/bin/python -#doc: test gmyth_livetv_* methods +#doc: stress tests over gmyth_livetv_* methods from testing_tools import start, finish import sys p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2) +finish(p) + +p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2) + +finish(p) + +p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2) + sys.exit(finish(p)) diff -r 7427cb5b2469 -r 9df91aff5479 gmyth/tests/test_livetv_stress.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gmyth/tests/test_livetv_stress.py Thu May 03 16:07:36 2007 +0100 @@ -0,0 +1,18 @@ +#!/usr/bin/python + +#doc: stress tests over gmyth_livetv_* methods + +from testing_tools import start, finish +import sys + +p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2) + +finish(p) + +p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2) + +finish(p) + +p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2) + +sys.exit(finish(p))