{title}Open/Close and Theft Flashing{/title} {author}jp{/author} {default}crash_flashing.html{/default} {text}
This test generation creates a user-defined test illustrating the Open/Close and Theft Flashing as modeled by interacting state machines
TC-turn_indication-THEFT_ALARM-0001;
[ IMR.SystemUnderTest.TheftFlashing.TheftFlashing.THEFT_ALARM_ACTIVE.ALARM_OFF && ! IMR.in_TheftAlarm ]
Until
[ _timeTick >= 2000 && IMR.in_TheftAlarm ]
;
Our next objective is to switch off theft flashing by opening the door using the remote key control. This is achieved by symbolic test case
TC-turn_indication-THEFT_ALARM-0002;
[ IMR.SystemUnderTest.TheftFlashing.TheftFlashing.THEFT_ALARM_ACTIVE.ALARM_ON && IMR.in_TheftAlarm ]
Until
[ _timeTick >= 4000 && IMR.in_TheftAlarm && IMR.SystemUnderTest.oc_CentralLockingStatus == 1 ]
;