sl@0: // sl@0: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: // sl@0: //! @file sl@0: //! @SYMTestSuiteName MM-MMF-VCLNT-PLYR-PublicAPI sl@0: //! @SYMScriptTestEnvironment This test script requires a basic ROM. sl@0: ///////////////////////////////////////////////////////////////////// sl@0: // MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: // sl@0: // Tests all public elements of the CVideoPlayerUtility class sl@0: // as a means of confidence that the APIs work as expected. sl@0: // sl@0: // The purpose is to provide a regression test suite of PublishedAll APIs for CVideoPlayerUtility. sl@0: // Negative testing is performed to confirm that correct errors are returned when incorrect parameters are given. sl@0: // The tests are fully automated. sl@0: ///////////////////////////////////////////////////////////////////// sl@0: sl@0: LOAD_SUITE T_VideoPlayerUtility sl@0: sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0001 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0001 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 05/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open and play video file without specifying controller plugin. sl@0: //! Uses API elements: NewL(), sl@0: //! OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null()), sl@0: //! Prepare(), Play(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Video file is opened and played without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0001-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0001-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0001 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0002 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0002 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 05/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open and play video file using certain controller plugin. sl@0: //! Uses API elements: NewL(), sl@0: //! OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null()), sl@0: //! Prepare(), Play(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Video file is opened and played without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0002-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0002-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0002 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0003 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0003 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 05/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open and play video file using RFile. sl@0: //! Uses API elements: NewL(), sl@0: //! OpenFileL(const RFile aFileName, TUid aControllerUid=TUid::Null()), sl@0: //! Prepare(), Play(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Video file is opened and played without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0003-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0003-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0003 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0004 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0004 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 05/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open and play video file using TMMSource. sl@0: //! Uses API elements: NewL(), sl@0: //! OpenFileL(const TMMSource aSource, TUid aControllerUid=TUid::Null()), sl@0: //! Prepare(), Play(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Video file is opened and played without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0004-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0004-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0004 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0005 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0005 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 05/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open and play video file from descriptor. sl@0: //! Uses API elements: NewL(), OpenDesL(), Prepare(), Play(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open video clip in a descriptor. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Video file is opened and played without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0005-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenDesL MM-MMF-VCLNT-PLYR-PublicAPI-0005-001-OpenDesL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0005 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0006 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0006 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 05/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open and play video file from URL. sl@0: //! Uses API elements: NewL(), OpenUrlL(), Prepare(), Play(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from a URL. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Video file is opened and played without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0006-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenUrlL MM-MMF-VCLNT-PLYR-PublicAPI-0006-001-OpenUrlL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0006 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0007 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0007 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 05/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Play video from file at the specified start and end points. sl@0: //! Uses API elements: NewL(), OpenUrlL(), Prepare(), Play(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Video file is played without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0007-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenUrlL MM-MMF-VCLNT-PLYR-PublicAPI-0007-001-OpenUrlL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play MM-MMF-VCLNT-PLYR-PublicAPI-0007-001-Play_command04 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0007 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0008 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0008 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 05/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Play the video from file and stop it. sl@0: //! Uses API elements: NewL(), OpneFileL(), Prepare(), Play(), Stop(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Stop play. sl@0: //! 6. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Play of video is stopped. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0008-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0008-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: ASYNC_DELAY 5000 sl@0: COMMAND VideoPlayerUtility1 Stop sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0008 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0009 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0009 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 05/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Play the video from file, pause it. Start playing againg and stop it. sl@0: //! Uses API elements: NewL(), OpneFileL(), Prepare(), Play(), PauseL(), Play(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Pause playing. sl@0: //! 6. Start playing. sl@0: //! 7. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The video playing is paused and continued without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0009-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0009-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: ASYNC_DELAY 5000 sl@0: COMMAND VideoPlayerUtility1 PauseL sl@0: COMMAND VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0009 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0010 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0010 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open the videofile and set the playback priority. sl@0: //! Uses API elements: NewL(), OpneFileL(), SetPriorityL(), PriorityL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Set the playback priority. sl@0: //! 4. Check the playback priority. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The playback priority is set. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0010-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0010-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetPriorityL MM-MMF-VCLNT-PLYR-PublicAPI-0010-001-SetPriorityL_command03 sl@0: COMMAND VideoPlayerUtility1 PriorityL MM-MMF-VCLNT-PLYR-PublicAPI-0010-001-PriorityL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0010 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0011 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0011 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open the videofile and set the display window. sl@0: //! Uses API elements: NewL(), OpneFileL(), SetDisplayWindowL(), Prepare(), Play(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Set the display windowy. sl@0: //! 4. Prepare playing. sl@0: //! 5. Start playing. sl@0: //! 6. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The display window is set and video is played at new window. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0011-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0011-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetDisplayWindowL MM-MMF-VCLNT-PLYR-PublicAPI-0011-001-SetDisplayWindowL_command03 sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0011 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0012 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0012 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Register to receive notifications of video clip loading. Open video clip from URL. sl@0: //! Get video loading progress and start playing the video. sl@0: //! Uses API elements: NewL(), RegisterForVideoLoadingNotification(), OpenUrlL(), sl@0: //! Prepare(), GetVideoLoadingProgressL(), Play(), GetVideoLoadingProgressL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Register to receive notifications of video clip loading/rebuffering sl@0: //! 3. Open a video clip from a URL. sl@0: //! 4. Prepare playing. sl@0: //! 5. Gets the progress of video clip loading/rebuffering sl@0: //! 6. Start playing. sl@0: //! 7. Gets the progress of video clip loading/rebuffering sl@0: //! 8. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The video loading notifications are received and video loading progress is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0012-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 RegisterForVideoLoadingNotification sl@0: COMMAND VideoPlayerUtility1 OpenUrlL MM-MMF-VCLNT-PLYR-PublicAPI-0012-001-OpenUrlL_command03 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 GetVideoLoadingProgressL MM-MMF-VCLNT-PLYR-PublicAPI-0012-001-GetVideoLoadingProgressL_command05 sl@0: COMMAND VideoPlayerUtility1 Play sl@0: ASYNC_DELAY 10000 sl@0: COMMAND VideoPlayerUtility1 GetVideoLoadingProgressL sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0012 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0013 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0013 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the current frame without DRM Intent. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), GetFrameL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Get the current frame. sl@0: //! 6. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The current frame is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0013-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0013-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: ASYNC_DELAY 10000 sl@0: COMMAND VideoPlayerUtility1 GetFrameL MM-MMF-VCLNT-PLYR-PublicAPI-0013-001-GetFrameL_command06 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0013 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0014 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0014 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the current frame with DRM Intent. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), GetFrameL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Get the current frame. sl@0: //! 6. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The current frame is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0014-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0014-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: ASYNC_DELAY 10000 sl@0: COMMAND VideoPlayerUtility1 GetFrameL MM-MMF-VCLNT-PLYR-PublicAPI-0014-001-GetFrameL_command06 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0014 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0015 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0015 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Refresh (redraw) the current frame. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), RefreshFrameL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Redraw the current frame. sl@0: //! 6. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The current frame is refreshed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0015-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0015-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: COMMAND VideoPlayerUtility1 RefreshFrameL sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0015 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0016 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0016 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set video frame rate. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), sl@0: //! VideoFrameRateL(), SetVideoFrameRateL(), VideoFrameRateL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Query video frame rate sl@0: //! 6. Set the video frame rate. sl@0: //! 7. Query video frame rate sl@0: //! 8. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The frame rate is set. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0016-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0016-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 VideoFrameRateL sl@0: COMMAND VideoPlayerUtility1 SetVideoFrameRateL MM-MMF-VCLNT-PLYR-PublicAPI-0016-001-SetVideoFrameRateL_command06 sl@0: COMMAND VideoPlayerUtility1 VideoFrameRateL MM-MMF-VCLNT-PLYR-PublicAPI-0016-001-VideoFrameRateL_command07 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0016 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0017 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0017 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the video frame size. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), VideoFrameSizeL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip sl@0: //! 4. Get the video frame size. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The video frame size is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0017-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0017-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 VideoFrameSizeL MM-MMF-VCLNT-PLYR-PublicAPI-0017-001-VideoFrameSizeL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0017 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0018 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0018 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the video format's MIME type. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), VideoFormatMimeType(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip sl@0: //! 4. Get the video format's MIME type. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The video format's MIME type is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0018-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0018-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 VideoFormatMimeType MM-MMF-VCLNT-PLYR-PublicAPI-0018-001-VideoFormatMimeType_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0018 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0019 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0019 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the video bit rate. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), VideoBitRateL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip sl@0: //! 4. Get the video bit rate. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The video bit rate is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0019-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0019-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 VideoBitRateL MM-MMF-VCLNT-PLYR-PublicAPI-0019-001-VideoBitRateL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0019 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0020 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0020 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the audio bit rate in bits/second. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), AudioBitRateL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip sl@0: //! 4. Get the audio bit rate. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The audio bit rate is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0020-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0020-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 AudioBitRateL MM-MMF-VCLNT-PLYR-PublicAPI-0020-001-AudioBitRateL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0020 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0021 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0021 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the codec used for the audio component of the video clip. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), AudioTypeL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip sl@0: //! 4. Get the codec used for the audio. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The audio codec is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0021-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0021-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 AudioTypeL MM-MMF-VCLNT-PLYR-PublicAPI-0021-001-AudioTypeL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0021 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0022 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0022 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get whether the current clip has an audio stream. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), AudioEnabledL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip sl@0: //! 4. Get whether the current clip has an audio stream. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Not Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The audio enabled value (TRUE/FALSE) is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0022-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0022-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 AudioEnabledL MM-MMF-VCLNT-PLYR-PublicAPI-0022-001-AudioEnabledL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0022 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0023 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0023 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set and check the position within the video clip from where to start playback. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), SetPositionL(), PositionL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip sl@0: //! 4. Set the position within the video clip. sl@0: //! 5. Get the current playback position sl@0: //! 6. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The position is set within the audio clip. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0023-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0023-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetPositionL MM-MMF-VCLNT-PLYR-PublicAPI-0023-001-SetPositionL_command04 sl@0: COMMAND VideoPlayerUtility1 PositionL MM-MMF-VCLNT-PLYR-PublicAPI-0023-001-PositionL_command05 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0023 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0024 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0024 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the duration of video clip in mircoseconds. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), DurationL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip sl@0: //! 4. Get the duration of video clip. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The video clip duration is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0024-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0024-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 DurationL MM-MMF-VCLNT-PLYR-PublicAPI-0024-001-DurationL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0024 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0025 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0025 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get max. volume. Set and check volume for the audio track. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), MaxVolume(), SetVolumeL(), Volume(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Get the maximum volume that the audio track can support. sl@0: //! 5. Sets the playback volume for the audio track of the video clip. sl@0: //! 6. Get the current playback volume for the audio track of the video clip. sl@0: //! 7. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The max. volume is queried and custom volume is set for the audio track. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0025-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0025-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 MaxVolume MM-MMF-VCLNT-PLYR-PublicAPI-0025-001-MaxVolume_command03 sl@0: COMMAND VideoPlayerUtility1 SetVolumeL MM-MMF-VCLNT-PLYR-PublicAPI-0025-001-SetVolumeL_command04 sl@0: COMMAND VideoPlayerUtility1 Volume MM-MMF-VCLNT-PLYR-PublicAPI-0025-001-Volume_command05 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0025 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0026 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0026 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set and check the current playback balance for the audio track of the video clip. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), Balance(), SetBalanceL(), Balance(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Get the current balance setting for the audio track. sl@0: //! 5. Set the current playback balance. sl@0: //! 6. Get the current balance setting for the audio track. sl@0: //! 7. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The custom balance setting for the audio track is set. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0026-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0026-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Balance sl@0: COMMAND VideoPlayerUtility1 SetBalanceL MM-MMF-VCLNT-PLYR-PublicAPI-0026-001-SetBalanceL_command04 sl@0: COMMAND VideoPlayerUtility1 Balance MM-MMF-VCLNT-PLYR-PublicAPI-0026-001-Balance_command05 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0026 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0027 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0027 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set and check the rotation of the video image on the screen. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), SetRotationL(), RotationL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Change the video image rotation on the screen. sl@0: //! 5. Get the rotation that is currently applied to the video image. sl@0: //! 6. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The custom rotation is applied to the video image. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0027-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0027-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetRotationL MM-MMF-VCLNT-PLYR-PublicAPI-0027-001-SetRotationL_command04 sl@0: COMMAND VideoPlayerUtility1 RotationL MM-MMF-VCLNT-PLYR-PublicAPI-0027-001-RotationL_command05 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0027 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0028 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0028 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set and check the scale of the video image (percentage of its original size). sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), SetScaleFactorL(), GetScaleFactorL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Set the scale of the video image. sl@0: //! 5. Get the scale of the video image. sl@0: //! 6. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The custom scale is applied to the video image. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0028-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0028-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetScaleFactorL MM-MMF-VCLNT-PLYR-PublicAPI-0028-001-SetScaleFactorL_command04 sl@0: COMMAND VideoPlayerUtility1 GetScaleFactorL MM-MMF-VCLNT-PLYR-PublicAPI-0028-001-GetScaleFactorL_command05 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0028 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0029 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0029 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set and check a region of the video image to be displayed. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), SetCropRegionL(), GetCropRegionL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Set a region of the video image to be displayed. sl@0: //! 5. Get the crop region currently applied to the image. sl@0: //! 6. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The custom region of the video image to be displayed is set. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0029-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0029-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetCropRegionL MM-MMF-VCLNT-PLYR-PublicAPI-0029-001-SetCropRegionL_command04 sl@0: COMMAND VideoPlayerUtility1 GetCropRegionL MM-MMF-VCLNT-PLYR-PublicAPI-0029-001-GetCropRegionL_command05 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0029 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0030 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0030 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 08/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the number of meta data entries associated with this clip. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), NumberOfMetaDataEntriesL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Get the number of meta data entries. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The number of meta data entries is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0030-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0030-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 NumberOfMetaDataEntriesL MM-MMF-VCLNT-PLYR-PublicAPI-0030-001-NumberOfMetaDataEntriesL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0030 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0031 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0031 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get a meta data entry from the clip. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), MetaDataEntryL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Get a meta data entry. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The meta data entry is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0031-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0031-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 MetaDataEntryL MM-MMF-VCLNT-PLYR-PublicAPI-0031-001-MetaDataEntryL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0031 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0032 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0032 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the controller implementation information associated with the current controller. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), ControllerImplementationInformationL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Get the controller implementation information. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The controller implementation information is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0032-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0032-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ControllerImplementationInformationL sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0032 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0033 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0033 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Send a synchronous custom command to the controller with respond (aDataFrom). sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), CustomCommandSync(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Send a synchronous custom command. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults CustomCommandSync will return the error KErrNotSupported. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0033-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0033-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !Error=-5 VideoPlayerUtility1 CustomCommandSync MM-MMF-VCLNT-PLYR-PublicAPI-0033-001-CustomCommandSync_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0033 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0034 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0034 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Send a synchronous custom command to the controller without respond. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), CustomCommandSync(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Send a synchronous custom command. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults CustomCommandSync will return the error KErrNotSupported. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0034-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0034-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !Error=-5 VideoPlayerUtility1 CustomCommandSync MM-MMF-VCLNT-PLYR-PublicAPI-0034-001-CustomCommandSync_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0034 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0035 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0035 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Send an asynchronous custom command to the controller with respond (aDataFrom). sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), CustomCommandAsync(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Send an asynchronous custom command. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults CustomCommandAsync will return the error KErrNotSupported. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0035-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0035-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-5 VideoPlayerUtility1 CustomCommandAsync MM-MMF-VCLNT-PLYR-PublicAPI-0035-001-CustomCommandAsync_command04 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0035 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0036 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0036 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Send an asynchronous custom command to the controller without respond. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), CustomCommandAsync(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Send an asynchronous custom command. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults CustomCommandAsync will return the error KErrNotSupported. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0036-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0036-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-5 VideoPlayerUtility1 CustomCommandAsync MM-MMF-VCLNT-PLYR-PublicAPI-0036-001-CustomCommandAsync_command04 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0036 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0037 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0037 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get a controller's DRM custom command implementation. sl@0: //! Uses API elements: NewL(), OpenFileL(), GetDRMCustomCommand(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get a controller's DRM custom command implementation. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The controller's DRM custom command implementation is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0037-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0037-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 GetDRMCustomCommand sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0037 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0038 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0038 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Stop the video player from using direct screen access (DSA). sl@0: //! Uses API elements: NewL(), StopDirectScreenAccessL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Stop the video player from using direct screen access. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The video player is not using direct screen access anymore. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0038-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 StopDirectScreenAccessL sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0038 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0039 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0039 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Start the video player to use direct screen access (DSA). sl@0: //! Uses API elements: NewL(), StopDirectScreenAccessL(), StartDirectScreenAccessL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Stop the video player from using direct screen access. sl@0: //! 3. Start the video player to use direct screen access. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The video player is using direct screen access. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0039-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 StopDirectScreenAccessL sl@0: COMMAND VideoPlayerUtility1 StartDirectScreenAccessL sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0039 sl@0: sl@0: //////////////////******************************************************////////////////////////// sl@0: // sl@0: // Phase 2 (negative tests) are beginning here sl@0: // sl@0: /////////////////******************************************************/////////////////////////// sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0040 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0040 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Construct a new instance of the video player utility with aPriority lower than EMdaPriorityMin. sl@0: //! Uses API elements: NewL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Returns no errors. Object is created sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0040-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0040 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0041 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0041 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Construct a new instance of the video player utility with aPriority hihger than EMdaPriorityMax. sl@0: //! Uses API elements: NewL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Returns no errors. Object is created sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0041-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0041 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0042 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0042 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Construct a new instance of the video player utility with invalid window server session id. sl@0: //! Uses API elements: NewL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KERN-EXEC panic (3) is raised because of dereferencing NULL sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0042-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=3 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0042 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0043 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0043 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Construct a new instance of the video player utility with invalid software device screen. sl@0: //! Uses API elements: NewL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KERN-EXEC panic (3) is raised because of dereferencing NULL sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0043-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=3 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0043 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0044 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0044 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Construct a new instance of the video player utility with invalid display window. sl@0: //! Uses API elements: NewL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults WSERV panic (6) is raised because of invalid window handle. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0044-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=6 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0044 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0045 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0045 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Construct a new instance of the video player utility with negative dimensions of the display window. sl@0: //! Uses API elements: NewL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Returns no errors. Object is created sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0045-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0045 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0046 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0046 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Construct a new instance of the video player utility with negative dimensions area of the video clip to display. sl@0: //! Uses API elements: NewL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Returns no errors. Object is created sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0046-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0046 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0047 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0047 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open nonexisting video clip from a file. sl@0: //! Uses API elements: NewL(), OpenFileL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Call OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null()) sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() will return the error KErrNotFound. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0047-001-NewL_command01 sl@0: COMMAND !AsyncError=-1 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0047-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0047 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0048 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0048 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open corrupted video clip from a file. sl@0: //! Uses API elements: NewL(), OpenFileL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Call OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null()) sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20) sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0048-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0048-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0048 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0049 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0049 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open corrupted video clip from a file and prepare it. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Call OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null()) sl@0: //! 3. Call Prepare(). sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20) and Prepare() returns KErrNotReady(-18); sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0049-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0049-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0049 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0050 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0050 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open corrupted video clip from a file and play it. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), Play() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Call OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null()) sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Start playing. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20) and Prepare() and Play() returns KErrNotReady(-18); sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0050-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0050-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0050 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0051 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0051 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open video clip from a file with invalid controller id. sl@0: //! Uses API elements: NewL(), OpenFileL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Call OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null()) sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() will return the error KErrNotFound. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0051-001-NewL_command01 sl@0: COMMAND !AsyncError=-1 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0051-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0051 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0052 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0052 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open video clip from a file with not initialised RFile object. sl@0: //! Uses API elements: NewL(), OpenFileL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Call OpenFileL(const RFile aFileName, TUid aControllerUid=TUid::Null()) sl@0: //! 3. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL will raise panic. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0052-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0052-001-OpenFileL_command02 sl@0: //! OUTSTANDING sl@0: //! COMMAND VideoPlayerUtility1 Close sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=0 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0052 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0053 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0053 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open corrupted video clip from a file using RFile. sl@0: //! Uses API elements: NewL(), OpenFileL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Call OpenFileL(const RFile aFileName, TUid aControllerUid=TUid::Null()). sl@0: //! 3. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20) sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0053-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0053-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0053 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0054 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0054 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open video clip from a file with invalid controller id using RFile. sl@0: //! Uses API elements: NewL(), OpenFileL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Call OpenFileL(const RFile aFileName, TUid aControllerUid=TUid::Null()). sl@0: //! 3. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() will return the error KErrNotFound. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0054-001-NewL_command01 sl@0: COMMAND !AsyncError=-1 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0054-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0054 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0055 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0055 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open nonexisting video clip from a file using TMMSource. sl@0: //! Uses API elements: NewL(), OpenFileL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Call OpenFileL(const TMMSource aSource, TUid aControllerUid=TUid::Null()). sl@0: //! 3. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() will return the error KErrNotFound. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0055-001-NewL_command01 sl@0: COMMAND !AsyncError=-1 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0055-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0055 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0056 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0056 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open corrupted video clip from a file using TMMSource. sl@0: //! Uses API elements: NewL(), OpenFileL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Call OpenFileL(const TMMSource aSource, TUid aControllerUid=TUid::Null()). sl@0: //! 3. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20) sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0056-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0056-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0056 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0057 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0057 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open video clip from a file with invalid controller id using TMMSource. sl@0: //! Uses API elements: NewL(), OpenFileL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Call OpenFileL(const TMMSource aSource, TUid aControllerUid=TUid::Null()). sl@0: //! 3. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() will return the error KErrNotFound. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0057-001-NewL_command01 sl@0: COMMAND !AsyncError=-1 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0057-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0057 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0058 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0058 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open an corrupted video clip contained in a descriptor. sl@0: //! Uses API elements: NewL(), OpenDesL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip contained in a descriptor. sl@0: //! 3. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Returns no errors. File is opened. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0058-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenDesL MM-MMF-VCLNT-PLYR-PublicAPI-0058-001-OpenDesL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0058 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0059 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0059 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open a video clip contained in a descriptor with invalid controller id. sl@0: //! Uses API elements: NewL(), OpenDesL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip contained in a descriptor. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenDesL() will return the error KErrNotFound. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0059-001-NewL_command01 sl@0: COMMAND !AsyncError=-1 VideoPlayerUtility1 OpenDesL MM-MMF-VCLNT-PLYR-PublicAPI-0059-001-OpenDesL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0059 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0060 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0060 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open a video clip from a wrong URL. sl@0: //! Uses API elements: NewL(), OpenUrlL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from a URL. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenUrlL() will return the error KErrNotFound. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0060-001-NewL_command01 sl@0: COMMAND !AsyncError=-1 VideoPlayerUtility1 OpenUrlL MM-MMF-VCLNT-PLYR-PublicAPI-0060-001-OpenUrlL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0060 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0061 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0061 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open corrupted video clip from a URL. sl@0: //! Uses API elements: NewL(), OpenUrlL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from a URL. sl@0: //! 3. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Returns no errors. File is opened. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0061-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenUrlL MM-MMF-VCLNT-PLYR-PublicAPI-0061-001-OpenUrlL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0061 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0062 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0062 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 09/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open a video clip from a URL with invalid controller id. sl@0: //! Uses API elements: NewL(), OpenUrlL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from a URL. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenUrlL() will return the error KErrNotFound. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0062-001-NewL_command01 sl@0: COMMAND !AsyncError=-1 VideoPlayerUtility1 OpenUrlL MM-MMF-VCLNT-PLYR-PublicAPI-0062-001-OpenUrlL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0062 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0063 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0063 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open a video clip from a URL with invalid internet access point. sl@0: //! Uses API elements: NewL(), OpenUrlL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from a URL. sl@0: //! 3. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Returns no errors. File is opened. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0063-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenUrlL MM-MMF-VCLNT-PLYR-PublicAPI-0063-001-OpenUrlL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0063 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0064 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0064 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Open a video clip from a URL with invalid MIME type. sl@0: //! Uses API elements: NewL(), OpenUrlL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from a URL. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Returns no errors. File is opened. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0064-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenUrlL MM-MMF-VCLNT-PLYR-PublicAPI-0064-001-OpenUrlL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0064 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0065 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0065 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Prepare playing without opening video clip first. sl@0: //! Uses API elements: NewL(), Prepare() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Prepare playing. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Prepare() will return error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0065-001-NewL_command01 sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0065 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0066 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0066 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Close the video clip without opening video clip first. sl@0: //! Uses API elements: NewL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Close video clip. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Close function will be called without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0066-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0066 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0067 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0067 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Play the video clip without preparing it first. sl@0: //! Uses API elements: NewL(), OpenFileL(), Play() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Start playing. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Play() will return error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0067-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0067-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0067 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0068 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0068 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Play the video clip without opening it first. sl@0: //! Uses API elements: NewL(), Play() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Start playing. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Play() will return error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0068-001-NewL_command01 sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0068 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0070 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0070 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Play the video clip with specific start and end points without opening it first. sl@0: //! Uses API elements: NewL(), Play() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Start playing. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Play() will return error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0070-001-NewL_command01 sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Play MM-MMF-VCLNT-PLYR-PublicAPI-0070-001-Play_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0070 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0071 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0071 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Start playing the video clip from negative position. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Video clip will play without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0071-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0071-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play MM-MMF-VCLNT-PLYR-PublicAPI-0071-001-Play_command04 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0071 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0073 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0073 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Start to play the video clip starting with very big position and ending with negative position. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Video clip will play without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0073-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0073-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play MM-MMF-VCLNT-PLYR-PublicAPI-0073-001-Play_command04 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0073 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0074 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0074 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Stop the play without starting playing the video clip first. sl@0: //! Uses API elements: NewL(), Stop() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Stop playback of the video clip. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Stop() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0074-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 Stop sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0074 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0075 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0075 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Pause the play without starting playing the video clip first. sl@0: //! Uses API elements: NewL(), PauseL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Pause playing. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Pause() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0075-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 PauseL sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0075 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0076 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0076 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set playback priority lower than EMdaPriorityMin (-100). sl@0: //! Uses API elements: NewL(), OpenFileL(), SetPriorityL(), sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Set the playback priority. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults New priority is set without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0076-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0076-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetPriorityL MM-MMF-VCLNT-PLYR-PublicAPI-0076-001-SetPriorityL_command03 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0076 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0077 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0077 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set playback priority higher than EMdaPriorityMax (100). sl@0: //! Uses API elements: NewL(), OpenFileL(), SetPriorityL(), sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Set the playback priority. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults New priority is set without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0077-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0077-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetPriorityL MM-MMF-VCLNT-PLYR-PublicAPI-0077-001-SetPriorityL_command03 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0077 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0078 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0078 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set invalid playback time and quality preference. sl@0: //! Uses API elements: NewL(), OpenFileL(), SetPriorityL(), sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open file to be played. sl@0: //! 3. Set the playback priority. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults New priority is set without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0078-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0078-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetPriorityL MM-MMF-VCLNT-PLYR-PublicAPI-0078-001-SetPriorityL_command03 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0078 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0079 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0079 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 15/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set play priority without opening files first. sl@0: //! Uses API elements: NewL(), SetPriorityL(), sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Set the playback priority. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetPriorityL() will return without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0079-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 SetPriorityL MM-MMF-VCLNT-PLYR-PublicAPI-0079-001-SetPriorityL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0079 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0080 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0080 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 16/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Query playing priority without opening files first. sl@0: //! Uses API elements: NewL(), PriorityL(), sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the current playback priority sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Current priority will be queried without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0080-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 PriorityL sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0080 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0081 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0081 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 16/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set display window with invalid window server session id. sl@0: //! Uses API elements: NewL(), SetDisplayWindowL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Set the display window. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetDisplayWindowL() will raise panic. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0081-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 SetDisplayWindowL MM-MMF-VCLNT-PLYR-PublicAPI-0081-001-SetDisplayWindowL_command02 sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=3 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0081 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0082 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0082 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 16/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set display window with invalid software device screen. sl@0: //! Uses API elements: NewL(), SetDisplayWindowL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Set the display window. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetDisplayWindowL() will raise panic. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0082-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 SetDisplayWindowL MM-MMF-VCLNT-PLYR-PublicAPI-0082-001-SetDisplayWindowL_command02 sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=3 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0082 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0083 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0083 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 16/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set display window with invalid window to display. sl@0: //! Uses API elements: NewL(), SetDisplayWindowL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Set the display window. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetDisplayWindowL() will raise panic. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0083-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 SetDisplayWindowL MM-MMF-VCLNT-PLYR-PublicAPI-0083-001-SetDisplayWindowL_command02 sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=6 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0083 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0084 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0084 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 16/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set display window with negative dimensions of the display window. sl@0: //! Uses API elements: NewL(), SetDisplayWindowL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Set the display window. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults New display window is set without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0084-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 SetDisplayWindowL MM-MMF-VCLNT-PLYR-PublicAPI-0084-001-SetDisplayWindowL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0084 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0085 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0085 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 16/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set display window with negative dimensions area of the video clip to display. sl@0: //! Uses API elements: NewL(), SetDisplayWindowL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Set the display window. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults New display window is set without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0085-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 SetDisplayWindowL MM-MMF-VCLNT-PLYR-PublicAPI-0085-001-SetDisplayWindowL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0085 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0086 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0086 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 16/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get video loading progress without opening video clip first. sl@0: //! Uses API elements: NewL(), RegisterForVideoLoadingNotification(), GetVideoLoadingProgressL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Register to receive notifications of video clip loading/rebuffering sl@0: //! 3. Get the progress of video clip loading/rebuffering. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults GetVideoLoadingProgressL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0086-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 RegisterForVideoLoadingNotification sl@0: COMMAND !Error=-18 VideoPlayerUtility1 GetVideoLoadingProgressL MM-MMF-VCLNT-PLYR-PublicAPI-0086-001-GetVideoLoadingProgressL_command03 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0086 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0087 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0087 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 16/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get frame without opening video clip first. sl@0: //! Uses API elements: NewL(), GetFrameL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the current frame. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults GetFrameL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0087-001-NewL_command01 sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 GetFrameL MM-MMF-VCLNT-PLYR-PublicAPI-0087-001-GetFrameL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0087 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0089 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0089 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Marek Sokk sl@0: //! @SYMCreationDate 16/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get frame with DRM intent and without opening video clip first. sl@0: //! Uses API elements: NewL(), GetFrameL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the current frame. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults GetFrameL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0089-001-NewL_command01 sl@0: COMMAND !ASyncError=-18 VideoPlayerUtility1 GetFrameL MM-MMF-VCLNT-PLYR-PublicAPI-0089-001-GetFrameL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0089 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0091 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0091 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Refresh (redraw) the current frame when video clip is not opened. sl@0: //! Uses API elements: NewL(), RefreshFrameL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Redraw the current frame. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults RefreshFrameL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0091-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 RefreshFrameL sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0091 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0092 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0092 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Refresh (redraw) the current frame when video clip is paused. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), PauseL(), RefreshFrameL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Pause playing. sl@0: //! 6. Redraw the current frame. sl@0: //! 7. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The current frame will be redrawn without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0092-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0092-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: ASYNC_DELAY 100 sl@0: COMMAND VideoPlayerUtility1 PauseL sl@0: COMMAND VideoPlayerUtility1 RefreshFrameL sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0092 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0093 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0093 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the video frame rate in frames/second when video clip is not opened. sl@0: //! Uses API elements: NewL(), VideoFrameRateL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get video frame rate sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults VideoFrameRateL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0093-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 VideoFrameRateL MM-MMF-VCLNT-PLYR-PublicAPI-0093-001-VideoFrameRateL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0093 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0094 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0094 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the video frame rate in frames/second in corrupted video file. sl@0: //! Uses API elements: NewL(), OpenFileL(), VideoFrameRateL(), Close() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get video frame rate. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20), and VideoFrameRateL() KErrNotReady(-18). sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0094-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0094-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !Error=-18 VideoPlayerUtility1 VideoFrameRateL MM-MMF-VCLNT-PLYR-PublicAPI-0094-001-VideoFrameRateL_command03 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0094 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0095 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0095 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set the video frame rate in frames/second when video clip is not opened. sl@0: //! Uses API elements: NewL(), SetVideoFrameRateL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Set video frame rate sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetVideoFrameRateL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0095-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 SetVideoFrameRateL MM-MMF-VCLNT-PLYR-PublicAPI-0095-001-SetVideoFrameRateL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0095 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0096 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0096 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set the video frame rate in frames/second with negative number of frames per second. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), SetVideoFrameRateL(), VideoFrameRateL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare video clip sl@0: //! 4. Set video frame rate sl@0: //! 5. Check video frame rate sl@0: //! 6. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetVideoFrameRateL will set frame rate without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0096-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0096-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetVideoFrameRateL MM-MMF-VCLNT-PLYR-PublicAPI-0096-001-SetVideoFrameRateL_command04 sl@0: COMMAND VideoPlayerUtility1 VideoFrameRateL MM-MMF-VCLNT-PLYR-PublicAPI-0096-001-VideoFrameRateL_command05 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0096 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0097 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0097 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set the video frame rate in frames/second when video clip are played. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), SetVideoFrameRateL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare playing. sl@0: //! 4. Start playing. sl@0: //! 5. Set the video frame rate. sl@0: //! 6. Query video frame rate sl@0: //! 7. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetVideoFrameRateL() will set frame rate without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0097-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0097-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Play sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetVideoFrameRateL MM-MMF-VCLNT-PLYR-PublicAPI-0097-001-SetVideoFrameRateL_command05 sl@0: COMMAND VideoPlayerUtility1 VideoFrameRateL MM-MMF-VCLNT-PLYR-PublicAPI-0097-001-VideoFrameRateL_command06 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0097 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0098 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0098 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the video frame size when video clip is not opened. sl@0: //! Uses API elements: NewL(), VideoFrameSizeL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the video frame size. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults VideoFrameSizeL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0098-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 VideoFrameSizeL MM-MMF-VCLNT-PLYR-PublicAPI-0098-001-VideoFrameSizeL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0098 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0099 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0099 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the video frame size in corrupted video file. sl@0: //! Uses API elements: NewL(), OpenFileL(), VideoFrameSizeL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get the video frame size. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20), and Prepare() and VideoFrameRateL() KErrNotReady(-18). sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0099-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0099-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !Error=-18 VideoPlayerUtility1 VideoFrameSizeL MM-MMF-VCLNT-PLYR-PublicAPI-0099-001-VideoFrameSizeL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0099 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0100 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0100 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the video format's MIME type when video clip is not opened. sl@0: //! Uses API elements: NewL(), VideoFormatMimeType(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get MIME type. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults VideoFormatMimeType will return empty string. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0100-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 VideoFormatMimeType MM-MMF-VCLNT-PLYR-PublicAPI-0100-001-VideoFormatMimeType_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0100 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0101 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0101 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the video format's MIME type in corrupted video file. sl@0: //! Uses API elements: NewL(), OpenFileL(), VideoFormatMimeType(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get MIME type sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20), and Prepare() KErrNotReady(-18), sl@0: //! VideoFormatMimeType will return empty string. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0101-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0101-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 VideoFormatMimeType MM-MMF-VCLNT-PLYR-PublicAPI-0101-001-VideoFormatMimeType_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0101 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0102 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0102 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the video bit rate when video clip is not opened. sl@0: //! Uses API elements: NewL(), VideoBitRateL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the video bit rate. sl@0: //! @SYMTestStatus Not Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults VideoBitRateL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0102-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 VideoBitRateL MM-MMF-VCLNT-PLYR-PublicAPI-0102-001-VideoBitRateL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0102 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0103 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0103 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the video bit rate in corrupted video file. sl@0: //! Uses API elements: NewL(), OpenFileL(), VideoBitRateL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get the video bit rate. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20), and Prepare() and VideoBitRateL() KErrNotReady(-18), sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0103-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0103-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !Error=-18 VideoPlayerUtility1 VideoBitRateL MM-MMF-VCLNT-PLYR-PublicAPI-0103-001-VideoBitRateL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0103 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0104 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0104 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the audio bit rate when video clip is not opened. sl@0: //! Uses API elements: NewL(), AudioBitRateL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the audio bit rate. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults AudioBitRateL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0104-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 AudioBitRateL MM-MMF-VCLNT-PLYR-PublicAPI-0104-001-AudioBitRateL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0104 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0105 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0105 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the audio bit rate in corrupted video file. sl@0: //! Uses API elements: NewL(), OpenFileL(), AudioBitRateL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get the audio bit rate. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20), and Prepare() and AudioBitRateL() KErrNotReady(-18), sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0105-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0105-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !Error=-18 VideoPlayerUtility1 AudioBitRateL MM-MMF-VCLNT-PLYR-PublicAPI-0105-001-AudioBitRateL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0105 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0106 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0106 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the codec used for the audio component of the video clip when video clip is not opened. sl@0: //! Uses API elements: NewL(), AudioTypeL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the codec used for the audio component of the video. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults AudioTypeL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0106-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 AudioTypeL MM-MMF-VCLNT-PLYR-PublicAPI-0106-001-AudioTypeL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0106 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0107 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0107 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the codec used for the audio component of the video clip in corrupted video file. sl@0: //! Uses API elements: NewL(), OpenFileL(), AudioTypeL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get the codec used for the audio component of the video. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20), and Prepare() and AudioTypeL() KErrNotReady(-18), sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0107-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0107-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !Error=-18 VideoPlayerUtility1 AudioTypeL MM-MMF-VCLNT-PLYR-PublicAPI-0107-001-AudioTypeL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0107 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0108 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0108 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Checking an audio stream in the current clip when video clip is not opened. sl@0: //! Uses API elements: NewL(), AudioEnabledL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Returns whether the current clip has an audio stream. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults AudioEnabledL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0108-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 AudioEnabledL MM-MMF-VCLNT-PLYR-PublicAPI-0108-001-AudioEnabledL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0108 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0109 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0109 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set the position when video clip is not opened. sl@0: //! Uses API elements: NewL(), SetPositionL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Set the position within the video clip. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetPositionL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0109-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 SetPositionL MM-MMF-VCLNT-PLYR-PublicAPI-0109-001-SetPositionL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0109 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0110 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0110 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set the position above duration of video clip. sl@0: //! Uses API elements: NewL(), OpenFileL(), DurationL(), PositionL(), SetPositionL(), PositionL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get the duration of video clip in mircoseconds. sl@0: //! 5. Get the current playback position sl@0: //! 4. Set the position within the video clip. sl@0: //! 5. Get the current playback position sl@0: //! 6. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults New position will be set to maximum (position = duration). sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0110-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0110-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 DurationL sl@0: COMMAND VideoPlayerUtility1 PositionL MM-MMF-VCLNT-PLYR-PublicAPI-0110-001-PositionL_command05 sl@0: COMMAND VideoPlayerUtility1 SetPositionL MM-MMF-VCLNT-PLYR-PublicAPI-0110-001-SetPositionL_command06 sl@0: COMMAND VideoPlayerUtility1 PositionL MM-MMF-VCLNT-PLYR-PublicAPI-0110-001-PositionL_command07 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0110 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0111 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0111 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set the position to negative number. sl@0: //! Uses API elements: NewL(), OpenFileL(), SetPositionL(), PositionL(), SetPositionL(), PositionL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Set the position within the video clip. sl@0: //! 4. Get the current playback position. sl@0: //! 5. Set the position within the video clip. sl@0: //! 6. Get the current playback position. sl@0: //! 7. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults New position will be set to minimum (0). sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0111-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0111-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetPositionL MM-MMF-VCLNT-PLYR-PublicAPI-0111-001-SetPositionL_command04 sl@0: COMMAND VideoPlayerUtility1 PositionL MM-MMF-VCLNT-PLYR-PublicAPI-0111-001-PositionL_command05 sl@0: COMMAND VideoPlayerUtility1 SetPositionL MM-MMF-VCLNT-PLYR-PublicAPI-0111-001-SetPositionL_command06 sl@0: COMMAND VideoPlayerUtility1 PositionL MM-MMF-VCLNT-PLYR-PublicAPI-0111-001-PositionL_command07 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0111 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0112 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0112 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the position when video clip is not opened. sl@0: //! Uses API elements: NewL(), PositionL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the current playback position sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults PositionL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0112-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 PositionL MM-MMF-VCLNT-PLYR-PublicAPI-0112-001-PositionL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0112 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0113 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0113 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the duration of video clip in mircoseconds when video clip is not opened. sl@0: //! Uses API elements: NewL(), DurationL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the duration of video clip in mircoseconds. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults DurationL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0113-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 DurationL MM-MMF-VCLNT-PLYR-PublicAPI-0113-001-DurationL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0113 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0114 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0114 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the duration of video clip in mircoseconds in corrupted video file. sl@0: //! Uses API elements: NewL(), OpenFileL(), DurationL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get the duration of video clip in mircoseconds. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20), and Prepare() and DurationL() KErrNotReady(-18), sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0114-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0114-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !Error=-18 VideoPlayerUtility1 DurationL MM-MMF-VCLNT-PLYR-PublicAPI-0114-001-DurationL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0114 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0115 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0115 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set the volume when video clip is not opened. sl@0: //! Uses API elements: NewL(), SetVolumeL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Set the playback volume for the audio track of the video clip. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetVolumeL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0115-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 SetVolumeL MM-MMF-VCLNT-PLYR-PublicAPI-0115-001-SetVolumeL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0115 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0116 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0116 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set the volume above maximum volume. sl@0: //! Uses API elements: NewL(), OpenFileL(), MaxVolume(), VolumeL(), SetVolumeL(), VolumeL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get the maximum volume that the audio track can support. sl@0: //! 4. Get current playback volume for the audio track of the video clip. sl@0: //! 5. Set the playback volume for the audio track of the video clip. sl@0: //! 6. Get current playback volume for the audio track of the video clip. sl@0: //! 7. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults No errors are returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0116-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0116-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 MaxVolume sl@0: COMMAND VideoPlayerUtility1 Volume sl@0: COMMAND VideoPlayerUtility1 SetVolumeL MM-MMF-VCLNT-PLYR-PublicAPI-0116-001-SetVolumeL_command05 sl@0: COMMAND VideoPlayerUtility1 Volume sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0116 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0117 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0117 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set the volume with negative number. sl@0: //! Uses API elements: NewL(), OpenFileL(), SetVolumeL(), VolumeL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Set the playback volume for the audio track of the video clip. sl@0: //! 4. Get current playback volume for the audio track of the video clip. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults No errors are returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0117-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0117-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetVolumeL MM-MMF-VCLNT-PLYR-PublicAPI-0117-001-SetVolumeL_command03 sl@0: COMMAND VideoPlayerUtility1 Volume sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0117 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0118 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0118 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the current volume when video clip is not opened. sl@0: //! Uses API elements: NewL(), VolumeL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get current playback volume for the audio track of the video clip. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults VolumeL will return zero (0). sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0118-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 Volume MM-MMF-VCLNT-PLYR-PublicAPI-0118-001-Volume_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0118 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0119 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0119 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the maximum volume when video clip is not opened. sl@0: //! Uses API elements: NewL(), MaxVolume(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the maximum volume that the audio track can support. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotSupported is returned sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0119-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 MaxVolume sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0119 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0120 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0120 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set the current playback balance for the audio track when video clip is not opened. sl@0: //! Uses API elements: NewL(), SetBalanceL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Sets the current playback balance for the audio track of the video clip. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetBalanceL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0120-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 SetBalanceL MM-MMF-VCLNT-PLYR-PublicAPI-0120-001-SetBalanceL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0120 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0121 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0121 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set the current playback balance for the audio track above maximum. sl@0: //! Uses API elements: NewL(), OpenFileL(), SetBalanceL(), BalanceL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Sets the current playback balance for the audio track of the video clip. sl@0: //! 4. Get the current balance setting for the audio track of the video clip. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Balance will be set without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0121-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0121-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetBalanceL MM-MMF-VCLNT-PLYR-PublicAPI-0121-001-SetBalanceL_command03 sl@0: COMMAND VideoPlayerUtility1 Balance MM-MMF-VCLNT-PLYR-PublicAPI-0121-001-Balance_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0121 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0122 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0122 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Set the current playback balance for the audio track with negative number. sl@0: //! Uses API elements: NewL(), OpenFileL(), SetBalanceL(), BalanceL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Sets the current playback balance for the audio track of the video clip. sl@0: //! 4. Get the current balance setting for the audio track of the video clip. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Balance will be set without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0122-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0122-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetBalanceL MM-MMF-VCLNT-PLYR-PublicAPI-0122-001-SetBalanceL_command03 sl@0: COMMAND VideoPlayerUtility1 Balance MM-MMF-VCLNT-PLYR-PublicAPI-0122-001-Balance_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0122 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0123 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0123 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the current playback balance for the audio track when video clip is not opened. sl@0: //! Uses API elements: NewL(), BalanceL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the current playback balance for the audio track of the video clip. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Balance will be queried without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0123-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 Balance MM-MMF-VCLNT-PLYR-PublicAPI-0123-001-Balance_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0123 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0124 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0124 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Rotates the video image on the screen when video clip is not opened. sl@0: //! Uses API elements: NewL(), SetRotationL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Rotates the video image on the screen. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetRotationL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0124-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 SetRotationL MM-MMF-VCLNT-PLYR-PublicAPI-0124-001-SetRotationL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0124 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0125 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0125 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Rotates the video image on the screen in corrupted video file. sl@0: //! Uses API elements: NewL(), OpenFileL(), SetRotationL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Rotates the video image on the screen. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20), and Prepare() and SetRotationL() KErrNotReady(-18), sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0125-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0125-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !Error=-18 VideoPlayerUtility1 SetRotationL MM-MMF-VCLNT-PLYR-PublicAPI-0125-001-SetRotationL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0125 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0126 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0126 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Rotates the video image on the screen with invalid value. sl@0: //! Uses API elements: NewL(), OpenFileL(), SetRotationL(), RotationL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 2. Sets the current playback balance for the audio track of the video clip. sl@0: //! 4. Get the rotation that is currently applied to the video image. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Video is rotated without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0126-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0126-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetRotationL MM-MMF-VCLNT-PLYR-PublicAPI-0126-001-SetRotationL_command04 sl@0: COMMAND VideoPlayerUtility1 RotationL MM-MMF-VCLNT-PLYR-PublicAPI-0126-001-RotationL_command05 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0126 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0127 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0127 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the rotation that is currently applied to the video image when video clip is not opened. sl@0: //! Uses API elements: NewL(), RotationL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the rotation that is currently applied to the video image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults RotationL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0127-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 RotationL MM-MMF-VCLNT-PLYR-PublicAPI-0127-001-RotationL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0127 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0128 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0128 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the rotation in corrupted file. sl@0: //! Uses API elements: NewL(), OpenFileL(), RotationL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get the rotation that is currently applied to the video image. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20), and RotationL() KErrNotReady(-18), sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0128-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0128-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !Error=-18 VideoPlayerUtility1 RotationL MM-MMF-VCLNT-PLYR-PublicAPI-0128-001-RotationL_command03 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0128 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0129 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0129 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the rotation if no rotation has been set before. sl@0: //! Uses API elements: NewL(), OpenFileL(), RotationL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get the rotation that is currently applied to the video image. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Rotation will be queried without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0129-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0129-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 RotationL MM-MMF-VCLNT-PLYR-PublicAPI-0129-001-RotationL_command03 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0129 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0130 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0130 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Scales the video image to a specified percentage of its original size when video clip is not opened. sl@0: //! Uses API elements: NewL(), SetScaleFactorL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Scales the video image to a specified percentage of its original size. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetScaleFactorL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0130-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 SetScaleFactorL MM-MMF-VCLNT-PLYR-PublicAPI-0130-001-SetScaleFactorL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0130 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0131 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0131 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Trying to scale the video image with negative width and height scale of the video image with using anti-aliasing. sl@0: //! Uses API elements: NewL(), OpenFileL(), SetScaleFactorL(), GetScaleFactorL, Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Scales the video image to a specified percentage of its original size. sl@0: //! 4. Gets the scale factor currently applied to the video image. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Video is scaled without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0131-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0131-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetScaleFactorL MM-MMF-VCLNT-PLYR-PublicAPI-0131-001-SetScaleFactorL_command04 sl@0: COMMAND VideoPlayerUtility1 GetScaleFactorL MM-MMF-VCLNT-PLYR-PublicAPI-0131-001-GetScaleFactorL_command05 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0131 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0132 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0132 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Trying to scale the video image with negative width and height scale of the video image without using anti-aliasing. sl@0: //! Uses API elements: NewL(), OpenFileL(), SetScaleFactorL(), GetScaleFactorL, Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Scales the video image to a specified percentage of its original size. sl@0: //! 4. Gets the scale factor currently applied to the video image. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Video is scaled without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0132-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0132-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetScaleFactorL MM-MMF-VCLNT-PLYR-PublicAPI-0132-001-SetScaleFactorL_command04 sl@0: COMMAND VideoPlayerUtility1 GetScaleFactorL MM-MMF-VCLNT-PLYR-PublicAPI-0132-001-GetScaleFactorL_command05 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0132 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0133 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0133 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Gets the scale factor currently applied to the video image when video clip is not opened. sl@0: //! Uses API elements: NewL(), GetScaleFactorL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Gets the scale factor currently applied to the video image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults GetScaleFactorL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0133-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 GetScaleFactorL MM-MMF-VCLNT-PLYR-PublicAPI-0133-001-GetScaleFactorL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0133 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0134 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0134 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Gets the scale factor if no scale factor has been set before. sl@0: //! Uses API elements: NewL(), OpenFileL(), GetScaleFactorL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Gets the scale factor currently applied to the video image. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The scale factor is queried without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0134-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0134-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 GetScaleFactorL MM-MMF-VCLNT-PLYR-PublicAPI-0134-001-GetScaleFactorL_command03 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0134 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0135 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0135 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Trying to select a region of the video image to be displayed when video clip is not opened. sl@0: //! Uses API elements: NewL(), SetCropRegionL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Selects a region of the video image to be displayed. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults SetCropRegionL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0135-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 SetCropRegionL MM-MMF-VCLNT-PLYR-PublicAPI-0135-001-SetCropRegionL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0135 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0136 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0136 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Tryng to select a region of the video image to be displayed with negative dimensions. sl@0: //! Uses API elements: NewL(), OpenFileL(), SetCropRegionL(), GetCropRegionL, Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Selects a region of the video image to be displayed. sl@0: //! 4. Gets the crop region currently applied to the image. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The region is selected witout errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0136-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0136-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 SetCropRegionL MM-MMF-VCLNT-PLYR-PublicAPI-0136-001-SetCropRegionL_command04 sl@0: COMMAND VideoPlayerUtility1 GetCropRegionL MM-MMF-VCLNT-PLYR-PublicAPI-0136-001-GetCropRegionL_command05 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0136 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0137 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0137 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Tryng to get the crop region currently applied to the image when video clip is not opened. sl@0: //! Uses API elements: NewL(), GetCropRegionL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Gets the crop region currently applied to the image sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults GetCropRegionL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0137-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 GetCropRegionL MM-MMF-VCLNT-PLYR-PublicAPI-0137-001-GetCropRegionL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ MM-MMF-VCLNT-PLYR-PublicAPI-0137-001-~_command03 sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0137 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0138 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0138 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Trying to get the crop region if no crop region has been applied before. sl@0: //! Uses API elements: NewL(), OpenFileL(), GetCropRegionL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Gets the crop region currently applied to the image sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The region is queried without errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0138-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0138-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 GetCropRegionL MM-MMF-VCLNT-PLYR-PublicAPI-0138-001-GetCropRegionL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0138 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0139 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0139 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the number of meta data entries associated with this clip when video clip is not opened. sl@0: //! Uses API elements: NewL(), NumberOfMetaDataEntriesL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the number of meta data entries associated with this clip. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults NumberOfMetaDataEntriesL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0139-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 NumberOfMetaDataEntriesL MM-MMF-VCLNT-PLYR-PublicAPI-0139-001-NumberOfMetaDataEntriesL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0139 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0140 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0140 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the number of meta data entries associated with this clip in corrupted file. sl@0: //! Uses API elements: NewL(), OpenFileL(), NumberOfMetaDataEntriesL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Get the number of meta data entries associated with this clip. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20), and Prepare() and NumberOfMetaDataEntriesL() KErrNotReady(-18), sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0140-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0140-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !Error=-18 VideoPlayerUtility1 NumberOfMetaDataEntriesL MM-MMF-VCLNT-PLYR-PublicAPI-0140-001-NumberOfMetaDataEntriesL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0140 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0141 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0141 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the meta data entry when video clip is not opened. sl@0: //! Uses API elements: NewL(), MetaDataEntryL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get a meta data entry from the clip. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults MetaDataEntryL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0141-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 MetaDataEntryL MM-MMF-VCLNT-PLYR-PublicAPI-0141-001-MetaDataEntryL_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0141 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0142 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0142 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the meta data entry with negative index from the clip. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), MetaDataEntryL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Get a meta data entry from the clip. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults MetaDataEntryL will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0142-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0142-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 MetaDataEntryL MM-MMF-VCLNT-PLYR-PublicAPI-0142-001-MetaDataEntryL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0142 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0143 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0143 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the meta data entry with negative index from corrupted video clip. sl@0: //! Uses API elements: NewL(), OpenFileL(), Prepare(), MetaDataEntryL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Prepare the video clip. sl@0: //! 4. Get a meta data entry from the clip. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults OpenFileL() returns KErrCorrupt(-20), and Prepare() and MetaDataEntryL() KErrNotReady(-18), sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0143-001-NewL_command01 sl@0: COMMAND !AsyncError=-20 VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0143-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 Prepare sl@0: OUTSTANDING sl@0: COMMAND !Error=-18 VideoPlayerUtility1 MetaDataEntryL MM-MMF-VCLNT-PLYR-PublicAPI-0143-001-MetaDataEntryL_command04 sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0143 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0144 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0144 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get the controller implementation information associated with the current controller when video clip is not opened. sl@0: //! Uses API elements: NewL(), ControllerImplementationInformationL(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get the controller implementation information associated with the current controller. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults ControllerImplementationInformationL() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0144-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 ControllerImplementationInformationL sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0144 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0145 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0145 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Sends a synchronous custom command to the controller when video clip is not opened. sl@0: //! Uses API elements: NewL(), CustomCommandSync(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Sends a synchronous custom command to the controller. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults CustomCommandSync() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0145-001-NewL_command01 sl@0: COMMAND !Error=-18 VideoPlayerUtility1 CustomCommandSync MM-MMF-VCLNT-PLYR-PublicAPI-0145-001-CustomCommandSync_command02 sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0145 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0146 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0146 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Send a synchronous custom command to the controller with negative function number with reference to an "DataFrom". sl@0: //! Uses API elements: NewL(), OpenFileL(), CustomCommandSync(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Sends a synchronous custom command to the controller sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults CustomCommandSync() will raise panic. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0146-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0146-001-OpenFileL_command02 sl@0: //! OUTSTANDING sl@0: //! COMMAND VideoPlayerUtility1 Prepare sl@0: //! OUTSTANDING sl@0: //! COMMAND VideoPlayerUtility1 CustomCommandSync MM-MMF-VCLNT-PLYR-PublicAPI-0146-001-CustomCommandSync_command04 sl@0: //! COMMAND VideoPlayerUtility1 Close sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=72 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0146 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0147 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0147 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Send a synchronous custom command to the controller with negative function number without reference to an "DataFrom". sl@0: //! Uses API elements: NewL(), OpenFileL(), CustomCommandSync(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Sends a synchronous custom command to the controller sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults CustomCommandSync() will raise panic. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0147-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0147-001-OpenFileL_command02 sl@0: //! OUTSTANDING sl@0: //! COMMAND VideoPlayerUtility1 Prepare sl@0: //! OUTSTANDING sl@0: //! COMMAND VideoPlayerUtility1 CustomCommandSync MM-MMF-VCLNT-PLYR-PublicAPI-0147-001-CustomCommandSync_command04 sl@0: //! COMMAND VideoPlayerUtility1 Close sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=72 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0147 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0148 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0148 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Sends an asynchronous custom command to the controller when video clip is not opened. sl@0: //! Uses API elements: NewL(), CustomCommandAsync(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Sends an asynchronous custom command to the controller. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults CustomCommandASync() will return the error KErrNotReady. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0148-001-NewL_command01 sl@0: COMMAND !AsyncError=-18 VideoPlayerUtility1 CustomCommandAsync MM-MMF-VCLNT-PLYR-PublicAPI-0148-001-CustomCommandAsync_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0148 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0149 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0149 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Send an asynchronous custom command to the controller with negative function number with reference to an "DataFrom". sl@0: //! Uses API elements: NewL(), OpenFileL(), CustomCommandAsync(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Sends an asynchronous custom command to the controller sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults CustomCommandASync() will raise panic. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0149-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0149-001-OpenFileL_command02 sl@0: //! OUTSTANDING sl@0: //! COMMAND VideoPlayerUtility1 Prepare sl@0: //! OUTSTANDING sl@0: //! COMMAND VideoPlayerUtility1 CustomCommandAsync MM-MMF-VCLNT-PLYR-PublicAPI-0149-001-CustomCommandAsync_command04 sl@0: //! OUTSTANDING sl@0: //! COMMAND VideoPlayerUtility1 Close sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=72 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0149 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0150 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0150 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Send an asynchronous custom command to the controller with negative function number without reference to an "DataFrom". sl@0: //! Uses API elements: NewL(), OpenFileL(), CustomCommandAsync(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Sends an asynchronous custom command to the controller sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults CustomCommandASync() will raise panic. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0150-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0150-001-OpenFileL_command02 sl@0: //! OUTSTANDING sl@0: //! COMMAND VideoPlayerUtility1 Prepare sl@0: //! OUTSTANDING sl@0: //! COMMAND VideoPlayerUtility1 CustomCommandAsync MM-MMF-VCLNT-PLYR-PublicAPI-0150-001-CustomCommandAsync_command04 sl@0: //! OUTSTANDING sl@0: //! COMMAND VideoPlayerUtility1 Close sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=72 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0150 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0151 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0151 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Get a controller's DRM custom command implementation when video clip is not opened. sl@0: //! Uses API elements: NewL(), GetDRMCustomCommand(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Get a controller's DRM custom command implementation. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The controller's DRM custom command implementation is queried. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0151-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 GetDRMCustomCommand sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0151 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0152 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0152 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Stop the video player from using direct screen access (DSA) when video clip is not opened. sl@0: //! Uses API elements: NewL(), OpenFileL(), StopDirectScreenAccessL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Stop the video player from using direct screen access. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The video player is not using direct screen access anymore. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0152-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 StopDirectScreenAccessL sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0152 sl@0: sl@0: START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0153 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0153 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Stop the video player from using direct screen access (DSA) without start using direct screen access (DSA) it before. sl@0: //! Uses API elements: NewL(), StopDirectScreenAccessL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Stop the video player from using direct screen access. sl@0: //! 4. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults The video player is not using direct screen access anymore. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0153-001-NewL_command01 sl@0: COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0153-001-OpenFileL_command02 sl@0: OUTSTANDING sl@0: COMMAND VideoPlayerUtility1 StopDirectScreenAccessL sl@0: COMMAND VideoPlayerUtility1 Close sl@0: COMMAND VideoPlayerUtility1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0153 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0154 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0154 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Start the video player to use direct screen access (DSA) when video clip is not opened.. sl@0: //! Uses API elements: NewL(), StartDirectScreenAccessL() sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Start the video player to use direct screen access. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults StartDirectScreenAccessL() will raise panic. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0154-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 StartDirectScreenAccessL sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=59 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0154 sl@0: sl@0: //! START_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0155 sl@0: //! @SYMTestCaseID MM-MMF-VCLNT-PLYR-PublicAPI-0155 sl@0: //! @SYMAPI CVideoPlayerUtility sl@0: //! @SYMAuthor Sergei Tveritin sl@0: //! @SYMCreationDate 11/05/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-MMF-VCLNT-PLYR-PublicAPI.script sl@0: //! @SYMTestCaseDesc Start twice the video player to use direct screen access (DSA). sl@0: //! Uses API elements: NewL(), OpenFileL(), StartDirectScreenAccessL(), StartDirectScreenAccessL(), Close(). sl@0: //! @SYMTestActions 1. Create CVideoPlayerUtility object. sl@0: //! 2. Open a video clip from file. sl@0: //! 3. Start the video player to use direct screen access. sl@0: //! 4. Start the video player to use direct screen access. sl@0: //! 5. Close file. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults StartDirectScreenAccessL() will raise panic after second attempt. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 50 T_VideoPlayerUtility \multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini sl@0: //! CREATE_OBJECT CVideoPlayerUtility VideoPlayerUtility1 sl@0: //! COMMAND VideoPlayerUtility1 NewL MM-MMF-VCLNT-PLYR-PublicAPI-0155-001-NewL_command01 sl@0: //! COMMAND VideoPlayerUtility1 OpenFileL MM-MMF-VCLNT-PLYR-PublicAPI-0155-001-OpenFileL_command02 sl@0: //! OUTSTANDING sl@0: //! COMMAND VideoPlayerUtility1 StartDirectScreenAccessL sl@0: //! COMMAND VideoPlayerUtility1 StartDirectScreenAccessL sl@0: //! COMMAND VideoPlayerUtility1 Close sl@0: //! COMMAND VideoPlayerUtility1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=59 sl@0: //! END_TESTCASE MM-MMF-VCLNT-PLYR-PublicAPI-0155