Commit f4b536c1 authored by berge's avatar berge
Browse files

Fixed issue related to charstring in generator

parent f8150dd3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -124,7 +124,6 @@ sub processTypeFile($) {
			    my @constraint;
			    if(defined $3) { 
				my $constraints = $3;
				$constraints = substr($constraints, 1, length($constraints) - 2) if $1 eq "charstring";
				@constraint = split(/,/, substr($constraints, 1, length($constraints) - 2));
			    }
			    if(defined $4) {
@@ -140,7 +139,6 @@ sub processTypeFile($) {
			    my @constraint;
			    if(defined $3) {
				my $constraints = $3;
				$constraints = substr($constraints, 1, length($constraints) - 2) if $1 eq "charstring";
				@constraint = split(/,/, substr($constraints, 1, length($constraints) - 2));
			    }
			    if(defined $4) {
+638 −412

File changed.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Diff line number Diff line
@@ -460,6 +460,8 @@ control {
	execute(TC_LOOPBACK_REQUEST_454());
	execute(TC_LOOPBACK_REQUEST_455());
	execute(TC_LOOPBACK_REQUEST_456());
	execute(TC_LOOPBACK_REQUEST_457());
	execute(TC_LOOPBACK_REQUEST_458());
	execute(TC_LOOPBACK_REGISTER_REQUEST_0());
	execute(TC_LOOPBACK_REGISTER_REQUEST_1());
	execute(TC_LOOPBACK_REGISTER_REQUEST_2());
+20 −0
Original line number Diff line number Diff line
@@ -4572,6 +4572,26 @@ import from SipCodecTest_LoopbackTemplates all;
		sipPort.receive(m_request_456);
	}

	testcase TC_LOOPBACK_REQUEST_457() runs on SipSimu system SipSimu {

		// Preamble
		map(self:sipPort, self:sipPort);

		// Test Body
		sipPort.send(m_request_457);
		sipPort.receive(m_request_457);
	}

	testcase TC_LOOPBACK_REQUEST_458() runs on SipSimu system SipSimu {

		// Preamble
		map(self:sipPort, self:sipPort);

		// Test Body
		sipPort.send(m_request_458);
		sipPort.receive(m_request_458);
	}

	testcase TC_LOOPBACK_REGISTER_REQUEST_0() runs on SipSimu system SipSimu {

		// Preamble