Commit 1618a4d5 authored by baire's avatar baire
Browse files

transformed TC_INV2543 into a negative test

parent 88c17dea
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -423,22 +423,18 @@ module SipTorture_TestCases
		}
	}

	testcase TC_INV2543() runs on SipSimuEx
	testcase TC_INV2543_I() runs on SipSimuEx
	{
		tc_defaultTimeout.start;
		alt
		{
			[]sipPort.receive(INVITE_Request:{requestLine := {method := INVITE_E, requestUri := {scheme := "sip", userInfo := {userOrTelephoneSubscriber := "UserB", password := omit}, hostPort := {host := "example.com", portField := omit}, urlParameters := omit, headers := omit}, sipVersion := "SIP/2.0"}, msgHeader := {accept := omit, acceptContact := omit, acceptEncoding := omit, acceptLanguage := omit, alertInfo := omit, allow := omit, allowEvents := omit, authenticationInfo := omit, authorization := omit, callId := {fieldName := CALL_ID_E, callid := "inv2543.1717@ift.client.example.com"}, callInfo := omit, contact := omit, contentDisposition := omit, contentEncoding := omit, contentLanguage := omit, contentLength := omit, contentType := {fieldName := CONTENT_TYPE_E, mediaType := "application/sdp"}, cSeq := {fieldName := CSEQ_E, seqNumber := 56, method := "INVITE"}, date := omit, errorInfo := omit, event := omit, expires := omit, fromField := {fieldName := FROM_E, addressField := {nameAddr := {displayName := omit, addrSpec := {scheme := "sip", userInfo := {userOrTelephoneSubscriber := "+13035551111", password := omit}, hostPort := {host := "ift.client.example.net", portField := omit}, urlParameters := {{id := "user", paramValue := "phone"}}, headers := omit}}}, fromParams := omit}, historyInfo := omit, inReplyTo := omit, maxForwards := omit, mimeVersion := omit, minExpires := omit, minSE := omit, organization := omit, pAccessNetworkInfo := omit, pAssertedID := omit, pAssertedService := omit, pAssociatedURI := omit, path := omit, pCalledPartyID := omit, pChargingFunctionAddresses := omit, pChargingVector := omit, pEarlyMedia := omit, pMediaAuthorization := omit, pPreferredID := omit, priority := omit, privacy := omit, proxyAuthenticate := omit, proxyAuthorization := omit, proxyRequire := omit, pVisitedNetworkID := omit, rAck := omit, rSeq := omit, reason := omit, recordRoute := {fieldName := RECORD_ROUTE_E, routeBody := {{nameAddr := {displayName := omit, addrSpec := {scheme := "sip", userInfo := {userOrTelephoneSubscriber := "UserB", password := omit}, hostPort := {host := "example.com", portField := omit}, urlParameters := {{id := "maddr", paramValue := "ss1.example.com"}}, headers := omit}}, rrParam := omit}}}, referredBy := omit, referTo := omit, replyTo := omit, require := omit, retryAfter := omit, route := omit, securityClient := omit, securityServer := omit, securityVerify := omit, server := omit, serviceRoute := omit, sessionExpires := omit, subject := omit, subscriptionState := omit, supported := omit, timestamp := omit, toField := {fieldName := TO_E, addressField := {addrSpecUnion := {scheme := "sip", userInfo := {userOrTelephoneSubscriber := "+16505552222", password := omit}, hostPort := {host := "ss1.example.net", portField := omit}, urlParameters := {{id := "user", paramValue := "phone"}}, headers := omit}}, toParams := omit}, unsupported := omit, userAgent := omit, via := {fieldName := VIA_E, viaBody := {{sentProtocol := {protocolName := "SIP", protocolVersion := "2.0", transport := "UDP"}, sentBy := {host := "iftgw.example.com", portField := omit}, viaParams := omit}}}, warning := omit, wwwAuthenticate := omit, undefinedHeader_List := omit}, messageBody := ?, payload := ?})
			{
				setverdict(pass);
			}
			[]sipPort.receive(INVITE_Request:?)
			{
				setverdict(inconc);
				setverdict(fail);
			}
			[]sipPort.receive
			{
				setverdict(fail);
				setverdict(pass);
			}
			[]tc_defaultTimeout.timeout
			{
@@ -1137,7 +1133,7 @@ module SipTorture_TestCases
		execute (TC_ESCRURI());
		execute (TC_INSUF_I());
		execute (TC_INTMETH());
		execute (TC_INV2543());
		execute (TC_INV2543_I());
		execute (TC_INVUT());
		execute (TC_LONGREQ());
		execute (TC_LTGTRURI());