imsd/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 78c702546a
sip: ResponseOf compares a response's CSeq as its number and its method
ResponseOf matched a response to a request by its Call-ID and by its
CSeq compared as text. RFC 3261 25.1 writes the CSeq as 1*DIGIT LWS
Method, so a response may part the two by a tab or by more than one
space, and one written so was no transaction's: a REGISTER's wait ran
out without a reply.

CSeqParts takes a CSeq value as its number and its method: the digits it
begins with, the spaces or tabs after them, the method to the value's
end. ResponseOf compares the two as 20.16 has two CSeqs equal, "if the
sequence number and the request method are identical": the number as a
number — zeros before it do not make it another — and the method to the
letter. A value of another shape matches nothing.

Tested by tests/Sip: a final whose CSeq has two spaces, a tab or both
between its parts, or zeros before its number, is the transaction's, and
so is its 100 Trying; another number, another method, a method in other
letter case, and a CSeq without its number, its method or the white
space between them are not.
2026-11-22 17:35:11 +01:00
..
Aka tests: every suite returns 1 for a failure, not the count 2026-11-22 17:35:11 +01:00
Engine sip: a header is found under its compact form, and with white space before the colon 2026-11-22 17:35:11 +01:00
Ipsec tests: every suite returns 1 for a failure, not the count 2026-11-22 17:35:11 +01:00
Messages sip: a header is found under its compact form, and with white space before the colon 2026-11-22 17:35:11 +01:00
Qmi tests: every suite returns 1 for a failure, not the count 2026-11-22 17:35:11 +01:00
Sdp tests: every suite returns 1 for a failure, not the count 2026-11-22 17:35:11 +01:00
Sip sip: ResponseOf compares a response's CSeq as its number and its method 2026-11-22 17:35:11 +01:00
Sms project, docs: the linter goes 2026-11-19 16:43:16 +01:00
Util tests: every suite returns 1 for a failure, not the count 2026-11-22 17:35:11 +01:00