[svn r632] Added new LiveTV test case.
1.1 --- a/gmyth/tests/Makefile.am Thu May 03 16:05:04 2007 +0100
1.2 +++ b/gmyth/tests/Makefile.am Thu May 03 16:07:36 2007 +0100
1.3 @@ -43,6 +43,7 @@
1.4 test_filetransfer.py \
1.5 test_filelocal.py \
1.6 test_file_download.py \
1.7 + test_livetv_stress.py \
1.8 coverage.py
1.9
1.10 TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir)
2.1 --- a/gmyth/tests/test_livetv.py Thu May 03 16:05:04 2007 +0100
2.2 +++ b/gmyth/tests/test_livetv.py Thu May 03 16:07:36 2007 +0100
2.3 @@ -1,10 +1,18 @@
2.4 #!/usr/bin/python
2.5
2.6 -#doc: test gmyth_livetv_* methods
2.7 +#doc: stress tests over gmyth_livetv_* methods
2.8
2.9 from testing_tools import start, finish
2.10 import sys
2.11
2.12 p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2)
2.13
2.14 +finish(p)
2.15 +
2.16 +p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2)
2.17 +
2.18 +finish(p)
2.19 +
2.20 +p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2)
2.21 +
2.22 sys.exit(finish(p))
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/gmyth/tests/test_livetv_stress.py Thu May 03 16:07:36 2007 +0100
3.3 @@ -0,0 +1,18 @@
3.4 +#!/usr/bin/python
3.5 +
3.6 +#doc: stress tests over gmyth_livetv_* methods
3.7 +
3.8 +from testing_tools import start, finish
3.9 +import sys
3.10 +
3.11 +p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2)
3.12 +
3.13 +finish(p)
3.14 +
3.15 +p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2)
3.16 +
3.17 +finish(p)
3.18 +
3.19 +p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2)
3.20 +
3.21 +sys.exit(finish(p))