Main Page
Namespaces
Classes
Files
File List
File Members
Namespaces
|
Functions
|
Variables
TestsConnection.py File Reference
Go to the source code of this file.
Namespaces
namespace
TestsConnection
Functions
def
TestsConnection.activate_components
Activate components.
def
TestsConnection.components_entry
AutoTestOut
and
AutoTestIn
are started.
def
TestsConnection.components_exit
AutoTestOut
and
AutoTestIn
are ended.
def
TestsConnection.connect_ports
ネームサーバー定義 env = RtmEnv(sys.argv, ["localhost:2809"]) list0 = env.name_space["localhost:2809"].list_obj() env.name_space['localhost:2809'].
rtc_handles.keys()
ns = env.name_space['localhost:2809']
def
TestsConnection.deactivate_components
Deactivate components.
def
TestsConnection.delete_recv_file
def
TestsConnection.diff_file
def
TestsConnection.disconnect_ports
Disconnects ports.
def
TestsConnection.initGlobal
Initialization of global variable.
def
TestsConnection.main
main
def
TestsConnection.make_connecter_profile
def
TestsConnection.test_activate_deactivate
Only activation and deactivation are repeated.
def
TestsConnection.test_activate_deactivate_2
Only activation and deactivation are repeated.
def
TestsConnection.test_connect_disconnect
Only the connection and cutting are repeated.
def
TestsConnection.test_connection
The connection, activate, deactivate, and cutting are repeated.
def
TestsConnection.test_connection_2
def
TestsConnection.test_connection_3
def
TestsConnection.test_connection_4
def
TestsConnection.test_connection_5
The connection, activate, deactivate, and cutting are repeated.
Variables
int
TestsConnection.case_no
= 0
string
TestsConnection.g_check_message
= " file not found."
string
TestsConnection.g_connector_id1
= "001"
string
TestsConnection.g_connector_id2
= "002"
string
TestsConnection.g_connector_id3
= "003"
string
TestsConnection.g_data_type1
= "TimedFloat"
string
TestsConnection.g_data_type2
= "TimedFloatSeq"
string
TestsConnection.g_dataflow_type
= "push"
string
TestsConnection.g_diff_recv_file
= "./received-data"
string
TestsConnection.g_diff_send_file
= "./original-data"
string
TestsConnection.g_interface_type1
= "corba_cdr"
string
TestsConnection.g_interface_type3
= "MyService"
string
TestsConnection.g_mess_footer
= " > "
string
TestsConnection.g_mess_header
= "< "
string
TestsConnection.g_name1
= "out"
データポート TimedFloat
string
TestsConnection.g_name2
= "seqout"
データポート TimedFloatSeq
string
TestsConnection.g_name3
= "MyService"
サービスポート
int
TestsConnection.g_port1
= 0
ポート番号指定 ( get_ports()より )
int
TestsConnection.g_port2
= 1
int
TestsConnection.g_port3
= 2
string
TestsConnection.g_push_policy
= "NEW"
string
TestsConnection.g_push_rate
= "2000"
string
TestsConnection.g_skip_count
= "4"
string
TestsConnection.g_subscription_type
= "flush"
string
TestsConnection.g_test_case
= ""
string
TestsConnection.g_test_cnt
= "count"
string
TestsConnection.g_test_name
= "<< component connection test >>"
string
TestsConnection.g_test_ng
= "F"
string
TestsConnection.g_test_ng_message
= " < received-data >"
string
TestsConnection.g_test_ok
= "."
string
TestsConnection.g_test_result_file
= "./ResultTest.log"
int
TestsConnection.loop_count
= 1
ケース毎のテスト回数
int
TestsConnection.sleep_act_time
= 2
activate_componentからdeactivate_componentまでのスリープ時間(秒数)
int
TestsConnection.sleep_connect_time
= 1
connectからdisconnectまでのスリープ時間(秒数)
int
TestsConnection.sleep_for_time
= 1
forループのスリープ時間(秒数)
int
TestsConnection.sleep_recv_act_time
= 1
受信側activate_componentから送信側activate_componentまでのスリープ時間(秒数)
list
TestsConnection.test_table
Test table.
openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:39