Lines Matching refs:TEST_ASSERT
21 TEST_ASSERT(conn); in connected_cb_expect_fail()
22 TEST_ASSERT(err == BT_HCI_ERR_UNKNOWN_CONN_ID, "Expected connection timeout"); in connected_cb_expect_fail()
30 TEST_ASSERT(conn); in connected_cb()
31 TEST_ASSERT(err == BT_HCI_ERR_SUCCESS, "Expected connection establishment"); in connected_cb()
71 TEST_ASSERT(err == 0, "Failed starting initiator (err %d)", err); in test_central_connect_timeout_with_timeout()
74 TEST_ASSERT(err == 0, "Failed getting connected timeout within %d s (err %d)", in test_central_connect_timeout_with_timeout()
83 TEST_ASSERT(diff_to_expected_ms < 0.1 * expected_conn_timeout_ms, in test_central_connect_timeout_with_timeout()
97 TEST_ASSERT(err == 0, "Can't enable Bluetooth (err %d)", err); in test_central_connect_timeout()
113 TEST_ASSERT(err == 0, "Can't enable Bluetooth (err %d)", err); in test_central_connect_when_connecting()
128 TEST_ASSERT(err == 0, "Failed starting initiator (err %d)", err); in test_central_connect_when_connecting()
133 TEST_ASSERT(initial_refs >= 1, "Expect to have at least once reference"); in test_central_connect_when_connecting()
136 TEST_ASSERT(err == -EALREADY, "Expected to fail to create connection (err %d)", err); in test_central_connect_when_connecting()
139 TEST_ASSERT(atomic_get(&conn->ref) == initial_refs, in test_central_connect_when_connecting()
143 TEST_ASSERT(err == 0, "Failed getting connected timeout", err); in test_central_connect_when_connecting()
145 TEST_ASSERT(atomic_get(&conn->ref) == 0, "Expect no more references"); in test_central_connect_when_connecting()
158 TEST_ASSERT(err == 0, "Can't enable Bluetooth (err %d)", err); in test_central_connect_to_existing()
174 TEST_ASSERT(err == 0, "Failed starting initiator (err %d)", err); in test_central_connect_to_existing()
177 TEST_ASSERT(err == 0, "Failed establishing connection", err); in test_central_connect_to_existing()
182 TEST_ASSERT(initial_refs >= 1, "Expect to have at least once reference"); in test_central_connect_to_existing()
185 TEST_ASSERT(err == -EINVAL, "Expected to fail to create a connection (err %d)", err); in test_central_connect_to_existing()
188 TEST_ASSERT(atomic_get(&conn->ref) == initial_refs, in test_central_connect_to_existing()