Commits

Paweł Wieczorek committed c4df3aa Draft

cleaning

Comments (0)

Files changed (1)

tests/data/Testdata_messages.ml

             ; String.repeat "a" 142
             ]
 
-            [ descr_sip_method INVITE
-            ; descr_uri (SipUri "sip:bob@biloxi.com")
-            ; descr_sip_version SIP_2_0
-            ; descr_cseq (SipCseq "314159 INVITE")
-            ; descr_call_id (SipCallId "a84b4c76e66710@pc33.atlanta.com")
-            ; descr_max_forwards 70
-            ; descr_content_length 142
-            ; descr_mime_fields "Via"
+            [ descr_sip_method
+                INVITE
+
+            ; descr_uri
+                (SipUri "sip:bob@biloxi.com")
+
+            ; descr_sip_version
+                SIP_2_0
+
+            ; descr_cseq
+                (SipCseq "314159 INVITE")
+
+            ; descr_call_id
+                (SipCallId "a84b4c76e66710@pc33.atlanta.com")
+
+            ; descr_max_forwards
+                70
+
+            ; descr_content_length
+                142
+
+            ; descr_mime_fields
+                "Via"
                 [ "SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds" 
                 ]
             ]
             ; String.repeat "a" 142
             ]
 
-            [ descr_max_forwards 70
-            ; descr_sip_version SIP_2_0
-            ; descr_content_length 142
+            [ descr_max_forwards
+                70
 
-            ; descr_mime_fields "Via"
+            ; descr_sip_version
+                SIP_2_0
+
+            ; descr_content_length
+                142
+
+            ; descr_mime_fields
+                "Via"
                 [ "SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds" 
                 ]
 
-            ; descr_mime_field "Test-header" "header multiline test"
+            ; descr_mime_field "Test-header"
+                "header multiline test"
             ]
 
         ; prepare_valid_message "invite with multipart body RFC3261.23.4.2"
             ; "--boundary42-"
             ]
 
-            [ descr_sip_method INVITE
-            ; descr_uri (SipUri "sip:bob@biloxi.com")
-            ; descr_sip_version SIP_2_0
-            ; descr_call_id (SipCallId "a84b4c76e66710")
-            ; descr_cseq (SipCseq "314159 INVITE")
+            [ descr_sip_method
+                INVITE
+
+            ; descr_uri
+                (SipUri "sip:bob@biloxi.com")
+
+            ; descr_sip_version
+                SIP_2_0
+
+            ; descr_call_id
+                (SipCallId "a84b4c76e66710")
+
+            ; descr_cseq
+                (SipCseq "314159 INVITE")
+
             ; descr_max_forwards 70
-            ; descr_mime_field "date" "Thu, 21 Feb 2002 13:02:03 GMT"
+
+            ; descr_mime_field "date"
+                "Thu, 21 Feb 2002 13:02:03 GMT"
+
             ; descr_mime_field "content-type"
                 "multipart/signed; protocol=\"application/pkcs7-signature\"; micalg=sha1; boundary=boundary42"
-            ; descr_content_length 568
+
+            ; descr_content_length
+                568
             ]
 
         ; prepare_valid_message "basic invite RFC3261.4, but as SIP/1.0"
             ; String.repeat "a" 142
             ]
 
-            [ descr_max_forwards 70
-            ; descr_sip_version SIP_1_0
-            ; descr_content_length 142
+            [ descr_max_forwards
+                70
 
-            ; descr_mime_fields "Via"
-                [ "SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds" 
-                ]
+            ; descr_sip_version
+                SIP_1_0
+
+            ; descr_content_length
+                142
             ]
 
         ; prepare_valid_message "basic invite RFC3261.4, but as SIP/1.5"
             ; String.repeat "a" 142
             ]
 
-            [ descr_max_forwards 70
-            ; descr_sip_version (UnknownSipVersion "1.5")
-            ; descr_content_length 142
+            [ descr_max_forwards
+                70
 
-            ; descr_mime_fields "Via"
-                [ "SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds" 
-                ]
+            ; descr_sip_version
+                (UnknownSipVersion "1.5")
+
+            ; descr_content_length
+                142
             ]