mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/scripts/tsi_mmf_vclntavi_surf.script
changeset 4 9d4397b300d1
parent 0 b8ed18f6c07b
equal deleted inserted replaced
1:fcaf4606ba4e 4:9d4397b300d1
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   270 //!@SYMTestActions            Initialise video utility with a video file and play.
   270 //!@SYMTestActions            Initialise video utility with a video file and play.
   271 //!@SYMTestExpectedResults    KErrNone
   271 //!@SYMTestExpectedResults    KErrNone
   272 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0435 c:\vclntavi\video_avi.ini
   272 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0435 c:\vclntavi\video_avi.ini
   273 TEST_COMPLETE
   273 TEST_COMPLETE
   274 
   274 
       
   275 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1201
       
   276 //!@SYMTestCaseDesc           Test HDMI external display.
       
   277 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   278 //!@SYMTestPriority           1
       
   279 //!@SYMTestActions            Configure external display test plugin to indicate HDMI display is connected.
       
   280 //!@                          HDMI is mapped to display 0 as no display 1 is available.
       
   281 //!@                          Set exetrnal display to be enabled.
       
   282 //!@                          Initialise video utility with a video file and play.
       
   283 //!@SYMTestExpectedResults    KErrNone
       
   284 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1201 c:\vclntavi\video_avi.ini
       
   285 TEST_COMPLETE
       
   286 
       
   287 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1202
       
   288 //!@SYMTestCaseDesc           Test HDMI external display.
       
   289 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   290 //!@SYMTestPriority           1
       
   291 //!@SYMTestActions            Configure external display test plugin to indicate HDMI display is connected.
       
   292 //!@                          HDMI is mapped to display 0 as no display 1 is available.
       
   293 //!@                          Set exetrnal display to be disabled.
       
   294 //!@                          Initialise video utility with a video file and play.
       
   295 //!@SYMTestExpectedResults    KErrNone
       
   296 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1202 c:\vclntavi\video_avi.ini
       
   297 TEST_COMPLETE
       
   298 
       
   299 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1203
       
   300 //!@SYMTestCaseDesc           Test Analog (aka. composite or TV Out) external display.
       
   301 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   302 //!@SYMTestPriority           1
       
   303 //!@SYMTestActions            Configure external display test plugin to indicate analog display is connected.
       
   304 //!@                          Analog is mapped to display 0 as no display 1 is available.
       
   305 //!@                          Set exetrnal display to be enabled.
       
   306 //!@                          Initialise video utility with a video file and play.
       
   307 //!@                          Switch to analog is not expected for this test as cenrep setting is unavailable.
       
   308 //!@SYMTestExpectedResults    KErrNone
       
   309 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1203 c:\vclntavi\video_avi.ini
       
   310 TEST_COMPLETE
       
   311 
       
   312 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1204
       
   313 //!@SYMTestCaseDesc           Test Analog (aka. composite or TV Out) external display.
       
   314 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   315 //!@SYMTestPriority           1
       
   316 //!@SYMTestActions            Configure external display test plugin to indicate analog display is connected.
       
   317 //!@                          Analog is mapped to display 0 as no display 1 is available.
       
   318 //!@                          Set exetrnal display to be disabled.
       
   319 //!@                          Initialise video utility with a video file and play.
       
   320 //!@                          Switch to analog is not expected for this test as cenrep setting is unavailable.
       
   321 //!@SYMTestExpectedResults    KErrNone
       
   322 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1204 c:\vclntavi\video_avi.ini
       
   323 TEST_COMPLETE
       
   324 
       
   325 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1205
       
   326 //!@SYMTestCaseDesc           Test Switch from disconnected external display to HDMI external display.
       
   327 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   328 //!@SYMTestPriority           1
       
   329 //!@SYMTestActions            Configure external display test plugin to indicate external display is disconnected.
       
   330 //!@                          Set exetrnal display to be enabled.
       
   331 //!@                          Initialise video utility with a video file and play.
       
   332 //!@                          Configure external display test plugin to indicate HDMI external display has been
       
   333 //!@                          connected.
       
   334 //!@                          HDMI is mapped to display 0 as no display 1 is available.
       
   335 //!@SYMTestExpectedResults    KErrNone
       
   336 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1205 c:\vclntavi\video_avi.ini
       
   337 TEST_COMPLETE
       
   338 
       
   339 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1206
       
   340 //!@SYMTestCaseDesc           Test Switch from disconnected external display to HDMI external display.
       
   341 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   342 //!@SYMTestPriority           1
       
   343 //!@SYMTestActions            Configure external display test plugin to indicate external display is disconnected.
       
   344 //!@                          Set exetrnal display to be disabled.
       
   345 //!@                          Initialise video utility with a video file and play.
       
   346 //!@                          Configure external display test plugin to indicate HDMI external display has been
       
   347 //!@                          connected.
       
   348 //!@                          HDMI is mapped to display 0 as no display 1 is available.
       
   349 //!@SYMTestExpectedResults    KErrNone
       
   350 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1206 c:\vclntavi\video_avi.ini
       
   351 TEST_COMPLETE
       
   352 
       
   353 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1207
       
   354 //!@SYMTestCaseDesc           Test Switch from HDMI external display to disconnected external display.
       
   355 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   356 //!@SYMTestPriority           1
       
   357 //!@SYMTestActions            Configure external display test plugin to indicate HDMI display is connected.
       
   358 //!@                          HDMI is mapped to display 0 as no display 1 is available.
       
   359 //!@                          Set exetrnal display to be enabled.
       
   360 //!@                          Initialise video utility with a video file and play.
       
   361 //!@                          Configure external display test plugin to indicate external display has been
       
   362 //!@                          disconnected.
       
   363 //!@SYMTestExpectedResults    KErrNone
       
   364 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1207 c:\vclntavi\video_avi.ini
       
   365 TEST_COMPLETE
       
   366 
       
   367 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1208
       
   368 //!@SYMTestCaseDesc           Test Switch from HDMI external display to disconnected external display.
       
   369 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   370 //!@SYMTestPriority           1
       
   371 //!@SYMTestActions            Configure external display test plugin to indicate HDMI display is connected.
       
   372 //!@                          HDMI is mapped to display 0 as no display 1 is available.
       
   373 //!@                          Set external display to be disabled.
       
   374 //!@                          Initialise video utility with a video file and play.
       
   375 //!@                          Configure external display test plugin to indicate external display has been
       
   376 //!@                          disconnected.
       
   377 //!@SYMTestExpectedResults    KErrNone
       
   378 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1208 c:\vclntavi\video_avi.ini
       
   379 TEST_COMPLETE
       
   380 
       
   381 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1209
       
   382 //!@SYMTestCaseDesc           Test Switch from disconnected external display to Analog external display.
       
   383 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   384 //!@SYMTestPriority           1
       
   385 //!@SYMTestActions            Configure external display test plugin to indicate external display is disconnected.
       
   386 //!@                          Set external display to be enabled.
       
   387 //!@                          Initialise video utility with a video file and play.
       
   388 //!@                          Configure external display test plugin to indicate Analog external display has been
       
   389 //!@                          connected.
       
   390 //!@                          Analog is mapped to display 0 as no display 1 is available.
       
   391 //!@SYMTestExpectedResults    KErrNone
       
   392 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1209 c:\vclntavi\video_avi.ini
       
   393 TEST_COMPLETE
       
   394 
       
   395 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1210
       
   396 //!@SYMTestCaseDesc           Test Switch from disconnected external display to Analog external display.
       
   397 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   398 //!@SYMTestPriority           1
       
   399 //!@SYMTestActions            Configure external display test plugin to indicate external display is disconnected.
       
   400 //!@                          Set external display to be disabled.
       
   401 //!@                          Initialise video utility with a video file and play.
       
   402 //!@                          Configure external display test plugin to indicate Analog external display has been
       
   403 //!@                          connected.
       
   404 //!@                          Analog is mapped to display 0 as no display 1 is available.
       
   405 //!@SYMTestExpectedResults    KErrNone
       
   406 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1210 c:\vclntavi\video_avi.ini
       
   407 TEST_COMPLETE
       
   408 
       
   409 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1211
       
   410 //!@SYMTestCaseDesc           Test Switch from Analog external display to disconnected external display.
       
   411 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   412 //!@SYMTestPriority           1
       
   413 //!@SYMTestActions            Configure external display test plugin to indicate Analog display is connected.
       
   414 //!@                          Analog is mapped to display 0 as no display 1 is available.
       
   415 //!@                          Set external display to be enabled.
       
   416 //!@                          Initialise video utility with a video file and play.
       
   417 //!@                          Configure external display test plugin to indicate external display has been
       
   418 //!@                          disconnected.
       
   419 //!@SYMTestExpectedResults    KErrNone
       
   420 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1211 c:\vclntavi\video_avi.ini
       
   421 TEST_COMPLETE
       
   422 
       
   423 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1212
       
   424 //!@SYMTestCaseDesc           Test Switch from Analog external display to disconnected external display.
       
   425 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   426 //!@SYMTestPriority           1
       
   427 //!@SYMTestActions            Configure external display test plugin to indicate Analog display is connected.
       
   428 //!@                          Analog is mapped to display 0 as no display 1 is available.
       
   429 //!@                          Set external display to be disabled.
       
   430 //!@                          Initialise video utility with a video file and play.
       
   431 //!@                          Configure external display test plugin to indicate external display has been
       
   432 //!@                          disconnected.
       
   433 //!@SYMTestExpectedResults    KErrNone
       
   434 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1212 c:\vclntavi\video_avi.ini
       
   435 TEST_COMPLETE
       
   436 
       
   437 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1213
       
   438 //!@SYMTestCaseDesc           Test Switch from HDMI external display to Analog external display.
       
   439 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   440 //!@SYMTestPriority           1
       
   441 //!@SYMTestActions            Configure external display test plugin to indicate HDMI display is connected.
       
   442 //!@                          HDMI is mapped to display 0 as no display 1 is available.
       
   443 //!@                          Set external display to be enabled.
       
   444 //!@                          Initialise video utility with a video file and play.
       
   445 //!@                          Configure external display test plugin to indicate HDMI external display has been
       
   446 //!@                          disconnected and Analog external display has been connected.
       
   447 //!@                          Analog is mapped to display 0 as no display 1 is available.
       
   448 //!@SYMTestExpectedResults    KErrNone
       
   449 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1213 c:\vclntavi\video_avi.ini
       
   450 TEST_COMPLETE
       
   451 
       
   452 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1214
       
   453 //!@SYMTestCaseDesc           Test Switch from HDMI external display to Analog external display.
       
   454 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   455 //!@SYMTestPriority           1
       
   456 //!@SYMTestActions            Configure external display test plugin to indicate HDMI display is connected.
       
   457 //!@                          HDMI is mapped to display 0 as no display 1 is available.
       
   458 //!@                          Set external display to be disabled.
       
   459 //!@                          Initialise video utility with a video file and play.
       
   460 //!@                          Configure external display test plugin to indicate HDMI external display has been
       
   461 //!@                          disconnected and Analog external display has been connected.
       
   462 //!@                          Analog is mapped to display 0 as no display 1 is available.
       
   463 //!@SYMTestExpectedResults    KErrNone
       
   464 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1214 c:\vclntavi\video_avi.ini
       
   465 TEST_COMPLETE
       
   466 
       
   467 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1215
       
   468 //!@SYMTestCaseDesc           Test Switch from Analog external display to HDMI external display.
       
   469 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   470 //!@SYMTestPriority           1
       
   471 //!@SYMTestActions            Configure external display test plugin to indicate Analog display is connected.
       
   472 //!@                          Analog is mapped to display 0 as no display 1 is available.
       
   473 //!@                          Set external display to be enabled.
       
   474 //!@                          Initialise video utility with a video file and play.
       
   475 //!@                          Configure external display test plugin to indicate Analog external display has been
       
   476 //!@                          disconnected and HDMI external display has been connected.
       
   477 //!@                          HDMI is mapped to display 0 as no display 1 is available.
       
   478 //!@SYMTestExpectedResults    KErrNone
       
   479 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1215 c:\vclntavi\video_avi.ini
       
   480 TEST_COMPLETE
       
   481 
       
   482 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-1216
       
   483 //!@SYMTestCaseDesc           Test Switch from Analog external display to HDMI external display.
       
   484 //!@SYMREQ                    REQ417-72064, SUBREQ417-73832
       
   485 //!@SYMTestPriority           1
       
   486 //!@SYMTestActions            Configure external display test plugin to indicate Analog display is connected.
       
   487 //!@                          Analog is mapped to display 0 as no display 1 is available.
       
   488 //!@                          Set external display to be disabled.
       
   489 //!@                          Initialise video utility with a video file and play.
       
   490 //!@                          Configure external display test plugin to indicate Analog external display has been
       
   491 //!@                          disconnected and HDMI external display has been connected.
       
   492 //!@                          HDMI is mapped to display 0 as no display 1 is available.
       
   493 //!@SYMTestExpectedResults    KErrNone
       
   494 RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1216 c:\vclntavi\video_avi.ini
       
   495 TEST_COMPLETE
       
   496 
   275 /////////////////////////////// NEGATIVE TESTS /////////////////////////////////////
   497 /////////////////////////////// NEGATIVE TESTS /////////////////////////////////////
   276 
   498 
   277 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-0500
   499 //!@SYMTestCaseID             MM-MMF-VCLNTAVI-I-0500
   278 //!@SYMTestCaseDesc           Playback an AVI-Xiv video using graphics surface through Video Player Utility 2 APIs with invalid cropping region
   500 //!@SYMTestCaseDesc           Playback an AVI-Xiv video using graphics surface through Video Player Utility 2 APIs with invalid cropping region
   279 //!@SYMPREQ                   PREQ1714
   501 //!@SYMPREQ                   PREQ1714