Home
last modified time | relevance | path

Searched refs:get_state (Results 1 – 25 of 249) sorted by relevance

12345678910

/openthread-3.6.0/tests/scripts/thread-cert/
Dtest_detach.py82 self.assertEqual(leader.get_state(), 'leader')
86 self.assertEqual(router1.get_state(), 'router')
94 self.assertEqual(child1.get_state(), 'child')
100 self.assertEqual(child1.get_state(), 'disabled')
104 self.assertEqual(router1.get_state(), 'disabled')
109 self.assertEqual(router1.get_state(), 'router')
113 self.assertEqual(child1.get_state(), 'child')
119 self.assertEqual(router1.get_state(), 'disabled')
121 self.assertEqual(child1.get_state(), 'disabled')
125 self.assertEqual(router1.get_state(), 'router')
[all …]
Dtest_router_downgrade_on_sec_policy_change.py75 self.assertEqual(leader.get_state(), 'leader')
79 self.assertEqual(router.get_state(), 'router')
92 self.assertEqual(leader.get_state(), 'leader')
93 self.assertEqual(router.get_state(), 'router')
98 self.assertEqual(leader.get_state(), 'leader')
111 self.assertEqual(leader.get_state(), 'leader')
117 self.assertEqual(leader.get_state(), 'leader')
118 self.assertEqual(router.get_state(), 'router')
130 self.assertEqual(leader.get_state(), 'leader')
135 self.assertEqual(leader.get_state(), 'leader')
[all …]
Dtest_br_upgrade_router_role.py101 self.assertEqual(leader.get_state(), 'leader')
105 self.assertEqual(router.get_state(), 'router')
115 self.assertEqual(br1.get_state(), 'child')
116 self.assertEqual(br2.get_state(), 'child')
117 self.assertEqual(br3.get_state(), 'child')
126 self.assertEqual(br1.get_state(), 'router')
134 self.assertEqual(br2.get_state(), 'router')
143 self.assertEqual(br3.get_state(), 'child')
153 self.assertEqual(br1.get_state(), 'router')
154 self.assertEqual(br3.get_state(), 'router')
Dtest_mle_msg_key_seq_jump.py98 self.assertEqual(leader.get_state(), 'leader')
103 self.assertEqual(child.get_state(), 'child')
104 self.assertEqual(reed.get_state(), 'child')
108 self.assertEqual(router.get_state(), 'router')
184 self.assertEqual(child.get_state(), 'child')
185 self.assertEqual(reed.get_state(), 'child')
186 self.assertEqual(router.get_state(), 'router')
206 self.assertEqual(child.get_state(), 'child')
217 self.assertEqual(router.get_state(), 'router')
218 self.assertEqual(reed.get_state(), 'child')
[all …]
DCert_6_2_02_NewPartition.py72 self.assertEqual(self.nodes[LEADER].get_state(), 'leader')
76 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
80 self.assertEqual(self.nodes[ROUTER2].get_state(), 'router')
84 self.assertEqual(self.nodes[ED].get_state(), 'child')
88 self.assertEqual(self.nodes[ROUTER2].get_state(), 'leader')
89 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
90 self.assertEqual(self.nodes[ED].get_state(), 'child')
Dtest_reset.py60 self.assertEqual(self.nodes[LEADER].get_state(), 'leader')
64 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
68 self.assertEqual(self.nodes[ED].get_state(), 'child')
77 self.assertEqual(self.nodes[LEADER].get_state(), 'leader')
82 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
89 self.assertEqual(self.nodes[ED].get_state(), 'child')
Dtest_child_supervision.py76 self.assertEqual(parent.get_state(), 'leader')
80 self.assertEqual(child.get_state(), 'child')
115 self.assertEqual(child.get_state(), 'child')
142 self.assertEqual(child.get_state(), 'child')
152 self.assertEqual(child.get_state(), 'detached')
159 self.assertEqual(child.get_state(), 'child')
183 self.assertEqual(child.get_state(), 'child')
DCert_9_2_10_PendingPartition.py104 self.assertEqual(self.nodes[LEADER].get_state(), 'leader')
108 self.assertEqual(self.nodes[COMMISSIONER].get_state(), 'router')
114 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
118 self.assertEqual(self.nodes[ED1].get_state(), 'child')
122 self.assertEqual(self.nodes[SED1].get_state(), 'child')
137 self.assertEqual(self.nodes[ROUTER1].get_state(), 'leader')
138 self.assertEqual(self.nodes[ED1].get_state(), 'child')
139 self.assertEqual(self.nodes[SED1].get_state(), 'child')
153 self.assertEqual(self.nodes[COMMISSIONER].get_state(), 'router')
154 self.assertEqual(self.nodes[LEADER].get_state(), 'leader')
[all …]
Dtest_router_reattach.py203 self.assertEqual(self.nodes[1].get_state(), 'leader')
208 self.assertEqual(self.nodes[i].get_state(), 'router')
219 self.assertEqual(self.nodes[2].get_state(), 'router')
222 self.assertEqual(self.nodes[2].get_state(), 'router')
Dv1_2_test_multicast_registration.py181 self.assertEqual(self.nodes[LEADER_1_2].get_state(), 'leader')
187 self.assertEqual(self.nodes[MED_1_2].get_state(), 'child')
205 self.assertEqual(self.nodes[SED_1_2].get_state(), 'child')
223 self.assertEqual(self.nodes[MED_1_1].get_state(), 'child')
241 self.assertEqual(self.nodes[SED_1_1].get_state(), 'child')
260 self.assertEqual(self.nodes[ROUTER_1_1].get_state(), 'router')
266 self.assertEqual(self.nodes[MED_1_2_2].get_state(), 'child')
284 self.assertEqual(self.nodes[SED_1_2_2].get_state(), 'child')
DCert_6_2_01_NewPartition.py87 self.assertEqual(self.nodes[LEADER].get_state(), 'leader')
91 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
95 self.assertEqual(self.nodes[MTD].get_state(), 'child')
99 self.assertEqual(self.nodes[ROUTER1].get_state(), 'leader')
100 self.assertEqual(self.nodes[MTD].get_state(), 'child')
DCert_5_5_03_SplitMergeChildren.py89 self.assertEqual(self.nodes[LEADER].get_state(), 'leader')
93 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
97 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
101 self.assertEqual(self.nodes[ED2].get_state(), 'child')
105 self.assertEqual(self.nodes[ED2].get_state(), 'child')
113 self.assertEqual(self.nodes[ROUTER1].get_state(), 'leader')
114 self.assertEqual(self.nodes[ROUTER2].get_state(), 'leader')
118 self.assertEqual(self.nodes[LEADER].get_state(), 'router')
121 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
122 self.assertEqual(self.nodes[ROUTER2].get_state(), 'leader')
Dtest_radio_filter.py87 self.assertEqual(leader.get_state(), 'leader')
91 self.assertEqual(router.get_state(), 'router')
96 self.assertEqual(sed.get_state(), 'child')
131 self.assertEqual(sed.get_state(), 'detached')
137 self.assertEqual(sed.get_state(), 'child')
/openthread-3.6.0/tests/toranj/cli/
Dtest-012-reset-recovery.py61 verify(leader.get_state() == 'leader')
62 verify(child1.get_state() == 'child')
63 verify(child2.get_state() == 'child')
80 verify(leader.get_state() == 'leader')
87 verify(child1.get_state() == 'child')
88 verify(child2.get_state() == 'child')
98 verify(router.get_state() == 'router')
110 verify(router.get_state() == 'router')
126 verify(leader.get_state() == 'leader')
149 verify(child1.get_state() == 'child')
Dtest-010-partition-merge.py82 verify(r1.get_state() == 'leader')
83 verify(r2.get_state() == 'router')
84 verify(c1.get_state() == 'child')
85 verify(c2.get_state() == 'child')
108 verify(r2.get_state() == 'leader')
132 verify(r1.get_state() in ['leader', 'router'])
133 verify(r2.get_state() in ['leader', 'router'])
Dtest-021-br-route-prf.py61 verify(leader.get_state() == 'leader')
62 verify(br.get_state() == 'router')
118 verify(br.get_state() == 'child')
135 verify(br.get_state() == 'child')
148 verify(br.get_state() == 'child')
166 verify(br.get_state() == 'child')
183 verify(br.get_state() == 'router')
204 verify(br.get_state() == 'child')
224 verify(br.get_state() == 'child')
247 verify(br.get_state() == 'child')
Dtest-603-channel-announce-recovery.py65 verify(r1.get_state() == 'leader')
66 verify(r2.get_state() == 'router')
67 verify(c1.get_state() == 'child')
68 verify(c2.get_state() == 'child')
99 verify(c2.get_state() == 'child')
115 verify(r2.get_state() != 'detached')
Dtest-006-traffic-multi-hop.py106 verify(r1.get_state() == 'leader')
107 verify(r2.get_state() == 'router')
108 verify(r3.get_state() == 'router')
109 verify(r4.get_state() == 'router')
110 verify(fed1.get_state() == 'child')
111 verify(fed4.get_state() == 'child')
112 verify(sed1.get_state() == 'child')
113 verify(sed4.get_state() == 'child')
Dtest-003-join.py56 verify(node1.get_state() == 'leader')
59 verify(node2.get_state() == 'router')
64 verify(node2.get_state() == 'child')
70 verify(node2.get_state() == 'child')
82 verify(node2.get_state() == 'child')
Dtest-024-mle-adv-imax-change.py61 verify(leader.get_state() == 'leader')
82 verify(r.get_state() == 'router')
94 verify(r.get_state() == 'router')
108 verify(r_poor_lqi.get_state() == 'router')
124 verify(r.get_state() == 'router')
136 verify(r.get_state() == 'router')
Dtest-601-channel-manager-channel-change.py98 verify(r1.get_state() == 'leader')
99 verify(r2.get_state() == 'router')
100 verify(r3.get_state() == 'router')
101 verify(ec1.get_state() == 'child')
102 verify(sc1.get_state() == 'child')
103 verify(sc2.get_state() == 'child')
104 verify(sc3.get_state() == 'child')
Dtest-023-mesh-diag.py98 verify(r1.get_state() == 'leader')
99 verify(r2.get_state() == 'router')
100 verify(r3.get_state() == 'router')
101 verify(fed1.get_state() == 'child')
102 verify(fed2.get_state() == 'child')
103 verify(sed1.get_state() == 'child')
104 verify(sed2.get_state() == 'child')
105 verify(sed3.get_state() == 'child')
Dtest-013-address-cache-parent-switch.py97 verify(r1.get_state() == 'leader')
98 verify(r2.get_state() == 'router')
99 verify(r3.get_state() == 'router')
100 verify(c1.get_state() == 'child')
101 verify(c2.get_state() == 'child')
102 verify(c3.get_state() == 'child')
178 verify(c2.get_state() == 'child')
Dtest-015-clear-addresss-cache-for-sed.py88 verify(r1.get_state() == 'leader')
89 verify(r2.get_state() == 'router')
90 verify(r3.get_state() == 'router')
91 verify(c.get_state() == 'child')
165 verify(c.get_state() == 'child')
211 verify(c.get_state() == 'child')
/openthread-3.6.0/tests/scripts/thread-cert/border_router/MATN/
DMATN_09_DefaultBRMulticastForwarding.py91 self.assertEqual('leader', br1.get_state())
96 self.assertEqual('router', router1.get_state())
100 self.assertEqual('router', br2.get_state())
116 self.assertEqual('disabled', br1.get_state())
117 self.assertEqual('leader', br2.get_state())
118 self.assertEqual('router', router1.get_state())

12345678910