XEP-0260 (Jingle SOCKS5 Bytestreams Transport) — the wire layer and the
negotiation arithmetic, with no sockets and no session state, so all of it is
testable directly.
The shape that distinguishes this from XEP-0065 (which the sipub transport
already uses): there, one side publishes streamhosts and the other picks one.
Here both sides offer candidates and both try to connect, then each
reports what worked with <candidate-used/> (or <candidate-error/>), and the
two reports are reconciled by priority. That reconciliation is resolve()
below, and it is the part worth testing exhaustively.
XEP-0260 (Jingle SOCKS5 Bytestreams Transport) — the wire layer and the negotiation arithmetic, with no sockets and no session state, so all of it is testable directly.
The shape that distinguishes this from XEP-0065 (which the sipub transport already uses): there, one side publishes streamhosts and the other picks one. Here both sides offer candidates and both try to connect, then each reports what worked with
<candidate-used/>(or<candidate-error/>), and the two reports are reconciled by priority. That reconciliation isresolve()below, and it is the part worth testing exhaustively.