Namespaces | Functions | Variables
TestsConnection.py File Reference

Go to the source code of this file.

Namespaces

 TestsConnection
 

Functions

def TestsConnection.activate_components (sleep_recv_act_time)
 Activate components. More...
 
def TestsConnection.components_entry ()
 AutoTestOut and AutoTestIn are started. More...
 
def TestsConnection.components_exit ()
 AutoTestOut and AutoTestIn are ended. More...
 
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'] More...
 
def TestsConnection.deactivate_components ()
 Deactivate components. More...
 
def TestsConnection.delete_recv_file ()
 

内部関数:受信ファイル削除 More...

 
def TestsConnection.diff_file ()
 

内部関数:送受信ファイルのデータ比較 More...

 
def TestsConnection.disconnect_ports ()
 Disconnects ports. More...
 
def TestsConnection.initGlobal ()
 Initialization of global variable. More...
 
def TestsConnection.main ()
 main More...
 
def TestsConnection.make_connecter_profile (subscription_type, push_policy, connect_direction)
 

内部関数:コネクタープロファイル設定(データポート) More...

 
def TestsConnection.test_activate_deactivate (message, arg0, arg1, arg2)
 Only activation and deactivation are repeated. More...
 
def TestsConnection.test_activate_deactivate_2 (message, arg0, arg1, arg2)
 Only activation and deactivation are repeated. More...
 
def TestsConnection.test_connect_disconnect (message, arg0, arg1, arg2)
 Only the connection and cutting are repeated. More...
 
def TestsConnection.test_connection (message, arg0, arg1, arg2)
 The connection, activate, deactivate, and cutting are repeated. More...
 
def TestsConnection.test_connection_2 (message, arg0, arg1, arg2)
 
def TestsConnection.test_connection_3 (message, arg0, arg1, arg2)
 
def TestsConnection.test_connection_4 (message, arg0, arg1, arg2)
 
def TestsConnection.test_connection_5 (message, arg0, arg1, arg2)
 The connection, activate, deactivate, and cutting are repeated. More...
 

Variables

int TestsConnection.case_no = 0
 

テストケース番号の初期値設定 上から連番を振っている More...

 
string TestsConnection.g_check_message = g_diff_recv_file+" 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"
 

送受信結果判定関連 More...

 
string TestsConnection.g_interface_type1 = "corba_cdr"
 

コネクタープロファイルデフォルト定義 More...

 
string TestsConnection.g_interface_type3 = "MyService"
 
string TestsConnection.g_mess_footer = " > "
 
string TestsConnection.g_mess_header = "< "
 
string TestsConnection.g_name1 = "out"
 データポート TimedFloat More...
 
string TestsConnection.g_name2 = "seqout"
 データポート TimedFloatSeq More...
 
string TestsConnection.g_name3 = "MyService"
 サービスポート More...
 
int TestsConnection.g_port1 = 0
 ポート番号指定 ( get_ports()より ) More...
 
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 >>"
 
More...
 
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
 ケース毎のテスト回数 More...
 
int TestsConnection.sleep_act_time = 2
 activate_componentからdeactivate_componentまでのスリープ時間(秒数) More...
 
int TestsConnection.sleep_connect_time = 1
 connectからdisconnectまでのスリープ時間(秒数) More...
 
int TestsConnection.sleep_for_time = 1
 forループのスリープ時間(秒数) More...
 
int TestsConnection.sleep_recv_act_time = 1
 受信側activate_componentから送信側activate_componentまでのスリープ時間(秒数) More...
 
list TestsConnection.test_table
 Test table. More...
 


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Jun 6 2019 19:26:01