[Test]
title PressKey
pause 10000
presskey global EKeyDevice1
[Endtest]

//----------------------------------------------------------------------------------//
//----------------------------------AknKeyLock.h------------------------------------//
//----------------------------------------------------------------------------------//
// Test AknKeyLock.h
// For test function:
// IMPORT_C TInt Connect();
[Test]
title TestKLConnectL
create testsdkkeylock test
bringtoforeground
test TestKLConnectL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void EnableKeyLockL();
[Test]
title TestKLEnableKeyLockL
create testsdkkeylock test
bringtoforeground
test TestKLEnableKeyLockL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DisableKeyLockL();
[Test]
title TestKLDisableKeyLockL
create testsdkkeylock test
bringtoforeground
test TestKLDisableKeyLockL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C Bool IsKeyLockEnabledL();
[Test]
title TestKLIsKeyLockEnabledL
create testsdkkeylock test
bringtoforeground
test TestKLIsKeyLockEnabledL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void EnableSoftNotificationsL(TBool aEnable);
[Test]
title TestKLEnableSoftNotificationsL
create testsdkkeylock test
bringtoforeground
test TestKLEnableSoftNotificationsL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void OfferKeyLockL();
[Test]
title TestKLOfferKeyLockL
create testsdkkeylock test
bringtoforeground
test TestKLOfferKeyLockL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void CancelAllNotificationsL();
[Test]
title TestKLCancelAllNotificationsL
create testsdkkeylock test
bringtoforeground
test TestKLCancelAllNotificationsL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void EnableWithoutNoteL();
[Test]
title TestKLEnableWithoutNoteL
create testsdkkeylock test
bringtoforeground
test TestKLEnableWithoutNoteL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DisableWithoutNoteL();
[Test]
title TestKLDisableWithoutNoteL
create testsdkkeylock test
bringtoforeground
test TestKLDisableWithoutNoteL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void EnableAutoLockEmulationL();
[Test]
title TestKLEnableAutoLockEmulationL
create testsdkkeylock test
bringtoforeground
test TestKLEnableAutoLockEmulationL
delete test
sendtobackground
[Endtest]
