[Define]
CalendarAlarm 1
ClockAlarm 2
ToDoAlarm 3
BurstMode 4097
Capture 4098
CallRecording 4099
RecordingStart 4100
RecordingStop 4101
SelfTimer 4102
ConfirmationBeep 8193
DefaultBeep 8194
ErrorBeep 8195
InformationBeep 8196
WarningBeep 8197
IntegratedHandsFreeActivated 8198
TouchScreen 12289
LocationRequest 16395
ChatAlert 20481
EmailAlert 20482
MmsAlert 20483
SmsAlert 20484
DeliveryReport 20485
MessageSendFailure 20486
BatteryLow 24577
BatteryRecharged 24578
PowerOn 24579
PowerOff 24580
WakeUp 24581
WrongCharger 24582
IncomingCall 28673
IncomingCallLine2 28674
IncomingDataCall 28675
AutomaticRedialComplete 28676
VoiceStart 32769
VoiceError 32770
VoiceAbort 32771
[Enddefine]
[Test]
title NFT
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayToneWithContext ClockAlarm
pause 10000
STSSTIF StopTone True
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 01 Create systemtoneservicestif
create systemtoneservicestif STSSTIF
STSSTIF Create
delete STSSTIF
[Endtest]
[Test]
title 02 Play ClockAlarm Ringtone
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayTone ClockAlarm
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 03 Play ClockAlarmContext Ringtone
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayToneWithContext ClockAlarm
pause 10000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 04 Stop ClockAlarm with recognized Context
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayToneWithContext ClockAlarm
pause 10000
STSSTIF StopTone True
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 05 Stop ClockAlarm with non-recognized Context
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayToneWithContext ClockAlarm
pause 10000
STSSTIF StopTone False
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 06 Play two tones
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayToneWithContext ClockAlarm
pause 10000
STSSTIF PlayTone CalendarAlarm
pause 10000
STSSTIF StopTone True
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 07 Stop tone after tone complete
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayToneWithContext ClockAlarm
pause 10000
STSSTIF StopTone True
STSSTIF StopTone True
STSSTIF Delete
delete STSSTIF
[Endtest]