Commit 6d658030 authored by BenceJanosSzabo's avatar BenceJanosSzabo
Browse files

Merge github.com:eclipse/titan.core

parents 2bb9ca18 a1128524
......@@ -32,7 +32,7 @@ module NegSem_220302_GetcallOperation_008 {
var GeneralComp v_src;
alt
{
[] any from p.getcall(S:{p_par := (0..c_portCount)}) -> param (v_parValue := p_par) sender v_src @index v_index {
[] any from p.getcall(S:{p_par := (0..c_portCount)}) -> param (v_parValue := p_par) sender v_src @index value v_index {
if(v_index == 1 and v_parValue == v_index + 1){
setverdict(pass);
} else {
......
......@@ -28,7 +28,7 @@ module NegSyn_220302_GetcallOperation_001 {
var integer v_index;
alt
{
[] p.getcall -> @index v_index { setverdict(pass); }
[] p.getcall -> @index value v_index { setverdict(pass); }
[else] { setverdict(fail, "The any from getcall operation didn't match for some reason"); }
}
}
......
......@@ -29,7 +29,7 @@ module NegSyn_220302_GetcallOperation_002 {
var integer v_index;
alt
{
[] any port.getcall -> @index v_index { setverdict(pass); }
[] any port.getcall -> @index value v_index { setverdict(pass); }
[else] { setverdict(fail, "The any from getcall operation didn't match for some reason"); }
}
}
......
......@@ -30,7 +30,7 @@ module Sem_220302_GetcallOperation_008 {
var integer v_index;
alt
{
[] any from p.getcall(S:{p_par := (1..10)}) -> @index v_index {
[] any from p.getcall(S:{p_par := (1..10)}) -> @index value v_index {
setverdict(fail, "The any from getcall operation produced incorrect match");
}
[else] { setverdict(pass); }
......
......@@ -32,7 +32,7 @@ module Sem_220302_GetcallOperation_009 {
alt
{
[] any from p.getcall(S:{p_par := (1..10)}) -> sender v_src @index v_index {
[] any from p.getcall(S:{p_par := (1..10)}) -> sender v_src @index value v_index {
setverdict(fail, "The any from getcall operation produced incorrect match");
}
[else] { setverdict(pass); }
......
......@@ -33,7 +33,7 @@ module Sem_220302_GetcallOperation_010 {
alt
{
[] any from p.getcall(S:{p_par := (0..c_portCount)}) -> param (v_parValue := p_par) @index v_index {
[] any from p.getcall(S:{p_par := (0..c_portCount)}) -> param (v_parValue := p_par) @index value v_index {
if(v_index == 1 and v_parValue == v_index + 1){
setverdict(pass);
} else {
......
......@@ -33,7 +33,7 @@ module Sem_220302_GetcallOperation_011 {
var GeneralComp v_src;
alt
{
[] any from p.getcall(S:{p_par := (0..c_portCount)}) -> param (v_parValue := p_par) sender v_src @index v_index {
[] any from p.getcall(S:{p_par := (0..c_portCount)}) -> param (v_parValue := p_par) sender v_src @index value v_index {
if(v_index[0] == 1 and v_index[1] == 2 and v_parValue == v_index[0] + 1){
setverdict(pass);
} else {
......
......@@ -31,7 +31,7 @@ module Sem_220302_GetcallOperation_012 {
var @lazy integer v_index;
alt
{
[] any from p.getcall -> @index v_index {
[] any from p.getcall -> @index value v_index {
if(v_index == 1){ // no getcall call during evaluation, v_index remains equal to 1
setverdict(pass);
} else {
......
......@@ -32,7 +32,7 @@ module Sem_220302_GetcallOperation_013 {
var @fuzzy integer v_index;
alt
{
[] any from p.getcall -> @index v_index {
[] any from p.getcall -> @index value v_index {
if(v_index == 1){ // no getcall call during evaluation, v_index remains equal to 1
setverdict(pass);
} else {
......
......@@ -47,7 +47,7 @@ module NegSem_220304_getreply_operation_002 {
alt
{
[] any from p.getreply(S:?) -> @index v_index {
[] any from p.getreply(S:{}) -> @index value v_index {
if(v_index[0] == 1){
setverdict(pass);
} else {
......
......@@ -47,7 +47,7 @@ module NegSem_220304_getreply_operation_003 {
alt
{
[] any from p.getreply(S:?) -> @index v_index {
[] any from p.getreply(S:{}) -> @index value v_index {
if(v_index == 1.0){
setverdict(pass);
} else {
......
......@@ -31,7 +31,7 @@ module NegSem_220304_getreply_operation_004 {
{
for(var integer i := 0; i < c_portCount; i := i + 1) {
for(var integer j := 0; j < c_portCount; j := j + 1) {
p[i][j].getcall(S:?);
p[i][j].getcall(S:{});
if (i == 1 and j == 2 or i == 2 and j == 1) { p[i][j].reply(S:{}); }
}
}
......@@ -54,7 +54,7 @@ module NegSem_220304_getreply_operation_004 {
alt
{
[] any from p.getreply(S:{}) -> sender v_src @index v_index {
[] any from p.getreply(S:{}) -> sender v_src @index value v_index {
if(v_index[0] == 1 and v_index[1] == 2){
setverdict(pass);
} else {
......
......@@ -31,7 +31,7 @@ module NegSem_220304_getreply_operation_005 {
{
for(var integer i := 0; i < c_portCount; i := i + 1) {
for(var integer j := 0; j < c_portCount; j := j + 1) {
p[i][j].getcall(S:?);
p[i][j].getcall(S:{});
if (i == 1 and j == 2 or i == 2 and j == 1) { p[i][j].reply(S:{}); }
}
}
......@@ -53,7 +53,7 @@ module NegSem_220304_getreply_operation_005 {
alt
{
[] any from p.getreply(S:{}) -> @index v_index {
[] any from p.getreply(S:{}) -> @index value v_index {
if(v_index == 1){
setverdict(pass);
} else {
......
......@@ -25,7 +25,7 @@ module NegSyn_220304_getreply_operation_001 {
function f() runs on GeneralComp
{
p.getcall(S:?);
p.getcall(S:{});
p.reply(S:{});
}
......@@ -38,7 +38,7 @@ module NegSyn_220304_getreply_operation_001 {
v_ptc.done;
alt
{
[] p.getreply -> @index v_index { setverdict(pass); }
[] p.getreply -> @index value v_index { setverdict(pass); }
[else] { setverdict(fail, "The any from getreply operation didn't match for some reason"); }
}
}
......
......@@ -26,7 +26,7 @@ module NegSyn_220304_getreply_operation_002 {
function f() runs on GeneralComp
{
p.getcall(S:?);
p.getcall(S:{});
p.reply(S:{});
}
......@@ -39,7 +39,7 @@ module NegSyn_220304_getreply_operation_002 {
v_ptc.done;
alt
{
[] any port.getreply -> @index v_index { setverdict(pass); }
[] any port.getreply -> @index value v_index { setverdict(pass); }
[else] { setverdict(fail, "The any from getreply operation didn't match for some reason"); }
}
}
......
......@@ -47,7 +47,7 @@ module Sem_220304_getreply_operation_003 {
alt
{
[] any from p.getreply(S:{p_par := (1..10)}) -> @index v_index {
[] any from p.getreply(S:{p_par := (1..10)}) -> @index value v_index {
setverdict(fail, "The any from getreply operation produced incorrect match");
}
[else] { setverdict(pass); }
......
......@@ -47,7 +47,7 @@ module Sem_220304_getreply_operation_004 {
alt
{
[] any from p.getreply(S:{p_par := (1..10)}) -> @index v_index {
[] any from p.getreply(S:{p_par := (1..10)}) -> @index value v_index {
setverdict(fail, "The any from getreply operation produced incorrect match");
}
[else] { setverdict(pass); }
......
......@@ -49,7 +49,7 @@ module Sem_220304_getreply_operation_005 {
alt
{
[] any from p.getreply(S:? value (0..c_portCount)) -> value v_res @index v_index {
[] any from p.getreply(S:{} value (0..c_portCount)) -> value v_res @index value v_index {
if(v_index == 1 and v_res == v_index + 1){
setverdict(pass);
} else {
......
......@@ -53,7 +53,7 @@ module Sem_220304_getreply_operation_006 {
alt
{
[] any from p.getreply(S:{p_par := (0..c_portCount)}) -> param (v_parValue := p_par) sender v_src @index v_index {
[] any from p.getreply(S:{p_par := (0..c_portCount)}) -> param (v_parValue := p_par) sender v_src @index value v_index {
if(v_index[0] == 1 and v_index[1] == 2 and v_parValue == v_index[0] + 1){
setverdict(pass);
} else {
......
......@@ -47,7 +47,7 @@ module Sem_220304_getreply_operation_007 {
alt
{
[] any from p.getreply(S:?) -> @index v_index {
[] any from p.getreply(S:{}) -> @index value v_index {
if(v_index == 1){ // no getreply call during evaluation, v_index remains equal to 1
setverdict(pass);
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment