videoplayback/videoplaybackviews/tsrc/ut_userinputhandlertest/conf/ui_userinputhandlertest.cfg
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 15 Mar 2010 12:40:47 +0200
branchRCL_3
changeset 9 5294c000a26d
parent 8 ce5ada96ab30
permissions -rw-r--r--
Revision: 201009 Kit: 201010

[Define]
EMPXPbvCmdPlay 8192
EMPXPbvCmdPause 8193
EMPXPbvCmdPlayPause 8194
EMPXPbvCmdStop 8195
EMPXPbvCmdSeekForward 8205
EMPXPbvCmdSeekBackward 8206
EMPXPbvCmdEndSeek 8207
EMPXPbvCmdDecreaseVolume 8210
EMPXPbvCmdIncreaseVolume 8211
EMPCmdNone 9000
EMPXControlCmdSoftKeyPressed 18

EAknSoftkeyBack 3001



[Enddefine]


/////////////////////////////////////////////////////////
//
// Media Key 'Stop'
//	- handle if it's a 'Clicked' event
//	- ignore if it's a 'Pressed' event
//
/////////////////////////////////////////////////////////

[Test]
title A1. Click media key 'Stop'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=69 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EAknSoftkeyBack
delete UserInputHandlerTest
[Endtest]

[Test]
title A2. Press media key 'Stop'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=69 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title A3. Press & release media key 'Stop'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=69 buttonaction=0
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=69 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title A4. Click & release media key 'Stop'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=69 buttonaction=2
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=69 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EAknSoftkeyBack
delete UserInputHandlerTest
[Endtest]

[Test]
title A5. Click media key 'Stop' while key event 'Seek Backward' is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=2 controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=69 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=14
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekBackward
delete UserInputHandlerTest
[Endtest]

[Test]
title A6. Click media key 'Stop' after key event 'Seek Backward' is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=1
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=14 code=1
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=69 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EAknSoftkeyBack
delete UserInputHandlerTest
[Endtest]

[Test]
title A7. Click media key 'Stop' while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=69 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title A8. Click media key 'Stop' after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=69 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EAknSoftkeyBack
delete UserInputHandlerTest
[Endtest]


/////////////////////////////////////////////////////////
//
// Media Key 'Rewind'
//	- handle if it's a 'Pressed' event
//	- ignore if it's a 'Clicked' event
//
/////////////////////////////////////////////////////////

[Test]
title B1. Click media key 'Rewind'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=72 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title B2. Press media key 'Rewind'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=72 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekBackward
delete UserInputHandlerTest
[Endtest]

[Test]
title B3. Press & release media key 'Rewind'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=72 buttonaction=0
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=72 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdEndSeek
delete UserInputHandlerTest
[Endtest]

[Test]
title B4. Click & release media key 'Rewind'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=72 buttonaction=2
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=72 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title B5. Press media key 'Rewind' while key event 'Seek Forward' is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=3
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=72 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=15
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekForward
delete UserInputHandlerTest
[Endtest]

[Test]
title B6. Press media key 'Rewind' after key event 'Seek Forward' is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=2
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=15 code=2
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=72 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekBackward
delete UserInputHandlerTest
[Endtest]

[Test]
title B7. Press media key 'Rewind' while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=72 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title B8. Press media key 'Rewind' after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=72 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekBackward
delete UserInputHandlerTest
[Endtest]


/////////////////////////////////////////////////////////
//
// Media Key 'Fast Forward'
//	- handle if it's a 'Pressed' event
//	- ignore if it's a 'Clicked' event
//
/////////////////////////////////////////////////////////

[Test]
title C1. Click media key 'Fast Forward'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=73 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title C2. Press media key 'Fast Forward'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=73 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekForward
delete UserInputHandlerTest
[Endtest]

[Test]
title C3. Press & release media key 'Fast Forward'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=73 buttonaction=0
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=73 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdEndSeek
delete UserInputHandlerTest
[Endtest]

[Test]
title C4. Click & release media key 'Fast Forward'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=73 buttonaction=2
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=73 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title C5. Press media key 'Fast Forward' while key event 'Seek Backward' is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=4
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=73 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=14
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekBackward
delete UserInputHandlerTest
[Endtest]

[Test]
title C6. Press media key 'Fast Forward' after key event 'Seek Backward' is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=3
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=14 code=3
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=73 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekForward
delete UserInputHandlerTest
[Endtest]

[Test]
title C7. Press media key 'Fast Forward' while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=73 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title C8. Press media key 'Fast Forward' after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=73 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekForward
delete UserInputHandlerTest
[Endtest]

////////////////////////////////////////////////////////////////////////////
//
// Media Key 'Volume Up'
//	- handle both 'Pressed' and 'Clicked' events
//
////////////////////////////////////////////////////////////////////////////

[Test]
title D1. Click media key 'Volume Up'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=65 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title D2. Press media key 'Volume Up'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=65 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title D3. Press & release media key 'Volume Up'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=65 buttonaction=0
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=65 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title D4. Click & release media key 'Volume Up'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=65 buttonaction=2
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=65 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title D5. Press media key 'Volume Up' while key event 'Seek Backward' is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=5
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=65 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=14
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekBackward
delete UserInputHandlerTest
[Endtest]

[Test]
title D6. Press media key 'Volume Up' after key event 'Seek Backward' is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=4
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=14 code=4
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=65 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title D7. Press media key 'Volume Up' while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=65 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title D8. Press media key 'Volume Up' after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=65 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]


////////////////////////////////////////////////////////////////////////////
//
// Media Key 'Volume Down'
//	- handle both 'Pressed' and 'Clicked' events
//
////////////////////////////////////////////////////////////////////////////

[Test]
title E1. Click media key 'Volume Down'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=66 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title E2. Press media key 'Volume Down'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=66 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title E3. Press & release media key 'Volume Down'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=66 buttonaction=0
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=66 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title E4. Click & release media key 'Volume Down'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=66 buttonaction=2
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=66 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title E5. Press media key 'Volume Down' while key event 'Seek Forward' is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=6
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=66 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=15
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekForward
delete UserInputHandlerTest
[Endtest]

[Test]
title E6. Press media key 'Volume Down' after key event 'Seek Forward' is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=5
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=15 code=5
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=66 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title E7. Press media key 'Volume Down' while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=66 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title E8. Press media key 'Volume Down' after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=66 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]


/////////////////////////////////////////////////////////
//
// Media Key 'PausePlay'
//	- handle if it's a 'Clicked' event
//	- ignore if it's a 'Pressed' event
//
/////////////////////////////////////////////////////////


[Test]
title F1. Click media key 'PausePlay'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=97 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]

[Test]
title F2. Press media key 'PausePlay'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=97 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title F3. Press & release media key 'PausePlay'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=97 buttonaction=0
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=97 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title F4. Click & release media key 'PausePlay'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=97 buttonaction=2
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=97 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]

[Test]
title F5. Click media key 'PausePlay' while key event 'Volume Down' is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=7
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=97 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=17
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title F6. Click media key 'PausePlay' after key event 'Volume Down' is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=6
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=17 code=6
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=97 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]

[Test]
title F7. Click media key 'PausePlay' while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=97 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title F8. Click media key 'PausePlay' after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=97 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]


////////////////////////////////////////////////////////////////////////////
//
// Media Key 'Pause'
//	- handle both 'Pressed' and 'Clicked' events
//
////////////////////////////////////////////////////////////////////////////


[Test]
title G1. Click media key 'Pause'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=70 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPause
delete UserInputHandlerTest
[Endtest]

[Test]
title G2. Press media key 'Pause'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=70 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPause
delete UserInputHandlerTest
[Endtest]

[Test]
title G3. Press & release media key 'Pause'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=70 buttonaction=0
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=70 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPause
delete UserInputHandlerTest
[Endtest]

[Test]
title G4. Click & release media key 'Pause'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=70 buttonaction=2
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=70 buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPause
delete UserInputHandlerTest
[Endtest]

[Test]
title G5. Click media key 'Pause' while key event 'Volume Up' is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16 code=8
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=70 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title G6. Click media key 'Pause' after key event 'Volume Up' is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16 code=7
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=16 code=7
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=70 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPause
delete UserInputHandlerTest
[Endtest]

[Test]
title G7. Click media key 'Pause' while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=70 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title G8. Click media key 'Pause' after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=70 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPause
delete UserInputHandlerTest
[Endtest]


/////////////////////////////////////////////////////////
//
// Media Key 'Play'
//	- handle it if it's a 'Clicked' event
//	- ignore it if it's a 'Pressed' events
//
/////////////////////////////////////////////////////////

[Test]
title H1. Click media key 'Play'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoPlay buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlay
delete UserInputHandlerTest
[Endtest]

[Test]
title H2. Press media key 'Play'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoPlay buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title H3. Press & release media key 'Play'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoPlay buttonaction=0
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoPlay buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title H4. Click & release media key 'Play'
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoPlay buttonaction=2
pause 1000
UserInputHandlerTest MediaKeyEvent command=MrccatoPlay buttonaction=1
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlay
delete UserInputHandlerTest
[Endtest]

[Test]
title H5. Click media key 'Play' while key event 'Volume Down' is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=9
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoPlay buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=17
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title H6. Click media key 'Play' after key event 'Volume Down' is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=8
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=17 code=8
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoPlay buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlay
delete UserInputHandlerTest
[Endtest]

[Test]
title H7. Click media key 'Play' while pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoPlay buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title H8. Click media key 'Play' after pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoPlay buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlay
delete UserInputHandlerTest
[Endtest]


///////////////////////////////////////////////////////////////////
//
// Foreground
//	- block all inputs while in background
//
///////////////////////////////////////////////////////////////////


[Test]
title I1. Container pointer (ButtonDown) input while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EPtrEventNull
delete UserInputHandlerTest
[Endtest]

[Test]
title I2. Container Pointer (Drag) input while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest PointerEvent ptrtype=EDrag controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EPtrEventNull
delete UserInputHandlerTest
[Endtest]

[Test]
title I3. Control Pointer (ButtonDown) input while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackControl ptrtype=EPtrEventNull
delete UserInputHandlerTest
[Endtest]

[Test]
title I4. Control Pointer (Drag) input while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest PointerEvent ptrtype=EDrag controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackControl ptrtype=EPtrEventNull
delete UserInputHandlerTest
[Endtest]

[Test]
title I5. Media key 'Stop' while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=69 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I6. Media key 'Rewind' while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=72 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I7. Media key 'Fast Forward' while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=73 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I8. Media key 'Volume Up' while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=65 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I9. Media key 'Volume Down' while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=66 buttonaction=0
pause 1000
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I10. Media key 'PausePlay' while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=97 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I10. Media key 'Pause' while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=70 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I11. Media key 'Play' while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest MediaKeyEvent command=MrccatoCommand operationid=68 buttonaction=2
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I12. Key event 'PlayPause' input while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=167 code=0
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I13. Key event 'Enter Key' input while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=3 code=0
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I14. Key event 'Volume Up' input while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16 code=10
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I15. Key event 'Volume Down' input while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=11
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I16. Key event 'Seek Backward' input while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=12
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I17. Key event 'Seek Forward' input while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=13
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title I18. Key event 'Green/Send Key' input while UI in background
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest SetForeground foreground=0
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=196 code=16
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]


///////////////////////////////////////////////////////////////////
//
// Key Inputs
//
///////////////////////////////////////////////////////////////////

[Test]
title J1. Key event 'Rocker Middle Key' input - valid iCode
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=167 code=0
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]

[Test]
title J2. Key event 'Rocker Middle Key' input - invalid iCode
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=167 code=13
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title J3. Key event 'Enter Key' input 
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=3 code=0
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]

[Test]
title J4. Key event 'Enter Key' input - invalid iCode
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=3 code=127
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title J5. Key event 'Volume Up' input
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16 code=17
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title J6. Key event 'Volume Down' input
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title J7. Key event 'Seek Backward' input
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekBackward
delete UserInputHandlerTest
[Endtest]

[Test]
title J8. Key event 'Seek Backward & Release' input
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=9
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=14 code=9
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdEndSeek
delete UserInputHandlerTest
[Endtest]

[Test]
title J9. Key event 'Seek Forward' input
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=18
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekForward
delete UserInputHandlerTest
[Endtest]

[Test]
title J10. Key event 'Seek Forward & Release' input
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=10
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=15 code=10
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdEndSeek
delete UserInputHandlerTest
[Endtest]

[Test]
title J11. Key event 'Green/Send Key' input
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=196 code=19
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title J12. Key event 'Enter Key' input  - invalid type
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=3 code=0
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
[Endtest]

[Test]
title J13. Key event 'EStdKeyDevice0'  - valid type
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=164 code=25
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXControlCmdSoftKeyPressed
delete UserInputHandlerTest
[Endtest]

[Test]
title J14. Key event 'EStdKeyDevice0'  - invalid type
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=164 code=25
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title J15. Key event 'EStdKeyDevice1'  - valid type
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=165 code=26
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXControlCmdSoftKeyPressed
delete UserInputHandlerTest
[Endtest]

[Test]
title J16. Key event 'EStdKeyDevice1'  - invalid type
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=165 code=26
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

///////////////////////////////////////////////////////////////////
//
// Pointer Inputs
//
///////////////////////////////////////////////////////////////////

[Test]
title K1. Container Pointer Down input
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down 
delete UserInputHandlerTest
[Endtest]

[Test]
title K2. Container Pointer Down & Up input
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Up 
delete UserInputHandlerTest
[Endtest]

[Test]
title K3. Container Pointer Drag input
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EDrag controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EPtrEventNull 
delete UserInputHandlerTest
[Endtest]

[Test]
title K4. Container Pointer Drag & Up input
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EDrag controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EPtrEventNull 
delete UserInputHandlerTest
[Endtest]

///////////////////////////////////////////////////////////////////
//
// Handling of multiple inputs simultaneously
//
///////////////////////////////////////////////////////////////////

[Test]
title L1. Key input (Enter Key) while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=3 code=0
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L2. Key input (Enter Key) after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=3 code=0
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=3
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]

[Test]
title L3. Key input (Rocker Middle Key) while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=167 code=0
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L4. Key input (Rocker Middle Key) after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=167 code=0
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=167
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]

[Test]
title L5. Key input (Volume Up) while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16 code=20
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L6. Key input (Volume Up) after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16 code=21
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=16
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title L7. Key input (Volume Down) while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=22
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L8. Key input (Volume Down) after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=23
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=17
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title L9. Key input (Seek Backward) while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=24
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L10. Key input (Seek Backward) after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=25
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=14
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekBackward
delete UserInputHandlerTest
[Endtest]

[Test]
title L11. Key input (Seek Backward) after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=11
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=14 code=11
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyUp scancode=14
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdEndSeek
delete UserInputHandlerTest
[Endtest]


[Test]
title L12. Key input (Seek Forward) while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=26
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L13. Key input (Seek Forward) after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=27
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=15
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekForward
delete UserInputHandlerTest
[Endtest]

[Test]
title L14. Key input (Seek Forward) after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=12
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=15 code=12
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyUp scancode=15
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdEndSeek
delete UserInputHandlerTest
[Endtest]

[Test]
title L15. Key input (Enter Key) while container pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=196 code=28
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L16. Key input (Green/Send Key) after container pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=196 code=13
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=196 code=13
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyUp scancode=196
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]


[Test]
title L17. Key input (Enter Key) while control pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=3 code=0
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackControl ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L18. Key input (Enter Key) after control pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=3 code=0
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=3
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]

[Test]
title L19. Key input (Rocker Middle Key) while control pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=167 code=0
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackControl ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L20. Key input (Rocker Middle Key) after control pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=167 code=0
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=167
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]

[Test]
title L21. Key input (Volume Up) while control pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16 code=1
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackControl ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title L22. Key input (Volume Up) after control pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=16
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title L23. Key input (Volume Down) while control pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=2
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackControl ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L24. Key input (Volume Down) after control pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=3
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=17
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title L25. Key input (Seek Backward) while control pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=4
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackControl ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L26. Key input (Seek Backward) after control pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=5
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=14
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekBackward
delete UserInputHandlerTest
[Endtest]

[Test]
title L27. Key input (Seek Backward) after control pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=14
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=14 code=14
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyUp scancode=14
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdEndSeek
delete UserInputHandlerTest
[Endtest]


[Test]
title L28. Key input (Seek Forward) while control pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=6
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackControl ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L29. Key input (Seek Forward) after control pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=7
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=15
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekForward
delete UserInputHandlerTest
[Endtest]

[Test]
title L30. Key input (Seek Forward) after control pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=15
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=15 code=15
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyUp scancode=15
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdEndSeek
delete UserInputHandlerTest
[Endtest]

[Test]
title L31. Key input (Enter Key) while control pointer event is in progress
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=196 code=8
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackControl ptrtype=EButton1Down 
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventNull scancode=0
pause 100
delete UserInputHandlerTest
[Endtest]

[Test]
title L32. Key input (Green/Send Key) after control pointer event is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Up controltype=EMpxVideoPlaybackControl
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=196 code=16
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=196 code=16
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyUp scancode=196
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title L33. Container pointer input while key event (Enter Key) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=3 code=0
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=3
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EPtrEventNull
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]

[Test]
title L34. Container pointer input after key event (Enter Key) is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=3 code=0
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=3 code=0
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
delete UserInputHandlerTest
[Endtest]

[Test]
title L35. Container pointer input while key event (Rocker Middle Key) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=167 code=0
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=167
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EPtrEventNull
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]

[Test]
title L36. Container pointer input after key event (Rocker Middle Key) is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=167 code=0
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=167 code=0
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
delete UserInputHandlerTest
[Endtest]

[Test]
title L37. Container pointer input while key event (Volume Up) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16 code=9
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=16
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EPtrEventNull
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title L38. Container pointer input after key event (Volume Up) is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16 code=17
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=16 code=17
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
delete UserInputHandlerTest
[Endtest]

[Test]
title L39. Container pointer input while key event (Volume Down) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=10
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=17
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EPtrEventNull
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title L40. Container pointer input after key event (Volume Down) is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=18
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=17 code=18
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
delete UserInputHandlerTest
[Endtest]

[Test]
title L41. Container pointer input while key event (Seek Backward) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=11
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=14
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EPtrEventNull
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekBackward
delete UserInputHandlerTest
[Endtest]

[Test]
title L42. Container pointer input after key event (Seek Backward) is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=19
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=14 code=19
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
delete UserInputHandlerTest
[Endtest]

[Test]
title L43. Container pointer input while key event (Seek Forward) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=12
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=15
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EPtrEventNull
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekForward
delete UserInputHandlerTest
[Endtest]

[Test]
title L44. Container pointer input after key event (Seek Forward) is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=20
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=15 code=20
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
delete UserInputHandlerTest
[Endtest]

[Test]
title L45. Container pointer input while key event (Green/Send Key) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=196 code=13
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=196
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EPtrEventNull
pause 100
UserInputHandlerTest CheckExpectedCommand EMPCmdNone
delete UserInputHandlerTest
[Endtest]

[Test]
title L46. Container pointer input after key event (Green/Send Key) is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=196 code=21
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=196 code=21
pause 100
UserInputHandlerTest PointerEvent ptrtype=EButton1Down controltype=EMpxVideoPlaybackContainer
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer ptrtype=EButton1Down
delete UserInputHandlerTest
[Endtest]

[Test]
title L47. Key input (Hash Key) while key event (Volume Up) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16 code=14
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=127 code=15
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=16
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title L48. Key input (Rocker Middle Key) while key event (Volume Up) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16 code=16
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=167 code=0
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=16
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdIncreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title L49. Key input (Rocker Middle Key) after key event (Volume Up) is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=16 code=22
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=16 code=22
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=167 code=0
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=167
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdPlayPause
delete UserInputHandlerTest
[Endtest]

[Test]
title L50. Key input (Seek Backward) while key event (Volume Down) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=18
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=19
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=17
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title L51. Key input (Seek Backward) after key event (Volume Down) is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=23
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=17 code=23
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=14 code=24
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=14
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekBackward
delete UserInputHandlerTest
[Endtest]

[Test]
title L52. Key input (Volume Down) while key event (Seek Forward) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=25
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=23
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=15
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekForward
delete UserInputHandlerTest
[Endtest]

[Test]
title L53. Key input (Volume Down) after key event (Seek Forward) is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=24
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=15 code=24
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=17 code=25
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=17
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdDecreaseVolume
delete UserInputHandlerTest
[Endtest]

[Test]
title L54. Key input (EStdKeyDevice0) while key event (Seek Forward) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=25
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=164 code=23
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=15
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekForward
delete UserInputHandlerTest
[Endtest]

[Test]
title L55. Key input (EStdKeyDevice0) after key event (Seek Forward) is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=25
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=15 code=25
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=164 code=23
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=164
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXControlCmdSoftKeyPressed
delete UserInputHandlerTest
[Endtest]

[Test]
title L56. Key input (EStdKeyDevice1) while key event (Seek Forward) is being processed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=25
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=165 code=24
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=15
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXPbvCmdSeekForward
delete UserInputHandlerTest
[Endtest]

[Test]
title L57. Key input (EStdKeyDevice1) after key event (Seek Forward) is completed
create ui_userinputhandlertest UserInputHandlerTest
UserInputHandlerTest CreateStubsL
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=15 code=25
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyUp scancode=15 code=25
pause 100
UserInputHandlerTest KeyEvent keytype=EEventKeyDown scancode=165 code=24
pause 100
UserInputHandlerTest CheckExpectedResult controltype=EMpxVideoPlaybackContainer keytype=EEventKeyDown scancode=165
pause 100
UserInputHandlerTest CheckExpectedCommand EMPXControlCmdSoftKeyPressed
delete UserInputHandlerTest
[Endtest]