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>@namespace Staircase@</p><p>@internal:@</p><p>@var light : boolean@</p><p>@interface A:@</p><p>@in event keypress@</p><p>@interface B:@</p><p>@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> | 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><p>@namespace OtherStatechart@</p><p>@interface A:@</p><p>@out event e1@</p><p>@in event e2@</p><p>@interface B:@</p><p>@out event e1@</p><p>@in event e2@</p> | 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>- A</p><p>- B</p><p>- [</p><p>- after</p><p>- always</p><p>- entry</p><p>- every</p><p>- exit</p><p>- oncycle</p> | %{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>- A</p><p>- B</p><p>- #</p><p>- /</p><p>- [</p><p>- after</p><p>- always</p><p>- default</p><p>- else</p><p>- every</p><p>- oncycle</p> | %{color:red}open% |
| 6.5 | Test transitions proposals | Move cursor behind A.keypress and press *[Ctrl+Space]*. | Only following proposals should be displayed:<p>- keypress</p><p>- #</p><p>- ,</p><p>- .</p><p>- /</p><p>- [</p> | %{color:red}open% |



