1. Paweł Wieczorek
  2. ocaml-sip

Commits

Paweł Wieczorek  committed 274ab3b Draft

more tests

  • Participants
  • Parent commits 0341f60
  • Branches default

Comments (0)

Files changed (1)

File tests/data/Testdata_messages.ml

View file
             ; String.repeat "a" 142
             ]
 
-            [
+            [ descr_sip_method
+                INVITE
+
+            ; descr_sip_version
+                SIP_2_0
             ]
 
         ; prepare_valid_message "sip message from RFC3261.24.2 (atlanta.com proxy -> biloxi.com proxy)"
             ; String.repeat "a" 142
             ]
 
-            [
+            [ descr_sip_method
+                INVITE
+
+            ; descr_sip_version
+                SIP_2_0
             ]
 
         ; prepare_valid_message "sip message from RFC3261.24.2 (biloxi.com proxy -> Bob)"
             ; String.repeat "a" 142
             ]
 
-            [
+            [ descr_sip_method
+                INVITE
+
+            ; descr_sip_version
+                SIP_2_0
             ]
 
         ; prepare_valid_message "sip message ACK from RFC3261.24.2 (Alice -> Bob)"
             ; ""
             ]
 
-            [
+            [ descr_sip_method
+                ACK
             ]
 
         ; prepare_valid_message "sip message BYE from RFC3261.24.2 (Bob -> Alice)"
             ; ""
             ]
 
-            [
+            [ descr_sip_method
+                BYE
+
+            ; descr_sip_version
+                SIP_2_0
             ]
     ]