Lines Matching refs:err

83 	int err;  in ZTEST_F()  local
85 err = bt_cap_commander_register_cb(&mock_cap_commander_cb); in ZTEST_F()
86 zassert_equal(0, err, "Unexpected return value %d", err); in ZTEST_F()
91 int err; in ZTEST_F() local
93 err = bt_cap_commander_register_cb(NULL); in ZTEST_F()
94 zassert_equal(-EINVAL, err, "Unexpected return value %d", err); in ZTEST_F()
99 int err; in ZTEST_F() local
101 err = bt_cap_commander_register_cb(&mock_cap_commander_cb); in ZTEST_F()
102 zassert_equal(0, err, "Unexpected return value %d", err); in ZTEST_F()
104 err = bt_cap_commander_register_cb(&mock_cap_commander_cb); in ZTEST_F()
105 zassert_equal(-EALREADY, err, "Unexpected return value %d", err); in ZTEST_F()
110 int err; in ZTEST_F() local
112 err = bt_cap_commander_register_cb(&mock_cap_commander_cb); in ZTEST_F()
113 zassert_equal(0, err, "Unexpected return value %d", err); in ZTEST_F()
115 err = bt_cap_commander_unregister_cb(&mock_cap_commander_cb); in ZTEST_F()
116 zassert_equal(0, err, "Unexpected return value %d", err); in ZTEST_F()
121 int err; in ZTEST_F() local
123 err = bt_cap_commander_unregister_cb(NULL); in ZTEST_F()
124 zassert_equal(-EINVAL, err, "Unexpected return value %d", err); in ZTEST_F()
129 int err; in ZTEST_F() local
131 err = bt_cap_commander_register_cb(&mock_cap_commander_cb); in ZTEST_F()
132 zassert_equal(0, err, "Unexpected return value %d", err); in ZTEST_F()
134 err = bt_cap_commander_unregister_cb(&mock_cap_commander_cb); in ZTEST_F()
135 zassert_equal(0, err, "Unexpected return value %d", err); in ZTEST_F()
137 err = bt_cap_commander_unregister_cb(&mock_cap_commander_cb); in ZTEST_F()
138 zassert_equal(-EINVAL, err, "Unexpected return value %d", err); in ZTEST_F()
143 int err; in ZTEST_F() local
145 err = bt_cap_commander_register_cb(&mock_cap_commander_cb); in ZTEST_F()
146 zassert_equal(0, err, "Unexpected return value %d", err); in ZTEST_F()
149 err = bt_cap_commander_discover(&fixture->conns[i]); in ZTEST_F()
150 zassert_equal(0, err, "Unexpected return value %d", err); in ZTEST_F()
159 int err; in ZTEST_F() local
161 err = bt_cap_commander_register_cb(&mock_cap_commander_cb); in ZTEST_F()
162 zassert_equal(0, err, "Unexpected return value %d", err); in ZTEST_F()
164 err = bt_cap_commander_discover(NULL); in ZTEST_F()
165 zassert_equal(-EINVAL, err, "Unexpected return value %d", err); in ZTEST_F()