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:
@namespace Staircase@
@internal:@
@var light : boolean@
@interface A:@
@in event keypress@
@interface B:@
@in event keypress@
Select transition with keypress trigger and double-click on trigger.
Replace "keypress" by "A.keypress" to qualify the event.
| No error messages are shown. | %{color:red}open% | | 6.2 | Create another statechart | Create a new statechart model and name it OtherStatechart.Replace the default text in the definition section by the following:
@namespace OtherStatechart@
@interface A:@
@out event e1@
@in event e2@
@interface B:@
@out event e1@
@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.Open properties view.
Place the cursor in front of the expression in the state specification and press *[Ctrl+Space]*.
| Only the following proposals should be displayed:- A
- B
- [
- after
- always
- entry
- every
- exit
- oncycle
| %{color:red}open% | | 6.4 | Test transitions proposals | Select transition with trigger A.keypress.Open properties view.
Move cursor in front of A.keypress and press *[Ctrl+Space]*.
| Only following proposals should be displayed:- A
- B
- #
- /
- [
- after
- always
- default
- else
- every
- oncycle
| %{color:red}open% | | 6.5 | Test transitions proposals | Move cursor behind A.keypress and press *[Ctrl+Space]*. | Only following proposals should be displayed:- keypress
- #
- ,
- .
- /
- [
| %{color:red}open% |