h1. YAKINDU Statechart Tools – Testcase 09 - Template Proposals

|_. Nr |_. Testname |_. Test Instructions |_. Postconditions |_. Status|
| 9.1 | Statechart proposals and documentation | <ol><li><p>Select the definition section.</p></li><li><p>Open the _properties_ view.</p></li><li><p>Select the _Model_ tab.</p></li><li><p>Empty the _Statechart behavior_ text field.</p></li><li><p>In the _Statechart behavior_ text field, press @[Ctrl+Space]@.</p></li></ol> | <ol><li><p>The following proposals are shown in a drop-down menu:</p><ul><li><p>&#64;</p></li><li><p>interface</p></li><li><p>internal</p></li><li><p>namespace</p></li></ul></li><li><p>Except for &#64;, if a proposal is clicked, a corresponding documentation pop-up window opens.</p></li></ol> | %{color:red}open% |
| 9.1.1 | Statechart proposals – interface | <ol><li><p>Empty the definition section.</p></li><li><p>Enter the word "interface" into the definition section, followed by a space character.</p></li><li><p>Press @[Ctrl+Space]@.</p></li></ol> | <p>The following proposals are shown in a drop-down menu:</p><ul><li><p>Name – XID</p></li><li><p>:</p></li></ul> | %{color:red}open% |
| 9.1.2 | Statechart proposals – internal | <ol><li><p>Empty the definition section.</p></li><li><p>Enter the word "internal" into the definition section, followed by a space character.</p></li><li><p>Press @[Ctrl+Space]@.</p></li></ol> | <p>The following proposals are shown in a drop-down menu:</p><ul><li><p>:</p></li></ul> | %{color:red}open% |
| 9.1.3 | Statechart proposals – namespace | <ol><li><p>Empty the definition section.</p></li><li><p>Enter the word "namespace" into the definition section, followed by a space character.</p></li><li><p>Press @[Ctrl+Space]@.</p></li></ol> | <p>No proposal is shown.</p> | %{color:red}open% |
| 9.2 | Transition proposals and documentation | <ol><li><p>Select any transition.</p></li><li><p>Open the _properties_ view.</p></li><li><p>Select the _Model_ tab.</p></li><li><p>Empty the _Expression_ text field.</p></li><li><p>In the _Expression_ text field, press @[Ctrl+Space]@.</p></li></ol> | <ol><li><p>The following proposals are shown in a drop-down menu:</p><ul><li><p>#</p></li><li><p>/</p></li><li><p>[</p></li><li><p>after</p></li><li><p>always</p></li><li><p>default</p></li><li><p>else</p></li><li><p>every</p></li><li><p>oncycle</p></li><li><p>_Trigger event names_</p></li></ul></li><li><p>If a keyword proposal is clicked, a corresponding documentation pop-up window opens.</p></li><li><p>If a variable (e.g., _light_) is proposed, selecting it should add an error marker to the transition with the following error message: <p>"Trigger <span>'light'</span> is no event!"</p> </p></li></ol> | %{color:red}open% |
| 9.2.1 | Transition proposals after "after" | <ol><li><p>Select any transition.</p></li><li><p>Open the _properties_ view.</p></li><li><p>Select the _Model_ tab.</p></li><li><p>Empty the _Expression_ text field.</p></li><li><p>In the _Expression_ text field, enter the text @after@, followed by a space character.</p></li><li><p>Press <code>[Ctrl+Space]</code>.</p></li><li><p>Enter a integer value, e.g., 42, followed by a space character.</p></li><li><p>Press @[Ctrl+Space]@.</p></li></ol> | <ol><li><p>In a drop-down menu, language elements suitable to continue the expression are shown. Additionally, the following keywords are shown:</p><ul><li><p>as</p></li><li><p>ms</p></li><li><p>ns</p></li><li><p>s</p></li><li><p>us</p></li></ul></li><li><p>If a keyword proposal is clicked, a corresponding documentation pop-up window opens.</p></li></ol> | %{color:red}open% |
| 9.2.2 | Transition proposals after "every" | <ol><li><p>Select any transition.</p></li><li><p>Open the _properties_ view.</p></li><li><p>Select the _Model_ tab.</p></li><li><p>Empty the _Expression_ text field.</p></li><li><p>In the _Expression_ text field, enter the text @every@, followed by a space character.</p></li><li><p>Press <code>[Ctrl+Space]</code>.</p></li><li><p>Enter a integer value, e.g., 42, followed by a space character.</p></li><li><p>Press @[Ctrl+Space]@.</p></li></ol> | <ol><li><p>In a drop-down menu, language elements suitable to continue the expression are shown. Additionally, the following keywords are shown:</p><ul><li><p>as</p></li><li><p>ms</p></li><li><p>ns</p></li><li><p>s</p></li><li><p>us</p></li></ul></li><li><p>If a keyword proposal is clicked, a corresponding documentation pop-up window opens.</p></li></ol> | %{color:red}open% |
| 9.3 | State proposals and documentation | <ol><li><p>Select any state.</p></li><li><p>Open the _properties_ view.</p></li><li><p>Select the _Model_ tab.</p></li><li><p>Empty the _State behaviour_ text field.</p></li><li><p>In the _State behaviour_ text field, press @[Ctrl+Space]@.</p></li></ol> | <ol><li><p>The following proposals are shown in a drop-down menu:</p><ul><li><p>after</p></li><li><p>always</p></li><li><p>entry</p></li><li><p>every</p></li><li><p>exit</p></li><li><p>oncycle</p></li></ul></li><li><p>If a keyword proposal is clicked, a corresponding documentation pop-up window opens.</p></li></ol> | %{color:red}open% |
| 9.3.1 | State proposals after "after" | <ol><li><p>Select any state.</p></li><li><p>Open the _properties_ view.</p></li><li><p>Select the _Model_ tab.</p></li><li><p>Empty the _State behaviour_ text field.</p></li><li><p>In the _State behaviour_ text field, enter the text @after@, followed by a space character.</p></li><li><p>Press <code>[Ctrl+Space]</code>.</p></li><li><p>Enter a integer value, e.g., 42, followed by a space character.</p></li><li><p>Press @[Ctrl+Space]@.</p></li></ol> | <ol><li><p>In a drop-down menu, language elements suitable to continue the expression are shown. Additionally, the following keywords are shown:</p><ul><li><p>as</p></li><li><p>ms</p></li><li><p>ns</p></li><li><p>s</p></li><li><p>us</p></li></ul></li><li><p>If a keyword proposal is clicked, a corresponding documentation pop-up window opens.</p></li></ol> | %{color:red}open% |
| 9.3.2 | State proposals after "every" | <ol><li><p>Select any state.</p></li><li><p>Open the _properties_ view.</p></li><li><p>Select the _Model_ tab.</p></li><li><p>Empty the _State behaviour_ text field.</p></li><li><p>In the _State behaviour_ text field, enter the text @every@, followed by a space character.</p></li><li><p>Press <code>[Ctrl+Space]</code>.</p></li><li><p>Enter a integer value, e.g., 42, followed by a space character.</p></li><li><p>Press @[Ctrl+Space]@.</p></li></ol> | <ol><li><p>In a drop-down menu, language elements suitable to continue the expression are shown. Additionally, the following keywords are shown:</p><ul><li><p>as</p></li><li><p>ms</p></li><li><p>ns</p></li><li><p>s</p></li><li><p>us</p></li></ul></li><li><p>If a keyword proposal is clicked, a corresponding documentation pop-up window opens.</p></li></ol> | %{color:red}open% |

