or not self.getParentTestDescription().isLocallyOrdered
message: self.prefix() +
"If the 'Block' is contained in a locally ordered 'TestDescription' then a guard shall be specified for every participating 'ComponentInstance' in the associated 'TestConfiguration' that has the role 'Tester' or there shall be no guards at all. "
@@ -948,7 +948,7 @@ context LocalExpression {
//Local expressions in locally ordered test descriptions have 'ComponentInstance' specified
or not self.getParentTestDescription().isLocallyOrdered
message: self.prefix() +
"If the 'BoundedLoopBehaviour' is contained in a locally ordered 'TestDescription' then a numIteration shall be specified for every participating 'ComponentInstance' that has the role 'Tester'."
@@ -1226,7 +1226,7 @@ context PeriodicBehaviour {
//Period for each tester in locally ordered test descriptions
or not self.getParentTestDescription().isLocallyOrdered
message: self.prefix() +
"If the 'PeriodicBehaviour' is contained in a locally ordered 'TestDescription' then a period shall be specified for every 'ComponentInstance' that has the role 'Tester' and for which there is a behaviour in the contained 'Block'. "
-- Guard for each participating tester in locally ordered test descriptions
invGuardsForParticipatingComponents('If the \'Block\' is contained in a locally ordered \'TestDescription\' then a guard shall be specified for every participating \'ComponentInstance\' in the associated \'TestConfiguration\' that has the role \'Tester\' or there shall be no guards at all. '+self.toString()):
-- Local expressions in locally ordered test descriptions have 'ComponentInstance' specified
invLocalExpressionComponent('If the \'LocalExpression\' is contained in a locally ordered \'TestDescription\' then the componentInstance shall be specified. '+self.toString()):
self.getParentTestDescription().isLocallyOrdered
impliesnotself.scope.oclIsUndefined()
impliesnotself.componentInstance.oclIsUndefined()
-- Only local variables and time labels in case of locally ordered test description
-- Iteration count in locally ordered test descriptions
invIterationCountsForParticipatingComponents('If the \'BoundedLoopBehaviour\' is contained in a locally ordered \'TestDescription\' then a numIteration shall be specified for every participating \'ComponentInstance\' that has the role \'Tester\'.'+self.toString()):
-- Period for each tester in locally ordered test descriptions
invPeriodForParticipatingComponents('If the \'PeriodicBehaviour\' is contained in a locally ordered \'TestDescription\' then a period shall be specified for every \'ComponentInstance\' that has the role \'Tester\' and for which there is a behaviour in the contained \'Block\'. '+self.toString()):
or not self.getParentTestDescription().isLocallyOrdered
message: self.prefix() +
"If the 'BoundedLoopBehaviour' is contained in a locally ordered 'TestDescription' then a numIteration shall be specified for every participating 'ComponentInstance' that has the role 'Tester'."
@@ -1328,7 +1328,7 @@ context PeriodicBehaviour {
constraint PeriodForParticipatingComponents {
//TODO: Enum::Literal not supported -> use Enum#Literal
->forAll(c | self.period->exists(ex | ex.scope = c)) //TODO: changed to scope, NOTE: specification still says componentInstance?! -> scope is outdated? => needs to be reverted!
->forAll(c | self.period->exists(ex | ex.componentInstance = c)) //TODO: changed to scope, NOTE: specification still says componentInstance?! -> scope is outdated? => needs to be reverted!
or not self.getParentTestDescription().isLocallyOrdered
message: self.prefix() +
"If the 'PeriodicBehaviour' is contained in a locally ordered 'TestDescription' then a period shall be specified for every 'ComponentInstance' that has the role 'Tester' and for which there is a behaviour in the contained 'Block'. "
-- Guard for each participating tester in locally ordered test descriptions
invGuardsForParticipatingComponents('If the \'Block\' is contained in a locally ordered \'TestDescription\' then a guard shall be specified for every participating \'ComponentInstance\' in the associated \'TestConfiguration\' that has the role \'Tester\' or there shall be no guards at all. '+self.toString()):
-- Local expressions in locally ordered test descriptions have 'ComponentInstance' specified
invLocalExpressionComponent('If the \'LocalExpression\' is contained in a locally ordered \'TestDescription\' then the componentInstance shall be specified. '+self.toString()):
self.getParentTestDescription().isLocallyOrdered
impliesnotself.scope.oclIsUndefined()
impliesnotself.componentInstance.oclIsUndefined()
-- Only local variables and time labels in case of locally ordered test description
-- Iteration count in locally ordered test descriptions
invIterationCountsForParticipatingComponents('If the \'BoundedLoopBehaviour\' is contained in a locally ordered \'TestDescription\' then a numIteration shall be specified for every participating \'ComponentInstance\' that has the role \'Tester\'.'+self.toString()):
-- Period for each tester in locally ordered test descriptions
invPeriodForParticipatingComponents('If the \'PeriodicBehaviour\' is contained in a locally ordered \'TestDescription\' then a period shall be specified for every \'ComponentInstance\' that has the role \'Tester\' and for which there is a behaviour in the contained \'Block\'. '+self.toString()):