2 To launch the complete test suite, try this:
6 The above command test all SIP messages from the "res/torture_msgs"
7 file and all SDP messages from the "res/torture_sdps" file.
13 Available test programs are:
15 * ./test/torture_test: test the SIP parser.
16 * ./test/torture_sdp : test the SDP parser, its accessor API and the
17 framework for negotiation.
19 * ./test/turl : test the sip-urls parser.
20 * ./test/tto : test some 'to' fields
21 * ./test/tfrom : test some 'from' fields
22 * ./test/tcontact : test some 'contact' fields
23 * ./test/tvia : test some 'via' fields
24 * ./test/tcallid : test some 'call-id' fields
25 * ./test/tcontentt : test some 'content-type' fields
32 How to use the test programs:
34 --> the SIP parser test messages found in a file.
36 Some SIP Message samples are provided in res/torture_msgs
39 ./test/torture_test res/torture_msgs 0
40 ./test/torture_test res/torture_msgs 1 -v
41 ./test/torture_test res/torture_msgs 3 -v -c
46 -v : print more info about messages.
47 -c : test the "osip_message_clone" method.
55 --> the SIP url parser:
57 ./test/turl res/urls.txt
66 --> the SIP headers parser:
68 ./test/tcallid conf/callids.txt
69 ./test/tfrom conf/froms.txt
70 ./test/tto conf/tos.txt
71 ./test/tvia conf/vias.txt
72 ./test/tcontact conf/contacts.txt
81 Some SDP Message samples are provided in res/torture_sdps
83 ./test/torture_sdp res/torture_sdps 3
84 ./test/torture_sdp res/torture_sdps 3 -v