//
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
// Description: Example test case for calendar alarm
//
//
[Define]
CalendarAlarm 32769
ClockAlarm 32770
ToDoAlarm 32771
BurstMode 1
Capture 2
CallRecording 3
RecordingStart 4
RecordingStop 5
SelfTimer 6
ConfirmationBeep 257
DefaultBeep 258
ErrorBeep 259
InformationBeep 260
WarningBeep 261
IntegratedHandsFreeActivated 262
TouchScreen 513
LocationRequest 769
ChatAlert 1025
EmailAlert 1026
MmsAlert 1027
SmsAlert 1028
DeliveryReport 1029
MessageSendFailure 1030
BatteryLow 1281
BatteryRecharged 1282
PowerOn 1283
PowerOff 1284
WakeUp 1285
WrongCharger 1286
IncomingCall 33025
IncomingCallLine2 33026
IncomingDataCall 33027
AutomaticRedialComplete 1540
VoiceStart 1793
VoiceError 1794
VoiceAbort 1795
[Enddefine]
[Test]
title 01 Play EmailAlert
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayTone EmailAlert
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 02 Play SmsAlert
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayTone SmsAlert
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 03 Play ChatAlert
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayTone ChatAlert
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 04 Play MmsAlert
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayTone MmsAlert
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 05 Play WarningBeep
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayTone WarningBeep
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 06 Play DeafultBeep
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayTone DefaultBeep
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 07 Play IncomingCall
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayAlarm IncomingCall
pause 10000
STSSTIF StopAlarm True
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 08 Play IncomingCall2
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayAlarm IncomingCallLine2
pause 10000
STSSTIF StopAlarm True
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 09 Play VideoCall
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayAlarm IncomingDataCall
pause 10000
STSSTIF StopAlarm True
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 10 Play DefaultAlarm
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayAlarm ToDoAlarm
pause 10000
STSSTIF StopAlarm True
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title NFT
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayAlarm ClockAlarm
pause 10000
STSSTIF StopAlarm True
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 11 Create systemtoneservicestif
create systemtoneservicestif STSSTIF
STSSTIF Create
delete STSSTIF
[Endtest]
[Test]
title 12 Play ClockAlarm Ringtone
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayAlarm ClockAlarm
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 13 Play ClockAlarmContext Ringtone
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayTone EmailAlert
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 14 Stop ClockAlarm with recognized Context
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayAlarm ClockAlarm
pause 10000
STSSTIF StopAlarm True
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 15 Stop ClockAlarm with non-recognized Context
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayAlarm ClockAlarm
pause 10000
STSSTIF StopAlarm False
pause 5000
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 16 Play two tones
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayAlarm ClockAlarm
pause 5000
STSSTIF PlayTone DefaultBeep
pause 10000
STSSTIF StopAlarm True
STSSTIF Delete
delete STSSTIF
[Endtest]
[Test]
title 07 Stop tone after tone complete
create systemtoneservicestif STSSTIF
STSSTIF Create
STSSTIF PlayAlarm ClockAlarm
pause 10000
STSSTIF StopAlarm True
STSSTIF StopAlarm True
STSSTIF Delete
delete STSSTIF
[Endtest]