Public Member Functions | |
| def | setUp |
| def | test_run |
Private Member Functions | |
| def | _dummy |
| def | _execute_case |
| def | _read_input_data |
| def | _send_spi_response |
| def | _send_spi_stream |
| def | _sr_response |
Private Attributes | |
| _interface | |
| _message | |
| _pub_spi | |
| _pub_spi_stream | |
| _ready | |
| _SPI_RESPONSE_TOPIC_NAME | |
| _SPI_STREAM_TOPIC_NAME | |
| _sr_req_id | |
| _wait_count | |
| _wait_flag | |
Speech Recognition Test class
Definition at line 22 of file test_rospeex_sr_stream.py.
| def test_rospeex_sr_stream.TestRospeexSR._dummy | ( | self | ) | [private] |
Definition at line 119 of file test_rospeex_sr_stream.py.
| def test_rospeex_sr_stream.TestRospeexSR._execute_case | ( | self, | |
| voice_data, | |||
| target_lang, | |||
| target_engine | |||
| ) | [private] |
execute test case @param voice data: voice data (binary wav) @type voice data: str @param target_lang: recognition ranguage @type target_lang: str @param target_engine: target speech recognition engine @type target_engine: str (nict | google | microsoft)
Definition at line 63 of file test_rospeex_sr_stream.py.
| def test_rospeex_sr_stream.TestRospeexSR._read_input_data | ( | self, | |
| target_file | |||
| ) | [private] |
read input data @param target_file: target test data @type target_file: str
Definition at line 48 of file test_rospeex_sr_stream.py.
| def test_rospeex_sr_stream.TestRospeexSR._send_spi_response | ( | self, | |
| voice_data | |||
| ) | [private] |
publish /spi_response topic @param voice_data: voice data (binary wav) @type voice_data: str
Definition at line 105 of file test_rospeex_sr_stream.py.
| def test_rospeex_sr_stream.TestRospeexSR._send_spi_stream | ( | self, | |
| voice_data, | |||
| packet_type | |||
| ) | [private] |
publish /spi_stream topic @param voice_data: voice data (binary wav) @type voice_data: str @param packet_type: send packet type (PacketType) @type packet_type: integer
Definition at line 87 of file test_rospeex_sr_stream.py.
| def test_rospeex_sr_stream.TestRospeexSR._sr_response | ( | self, | |
| message | |||
| ) | [private] |
speech synthesis response callback @param message: message class @type message: str
Definition at line 35 of file test_rospeex_sr_stream.py.
| def test_rospeex_sr_stream.TestRospeexSR.setUp | ( | self | ) |
Definition at line 24 of file test_rospeex_sr_stream.py.
| def test_rospeex_sr_stream.TestRospeexSR.test_run | ( | self | ) |
Definition at line 122 of file test_rospeex_sr_stream.py.
Definition at line 24 of file test_rospeex_sr_stream.py.
Definition at line 24 of file test_rospeex_sr_stream.py.
Definition at line 122 of file test_rospeex_sr_stream.py.
Definition at line 122 of file test_rospeex_sr_stream.py.
Definition at line 24 of file test_rospeex_sr_stream.py.
Definition at line 24 of file test_rospeex_sr_stream.py.
Definition at line 24 of file test_rospeex_sr_stream.py.
Definition at line 24 of file test_rospeex_sr_stream.py.
Definition at line 24 of file test_rospeex_sr_stream.py.
Definition at line 24 of file test_rospeex_sr_stream.py.