Functions | |
def | activate_components |
Activate components. | |
def | components_entry |
AutoTestOut and AutoTestIn are started. | |
def | components_exit |
AutoTestOut and AutoTestIn are ended. | |
def | 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 | deactivate_components |
Deactivate components. | |
def | delete_recv_file |
def | diff_file |
def | disconnect_ports |
Disconnects ports. | |
def | initGlobal |
Initialization of global variable. | |
def | main |
main | |
def | make_connecter_profile |
def | test_activate_deactivate |
Only activation and deactivation are repeated. | |
def | test_activate_deactivate_2 |
Only activation and deactivation are repeated. | |
def | test_connect_disconnect |
Only the connection and cutting are repeated. | |
def | test_connection |
The connection, activate, deactivate, and cutting are repeated. | |
def | test_connection_2 |
def | test_connection_3 |
def | test_connection_4 |
def | test_connection_5 |
The connection, activate, deactivate, and cutting are repeated. | |
Variables | |
int | case_no = 0 |
string | g_check_message = " file not found." |
string | g_connector_id1 = "001" |
string | g_connector_id2 = "002" |
string | g_connector_id3 = "003" |
string | g_data_type1 = "TimedFloat" |
string | g_data_type2 = "TimedFloatSeq" |
string | g_dataflow_type = "push" |
string | g_diff_recv_file = "./received-data" |
string | g_diff_send_file = "./original-data" |
string | g_interface_type1 = "corba_cdr" |
string | g_interface_type3 = "MyService" |
string | g_mess_footer = " > " |
string | g_mess_header = "< " |
string | g_name1 = "out" |
�ǡ����ݡ��� TimedFloat | |
string | g_name2 = "seqout" |
�ǡ����ݡ��� TimedFloatSeq | |
string | g_name3 = "MyService" |
�����ӥ��ݡ��� | |
int | g_port1 = 0 |
�ݡ����ֹ���� ( get_ports()��� ) | |
int | g_port2 = 1 |
int | g_port3 = 2 |
string | g_push_policy = "NEW" |
string | g_push_rate = "2000" |
string | g_skip_count = "4" |
string | g_subscription_type = "flush" |
string | g_test_case = "" |
string | g_test_cnt = "count" |
string | g_test_name = "<< component connection test >>" |
string | g_test_ng = "F" |
string | g_test_ng_message = " < received-data >" |
string | g_test_ok = "." |
string | g_test_result_file = "./ResultTest.log" |
int | loop_count = 1 |
��������Υƥ��Ȳ�� | |
int | sleep_act_time = 2 |
activate_component����deactivate_component�ޤǤΥ������(�ÿ�) | |
int | sleep_connect_time = 1 |
connect����disconnect�ޤǤΥ������(�ÿ�) | |
int | sleep_for_time = 1 |
for�롼�פΥ������(�ÿ�) | |
int | sleep_recv_act_time = 1 |
����¦activate_component��������¦activate_component�ޤǤΥ������(�ÿ�) | |
list | test_table |
Test table. |
def TestsConnection.activate_components | ( | sleep_recv_act_time | ) |
Activate components.
Definition at line 149 of file TestsConnection.py.
def TestsConnection.components_entry | ( | ) |
AutoTestOut and AutoTestIn are started.
Definition at line 187 of file TestsConnection.py.
def TestsConnection.components_exit | ( | ) |
AutoTestOut and AutoTestIn are ended.
Definition at line 223 of file TestsConnection.py.
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']
Connects ports.
Definition at line 100 of file TestsConnection.py.
Deactivate components.
Definition at line 170 of file TestsConnection.py.
def TestsConnection.delete_recv_file | ( | ) |
-------------------------------------------------------------------- �����ؿ��������ե�������
(����) �ʤ� --------------------------------------------------------------------
Definition at line 281 of file TestsConnection.py.
def TestsConnection.diff_file | ( | ) |
-------------------------------------------------------------------- �����ؿ����������ե�����Υǡ������
(����) �ʤ� (�����) True : ���ס� False : ���� --------------------------------------------------------------------
Definition at line 295 of file TestsConnection.py.
def TestsConnection.disconnect_ports | ( | ) |
Disconnects ports.
Definition at line 127 of file TestsConnection.py.
def TestsConnection.initGlobal | ( | ) |
Initialization of global variable.
Definition at line 236 of file TestsConnection.py.
def TestsConnection.main | ( | ) |
main
Definition at line 1249 of file TestsConnection.py.
def TestsConnection.make_connecter_profile | ( | subscription_type, | |
push_policy, | |||
connect_direction | |||
) |
-------------------------------------------------------------------- �����ؿ������ͥ������ץ��ե���������(�ǡ����ݡ���)
(����) subscription_type : "flush", "new", "periodic" push_policy : "ALL", "FIFO", "SKIP", "NEW", "" connect_direction : 0:outport -> inport, 1:inport -> outport --------------------------------------------------------------------
Definition at line 251 of file TestsConnection.py.
def TestsConnection.test_activate_deactivate | ( | message, | |
arg0, | |||
arg1, | |||
arg2 | |||
) |
Only activation and deactivation are repeated.
Activate and Deactivate are repeated while connected.
Definition at line 495 of file TestsConnection.py.
def TestsConnection::test_activate_deactivate_2 | ( | message, | |
arg0, | |||
arg1, | |||
arg2 | |||
) |
Only activation and deactivation are repeated.
Activate and Deactivate are repeated while connected. Data is not checked.
Activate and Deactivate are repeated without connecting it.
Definition at line 417 of file TestsConnection.py.
def TestsConnection.test_connect_disconnect | ( | message, | |
arg0, | |||
arg1, | |||
arg2 | |||
) |
Only the connection and cutting are repeated.
Definition at line 367 of file TestsConnection.py.
def TestsConnection.test_connection | ( | message, | |
arg0, | |||
arg1, | |||
arg2 | |||
) |
The connection, activate, deactivate, and cutting are repeated.
Definition at line 713 of file TestsConnection.py.
def TestsConnection.test_connection_2 | ( | message, | |
arg0, | |||
arg1, | |||
arg2 | |||
) |
Definition at line 804 of file TestsConnection.py.
def TestsConnection.test_connection_3 | ( | message, | |
arg0, | |||
arg1, | |||
arg2 | |||
) |
Definition at line 899 of file TestsConnection.py.
def TestsConnection.test_connection_4 | ( | message, | |
arg0, | |||
arg1, | |||
arg2 | |||
) |
Definition at line 983 of file TestsConnection.py.
def TestsConnection.test_connection_5 | ( | message, | |
arg0, | |||
arg1, | |||
arg2 | |||
) |
The connection, activate, deactivate, and cutting are repeated.
Data is not checked.
Definition at line 636 of file TestsConnection.py.
int TestsConnection::case_no = 0 |
-------------------------------------------------------------------- �ƥ��ȥ������ֹ�ν�������� �夫��Ϣ�֤äƤ���
Definition at line 70 of file TestsConnection.py.
string TestsConnection::g_check_message = " file not found." |
Definition at line 54 of file TestsConnection.py.
string TestsConnection::g_connector_id1 = "001" |
Definition at line 37 of file TestsConnection.py.
string TestsConnection::g_connector_id2 = "002" |
Definition at line 42 of file TestsConnection.py.
string TestsConnection::g_connector_id3 = "003" |
Definition at line 47 of file TestsConnection.py.
string TestsConnection::g_data_type1 = "TimedFloat" |
Definition at line 38 of file TestsConnection.py.
string TestsConnection::g_data_type2 = "TimedFloatSeq" |
Definition at line 43 of file TestsConnection.py.
string TestsConnection::g_dataflow_type = "push" |
Definition at line 23 of file TestsConnection.py.
string TestsConnection::g_diff_recv_file = "./received-data" |
Definition at line 53 of file TestsConnection.py.
string TestsConnection::g_diff_send_file = "./original-data" |
-------------------------------------------------------------------- ���������Ƚ���Ϣ
Definition at line 52 of file TestsConnection.py.
string TestsConnection::g_interface_type1 = "corba_cdr" |
-------------------------------------------------------------------- ���ͥ������ץ��ե�����ǥե�������
Definition at line 22 of file TestsConnection.py.
string TestsConnection::g_interface_type3 = "MyService" |
Definition at line 48 of file TestsConnection.py.
string TestsConnection::g_mess_footer = " > " |
Definition at line 62 of file TestsConnection.py.
string TestsConnection::g_mess_header = "< " |
Definition at line 61 of file TestsConnection.py.
string TestsConnection::g_name1 = "out" |
�ǡ����ݡ��� TimedFloat
Definition at line 36 of file TestsConnection.py.
string TestsConnection::g_name2 = "seqout" |
�ǡ����ݡ��� TimedFloatSeq
Definition at line 41 of file TestsConnection.py.
string TestsConnection::g_name3 = "MyService" |
�����ӥ��ݡ���
Definition at line 46 of file TestsConnection.py.
int TestsConnection::g_port1 = 0 |
�ݡ����ֹ���� ( get_ports()��� )
Definition at line 31 of file TestsConnection.py.
int TestsConnection::g_port2 = 1 |
Definition at line 32 of file TestsConnection.py.
int TestsConnection::g_port3 = 2 |
Definition at line 33 of file TestsConnection.py.
string TestsConnection::g_push_policy = "NEW" |
Definition at line 25 of file TestsConnection.py.
string TestsConnection::g_push_rate = "2000" |
Definition at line 26 of file TestsConnection.py.
string TestsConnection::g_skip_count = "4" |
Definition at line 27 of file TestsConnection.py.
string TestsConnection::g_subscription_type = "flush" |
Definition at line 24 of file TestsConnection.py.
string TestsConnection::g_test_case = "" |
Definition at line 56 of file TestsConnection.py.
string TestsConnection::g_test_cnt = "count" |
Definition at line 57 of file TestsConnection.py.
string TestsConnection::g_test_name = "<< component connection test >>" |
--------------------------------------------------------------------
Definition at line 18 of file TestsConnection.py.
string TestsConnection::g_test_ng = "F" |
Definition at line 59 of file TestsConnection.py.
string TestsConnection::g_test_ng_message = " < received-data >" |
Definition at line 60 of file TestsConnection.py.
string TestsConnection::g_test_ok = "." |
Definition at line 58 of file TestsConnection.py.
string TestsConnection::g_test_result_file = "./ResultTest.log" |
Definition at line 55 of file TestsConnection.py.
int TestsConnection::loop_count = 1 |
��������Υƥ��Ȳ��
Definition at line 73 of file TestsConnection.py.
int TestsConnection::sleep_act_time = 2 |
activate_component����deactivate_component�ޤǤΥ������(�ÿ�)
Definition at line 79 of file TestsConnection.py.
connect����disconnect�ޤǤΥ������(�ÿ�)
Definition at line 85 of file TestsConnection.py.
int TestsConnection::sleep_for_time = 1 |
for�롼�פΥ������(�ÿ�)
Definition at line 82 of file TestsConnection.py.
����¦activate_component��������¦activate_component�ޤǤΥ������(�ÿ�)
Definition at line 76 of file TestsConnection.py.
Test table.
Definition at line 1057 of file TestsConnection.py.