Searched refs:ADDRESS_2 (Results 1 – 2 of 2) sorted by relevance
208 const ADDRESS_2: AddressWithType = constant212 const CONNECTION_2: LeConnection = LeConnection { remote_address: ADDRESS_2 };398 attempts.process_connection(ADDRESS_2, Ok(CONNECTION_2)); in test_incoming_connection_while_another_is_pending()412 let pending_conn_2 = attempts.register_direct_connection(CLIENT_1, ADDRESS_2).unwrap(); in test_incoming_connection_resolves_some_but_not_all()414 attempts.register_background_connection(CLIENT_1, ADDRESS_2).unwrap(); in test_incoming_connection_resolves_some_but_not_all()462 let pending_conn_2 = attempts.register_direct_connection(CLIENT_1, ADDRESS_2).unwrap(); in test_remove_unconditionally()464 attempts.register_background_connection(CLIENT_1, ADDRESS_2).unwrap(); in test_remove_unconditionally()474 assert_eq!(attempts.active_attempts()[0].remote_address, ADDRESS_2); in test_remove_unconditionally()475 assert_eq!(attempts.active_attempts()[1].remote_address, ADDRESS_2); in test_remove_unconditionally()
123 const ADDRESS_2: AddressWithType = constant144 remote_address: ADDRESS_2, in test_determine_target_state()149 remote_address: ADDRESS_2, in test_determine_target_state()160 assert!(target.background_list.contains(&ADDRESS_2)); in test_determine_target_state()162 assert!(target.direct_list.contains(&ADDRESS_2)); in test_determine_target_state()