[EVL] Method "satisfiesAll" not found for... [message #1729580] |
Fri, 15 April 2016 15:43 |
Glatz Martin Messages: 23 Registered: March 2016 |
Junior Member |
|
|
Hello,
I need to evaluate that several EVL constraints are valid, so I wanted to use the satisfiesAll functionalty but the method isn't found.
Method 'satisfiesAll' not found for: CAEX.impl.CAEXFileImpl@27216cd [changeMode: <unset>] [fileName: Testcase.aml, schemaVersion: 2.15]
self.satisfiesAll is not found, self.satisfies works perfect - is there anything special to consider when using satisfiesAll?
Thanks in advance,
Best regards,
Martin
[Updated on: Fri, 15 April 2016 15:55] Report message to a moderator
|
|
|
|
|
|
Re: [EVL] Method "satisfiesAll" not found for... [message #1729707 is a reply to message #1729675] |
Mon, 18 April 2016 10:08 |
|
Hi Martin,
It appears that at some point we retired "satisfiesAll" in favour of a generic multi-parameter "satisfies". The following should work with recent versions of Epsilon:
context t_tree {
constraint c1 {
check : true
}
constraint c2 {
check : true
}
constraint c3 {
guard : self.satisfies("c1", "c2")
check : true.println()
}
}
against the following plain-XML model
Cheers,
Dimitris
|
|
|
|
Powered by
FUDForum. Page generated in 0.03828 seconds