h1(#Test2). Yakindu SCT Testcase 06 - Expression Language Proposals


|_. Nr |_. Testname |_. Test Instructions |_. Postconditions |_. Status|
| 6.1 | Extend statechart interface | Replace the statechart specification by the following:<p><pre>@namespace Staircase@</p><p>	@internal:@<br>	@var light : boolean@</p><p>	@interface A:@<br>	@in event keypress@</p><p>	@interface B:@<br>	@in event keypress@</p><p>Select transition with keypress trigger and double-click on trigger.</p><p>Replace "keypress" by "A.keypress" to qualify the event.</p> <p> *save the model* | No error messages are shown. | %{color:red}open% |
| 6.2 | Create another statechart | Create a new statechart model and name it OtherStatechart.<p>Replace the default text in the definition section by the following:</p><pre><p>@namespace OtherStatechart@</p><p>@interface A:@<br>	@out event e1@<br>	@in event e2@</p><p>	@interface B:@<br>	@out event e1@<br>	@in event e2@ | The new statechart OtherStatechart is created. It does not have any error markers. | %{color:red}open% |
| 6.3 | Test state proposals | Select state LightOff.<p>Open properties view.</p><p>Place the cursor in front of the expression in the state specification and press *[Ctrl+Space]*.</p> | Only the following proposals should be displayed:<p>&emsp;- A<br>&emsp;- B<br>&emsp;- [<br>&emsp;- after<br>&emsp;- always<br>&emsp;- entry<br>&emsp;- every<br>&emsp;- exit<br>&emsp;- oncycle | %{color:red}open% |
| 6.4 | Test transitions proposals | Select transition with trigger A.keypress.<p>Open properties view.</p><p>Move cursor in front of A.keypress and press *[Ctrl+Space]*.</p> | Only following proposals should be displayed:<p>&emsp;- A<br>&emsp;- B<br>&emsp;- #<br>&emsp;- /<br>&emsp;- [<br>&emsp;- after<br>&emsp;- always<br>&emsp;- default<br>&emsp;- else<br>&emsp;- every<br>&emsp;- oncycle| %{color:red}open% |
| 6.5 | Test transitions proposals | Move cursor behind A.keypress and press *[Ctrl+Space]*. | Only following proposals should be displayed:<p>&emsp;- keypress<br>&emsp;- #<br>&emsp;- ,<br>&emsp;- .<br>&emsp;- /<br>&emsp;- [ | %{color:red}open% |



