Lines Matching full:should

180 	zassert_equal(ifa1_data->init_calls_a, 1, "ifa1->init should be called exactly once.");  in ZTEST()
181 zassert_equal(ifa1_data->init_calls_b, 0, "ifa1 should use implementation A"); in ZTEST()
183 zassert_equal(ifa2_data->init_calls_a, 1, "ifa2->init should be called exactly once."); in ZTEST()
184 zassert_equal(ifa2_data->init_calls_b, 0, "ifa2 should use implementation A"); in ZTEST()
186 zassert_equal(ifb_data->init_calls_b, 1, "ifb->init should be called exactly once."); in ZTEST()
187 zassert_equal(ifb_data->init_calls_a, 0, "ifb should use implementation B"); in ZTEST()
189 zassert_equal(ifni_data->init_calls_a, 0, "ifni->init should not be called."); in ZTEST()
190 zassert_equal(ifni_data->init_calls_b, 0, "ifni->init should not be called."); in ZTEST()
203 zassert_equal(net_if_up(ifa1), 0, "net_if_up should not fail"); in ZTEST()
204 zassert_equal(net_if_up(ifa2), 0, "net_if_up should not fail"); in ZTEST()
205 zassert_equal(net_if_up(ifb), 0, "net_if_up should not fail"); in ZTEST()
214 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should not fail"); in ZTEST()
218 zassert_true(net_if_is_up(ifa1), "ifa1 should be oper-up after conn_mgr_if_connect"); in ZTEST()
219 zassert_false(net_if_is_up(ifa2), "ifa2 should not be affected by ifa1"); in ZTEST()
220 zassert_false(net_if_is_up(ifb), "ifb should not be affected by ifa1"); in ZTEST()
223 zassert_equal(ifa1_data->conn_bal, 1, "ifa1->connect should be called once"); in ZTEST()
224 zassert_equal(ifa1_data->call_cnt_a, 1, "Implementation A should be used for ifa1"); in ZTEST()
225 zassert_equal(ifa1_data->call_cnt_b, 0, "Implementation A should be used for ifa1"); in ZTEST()
227 zassert_equal(ifa2_data->conn_bal, 0, "ifa2 should not be affected by ifa1"); in ZTEST()
228 zassert_equal(ifa2_data->call_cnt_a, 0, "ifa2 should not be affected by ifa1"); in ZTEST()
229 zassert_equal(ifa2_data->call_cnt_b, 0, "ifa2 should not be affected by ifa1"); in ZTEST()
231 zassert_equal(ifb_data->conn_bal, 0, "ifb should not be affected by ifa1"); in ZTEST()
232 zassert_equal(ifb_data->call_cnt_a, 0, "ifb should not be affected by ifa1"); in ZTEST()
233 zassert_equal(ifb_data->call_cnt_b, 0, "ifb should not be affected by ifa1"); in ZTEST()
236 zassert_equal(conn_mgr_if_connect(ifb), 0, "conn_mgr_if_connect should not fail"); in ZTEST()
240 zassert_true(net_if_is_up(ifa1), "ifa1 should still be connected"); in ZTEST()
241 zassert_false(net_if_is_up(ifa2), "ifa2 should not be affected by ifb"); in ZTEST()
242 zassert_true(net_if_is_up(ifb), "ifb should be oper-up after conn_mgr_if_connect"); in ZTEST()
245 zassert_equal(ifa1_data->conn_bal, 1, "ifa1 should not be affected by ifb"); in ZTEST()
246 zassert_equal(ifa1_data->call_cnt_a, 1, "ifa1 should not be affected by ifb"); in ZTEST()
247 zassert_equal(ifa1_data->call_cnt_b, 0, "ifa1 should not be affected by ifb"); in ZTEST()
249 zassert_equal(ifa2_data->conn_bal, 0, "ifa2 should not be affected by ifb"); in ZTEST()
250 zassert_equal(ifa2_data->call_cnt_a, 0, "ifa2 should not be affected by ifb"); in ZTEST()
251 zassert_equal(ifa2_data->call_cnt_b, 0, "ifa2 should not be affected by ifb"); in ZTEST()
253 zassert_equal(ifb_data->conn_bal, 1, "ifb->connect should be called once"); in ZTEST()
254 zassert_equal(ifb_data->call_cnt_a, 0, "Implementation B should be used for ifb"); in ZTEST()
255 zassert_equal(ifb_data->call_cnt_b, 1, "Implementation B should be used for ifb"); in ZTEST()
258 zassert_equal(conn_mgr_if_connect(ifa2), 0, "conn_mgr_if_connect should not fail"); in ZTEST()
262 zassert_true(net_if_is_up(ifa1), "ifa1 should still be connected"); in ZTEST()
263 zassert_true(net_if_is_up(ifa2), "ifa2 should be oper-up after conn_mgr_if_connect"); in ZTEST()
264 zassert_true(net_if_is_up(ifb), "ifb should still be connected"); in ZTEST()
267 zassert_equal(ifa1_data->conn_bal, 1, "ifa1 should not be affected by ifa2"); in ZTEST()
268 zassert_equal(ifa1_data->call_cnt_a, 1, "ifa1 should not be affected by ifa2"); in ZTEST()
269 zassert_equal(ifa1_data->call_cnt_b, 0, "ifa1 should not be affected by ifa2"); in ZTEST()
271 zassert_equal(ifa2_data->conn_bal, 1, "ifa2->connect should be called once"); in ZTEST()
272 zassert_equal(ifa2_data->call_cnt_a, 1, "Implementation A should be used for ifa2"); in ZTEST()
273 zassert_equal(ifa2_data->call_cnt_b, 0, "Implementation A should be used for ifa2"); in ZTEST()
275 zassert_equal(ifb_data->conn_bal, 1, "ifb should not be affected by ifa2"); in ZTEST()
276 zassert_equal(ifb_data->call_cnt_a, 0, "ifb should not be affected by ifa2"); in ZTEST()
277 zassert_equal(ifb_data->call_cnt_b, 1, "ifb should not be affected by ifa2"); in ZTEST()
280 zassert_equal(conn_mgr_if_disconnect(ifa1), 0, "conn_mgr_if_disconnect should not fail"); in ZTEST()
285 zassert_false(net_if_is_up(ifa1), "ifa1 should be oper-down after conn_mgr_if_disconnect"); in ZTEST()
286 zassert_true(net_if_is_up(ifa2), "ifa2 should not be affected by ifa1"); in ZTEST()
287 zassert_true(net_if_is_up(ifb), "ifb should not be affected by ifa1"); in ZTEST()
290 zassert_equal(ifa1_data->conn_bal, 0, "ifa1->disconnect should be called once"); in ZTEST()
291 zassert_equal(ifa1_data->call_cnt_a, 2, "Implementation A should be used for ifa1"); in ZTEST()
292 zassert_equal(ifa1_data->call_cnt_b, 0, "Implementation A should be used for ifa1"); in ZTEST()
294 zassert_equal(ifa2_data->conn_bal, 1, "ifa2 should not be affected by ifa1"); in ZTEST()
295 zassert_equal(ifa2_data->call_cnt_a, 1, "ifa2 should not be affected by ifa1"); in ZTEST()
296 zassert_equal(ifa2_data->call_cnt_b, 0, "ifa2 should not be affected by ifa1"); in ZTEST()
298 zassert_equal(ifb_data->conn_bal, 1, "ifb should not be affected by ifa1"); in ZTEST()
299 zassert_equal(ifb_data->call_cnt_a, 0, "ifb should not be affected by ifa1"); in ZTEST()
300 zassert_equal(ifb_data->call_cnt_b, 1, "ifb should not be affected by ifa1"); in ZTEST()
303 zassert_equal(conn_mgr_if_disconnect(ifb), 0, "conn_mgr_if_disconnect should not fail"); in ZTEST()
308 zassert_false(net_if_is_up(ifa1), "ifa1 should still be disconnected"); in ZTEST()
309 zassert_true(net_if_is_up(ifa2), "ifa2 should not be affected by ifb"); in ZTEST()
310 zassert_false(net_if_is_up(ifb), "ifb should be oper-down after conn_mgr_if_disconnect"); in ZTEST()
313 zassert_equal(ifa1_data->conn_bal, 0, "ifa1 should not be affected by ifb"); in ZTEST()
314 zassert_equal(ifa1_data->call_cnt_a, 2, "ifa1 should not be affected by ifb"); in ZTEST()
315 zassert_equal(ifa1_data->call_cnt_b, 0, "ifa1 should not be affected by ifb"); in ZTEST()
317 zassert_equal(ifa2_data->conn_bal, 1, "ifa1 should not be affected by ifb"); in ZTEST()
318 zassert_equal(ifa2_data->call_cnt_a, 1, "ifa1 should not be affected by ifb"); in ZTEST()
319 zassert_equal(ifa2_data->call_cnt_b, 0, "ifa1 should not be affected by ifb"); in ZTEST()
321 zassert_equal(ifb_data->conn_bal, 0, "ifa1->disconnect should be called once"); in ZTEST()
322 zassert_equal(ifb_data->call_cnt_a, 0, "Implementation B should be used for ifb"); in ZTEST()
323 zassert_equal(ifb_data->call_cnt_b, 2, "Implementation B should be used for ifb"); in ZTEST()
326 zassert_equal(conn_mgr_if_disconnect(ifa2), 0, "conn_mgr_if_disconnect should not fail"); in ZTEST()
331 zassert_false(net_if_is_up(ifa1), "ifa1 should still be disconnected"); in ZTEST()
332 zassert_false(net_if_is_up(ifa2), "ifa2 should be oper-down after conn_mgr_if_disconnect"); in ZTEST()
333 zassert_false(net_if_is_up(ifb), "ifb should still be disconnected"); in ZTEST()
336 zassert_equal(ifa1_data->conn_bal, 0, "ifa1 should not be affected by ifa2"); in ZTEST()
337 zassert_equal(ifa1_data->call_cnt_a, 2, "ifa1 should not be affected by ifa2"); in ZTEST()
338 zassert_equal(ifa1_data->call_cnt_b, 0, "ifa1 should not be affected by ifa2"); in ZTEST()
340 zassert_equal(ifa2_data->conn_bal, 0, "ifa2->disconnect should be called once"); in ZTEST()
341 zassert_equal(ifa2_data->call_cnt_a, 2, "Implementation A should be used for ifa2"); in ZTEST()
342 zassert_equal(ifa2_data->call_cnt_b, 0, "Implementation A should be used for ifa2"); in ZTEST()
344 zassert_equal(ifb_data->conn_bal, 0, "ifb should not be affected by ifa2"); in ZTEST()
345 zassert_equal(ifb_data->call_cnt_a, 0, "ifb should not be affected by ifa2"); in ZTEST()
346 zassert_equal(ifb_data->call_cnt_b, 2, "ifb should not be affected by ifa2"); in ZTEST()
355 zassert_equal(net_if_up(ifa1), 0, "net_if_up should not fail"); in ZTEST()
358 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should not fail"); in ZTEST()
362 zassert_true(net_if_is_up(ifa1), "ifa1 should be oper-up after conn_mgr_if_connect"); in ZTEST()
363 zassert_equal(ifa1_data->conn_bal, 1, "ifa1->connect should have been called once."); in ZTEST()
364 zassert_equal(ifa1_data->call_cnt_a, 1, "ifa1->connect should have been called once."); in ZTEST()
367 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should not fail"); in ZTEST()
371 * To be clear: Yes, ifa1->connect should be called twice. It is up to the L2 in ZTEST()
374 zassert_true(net_if_is_up(ifa1), "ifa1 should still be connected"); in ZTEST()
375 zassert_equal(ifa1_data->conn_bal, 2, "ifa1->connect should have been called again."); in ZTEST()
376 zassert_equal(ifa1_data->call_cnt_a, 2, "ifa1->connect should have been called again."); in ZTEST()
379 zassert_equal(conn_mgr_if_disconnect(ifa1), 0, "conn_mgr_if_disconnect should not fail"); in ZTEST()
383 zassert_false(net_if_is_up(ifa1), "ifa1 should be oper-down after conn_mgr_if_disconnect"); in ZTEST()
384 zassert_equal(ifa1_data->conn_bal, 1, "ifa1->disconnect should have been called once."); in ZTEST()
385 zassert_equal(ifa1_data->call_cnt_a, 3, "ifa1->disconnect should have been called once."); in ZTEST()
388 zassert_equal(conn_mgr_if_disconnect(ifa1), 0, "conn_mgr_if_disconnect should not fail"); in ZTEST()
392 zassert_false(net_if_is_up(ifa1), "ifa1 should be oper-down after conn_mgr_if_disconnect"); in ZTEST()
393 zassert_equal(ifa1_data->conn_bal, 0, "ifa1->disconnect should have been called again."); in ZTEST()
394 zassert_equal(ifa1_data->call_cnt_a, 4, "ifa1->disconnect should have been called again."); in ZTEST()
405 zassert_equal(net_if_up(ifa1), 0, "net_if_up should not fail"); in ZTEST()
408 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should not fail"); in ZTEST()
409 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should not fail"); in ZTEST()
413 zassert_true(net_if_is_up(ifa1), "ifa1 should be oper-up after conn_mgr_if_connect"); in ZTEST()
414 zassert_equal(ifa1_data->conn_bal, 2, "ifa1->connect should have been called once."); in ZTEST()
415 zassert_equal(ifa1_data->call_cnt_a, 2, "ifa1->connect should have been called once."); in ZTEST()
418 zassert_equal(conn_mgr_if_disconnect(ifa1), 0, "conn_mgr_if_disconnect should not fail"); in ZTEST()
419 zassert_equal(conn_mgr_if_disconnect(ifa1), 0, "conn_mgr_if_disconnect should not fail"); in ZTEST()
423 zassert_false(net_if_is_up(ifa1), "ifa1 should be oper-down after conn_mgr_if_disconnect"); in ZTEST()
424 zassert_equal(ifa1_data->conn_bal, 0, "ifa1->disconnect should have been called once."); in ZTEST()
425 zassert_equal(ifa1_data->call_cnt_a, 4, "ifa1->disconnect should have been called once."); in ZTEST()
434 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should not fail"); in ZTEST()
438 zassert_true(net_if_is_admin_up(ifa1), "ifa1 should be admin-up after conn_mgr_if_connect"); in ZTEST()
441 zassert_true(net_if_is_up(ifa1), "ifa1 should be oper-up after conn_mgr_if_connect"); in ZTEST()
442 zassert_equal(ifa1_data->conn_bal, 1, "ifa1->connect should have been called once."); in ZTEST()
443 zassert_equal(ifa1_data->call_cnt_a, 1, "ifa1->connect should have been called once."); in ZTEST()
452 zassert_equal(conn_mgr_if_disconnect(ifa1), 0, "conn_mgr_if_disconnect should not fail."); in ZTEST()
456 zassert_false(net_if_is_admin_up(ifa1), "ifa1 should be still be admin-down."); in ZTEST()
459 zassert_equal(ifa1_data->conn_bal, 0, "No callbacks should have been fired."); in ZTEST()
460 zassert_equal(ifa1_data->call_cnt_a, 0, "No callbacks should have been fired."); in ZTEST()
480 zassert_equal(net_if_up(ifnull), 0, "net_if_up should succeed for ifnull"); in ZTEST()
481 zassert_equal(net_if_up(ifnone), 0, "net_if_up should succeed for ifnone"); in ZTEST()
483 /* Attempts to connect ifnull should fail, even if it is up */ in ZTEST()
485 "conn_mgr_if_connect should give -ENOTSUP for ifnull"); in ZTEST()
487 /* Attempts to connect ifnone should fail, even if it is up */ in ZTEST()
489 "conn_mgr_if_connect should give -ENOTSUP for ifnone"); in ZTEST()
498 zassert_equal(net_if_up(ifnull), 0, "net_if_up should succeed for ifnull"); in ZTEST()
499 zassert_equal(net_if_up(ifnone), 0, "net_if_up should succeed for ifnone"); in ZTEST()
501 /* Attempts to disconnect ifnull should fail, even if it is up */ in ZTEST()
503 "conn_mgr_if_disconnect should give -ENOTSUP for ifnull"); in ZTEST()
505 /* Attempts to disconnect ifnone should fail, even if it is up */ in ZTEST()
507 "conn_mgr_if_disconnect should give -ENOTSUP for ifnone"); in ZTEST()
520 "conn_mgr_if_connect should succeed"); in ZTEST()
522 /* Attempts to connect ifa1 should return the expected error*/ in ZTEST()
524 "conn_mgr_if_connect should give -ECHILD"); in ZTEST()
533 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed"); in ZTEST()
534 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should succeed"); in ZTEST()
539 /* Attempts to disconnect ifa1 should return the expected error*/ in ZTEST()
541 "conn_mgr_if_disconnect should give -EDOM"); in ZTEST()
554 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed"); in ZTEST()
556 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should succeed"); in ZTEST()
559 zassert_false(net_if_is_up(ifa1), "ifa1 should not be up if instructed to time out"); in ZTEST()
569 "NET_EVENT_CONN_IF_TIMEOUT should have been fired"); in ZTEST()
571 "only NET_EVENT_CONN_IF_TIMEOUT should have been fired"); in ZTEST()
573 "Timeout event should be raised on ifa1"); in ZTEST()
586 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed"); in ZTEST()
587 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should succeed"); in ZTEST()
590 zassert_false(net_if_is_up(ifa1), "ifa1 should not be up if instructed to time out"); in ZTEST()
600 "NET_EVENT_CONN_IF_FATAL_ERROR should have been fired"); in ZTEST()
602 "only NET_EVENT_CONN_IF_FATAL_ERROR should have been fired"); in ZTEST()
604 "Fatal error event should be raised on ifa1"); in ZTEST()
606 "Fatal error info should be -EADDRINUSE"); in ZTEST()
633 "conn_mgr_if_set_opt should succeed for valid parameters"); in ZTEST()
639 0, "conn_mgr_if_get_opt should succeed for valid parameters"); in ZTEST()
641 zassert_equal(buf_len, strlen(buf) + 1, "conn_mgr_if_get_opt should return valid optlen"); in ZTEST()
643 "conn_mgr_if_get_opt should retrieve \"A\""); in ZTEST()
649 0, "conn_mgr_if_get_opt should succeed for valid parameters"); in ZTEST()
650 zassert_equal(buf_len, 1, "conn_mgr_if_get_opt should yield nothing for ifa1->Y"); in ZTEST()
651 zassert_equal(buf[0], 0, "conn_mgr_if_get_opt should yield nothing for ifa1->Y"); in ZTEST()
657 0, "conn_mgr_if_get_opt should succeed for valid parameters"); in ZTEST()
658 zassert_equal(buf_len, 1, "conn_mgr_if_get_opt should yield nothing for ifa2->X"); in ZTEST()
659 zassert_equal(buf[0], 0, "conn_mgr_if_get_opt should yield nothing for ifa2->X"); in ZTEST()
664 "conn_mgr_if_set_opt should succeed for valid parameters"); in ZTEST()
670 0, "conn_mgr_if_get_opt should succeed for valid parameters"); in ZTEST()
671 zassert_equal(buf_len, strlen(buf) + 1, "conn_mgr_if_get_opt should return valid optlen"); in ZTEST()
673 "conn_mgr_if_get_opt should retrieve \"ABC\""); in ZTEST()
679 0, "conn_mgr_if_get_opt should succeed for valid parameters"); in ZTEST()
680 zassert_equal(buf_len, strlen(buf) + 1, "conn_mgr_if_get_opt should return valid optlen"); in ZTEST()
682 "conn_mgr_if_get_opt should retrieve \"A\""); in ZTEST()
691 "conn_mgr_if_set_opt should succeed for valid parameters"); in ZTEST()
697 "conn_mgr_if_get_opt should succeed for valid parameters"); in ZTEST()
699 "conn_mgr_if_get_opt should return valid optlen"); in ZTEST()
705 "test_set_opt_a should truncate long values"); in ZTEST()
711 "conn_mgr_if_get_opt should succeed for valid parameters"); in ZTEST()
713 "conn_mgr_if_get_opt should return valid optlen"); in ZTEST()
715 "test_get_opt_a should truncate if dest. buffer is too small."); in ZTEST()
728 "conn_mgr_if_set_opt should fail with invalid optname"); in ZTEST()
731 "conn_mgr_if_get_opt should fail with invalid optname"); in ZTEST()
732 zassert_equal(buf_len, 0, "failed conn_mgr_if_get_opt should always set buf_len to zero."); in ZTEST()
736 "conn_mgr_if_set_opt should fail with invalid buffer"); in ZTEST()
739 "conn_mgr_if_get_opt should fail with invalid buffer"); in ZTEST()
740 zassert_equal(buf_len, 0, "failed conn_mgr_if_get_opt should always set buf_len to zero."); in ZTEST()
744 "conn_mgr_if_get_opt should fail with invalid buffer length"); in ZTEST()
748 "conn_mgr_if_set_opt should fail for ifnull"); in ZTEST()
751 "conn_mgr_if_get_opt should fail for ifnull"); in ZTEST()
752 zassert_equal(buf_len, 0, "failed conn_mgr_if_get_opt should always set buf_len to zero."); in ZTEST()
756 "conn_mgr_if_set_opt should fail for ifnull"); in ZTEST()
759 "conn_mgr_if_get_opt should fail for ifnull"); in ZTEST()
760 zassert_equal(buf_len, 0, "failed conn_mgr_if_get_opt should always set buf_len to zero."); in ZTEST()
764 "conn_mgr_if_set_opt should fail for ifb"); in ZTEST()
767 "conn_mgr_if_get_opt should fail for ifb"); in ZTEST()
768 zassert_equal(buf_len, 0, "failed conn_mgr_if_get_opt should always set buf_len to zero."); in ZTEST()
781 "Setting persistence flag should succeed for ifa1"); in ZTEST()
785 "Persistence should be set for ifa1"); in ZTEST()
789 "Persistence flag set should affect conn struct"); in ZTEST()
793 "Setting no-autoconnect flag should succeed for ifa1"); in ZTEST()
797 "No-autoconnect should be set for ifa1"); in ZTEST()
802 "Persistence flag set should affect conn struct"); in ZTEST()
806 "Unsetting persistence flag should succeed for ifa1"); in ZTEST()
810 "Persistence should be unset for ifa1"); in ZTEST()
814 "Persistence flag unset should affect conn struct"); in ZTEST()
818 "Clearing no-autoconnect flag should succeed for ifa1"); in ZTEST()
822 "No-autoconnect should be set for ifa1"); in ZTEST()
826 "No-autoconnect flag set should affect conn struct"); in ZTEST()
838 "Setting persistence flag should fail for ifnull"); in ZTEST()
840 "Setting persistence flag should fail for ifnone"); in ZTEST()
842 "Setting invalid flag should fail for ifa1"); in ZTEST()
846 "Getting persistence flag should yield false for ifnull"); in ZTEST()
848 "Getting persistence flag should yield false for ifnone"); in ZTEST()
850 "Getting invalid flag should yield false for ifa1"); in ZTEST()
861 "Setting timeout should succeed for ifa1"); in ZTEST()
865 "Timeout should be set to 99 for ifa1"); in ZTEST()
869 "Timeout set should affect conn struct"); in ZTEST()
873 "Unsetting timeout should succeed for ifa1"); in ZTEST()
877 "Timeout should be unset for ifa1"); in ZTEST()
881 "Timeout unset should affect conn struct"); in ZTEST()
889 "Setting timeout should fail for ifnull"); in ZTEST()
891 "Setting timeout should fail for ifnone"); in ZTEST()
895 "Getting timeout should yield CONN_MGR_IF_NO_TIMEOUT for ifnull"); in ZTEST()
897 "Getting timeout should yield CONN_MGR_IF_NO_TIMEOUT for ifnone"); in ZTEST()
910 zassert_equal(net_if_up(ifa1), 0, "net_if_up should not fail."); in ZTEST()
914 zassert_false(net_if_is_up(ifa1), "Auto-connect should not trigger if disabled."); in ZTEST()
917 zassert_equal(net_if_down(ifa1), 0, "net_if_down should not fail."); in ZTEST()
923 zassert_equal(net_if_up(ifa1), 0, "net_if_up should not fail."); in ZTEST()
927 zassert_true(net_if_is_up(ifa1), "Auto-connect should succeed if enabled."); in ZTEST()
943 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed."); in ZTEST()
947 zassert_true(net_if_is_up(ifa1), "Connection should succeed."); in ZTEST()
951 "conn_mgr_if_disconnect should succeed."); in ZTEST()
956 "Auto-down should trigger on direct disconnect."); in ZTEST()
964 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed."); in ZTEST()
968 zassert_true(net_if_is_up(ifa1), "Connection should succeed."); in ZTEST()
972 "conn_mgr_if_disconnect should succeed."); in ZTEST()
977 "Auto-down should trigger on direct disconnect, even if persistence is enabled."); in ZTEST()
985 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed."); in ZTEST()
989 zassert_true(net_if_is_up(ifa1), "Connection should succeed."); in ZTEST()
993 "conn_mgr_if_disconnect should succeed."); in ZTEST()
997 "Auto-down should not trigger if it is disabled."); in ZTEST()
1013 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed."); in ZTEST()
1017 zassert_true(net_if_is_up(ifa1), "Connection should succeed."); in ZTEST()
1025 "Auto-down should trigger on connection loss if persistence is disabled."); in ZTEST()
1031 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed."); in ZTEST()
1035 zassert_true(net_if_is_up(ifa1), "Connection should succeed."); in ZTEST()
1043 "Auto-down should not trigger on connection loss if persistence is enabled."); in ZTEST()
1050 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1054 zassert_true(net_if_is_up(ifa1), "Connection should succeed."); in ZTEST()
1062 "Auto-down should not trigger on connection loss if it is disabled."); in ZTEST()
1083 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed."); in ZTEST()
1088 "Auto-down should trigger on connection timeout, even if persistence is enabled."); in ZTEST()
1094 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed."); in ZTEST()
1099 "Auto-down should not trigger on connection timeout if it is disabled."); in ZTEST()
1116 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed."); in ZTEST()
1120 zassert_true(net_if_is_up(ifa1), "Connection should succeed."); in ZTEST()
1128 "Auto-down should trigger on fatal error, even if persistence is enabled."); in ZTEST()
1134 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed."); in ZTEST()
1138 zassert_true(net_if_is_up(ifa1), "Connection should succeed."); in ZTEST()
1146 "Auto-down should not trigger on fatal error if it is disabled."); in ZTEST()
1158 zassert_equal(conn_mgr_all_if_up(false), 0, "conn_mgr_all_if_up should succeed."); in ZTEST()
1162 zassert_true(net_if_is_admin_up(ifa1), "All ifaces should be admin-up."); in ZTEST()
1163 zassert_true(net_if_is_admin_up(ifa2), "All ifaces should be admin-up."); in ZTEST()
1164 zassert_true(net_if_is_admin_up(ifb), "All ifaces should be admin-up."); in ZTEST()
1165 zassert_true(net_if_is_admin_up(ifni), "All ifaces should be admin-up."); in ZTEST()
1166 zassert_true(net_if_is_admin_up(ifnull), "All ifaces should be admin-up."); in ZTEST()
1167 zassert_true(net_if_is_admin_up(ifnone), "All ifaces should be admin-up."); in ZTEST()
1171 zassert_equal(net_if_down(ifa1), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1172 zassert_equal(net_if_down(ifa2), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1173 zassert_equal(net_if_down(ifb), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1174 zassert_equal(net_if_down(ifni), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1175 zassert_equal(net_if_down(ifnull), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1176 zassert_equal(net_if_down(ifnone), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1180 zassert_equal(conn_mgr_all_if_up(true), 0, "conn_mgr_all_if_up should succeed."); in ZTEST()
1184 zassert_true(net_if_is_admin_up(ifa2), "All non-ignored ifaces should be admin-up."); in ZTEST()
1185 zassert_true(net_if_is_admin_up(ifb), "All non-ignored ifaces should be admin-up."); in ZTEST()
1186 zassert_true(net_if_is_admin_up(ifni), "All non-ignored ifaces should be admin-up."); in ZTEST()
1187 zassert_true(net_if_is_admin_up(ifnull), "All non-ignored ifaces should be admin-up."); in ZTEST()
1188 zassert_true(net_if_is_admin_up(ifnone), "All non-ignored ifaces should be admin-up."); in ZTEST()
1190 zassert_false(net_if_is_admin_up(ifa1), "Ignored iface should not be admin-up."); in ZTEST()
1203 zassert_equal(conn_mgr_all_if_connect(false), 0, "conn_mgr_all_if_connect should succeed."); in ZTEST()
1207 zassert_true(net_if_is_admin_up(ifa1), "All ifaces should be admin-up."); in ZTEST()
1208 zassert_true(net_if_is_admin_up(ifa2), "All ifaces should be admin-up."); in ZTEST()
1209 zassert_true(net_if_is_admin_up(ifb), "All ifaces should be admin-up."); in ZTEST()
1210 zassert_true(net_if_is_admin_up(ifni), "All ifaces should be admin-up."); in ZTEST()
1211 zassert_true(net_if_is_admin_up(ifnull), "All ifaces should be admin-up."); in ZTEST()
1212 zassert_true(net_if_is_admin_up(ifnone), "All ifaces should be admin-up."); in ZTEST()
1215 zassert_true(net_if_is_up(ifa1), "All bound ifaces should be connected."); in ZTEST()
1216 zassert_true(net_if_is_up(ifa2), "All bound ifaces should be connected."); in ZTEST()
1217 zassert_true(net_if_is_up(ifb), "All bound ifaces should be connected."); in ZTEST()
1218 zassert_true(net_if_is_up(ifni), "All bound ifaces should be connected."); in ZTEST()
1221 zassert_equal(conn_mgr_if_disconnect(ifa1), 0, "net_if_disconnect should succeed."); in ZTEST()
1222 zassert_equal(conn_mgr_if_disconnect(ifa2), 0, "net_if_disconnect should succeed."); in ZTEST()
1223 zassert_equal(conn_mgr_if_disconnect(ifb), 0, "net_if_disconnect should succeed."); in ZTEST()
1224 zassert_equal(conn_mgr_if_disconnect(ifni), 0, "net_if_disconnect should succeed."); in ZTEST()
1226 zassert_equal(net_if_down(ifa1), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1227 zassert_equal(net_if_down(ifa2), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1228 zassert_equal(net_if_down(ifb), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1229 zassert_equal(net_if_down(ifni), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1230 zassert_equal(net_if_down(ifnull), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1231 zassert_equal(net_if_down(ifnone), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1235 zassert_equal(conn_mgr_all_if_connect(true), 0, "conn_mgr_all_if_connect should succeed."); in ZTEST()
1239 zassert_true(net_if_is_admin_up(ifa2), "All non-ignored ifaces should be admin-up."); in ZTEST()
1240 zassert_true(net_if_is_admin_up(ifb), "All non-ignored ifaces should be admin-up."); in ZTEST()
1241 zassert_true(net_if_is_admin_up(ifni), "All non-ignored ifaces should be admin-up."); in ZTEST()
1242 zassert_true(net_if_is_admin_up(ifnull), "All non-ignored ifaces should be admin-up."); in ZTEST()
1244 zassert_false(net_if_is_admin_up(ifa1), "All ignored ifaces should be admin-down."); in ZTEST()
1245 zassert_false(net_if_is_admin_up(ifnone), "All ignored ifaces should be admin-down."); in ZTEST()
1248 zassert_true(net_if_is_up(ifa2), "All non-ignored bound ifaces should be connected."); in ZTEST()
1249 zassert_true(net_if_is_up(ifb), "All non-ignored bound ifaces should be connected."); in ZTEST()
1250 zassert_true(net_if_is_up(ifni), "All non-ignored bound ifaces should be connected."); in ZTEST()
1252 zassert_false(net_if_is_up(ifa1), "Ignored iface should not be connected."); in ZTEST()
1264 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1265 zassert_equal(net_if_up(ifa2), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1266 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1267 zassert_equal(net_if_up(ifni), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1268 zassert_equal(net_if_up(ifnull), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1269 zassert_equal(net_if_up(ifnone), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1273 zassert_equal(conn_mgr_all_if_down(false), 0, "conn_mgr_all_if_down should succeed."); in ZTEST()
1277 zassert_false(net_if_is_admin_up(ifa1), "All ifaces should be admin-down."); in ZTEST()
1278 zassert_false(net_if_is_admin_up(ifa2), "All ifaces should be admin-down."); in ZTEST()
1279 zassert_false(net_if_is_admin_up(ifb), "All ifaces should be admin-down."); in ZTEST()
1280 zassert_false(net_if_is_admin_up(ifni), "All ifaces should be admin-down."); in ZTEST()
1281 zassert_false(net_if_is_admin_up(ifnull), "All ifaces should be admin-down."); in ZTEST()
1282 zassert_false(net_if_is_admin_up(ifnone), "All ifaces should be admin-down."); in ZTEST()
1285 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1286 zassert_equal(net_if_up(ifa2), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1287 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1288 zassert_equal(net_if_up(ifni), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1289 zassert_equal(net_if_up(ifnull), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1290 zassert_equal(net_if_up(ifnone), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1294 zassert_equal(conn_mgr_all_if_down(true), 0, "conn_mgr_all_if_down should succeed."); in ZTEST()
1298 zassert_false(net_if_is_admin_up(ifa2), "All non-ignored ifaces should be admin-down."); in ZTEST()
1299 zassert_false(net_if_is_admin_up(ifb), "All non-ignored ifaces should be admin-down."); in ZTEST()
1300 zassert_false(net_if_is_admin_up(ifni), "All non-ignored ifaces should be admin-down."); in ZTEST()
1301 zassert_false(net_if_is_admin_up(ifnull), "All non-ignored ifaces should be admin-down."); in ZTEST()
1302 zassert_false(net_if_is_admin_up(ifnone), "All non-ignored ifaces should be admin-down."); in ZTEST()
1304 zassert_true(net_if_is_admin_up(ifa1), "Ignored iface should be admin-up."); in ZTEST()
1316 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1317 zassert_equal(net_if_up(ifa2), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1318 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1319 zassert_equal(net_if_up(ifni), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1320 zassert_equal(net_if_up(ifnull), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1321 zassert_equal(net_if_up(ifnone), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1325 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1326 zassert_equal(conn_mgr_if_connect(ifa2), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1327 zassert_equal(conn_mgr_if_connect(ifb), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1328 zassert_equal(conn_mgr_if_connect(ifni), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1333 "conn_mgr_all_if_disconnect should succeed."); in ZTEST()
1337 zassert_false(net_if_is_up(ifa1), "All bound ifaces should be disconnected."); in ZTEST()
1338 zassert_false(net_if_is_up(ifa2), "All bound ifaces should be disconnected."); in ZTEST()
1339 zassert_false(net_if_is_up(ifb), "All bound ifaces should be disconnected."); in ZTEST()
1340 zassert_false(net_if_is_up(ifni), "All bound ifaces should be disconnected."); in ZTEST()
1343 zassert_true(net_if_is_admin_up(ifa1), "All ifaces should be admin-up."); in ZTEST()
1344 zassert_true(net_if_is_admin_up(ifa2), "All ifaces should be admin-up."); in ZTEST()
1345 zassert_true(net_if_is_admin_up(ifb), "All ifaces should be admin-up."); in ZTEST()
1346 zassert_true(net_if_is_admin_up(ifni), "All ifaces should be admin-up."); in ZTEST()
1347 zassert_true(net_if_is_admin_up(ifnull), "All ifaces should be admin-up."); in ZTEST()
1348 zassert_true(net_if_is_admin_up(ifnone), "All ifaces should be admin-up."); in ZTEST()
1351 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1352 zassert_equal(conn_mgr_if_connect(ifa2), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1353 zassert_equal(conn_mgr_if_connect(ifb), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1354 zassert_equal(conn_mgr_if_connect(ifni), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1359 "conn_mgr_all_if_disconnect should succeed."); in ZTEST()
1363 zassert_false(net_if_is_up(ifa2), "All non-ignored bound ifaces should be disconnected."); in ZTEST()
1364 zassert_false(net_if_is_up(ifb), "All non-ignored bound ifaces should be disconnected."); in ZTEST()
1365 zassert_false(net_if_is_up(ifni), "All non-ignored bound ifaces should be disconnected."); in ZTEST()
1367 zassert_true(net_if_is_up(ifa1), "Ignored iface should still be connected"); in ZTEST()
1376 "conn_mgr_all_if_up should succeed."); in ZTEST()
1378 "conn_mgr_all_if_up should succeed twice in a row."); in ZTEST()
1383 "conn_mgr_all_if_up should succeed twice in a row."); in ZTEST()
1387 zassert_true(net_if_is_admin_up(ifa1), "All ifaces should be admin-up."); in ZTEST()
1388 zassert_true(net_if_is_admin_up(ifa2), "All ifaces should be admin-up."); in ZTEST()
1389 zassert_true(net_if_is_admin_up(ifb), "All ifaces should be admin-up."); in ZTEST()
1390 zassert_true(net_if_is_admin_up(ifni), "All ifaces should be admin-up."); in ZTEST()
1391 zassert_true(net_if_is_admin_up(ifnull), "All ifaces should be admin-up."); in ZTEST()
1392 zassert_true(net_if_is_admin_up(ifnone), "All ifaces should be admin-up."); in ZTEST()
1399 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1400 zassert_equal(net_if_up(ifa2), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1401 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1402 zassert_equal(net_if_up(ifni), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1403 zassert_equal(net_if_up(ifnull), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1404 zassert_equal(net_if_up(ifnone), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1409 "conn_mgr_all_if_down should succeed."); in ZTEST()
1411 "conn_mgr_all_if_down should succeed twice in a row."); in ZTEST()
1416 "conn_mgr_all_if_down should succeed twice in a row."); in ZTEST()
1420 zassert_false(net_if_is_admin_up(ifa1), "All ifaces should be admin-down."); in ZTEST()
1421 zassert_false(net_if_is_admin_up(ifa2), "All ifaces should be admin-down."); in ZTEST()
1422 zassert_false(net_if_is_admin_up(ifb), "All ifaces should be admin-down."); in ZTEST()
1423 zassert_false(net_if_is_admin_up(ifni), "All ifaces should be admin-down."); in ZTEST()
1424 zassert_false(net_if_is_admin_up(ifnull), "All ifaces should be admin-down."); in ZTEST()
1425 zassert_false(net_if_is_admin_up(ifnone), "All ifaces should be admin-down."); in ZTEST()
1433 "conn_mgr_all_if_connect should succeed."); in ZTEST()
1435 "conn_mgr_all_if_connect should succeed twice in a row."); in ZTEST()
1440 "conn_mgr_all_if_connect should succeed twice in a row."); in ZTEST()
1444 zassert_true(net_if_is_admin_up(ifa1), "All ifaces should be admin-up."); in ZTEST()
1445 zassert_true(net_if_is_admin_up(ifa2), "All ifaces should be admin-up."); in ZTEST()
1446 zassert_true(net_if_is_admin_up(ifb), "All ifaces should be admin-up."); in ZTEST()
1447 zassert_true(net_if_is_admin_up(ifni), "All ifaces should be admin-up."); in ZTEST()
1448 zassert_true(net_if_is_admin_up(ifnull), "All ifaces should be admin-up."); in ZTEST()
1449 zassert_true(net_if_is_admin_up(ifnone), "All ifaces should be admin-up."); in ZTEST()
1458 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1459 zassert_equal(net_if_up(ifa2), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1460 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1461 zassert_equal(net_if_up(ifni), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1462 zassert_equal(net_if_up(ifnull), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1463 zassert_equal(net_if_up(ifnone), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1467 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1468 zassert_equal(conn_mgr_if_connect(ifa2), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1469 zassert_equal(conn_mgr_if_connect(ifb), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1470 zassert_equal(conn_mgr_if_connect(ifni), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1475 "conn_mgr_all_if_disconnect should succeed."); in ZTEST()
1477 "conn_mgr_all_if_disconnect should succeed twice in a row."); in ZTEST()
1482 "conn_mgr_all_if_disconnect should succeed twice in a row."); in ZTEST()
1486 zassert_false(net_if_is_up(ifa1), "All bound ifaces should be disconnected."); in ZTEST()
1487 zassert_false(net_if_is_up(ifa2), "All bound ifaces should be disconnected."); in ZTEST()
1488 zassert_false(net_if_is_up(ifb), "All bound ifaces should be disconnected."); in ZTEST()
1489 zassert_false(net_if_is_up(ifni), "All bound ifaces should be disconnected."); in ZTEST()
1492 zassert_true(net_if_is_admin_up(ifa1), "All ifaces should be admin-up."); in ZTEST()
1493 zassert_true(net_if_is_admin_up(ifa2), "All ifaces should be admin-up."); in ZTEST()
1494 zassert_true(net_if_is_admin_up(ifb), "All ifaces should be admin-up."); in ZTEST()
1495 zassert_true(net_if_is_admin_up(ifni), "All ifaces should be admin-up."); in ZTEST()
1496 zassert_true(net_if_is_admin_up(ifnull), "All ifaces should be admin-up."); in ZTEST()
1497 zassert_true(net_if_is_admin_up(ifnone), "All ifaces should be admin-up."); in ZTEST()
1520 "conn_mgr_all_if_connect should fail with the requested error."); in ZTEST()
1524 zassert_true(net_if_is_admin_up(ifa1), "All ifaces should be admin-up."); in ZTEST()
1525 zassert_true(net_if_is_admin_up(ifa2), "All ifaces should be admin-up."); in ZTEST()
1526 zassert_true(net_if_is_admin_up(ifb), "All ifaces should be admin-up."); in ZTEST()
1527 zassert_true(net_if_is_admin_up(ifni), "All ifaces should be admin-up."); in ZTEST()
1528 zassert_true(net_if_is_admin_up(ifnull), "All ifaces should be admin-up."); in ZTEST()
1529 zassert_true(net_if_is_admin_up(ifnone), "All ifaces should be admin-up."); in ZTEST()
1532 zassert_true(net_if_is_up(ifa2), "All non-failing ifaces should be connected."); in ZTEST()
1533 zassert_true(net_if_is_up(ifb), "All non-failing ifaces should be connected."); in ZTEST()
1534 zassert_true(net_if_is_up(ifni), "All non-failing ifaces should be connected."); in ZTEST()
1537 zassert_false(net_if_is_up(ifa1), "The failing iface should not be connected."); in ZTEST()
1546 zassert_equal(net_if_up(ifa1), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1547 zassert_equal(net_if_up(ifa2), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1548 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1549 zassert_equal(net_if_up(ifni), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1550 zassert_equal(net_if_up(ifnull), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1551 zassert_equal(net_if_up(ifnone), 0, "net_if_up should succeed for all ifaces."); in ZTEST()
1555 zassert_equal(conn_mgr_if_connect(ifa1), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1556 zassert_equal(conn_mgr_if_connect(ifa2), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1557 zassert_equal(conn_mgr_if_connect(ifb), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1558 zassert_equal(conn_mgr_if_connect(ifni), 0, "conn_mgr_if_connect should succeed."); in ZTEST()
1566 "conn_mgr_all_if_disconnect should fail with the requested error."); in ZTEST()
1569 zassert_true(net_if_is_admin_up(ifa1), "All ifaces should be admin-up."); in ZTEST()
1570 zassert_true(net_if_is_admin_up(ifa2), "All ifaces should be admin-up."); in ZTEST()
1571 zassert_true(net_if_is_admin_up(ifb), "All ifaces should be admin-up."); in ZTEST()
1572 zassert_true(net_if_is_admin_up(ifni), "All ifaces should be admin-up."); in ZTEST()
1573 zassert_true(net_if_is_admin_up(ifnull), "All ifaces should be admin-up."); in ZTEST()
1574 zassert_true(net_if_is_admin_up(ifnone), "All ifaces should be admin-up."); in ZTEST()
1577 zassert_false(net_if_is_up(ifa2), "All non-failing ifaces should be disconnected."); in ZTEST()
1578 zassert_false(net_if_is_up(ifb), "All non-failing ifaces should be disconnected."); in ZTEST()
1579 zassert_false(net_if_is_up(ifni), "All non-failing ifaces should be disconnected."); in ZTEST()
1582 zassert_true(net_if_is_up(ifa1), "The failing iface should not be disconnected."); in ZTEST()