/openthread-3.6.0/tests/toranj/cli/ |
D | test-012-reset-recovery.py | 47 cli.Node.set_time_speedup_factor(speedup) 49 leader = cli.Node() 50 router = cli.Node() 51 child1 = cli.Node() 52 child2 = cli.Node() 74 leader = cli.Node(index=1) 90 verify(int(cli.Node.parse_list(child1.get_mle_counter())['Role Detached']) == 1) 91 verify(int(cli.Node.parse_list(child2.get_mle_counter())['Role Detached']) == 1) 104 router = cli.Node(index=2) 120 leader = cli.Node(index=1) [all …]
|
D | test-602-channel-manager-channel-select.py | 48 cli.Node.set_time_speedup_factor(speedup) 50 node = cli.Node() 84 result = cli.Node.parse_list(node.cli('channel monitor')[:5]) 92 result = cli.Node.parse_list(node.cli('channel manager')) 99 result = cli.Node.parse_list(node.cli('channel manager')) 118 result = cli.Node.parse_list(node.cli('channel manager')) 137 result = cli.Node.parse_list(node.cli('channel manager')) 148 result = cli.Node.parse_list(node.cli('channel manager')) 165 result = cli.Node.parse_list(node.cli('channel manager')) 172 cli.Node.finalize_all_nodes()
|
D | test-704-multi-radio-scan.py | 46 cli.Node.set_time_speedup_factor(speedup) 48 n1 = cli.Node(cli.RADIO_15_4) 49 n2 = cli.Node(cli.RADIO_TREL) 50 n3 = cli.Node(cli.RADIO_15_4_TREL) 51 s1 = cli.Node(cli.RADIO_15_4) 52 s2 = cli.Node(cli.RADIO_TREL) 53 s3 = cli.Node(cli.RADIO_15_4_TREL) 74 table = cli.Node.parse_table(scan_result) 103 cli.Node.finalize_all_nodes()
|
D | test-004-scan.py | 43 table = cli.Node.parse_table(scan_result) 60 cli.Node.set_time_speedup_factor(speedup) 62 node1 = cli.Node() 63 node2 = cli.Node() 64 node3 = cli.Node() 65 node4 = cli.Node() 66 node5 = cli.Node() 67 scanner = cli.Node() 105 cli.Node.finalize_all_nodes()
|
D | test-705-multi-radio-discover-scan.py | 46 cli.Node.set_time_speedup_factor(speedup) 48 n1 = cli.Node(cli.RADIO_15_4) 49 n2 = cli.Node(cli.RADIO_TREL) 50 n3 = cli.Node(cli.RADIO_15_4_TREL) 51 s1 = cli.Node(cli.RADIO_15_4) 52 s2 = cli.Node(cli.RADIO_TREL) 53 s3 = cli.Node(cli.RADIO_15_4_TREL) 74 table = cli.Node.parse_table(scan_result) 119 cli.Node.finalize_all_nodes()
|
D | test-006-traffic-multi-hop.py | 63 cli.Node.set_time_speedup_factor(speedup) 65 r1 = cli.Node() 66 r2 = cli.Node() 67 r3 = cli.Node() 68 r4 = cli.Node() 69 fed1 = cli.Node() 70 sed1 = cli.Node() 71 fed4 = cli.Node() 72 sed4 = cli.Node() 166 cli.Node.finalize_all_nodes()
|
D | test-601-channel-manager-channel-change.py | 55 cli.Node.set_time_speedup_factor(speedup) 57 r1 = cli.Node() 58 r2 = cli.Node() 59 r3 = cli.Node() 60 sc1 = cli.Node() 61 ec1 = cli.Node() 62 sc2 = cli.Node() 63 sc3 = cli.Node() 109 result = cli.Node.parse_list(r1.cli('channel manager')) 164 cli.Node.finalize_all_nodes()
|
D | test-700-multi-radio-join.py | 55 cli.Node.set_time_speedup_factor(speedup) 57 parent = cli.Node(cli.RADIO_15_4_TREL) 58 c1 = cli.Node(cli.RADIO_15_4) 59 c2 = cli.Node(cli.RADIO_TREL) 60 c3 = cli.Node(cli.RADIO_15_4_TREL) 89 info = cli.Node.parse_multiradio_neighbor_entry(entry) 111 parent = cli.Node(cli.RADIO_15_4_TREL, index=1) 125 cli.Node.finalize_all_nodes()
|
D | test-701-multi-radio-probe.py | 52 cli.Node.set_time_speedup_factor(speedup) 54 r1 = cli.Node(cli.RADIO_15_4_TREL) 55 r2 = cli.Node(cli.RADIO_15_4_TREL) 100 info = cli.Node.parse_multiradio_neighbor_entry(neighbor_radios[0]) 118 info = cli.Node.parse_multiradio_neighbor_entry(neighbor_radios[0]) 138 info = cli.Node.parse_multiradio_neighbor_entry(neighbor_radios[0]) 152 info = cli.Node.parse_multiradio_neighbor_entry(neighbor_radios[0]) 172 info = cli.Node.parse_multiradio_neighbor_entry(neighbor_radios[0]) 182 cli.Node.finalize_all_nodes()
|
D | test-702-multi-radio-discover-by-rx.py | 52 cli.Node.set_time_speedup_factor(speedup) 54 r1 = cli.Node(cli.RADIO_15_4_TREL) 55 r2 = cli.Node(cli.RADIO_15_4_TREL) 100 info = cli.Node.parse_multiradio_neighbor_entry(neighbor_radios[0]) 118 info = cli.Node.parse_multiradio_neighbor_entry(neighbor_radios[0]) 138 info = cli.Node.parse_multiradio_neighbor_entry(neighbor_radios[0]) 152 info = cli.Node.parse_multiradio_neighbor_entry(neighbor_radios[0]) 172 info = cli.Node.parse_multiradio_neighbor_entry(neighbor_radios[0]) 182 cli.Node.finalize_all_nodes()
|
D | test-023-mesh-diag.py | 52 cli.Node.set_time_speedup_factor(speedup) 54 r1 = cli.Node() 55 r2 = cli.Node() 56 r3 = cli.Node() 57 fed1 = cli.Node() 58 fed2 = cli.Node() 59 sed1 = cli.Node() 60 sed2 = cli.Node() 61 sed3 = cli.Node() 162 cli.Node.finalize_all_nodes()
|
/openthread-3.6.0/tests/toranj/ncp/ |
D | test-704-multi-radio-scan.py | 44 wpan.Node.set_time_speedup_factor(speedup) 46 n1 = wpan.Node(wpan.NODE_15_4) 47 n2 = wpan.Node(wpan.NODE_TREL) 48 n3 = wpan.Node(wpan.NODE_15_4_TREL) 49 s1 = wpan.Node(wpan.NODE_15_4) 50 s2 = wpan.Node(wpan.NODE_TREL) 51 s3 = wpan.Node(wpan.NODE_15_4_TREL) 56 wpan.Node.init_all_nodes() 113 wpan.Node.finalize_all_nodes()
|
D | test-705-multi-radio-discover-scan.py | 44 wpan.Node.set_time_speedup_factor(speedup) 46 n1 = wpan.Node(wpan.NODE_15_4) 47 n2 = wpan.Node(wpan.NODE_TREL) 48 n3 = wpan.Node(wpan.NODE_15_4_TREL) 49 s1 = wpan.Node(wpan.NODE_15_4) 50 s2 = wpan.Node(wpan.NODE_TREL) 51 s3 = wpan.Node(wpan.NODE_15_4_TREL) 56 wpan.Node.init_all_nodes() 113 wpan.Node.finalize_all_nodes()
|
D | test-043-meshcop-joiner-router.py | 46 wpan.Node.set_time_speedup_factor(speedup) 48 r1 = wpan.Node() 49 r2 = wpan.Node() 50 c2 = wpan.Node() 51 joiner = wpan.Node() 56 wpan.Node.init_all_nodes() 107 wpan.Node.finalize_all_nodes()
|
D | test-005-discover-scan.py | 43 wpan.Node.set_time_speedup_factor(speedup) 45 node1 = wpan.Node() 46 node2 = wpan.Node() 47 node3 = wpan.Node() 48 node4 = wpan.Node() 49 node5 = wpan.Node() 51 scanner = wpan.Node() 56 wpan.Node.init_all_nodes() 127 wpan.Node.finalize_all_nodes()
|
D | test-703-multi-radio-mesh-header-msg.py | 53 wpan.Node.set_time_speedup_factor(speedup) 55 r1 = wpan.Node(wpan.NODE_TREL) 56 r2 = wpan.Node(wpan.NODE_15_4_TREL) 57 r3 = wpan.Node(wpan.NODE_15_4) 58 c2 = wpan.Node(wpan.NODE_15_4) 59 c3 = wpan.Node(wpan.NODE_15_4) 64 wpan.Node.init_all_nodes() 141 wpan.Node.perform_async_tx_rx() 154 wpan.Node.perform_async_tx_rx() 165 wpan.Node.perform_async_tx_rx() [all …]
|
D | test-013-off-mesh-route-traffic.py | 62 wpan.Node.set_time_speedup_factor(speedup) 64 r1 = wpan.Node() 65 fed1 = wpan.Node() 66 r2 = wpan.Node() 67 sed2 = wpan.Node() 74 wpan.Node.init_all_nodes() 160 wpan.Node.perform_async_tx_rx() 169 wpan.Node.perform_async_tx_rx() 178 wpan.Node.perform_async_tx_rx() 185 wpan.Node.finalize_all_nodes()
|
D | test-601-channel-manager-channel-change.py | 60 wpan.Node.set_time_speedup_factor(speedup) 62 r1 = wpan.Node() 63 r2 = wpan.Node() 64 r3 = wpan.Node() 65 sc1 = wpan.Node() 66 ec1 = wpan.Node() 67 sc2 = wpan.Node() 68 sc3 = wpan.Node() 75 wpan.Node.init_all_nodes() 147 wpan.Node.finalize_all_nodes()
|
D | test-041-lowpan-fragmentation.py | 44 wpan.Node.set_time_speedup_factor(speedup) 46 node1 = wpan.Node() 47 node2 = wpan.Node() 52 wpan.Node.init_all_nodes() 77 wpan.Node.perform_async_tx_rx() 85 wpan.Node.finalize_all_nodes()
|
D | test-038-clear-address-cache-for-sed.py | 47 wpan.Node.set_time_speedup_factor(speedup) 49 r1 = wpan.Node() 50 r2 = wpan.Node() 51 r3 = wpan.Node() 52 c = wpan.Node() 53 c3 = wpan.Node() 58 wpan.Node.init_all_nodes() 119 wpan.Node.perform_async_tx_rx() 163 wpan.Node.perform_async_tx_rx() 199 wpan.Node.perform_async_tx_rx() [all …]
|
D | test-034-poor-link-parent-child-attach.py | 45 wpan.Node.set_time_speedup_factor(speedup) 47 parent = wpan.Node() 48 child = wpan.Node() 53 wpan.Node.init_all_nodes() 74 wpan.Node.finalize_all_nodes()
|
D | test-012-multi-hop-traffic.py | 61 wpan.Node.set_time_speedup_factor(speedup) 70 routers.append(wpan.Node()) 71 sed_children.append(wpan.Node()) 73 fed_children.append(wpan.Node()) 74 fed_children.append(wpan.Node()) 81 wpan.Node.init_all_nodes() 155 wpan.Node.perform_async_tx_rx() 168 wpan.Node.perform_async_tx_rx() 181 wpan.Node.perform_async_tx_rx() 188 wpan.Node.finalize_all_nodes()
|
D | test-009-insecure-traffic-join.py | 42 node1 = wpan.Node() 43 node2 = wpan.Node() 48 wpan.Node.init_all_nodes() 80 wpan.Node.perform_async_tx_rx() 94 wpan.Node.perform_async_tx_rx() 108 wpan.Node.perform_async_tx_rx() 116 wpan.Node.perform_async_tx_rx() 123 wpan.Node.finalize_all_nodes()
|
D | test-031-meshcop-joiner-commissioner.py | 46 wpan.Node.set_time_speedup_factor(speedup) 48 c = wpan.Node() 49 j = wpan.Node() 54 wpan.Node.init_all_nodes() 92 wpan.Node.finalize_all_nodes()
|
/openthread-3.6.0/tests/unit/ |
D | test_heap.cpp | 85 struct Node in TestAllocateRandomly() struct 87 Node *mNext; in TestAllocateRandomly() argument 92 Node head; in TestAllocateRandomly() 98 Node *last = &head; in TestAllocateRandomly() 102 size_t size = sizeof(Node) + static_cast<size_t>(rand()) % aSizeLimit; in TestAllocateRandomly() 104 last->mNext = static_cast<Node *>(heap.CAlloc(1, size)); in TestAllocateRandomly() 124 Node *prev = &head; in TestAllocateRandomly() 131 Node *curr = prev->mNext; in TestAllocateRandomly() 149 Node *next = last->mNext; in TestAllocateRandomly()
|