videoplayback/videohelix/tsrc/ut_videohelixtest/conf/videohelixtest.cfg
changeset 0 96612d01cf9f
child 8 ce5ada96ab30
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 [Define]
       
     2 KMPXVideoTvOutPlaybackNotAllowedClose 4
       
     3 KErrNone 0
       
     4 KErrNotFound -1
       
     5 KErrGeneral -2
       
     6 KErrNotSupported -5
       
     7 KErrDied -13
       
     8 KErrCouldNotConnect -34
       
     9 KErrMMPartialPlayback -12017
       
    10 
       
    11 EPbCmdPlay 0
       
    12 EPbCmdPause 2
       
    13 EPbCmdStop 3
       
    14 EPbCmdClose 14
       
    15 
       
    16 EPbCmdAbortDSA 1
       
    17 EPbCmdRestartDSA 2
       
    18 EPbCmdSetDisplayWindow 3
       
    19 EPbCmdStartVideoSeekingForward 4
       
    20 EPbCmdStartVideoSeekingBackward 5
       
    21 EPbCmdStopVideoSeeking 6
       
    22 EPbCmdHandleForeground 7
       
    23 EPbCmdHandleBackground 8
       
    24 EPbCmdNaturalAspectRatio 9
       
    25 EPbCmdZoomAspectRatio 10
       
    26 EPbCmdStretchAspectRatio 11
       
    27 EPbCmdHandleIncreaseVolume 17 
       
    28 EPbCmdHandleDecreaseVolume 18 
       
    29 
       
    30 EMMFNatural 2
       
    31 EMMFZoom 3
       
    32 EMMFStretch 4
       
    33 
       
    34 EPbPropertyVolume 0
       
    35 EPbPropertyMaxVolume 1
       
    36 EPbPropertyMute 3
       
    37 EPbPropertyPosition 10
       
    38 EPbPropertyDuration 11
       
    39 EPbPropertyInvalid 100
       
    40 
       
    41 EPbDlStateNotDownloading 0
       
    42 EPbDlStateDownloading 2
       
    43 
       
    44 ETvOutPlaybackNotAllowed 0
       
    45 ETvOutPlaybackAllowed 1
       
    46 
       
    47 ENoEvent 0
       
    48 EAddEvent 1
       
    49 
       
    50 ECallbackPlaying 1
       
    51 ECallbackPaused 3
       
    52 ECallbackStopped 4
       
    53 ECallbackClosed 5
       
    54 ECallbackBuffering 25
       
    55 
       
    56 ERFile 1
       
    57 ERFile64 0
       
    58 
       
    59 [Enddefine]
       
    60 
       
    61 [Test]
       
    62 title 1.  InitialiseL with file missing
       
    63 create videohelixtest test
       
    64 test Initialize 0 10 vhpp_nofile.3gp KErrNotFound KErrNone KErrNone
       
    65 waittestclass test
       
    66 test GetMedia 
       
    67 waittestclass test
       
    68 delete test
       
    69 pause 1000
       
    70 [Endtest] 
       
    71 
       
    72 [Test]
       
    73 title 2.  OpenComplete returns error
       
    74 create videohelixtest test
       
    75 test Initialize 0 10 vhpp_test.3gp KErrNone KErrNotSupported KErrNone
       
    76 waittestclass test
       
    77 pause 100
       
    78 test GetMedia 
       
    79 waittestclass test
       
    80 delete test
       
    81 pause 1000
       
    82 [Endtest] 
       
    83 
       
    84 [Test]
       
    85 title 3.  PrepareComplete returns error
       
    86 create videohelixtest test
       
    87 test Initialize 0 10 vhpp_test.3gp KErrNone KErrNone KErrGeneral
       
    88 waittestclass test
       
    89 pause 100
       
    90 test GetMedia 
       
    91 waittestclass test
       
    92 delete test
       
    93 pause 1000
       
    94 [Endtest] 
       
    95 
       
    96 [Test]
       
    97 title 4.  PrepareComplete returns Partial Playback
       
    98 create videohelixtest test
       
    99 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrMMPartialPlayback
       
   100 waittestclass test
       
   101 pause 100
       
   102 test GetMedia 
       
   103 waittestclass test
       
   104 delete test
       
   105 pause 1000
       
   106 [Endtest] 
       
   107 
       
   108 [Test]
       
   109 title 5.  General Playback Commands
       
   110 create videohelixtest test
       
   111 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   112 waittestclass test
       
   113 pause 100
       
   114 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   115 waittestclass test
       
   116 test IssueGeneralCommand EPbCmdPause KErrNone ECallbackPaused
       
   117 waittestclass test
       
   118 test IssueGeneralCommand EPbCmdStop KErrNone ECallbackStopped
       
   119 waittestclass test
       
   120 test IssuePlaybackCommand EPbCmdPlay KErrNone ECallbackPlaying
       
   121 waittestclass test
       
   122 test IssuePlaybackCommand EPbCmdPause KErrNone ECallbackPaused
       
   123 waittestclass test
       
   124 test IssuePlaybackCommand EPbCmdStop KErrNone ECallbackStopped
       
   125 waittestclass test
       
   126 test IssuePlaybackCommand EPbCmdClose KErrNone ECallbackClosed
       
   127 waittestclass test
       
   128 delete test
       
   129 pause 1000
       
   130 [Endtest] 
       
   131 
       
   132 [Test]
       
   133 title 6.  Video Playback Commands
       
   134 create videohelixtest test
       
   135 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   136 waittestclass test
       
   137 test IssueVideoCommand EPbCmdAbortDSA
       
   138 test IssueVideoCommand EPbCmdRestartDSA 1 1 99 99
       
   139 test IssueVideoCommand EPbCmdSetDisplayWindow 2 2 98 98
       
   140 delete test
       
   141 pause 1000
       
   142 [Endtest] 
       
   143 
       
   144 [Test]
       
   145 title 7.  InitialiseL with 32-bit file handle
       
   146 create videohelixtest test
       
   147 test InitializeHandle ERFile 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   148 waittestclass test
       
   149 delete test
       
   150 pause 1000
       
   151 [Endtest] 
       
   152 
       
   153 [Test]
       
   154 //
       
   155 // SetVolume 10 : current vol (10)
       
   156 // SetMute    1 : current vol (0)
       
   157 //
       
   158 title 8.  Set/Retrieve Volume
       
   159 create videohelixtest test
       
   160 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   161 waittestclass test
       
   162 test GetProperty EPbPropertyMaxVolume 100
       
   163 waittestclass test
       
   164 test SetProperty EPbPropertyVolume 10 EAddEvent
       
   165 waittestclass test
       
   166 pause 100
       
   167 test GetProperty EPbPropertyVolume 10
       
   168 waittestclass test
       
   169 test SetProperty EPbPropertyMute 1
       
   170 waittestclass test
       
   171 pause 100
       
   172 test GetProperty EPbPropertyMute 1
       
   173 waittestclass test
       
   174 delete test
       
   175 pause 1000
       
   176 [Endtest] 
       
   177 
       
   178 [Test]
       
   179 title 9.  Set/Retrieve Position & Duration
       
   180 create videohelixtest test
       
   181 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   182 waittestclass test
       
   183 test SetProperty EPbPropertyPosition 10000
       
   184 waittestclass test
       
   185 test GetProperty EPbPropertyPosition 10000
       
   186 waittestclass test
       
   187 test GetProperty EPbPropertyDuration 60000
       
   188 waittestclass test
       
   189 test SetProperty EPbPropertyInvalid 10000
       
   190 test GetProperty EPbPropertyInvalid 10000
       
   191 delete test
       
   192 pause 1000
       
   193 [Endtest] 
       
   194 
       
   195 [Test]
       
   196 title 10.  SubPlayer Functions
       
   197 create videohelixtest test
       
   198 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   199 waittestclass test
       
   200 test GetSubPlayerNames 
       
   201 waittestclass test
       
   202 test SelectSubPlayer 
       
   203 test SubPlayerName 
       
   204 test SubPlayerIndex 
       
   205 test CancelRequest 
       
   206 delete test
       
   207 pause 1000
       
   208 [Endtest] 
       
   209 
       
   210 [Test]
       
   211 title 11.  Get Media
       
   212 create videohelixtest test
       
   213 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   214 waittestclass test
       
   215 test GetMedia 
       
   216 waittestclass test
       
   217 delete test
       
   218 pause 1000
       
   219 [Endtest] 
       
   220 
       
   221 [Test]
       
   222 title 12.  Play Complete No Error
       
   223 create videohelixtest test
       
   224 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   225 waittestclass test
       
   226 test SetPlaybackComplete KErrNone 60000
       
   227 waittestclass test
       
   228 delete test
       
   229 pause 1000
       
   230 [Endtest] 
       
   231 
       
   232 [Test]
       
   233 title 13.  Play Complete with error
       
   234 create videohelixtest test
       
   235 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   236 waittestclass test
       
   237 test SetPlaybackComplete KErrCouldNotConnect 60000
       
   238 waittestclass test
       
   239 delete test
       
   240 pause 1000
       
   241 [Endtest] 
       
   242 
       
   243 
       
   244 [Test]
       
   245 title 14.  STATE: Do Pause when stopped
       
   246 create videohelixtest test
       
   247 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   248 waittestclass test
       
   249 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   250 waittestclass test
       
   251 test IssueGeneralCommand EPbCmdStop KErrNone ECallbackStopped
       
   252 waittestclass test
       
   253 test IssueGeneralCommand EPbCmdPause KErrNotSupported
       
   254 delete test
       
   255 pause 1000
       
   256 [Endtest] 
       
   257 
       
   258 
       
   259 [Test]
       
   260 title 15.  STATE: Do Stop when stopped
       
   261 create videohelixtest test
       
   262 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   263 waittestclass test
       
   264 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   265 waittestclass test
       
   266 test IssueGeneralCommand EPbCmdStop KErrNone ECallbackStopped
       
   267 waittestclass test
       
   268 test IssueGeneralCommand EPbCmdStop KErrNotSupported
       
   269 delete test
       
   270 pause 1000
       
   271 [Endtest] 
       
   272 
       
   273 
       
   274 [Test]
       
   275 title 16.  STATE: SetPos when playing/paused/stopped
       
   276 create videohelixtest test
       
   277 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   278 waittestclass test
       
   279 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   280 waittestclass test
       
   281 test SetProperty EPbPropertyPosition 10000
       
   282 waittestclass test
       
   283 test GetProperty EPbPropertyPosition 10000
       
   284 
       
   285 test IssueGeneralCommand EPbCmdPause KErrNone ECallbackPaused
       
   286 waittestclass test
       
   287 test SetProperty EPbPropertyPosition 10000
       
   288 waittestclass test
       
   289 test GetProperty EPbPropertyPosition 10000
       
   290 
       
   291 test IssueGeneralCommand EPbCmdStop KErrNone ECallbackStopped
       
   292 waittestclass test
       
   293 test SetProperty EPbPropertyPosition 10000
       
   294 waittestclass test
       
   295 test GetProperty EPbPropertyPosition 10000
       
   296 
       
   297 delete test
       
   298 pause 1000
       
   299 [Endtest]
       
   300 
       
   301 
       
   302 [Test]
       
   303 title 17.  STATE: Do Play when Paused
       
   304 create videohelixtest test
       
   305 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   306 waittestclass test
       
   307 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   308 waittestclass test
       
   309 test IssueGeneralCommand EPbCmdPause KErrNone ECallbackPaused
       
   310 waittestclass test
       
   311 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackPlaying
       
   312 waittestclass test
       
   313 delete test
       
   314 pause 1000
       
   315 [Endtest] 
       
   316 
       
   317 
       
   318 [Test]
       
   319 title 18.  STATE: SetPos when initialised
       
   320 create videohelixtest test
       
   321 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   322 waittestclass test
       
   323 test SetProperty EPbPropertyPosition 10000
       
   324 waittestclass test
       
   325 test GetProperty EPbPropertyPosition 10000
       
   326 waittestclass test
       
   327 delete test
       
   328 pause 1000
       
   329 [Endtest]
       
   330 
       
   331 
       
   332 [Test]
       
   333 //
       
   334 // Can't save the volume while initilizing, so GetVolume will be the value in CenRep
       
   335 //
       
   336 title 19.  STATE: Misc operations when not-initialized
       
   337 create videohelixtest test
       
   338 test Initialize 0 10 vhpp_test.3gp KErrNone KErrNone KErrGeneral
       
   339 waittestclass test
       
   340 test GetMedia 
       
   341 test SetProperty EPbPropertyVolume 50 ENoEvent
       
   342 waittestclass test
       
   343 pause 100
       
   344 test GetProperty EPbPropertyVolume 40
       
   345 waittestclass test
       
   346 test IssueGeneralCommand EPbCmdStop KErrNotSupported
       
   347 delete test
       
   348 pause 1000
       
   349 [Endtest] 
       
   350 
       
   351 
       
   352 [Test]
       
   353 title 20.  STATE: Close when playing
       
   354 create videohelixtest test
       
   355 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   356 waittestclass test
       
   357 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   358 waittestclass test
       
   359 pause 1000
       
   360 test IssuePlaybackCommand EPbCmdClose KErrNone ECallbackClosed
       
   361 waittestclass test
       
   362 delete test
       
   363 pause 1000
       
   364 [Endtest]
       
   365 
       
   366 
       
   367 [Test]
       
   368 title 21.  Initialise with rtsp link & AP
       
   369 create videohelixtest test
       
   370 test InitializeLink 0 10 rtsp:\/\/link.3gp KErrNone KErrNone KErrNone
       
   371 waittestclass test
       
   372 delete test
       
   373 pause 1000
       
   374 [Endtest]
       
   375 
       
   376 
       
   377 [Test]
       
   378 title 22.  Seek Fwd when playing
       
   379 create videohelixtest test
       
   380 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   381 waittestclass test
       
   382 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   383 waittestclass test
       
   384 test IssueSeekingCommand EPbCmdStartVideoSeekingForward EAddEvent
       
   385 pause 3000
       
   386 test IssueSeekingCommand EPbCmdStopVideoSeeking ECallbackPlaying
       
   387 delete test
       
   388 pause 1000
       
   389 [Endtest]
       
   390 
       
   391 
       
   392 [Test]
       
   393 title 23.  Seek back when paused
       
   394 create videohelixtest test
       
   395 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   396 waittestclass test
       
   397 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   398 waittestclass test
       
   399 test IssueGeneralCommand EPbCmdPause KErrNone ECallbackPaused
       
   400 waittestclass test
       
   401 test IssueSeekingCommand EPbCmdStartVideoSeekingBackward EAddEvent
       
   402 pause 3000
       
   403 test IssueSeekingCommand EPbCmdStopVideoSeeking ECallbackPaused
       
   404 delete test
       
   405 pause 1000
       
   406 [Endtest]
       
   407 
       
   408 
       
   409 [Test]
       
   410 title 24.  Seek when stopped
       
   411 create videohelixtest test
       
   412 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   413 waittestclass test
       
   414 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   415 waittestclass test
       
   416 test IssueGeneralCommand EPbCmdStop KErrNone ECallbackStopped
       
   417 waittestclass test
       
   418 test IssueSeekingCommand EPbCmdStartVideoSeekingForward ENoEvent
       
   419 pause 3000
       
   420 test IssueSeekingCommand EPbCmdStopVideoSeeking ENoEvent
       
   421 delete test
       
   422 pause 1000
       
   423 [Endtest]
       
   424 
       
   425 [Test]
       
   426 title 25.  Play rtsp link (forces buffering state)
       
   427 create videohelixtest test
       
   428 test InitializeLink 0 10 rtsp:\/\/link.3gp KErrNone KErrNone KErrNone
       
   429 waittestclass test
       
   430 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   431 waittestclass test
       
   432 delete test
       
   433 pause 1000
       
   434 [Endtest]
       
   435 
       
   436 [Test]
       
   437 title 26.  PDL - Connect to Download
       
   438 create videohelixtest test
       
   439 test ConnectToDownload 1 vhpp_test.3gp
       
   440 waittestclass test
       
   441 delete test
       
   442 pause 1000
       
   443 [Endtest]
       
   444 
       
   445 [Test]
       
   446 title 27.  PDL - Download State Transitions
       
   447 create videohelixtest test
       
   448 test ConnectToDownload 2 vhpp_test.3gp
       
   449 waittestclass test
       
   450 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   451 waittestclass test
       
   452 test PauseDownload 
       
   453 waittestclass test
       
   454 test ResumeDownload 50
       
   455 waittestclass test
       
   456 delete test
       
   457 pause 1000
       
   458 [Endtest]
       
   459 
       
   460 [Test]
       
   461 title 28.  PDL - Download Complete / Move
       
   462 create videohelixtest test
       
   463 test ConnectToDownload 3 vhpp_test.3gp
       
   464 waittestclass test
       
   465 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   466 waittestclass test
       
   467 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   468 waittestclass test
       
   469 test ResumeDownload 100
       
   470 waittestclass test
       
   471 pause 100
       
   472 test IssuePlaybackCommand EPbCmdClose KErrNone ECallbackClosed
       
   473 waittestclass test
       
   474 delete test
       
   475 pause 1000
       
   476 [Endtest]
       
   477 
       
   478 [Test]
       
   479 title 29.  PDL - Cancel Download
       
   480 create videohelixtest test
       
   481 test ConnectToDownload 2 vhpp_test.3gp
       
   482 waittestclass test
       
   483 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   484 waittestclass test
       
   485 test CancelDownload 
       
   486 waittestclass test
       
   487 delete test
       
   488 pause 1000
       
   489 [Endtest]
       
   490 
       
   491 [Test]
       
   492 title 30.  PDL - Retrieve PDL Status
       
   493 create videohelixtest test
       
   494 test ConnectToDownload 2 vhpp_test.3gp
       
   495 waittestclass test
       
   496 test RetrievePdlStatus EPbDlStateDownloading 25 100 
       
   497 delete test
       
   498 pause 1000
       
   499 [Endtest]
       
   500 
       
   501 [Test]
       
   502 title 31.  Change aspect ratio to zoom->stretch->natural
       
   503 create videohelixtest test
       
   504 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   505 waittestclass test
       
   506 test IssueVideoCommand EPbCmdSetDisplayWindow 2 2 98 98
       
   507 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   508 waittestclass test
       
   509 test ChangeAspectRatioL EPbCmdStretchAspectRatio EMMFStretch
       
   510 test ChangeAspectRatioL EPbCmdNaturalAspectRatio EMMFNatural
       
   511 test ChangeAspectRatioL EPbCmdZoomAspectRatio EMMFZoom
       
   512 pause 1000
       
   513 delete test
       
   514 pause 1000
       
   515 [Endtest]
       
   516 
       
   517 [Test]
       
   518 title 32.  Alarm: Paused
       
   519 create videohelixtest test
       
   520 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   521 waittestclass test
       
   522 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   523 waittestclass test
       
   524 test AlarmOn EPbCmdHandleBackground
       
   525 waittestclass test
       
   526 delete test
       
   527 pause 1000
       
   528 [Endtest] 
       
   529 
       
   530 [Test]
       
   531 title 33.  Alarm: Auto resume
       
   532 create videohelixtest test
       
   533 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   534 waittestclass test
       
   535 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   536 waittestclass test
       
   537 test AlarmAutoResume EPbCmdHandleBackground EPbCmdHandleForeground
       
   538 waittestclass test
       
   539 delete test
       
   540 pause 1000
       
   541 [Endtest]
       
   542 
       
   543 [Test]
       
   544 title 34.  Incoming Phone Call: Rejected
       
   545 create videohelixtest test
       
   546 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   547 waittestclass test
       
   548 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   549 waittestclass test
       
   550 test PhoneCallRejected EPbCmdHandleBackground EPbCmdHandleForeground
       
   551 waittestclass test
       
   552 delete test
       
   553 pause 1000
       
   554 [Endtest]
       
   555 
       
   556 [Test]
       
   557 title 35.  Incoming Voice Call: Accepted
       
   558 create videohelixtest test
       
   559 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   560 waittestclass test
       
   561 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   562 waittestclass test
       
   563 test VoiceCallAccepted EPbCmdHandleBackground EPbCmdHandleForeground
       
   564 pause 1000
       
   565 test EndPhoneCall
       
   566 delete test
       
   567 pause 1000
       
   568 [Endtest]
       
   569 
       
   570 [Test]
       
   571 title 36.  Incoming Video Call: Accepted
       
   572 create videohelixtest test
       
   573 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   574 waittestclass test
       
   575 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   576 waittestclass test
       
   577 test VideoCallAccepted EPbCmdHandleBackground EPbCmdHandleForeground
       
   578 pause 1000
       
   579 test EndPhoneCall
       
   580 delete test
       
   581 pause 1000
       
   582 [Endtest]
       
   583 
       
   584 [Test]
       
   585 title 37.  Play During Video Call
       
   586 create videohelixtest test
       
   587 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   588 waittestclass test
       
   589 test PlayduringVideoCall
       
   590 pause 100
       
   591 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   592 pause 1000
       
   593 test EndPhoneCall
       
   594 delete test
       
   595 pause 1000
       
   596 [Endtest]
       
   597 
       
   598 [Test]
       
   599 title 38.  Play During voice Call
       
   600 create videohelixtest test
       
   601 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   602 waittestclass test
       
   603 test PlayduringVoiceCall
       
   604 pause 100
       
   605 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   606 pause 1000
       
   607 test EndPhoneCall
       
   608 delete test
       
   609 pause 1000
       
   610 [Endtest]
       
   611 
       
   612 [Test]
       
   613 title 39.  Initialise with SDP file via 32-bit file handle
       
   614 create videohelixtest test
       
   615 test InitializeHandle ERFile 60000 10 sdp_test.sdp KErrNone KErrNone KErrNone
       
   616 waittestclass test
       
   617 delete test
       
   618 pause 1000
       
   619 [Endtest]
       
   620 
       
   621 [Test]
       
   622 title 40.  Tv-Out before Initialization - Playback Allowed
       
   623 create videohelixtest test
       
   624 test SetTvOutConnected ETvOutPlaybackAllowed
       
   625 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   626 waittestclass test
       
   627 pause 100
       
   628 test DisconnectTvOut
       
   629 waittestclass test
       
   630 delete test
       
   631 pause 1000
       
   632 [Endtest]
       
   633 
       
   634 [Test]
       
   635 title 41.  Tv-Out after Initialization - Playback Allowed
       
   636 create videohelixtest test
       
   637 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   638 waittestclass test
       
   639 pause 100
       
   640 test ConnectTvOut ETvOutPlaybackAllowed
       
   641 waittestclass test
       
   642 test DisconnectTvOut
       
   643 waittestclass test
       
   644 delete test
       
   645 pause 1000
       
   646 [Endtest]
       
   647 
       
   648 [Test]
       
   649 title 42.  Tv-Out before Initialization - Unsupported DRM Playback Not Allowed
       
   650 create videohelixtest test
       
   651 test SetTvOutConnected ETvOutPlaybackNotAllowed
       
   652 test Initialize 0 10 dcf.odf KErrNone KErrNone KMPXVideoTvOutPlaybackNotAllowedClose
       
   653 waittestclass test
       
   654 pause 100
       
   655 test GetMedia 
       
   656 test DisconnectTvOut
       
   657 waittestclass test
       
   658 delete test
       
   659 pause 1000
       
   660 [Endtest]
       
   661 
       
   662 [Test]
       
   663 title 43.  Tv-Out after Initialization - Unsupported DRM Playback Not Allowed
       
   664 create videohelixtest test
       
   665 test Initialize 0 10 dcf.odf KErrNone KErrNone KErrNone
       
   666 waittestclass test
       
   667 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   668 waittestclass test
       
   669 test ConnectTvOut ETvOutPlaybackNotAllowed
       
   670 waittestclass test
       
   671 test DisconnectTvOut
       
   672 waittestclass test
       
   673 delete test
       
   674 pause 1000
       
   675 [Endtest]
       
   676 
       
   677 [Test]
       
   678 title 44.  DRM Protected file with Rights
       
   679 create videohelixtest test
       
   680 test SetDrmProtected 0
       
   681 test Initialize 0 10 dcf.odf KErrNone KErrNone KErrNone
       
   682 waittestclass test
       
   683 test IssueGeneralCommand EPbCmdPlay KErrNone ECallbackBuffering
       
   684 waittestclass test
       
   685 delete test
       
   686 pause 1000
       
   687 [Endtest]
       
   688 
       
   689 [Test]
       
   690 title 45.  DRM Protected file without rights
       
   691 create videohelixtest test
       
   692 test SetDrmProtected -17452
       
   693 test Initialize 0 10 vhpp_test.3gp KErrNone KErrNone -17452
       
   694 waittestclass test
       
   695 pause 100
       
   696 test GetMedia 
       
   697 waittestclass test
       
   698 delete test
       
   699 pause 1000
       
   700 [Endtest]
       
   701 
       
   702 [Test]
       
   703 title 46.  EndOfClip Custom Commands
       
   704 create videohelixtest test
       
   705 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   706 waittestclass test
       
   707 test IssueSeekedToEndCommand
       
   708 delete test
       
   709 pause 1000
       
   710 [Endtest] 
       
   711 
       
   712 [Test]
       
   713 title 47.  PDL - Not enough Data
       
   714 create videohelixtest test
       
   715 test ConnectToDownload 2 vhpp_test.3gp
       
   716 waittestclass test
       
   717 test Initialize 0 10 vhpp_test.3gp KErrNone KErrNone KErrNotSupported
       
   718 waittestclass test
       
   719 test GetMedia 
       
   720 waittestclass test
       
   721 test RetrievePdlStatus EPbDlStateNotDownloading 1024 1024 
       
   722 delete test
       
   723 pause 1000
       
   724 [Endtest]
       
   725 
       
   726 [Test] 
       
   727 title 48.  Handle volume increase (10-steps)
       
   728 create videohelixtest test 
       
   729 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone 
       
   730 waittestclass test 
       
   731 test SetProperty EPbPropertyVolume 50 EAddEvent 
       
   732 waittestclass test 
       
   733 pause 1000 
       
   734 test GetProperty EPbPropertyVolume 50
       
   735 waittestclass test
       
   736 test HandleVolume EPbCmdHandleIncreaseVolume 60
       
   737 waittestclass test 
       
   738 pause 1000 
       
   739 test GetProperty EPbPropertyVolume 60
       
   740 waittestclass test
       
   741 pause 1000 
       
   742 delete test 
       
   743 pause 1000 
       
   744 [Endtest] 
       
   745   
       
   746 [Test] 
       
   747 title 49.  Handle volume decrease (10-steps)
       
   748 create videohelixtest test 
       
   749 test Initialize 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone 
       
   750 waittestclass test 
       
   751 test SetProperty EPbPropertyVolume 50 EAddEvent 
       
   752 waittestclass test 
       
   753 pause 1000 
       
   754 test GetProperty EPbPropertyVolume 50
       
   755 waittestclass test
       
   756 test HandleVolume EPbCmdHandleDecreaseVolume 40
       
   757 waittestclass test 
       
   758 pause 1000 
       
   759 test GetProperty EPbPropertyVolume 40
       
   760 waittestclass test
       
   761 pause 1000 
       
   762 delete test 
       
   763 pause 1000 
       
   764 [Endtest] 
       
   765 
       
   766 [Test] 
       
   767 title 50.  Handle volume increase (20-steps)
       
   768 create videohelixtest test 
       
   769 test Initialize 60000 20 vhpp_test.3gp KErrNone KErrNone KErrNone 
       
   770 waittestclass test 
       
   771 test SetProperty EPbPropertyVolume 50 EAddEvent 
       
   772 waittestclass test 
       
   773 pause 1000 
       
   774 test GetProperty EPbPropertyVolume 50
       
   775 waittestclass test
       
   776 test HandleVolume EPbCmdHandleIncreaseVolume 55
       
   777 waittestclass test 
       
   778 pause 1000 
       
   779 test GetProperty EPbPropertyVolume 55
       
   780 waittestclass test
       
   781 pause 1000 
       
   782 delete test 
       
   783 pause 1000 
       
   784 [Endtest] 
       
   785   
       
   786 [Test] 
       
   787 title 51.  Handle volume decrease (20-steps)
       
   788 create videohelixtest test 
       
   789 test Initialize 60000 20 vhpp_test.3gp KErrNone KErrNone KErrNone 
       
   790 waittestclass test 
       
   791 test SetProperty EPbPropertyVolume 50 EAddEvent 
       
   792 waittestclass test 
       
   793 pause 1000 
       
   794 test GetProperty EPbPropertyVolume 50
       
   795 waittestclass test
       
   796 test HandleVolume EPbCmdHandleDecreaseVolume 45
       
   797 waittestclass test 
       
   798 pause 1000 
       
   799 test GetProperty EPbPropertyVolume 45
       
   800 waittestclass test
       
   801 pause 1000 
       
   802 delete test 
       
   803 pause 1000 
       
   804 [Endtest] 
       
   805 
       
   806 [Test]
       
   807 title 52.  InitialiseL with 64-bit file handle
       
   808 create videohelixtest test
       
   809 test InitializeHandle ERFile64 60000 10 vhpp_test.3gp KErrNone KErrNone KErrNone
       
   810 waittestclass test
       
   811 delete test
       
   812 pause 1000
       
   813 [Endtest] 
       
   814 
       
   815 [Test]
       
   816 title 53.  Initialise with SDP file via 64-bit file handle
       
   817 create videohelixtest test
       
   818 test InitializeHandle ERFile64 60000 10 sdp_test.sdp KErrNone KErrNone KErrNone
       
   819 waittestclass test
       
   820 delete test
       
   821 pause 1000
       
   822 [Endtest]
       
   823 
       
   824 
       
   825