Permalink
Browse files

fix some tests

  • Loading branch information...
brice-morin committed Aug 16, 2017
1 parent a4f4181 commit 1cafa37e0d1ff6d9e96ddd30be0bb3441bee538f
@@ -8,14 +8,9 @@ thing TestInit includes Test
state I {
on entry do
Test!Out('\'E\'')
end
transition -> J
}
state J {
internal event Test?Done
action TestDone()
TestDone()
end
}
}
}
@@ -3,6 +3,8 @@ import "../../thingml.thingml"
thing TestSelfMessageB includes Test
@test "ttt # IJJJ"
{
property counter : Integer = 0
message selfMessage(c : Char);
required port in {
@@ -23,10 +25,11 @@ thing TestSelfMessageB includes Test
internal event m : in?selfMessage
guard m.c == '\'t\''
action TestOut('\'J\'')
internal event Test?Done
action TestDone()
action do
TestOut('\'J\'')
counter = counter + 1
if (counter == 3) TestDone()
end
}
}
}

0 comments on commit 1cafa37

Please sign in to comment.