diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-12-22 18:54:58 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-12-22 18:54:58 +0000 |
commit | 0723dbc601c74330f792db67ad75f6d580c30d8b (patch) | |
tree | a10e1cc45bdeb80210168f2e26421ae0d7e7295d /tests/pjsua/scripts-media-playrec | |
parent | 341dea971f9d548cc922f5f3446d80130a1d57d9 (diff) |
Created top-level directory tests and moved test-pjsua there. This will be the placeholder for future developed tests
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2392 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua/scripts-media-playrec')
12 files changed, 132 insertions, 0 deletions
diff --git a/tests/pjsua/scripts-media-playrec/100_resample_lf_11_16.py b/tests/pjsua/scripts-media-playrec/100_resample_lf_11_16.py new file mode 100644 index 00000000..41dd7d43 --- /dev/null +++ b/tests/pjsua/scripts-media-playrec/100_resample_lf_11_16.py @@ -0,0 +1,11 @@ +# $Id$ +# +from inc_cfg import * + +# simple test +test_param = TestParam( + "Resample (large filter) 11 KHZ to 16 KHZ", + [ + InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 16000 --play-file wavs/input.11.wav --rec-file wavs/tmp.16.wav") + ] + ) diff --git a/tests/pjsua/scripts-media-playrec/100_resample_lf_11_22.py b/tests/pjsua/scripts-media-playrec/100_resample_lf_11_22.py new file mode 100644 index 00000000..d966a1f5 --- /dev/null +++ b/tests/pjsua/scripts-media-playrec/100_resample_lf_11_22.py @@ -0,0 +1,11 @@ +# $Id$ +# +from inc_cfg import * + +# simple test +test_param = TestParam( + "Resample (large filter) 11 KHZ to 22 KHZ", + [ + InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 22050 --play-file wavs/input.11.wav --rec-file wavs/tmp.22.wav") + ] + ) diff --git a/tests/pjsua/scripts-media-playrec/100_resample_lf_11_32.py b/tests/pjsua/scripts-media-playrec/100_resample_lf_11_32.py new file mode 100644 index 00000000..a00c5257 --- /dev/null +++ b/tests/pjsua/scripts-media-playrec/100_resample_lf_11_32.py @@ -0,0 +1,11 @@ +# $Id$ +# +from inc_cfg import * + +# simple test +test_param = TestParam( + "Resample (large filter) 11 KHZ to 32 KHZ", + [ + InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 32000 --play-file wavs/input.11.wav --rec-file wavs/tmp.32.wav") + ] + ) diff --git a/tests/pjsua/scripts-media-playrec/100_resample_lf_11_44.py b/tests/pjsua/scripts-media-playrec/100_resample_lf_11_44.py new file mode 100644 index 00000000..89aadcfa --- /dev/null +++ b/tests/pjsua/scripts-media-playrec/100_resample_lf_11_44.py @@ -0,0 +1,11 @@ +# $Id$ +# +from inc_cfg import * + +# simple test +test_param = TestParam( + "Resample (large filter) 11 KHZ to 44 KHZ", + [ + InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 44100 --play-file wavs/input.11.wav --rec-file wavs/tmp.44.wav") + ] + ) diff --git a/tests/pjsua/scripts-media-playrec/100_resample_lf_11_48.py b/tests/pjsua/scripts-media-playrec/100_resample_lf_11_48.py new file mode 100644 index 00000000..9a4e93b5 --- /dev/null +++ b/tests/pjsua/scripts-media-playrec/100_resample_lf_11_48.py @@ -0,0 +1,11 @@ +# $Id$ +# +from inc_cfg import * + +# simple test +test_param = TestParam( + "Resample (large filter) 11 KHZ to 48 KHZ", + [ + InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 48000 --play-file wavs/input.11.wav --rec-file wavs/tmp.48.wav") + ] + ) diff --git a/tests/pjsua/scripts-media-playrec/100_resample_lf_11_8.py b/tests/pjsua/scripts-media-playrec/100_resample_lf_11_8.py new file mode 100644 index 00000000..5813b0b4 --- /dev/null +++ b/tests/pjsua/scripts-media-playrec/100_resample_lf_11_8.py @@ -0,0 +1,11 @@ +# $Id$ +# +from inc_cfg import * + +# simple test +test_param = TestParam( + "Resample (large filter) 11 KHZ to 8 KHZ", + [ + InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 8000 --play-file wavs/input.11.wav --rec-file wavs/tmp.8.wav") + ] + ) diff --git a/tests/pjsua/scripts-media-playrec/100_resample_lf_8_11.py b/tests/pjsua/scripts-media-playrec/100_resample_lf_8_11.py new file mode 100644 index 00000000..7d19f6f5 --- /dev/null +++ b/tests/pjsua/scripts-media-playrec/100_resample_lf_8_11.py @@ -0,0 +1,11 @@ +# $Id$ +# +from inc_cfg import * + +# simple test +test_param = TestParam( + "Resample (large filter) 8 KHZ to 11 KHZ", + [ + InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 11025 --play-file wavs/input.8.wav --rec-file wavs/tmp.11.wav") + ] + ) diff --git a/tests/pjsua/scripts-media-playrec/100_resample_lf_8_16.py b/tests/pjsua/scripts-media-playrec/100_resample_lf_8_16.py new file mode 100644 index 00000000..b9361757 --- /dev/null +++ b/tests/pjsua/scripts-media-playrec/100_resample_lf_8_16.py @@ -0,0 +1,11 @@ +# $Id$ +# +from inc_cfg import * + +# simple test +test_param = TestParam( + "Resample (large filter) 8 KHZ to 16 KHZ", + [ + InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 16000 --play-file wavs/input.8.wav --rec-file wavs/tmp.16.wav") + ] + ) diff --git a/tests/pjsua/scripts-media-playrec/100_resample_lf_8_22.py b/tests/pjsua/scripts-media-playrec/100_resample_lf_8_22.py new file mode 100644 index 00000000..268c6a5b --- /dev/null +++ b/tests/pjsua/scripts-media-playrec/100_resample_lf_8_22.py @@ -0,0 +1,11 @@ +# $Id$ +# +from inc_cfg import * + +# simple test +test_param = TestParam( + "Resample (large filter) 8 KHZ to 22 KHZ", + [ + InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 22050 --play-file wavs/input.8.wav --rec-file wavs/tmp.22.wav") + ] + ) diff --git a/tests/pjsua/scripts-media-playrec/100_resample_lf_8_32.py b/tests/pjsua/scripts-media-playrec/100_resample_lf_8_32.py new file mode 100644 index 00000000..05f3a30a --- /dev/null +++ b/tests/pjsua/scripts-media-playrec/100_resample_lf_8_32.py @@ -0,0 +1,11 @@ +# $Id$ +# +from inc_cfg import * + +# simple test +test_param = TestParam( + "Resample (large filter) 8 KHZ to 32 KHZ", + [ + InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 32000 --play-file wavs/input.8.wav --rec-file wavs/tmp.32.wav") + ] + ) diff --git a/tests/pjsua/scripts-media-playrec/100_resample_lf_8_44.py b/tests/pjsua/scripts-media-playrec/100_resample_lf_8_44.py new file mode 100644 index 00000000..73e4b109 --- /dev/null +++ b/tests/pjsua/scripts-media-playrec/100_resample_lf_8_44.py @@ -0,0 +1,11 @@ +# $Id$ +# +from inc_cfg import * + +# simple test +test_param = TestParam( + "Resample (large filter) 8 KHZ to 44 KHZ", + [ + InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 44100 --play-file wavs/input.8.wav --rec-file wavs/tmp.44.wav") + ] + ) diff --git a/tests/pjsua/scripts-media-playrec/100_resample_lf_8_48.py b/tests/pjsua/scripts-media-playrec/100_resample_lf_8_48.py new file mode 100644 index 00000000..4d72603f --- /dev/null +++ b/tests/pjsua/scripts-media-playrec/100_resample_lf_8_48.py @@ -0,0 +1,11 @@ +# $Id$ +# +from inc_cfg import * + +# simple test +test_param = TestParam( + "Resample (large filter) 8 KHZ to 48 KHZ", + [ + InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 48000 --play-file wavs/input.8.wav --rec-file wavs/tmp.48.wav") + ] + ) |