@file tsi_mvs_videoagent_secdisp.script
// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// Video agent Utility Integration tests for Secondary display
// Tests for CR0957 (Secondary display)
// 
//

LOAD_SUITE tsi_mvs_agents.dll

/////////////////////////////// POSITIVE TESTS /////////////////////////////////////


//!@SYMTestCaseID             MM-MVS-VIDEOAGENT-I-4001
//!@SYMTestCaseDesc           Set the screen id and Play the video file.
//!@SYMREQ                    REQ6996
//!@SYMTestPriority           4
//!@SYMTestActions            1. Create a video play agent. 2. Set the screen id to #1. 3. Open  the video file. 4. Play the opened video file. 5. Check
//! if video is played in the secondary screen #1.
//!@SYMTestExpectedResults    Setting the screen ID and subsequent Open & Play calls should receive KErrNone.
RUN_TEST_STEP 600000 TSI_MVS_AGENTS MM-MVS-VIDEOAGENT-I-4001 \mvs\tsi_mvs_agents.ini
TEST_COMPLETE


//!@SYMTestCaseID             MM-MVS-VIDEOAGENT-I-4002
//!@SYMTestCaseDesc           Set screen ID during Play
//!@SYMREQ                    REQ6996
//!@SYMTestPriority           4
//!@SYMTestActions            1. Create a video play agent. 2. Open  a video file. 3. Play the opened video file. 3. Set the screen id to #1 during play.
//! 4. Again re-open the file same file. 5. Platy again.
//!@SYMTestExpectedResults    Setting the screen ID and subsequent Open & Play calls should receive KErrNone.
RUN_TEST_STEP 600000 TSI_MVS_AGENTS MM-MVS-VIDEOAGENT-I-4002 \mvs\tsi_mvs_agents.ini
TEST_COMPLETE

///////////////////////////////NEGATIVE TESTS /////////////////////////////////////


//!@SYMTestCaseID             MM-MVS-VIDEOAGENT-I-5001
//!@SYMTestCaseDesc           Set the invalid screen id and Play the video file.
//!@SYMREQ                    REQ6996
//!@SYMTestPriority           4
//!@SYMTestActions            1. Set the invalid screen id. 2. Open  the video file. 3. Play the opened video file.
//!@SYMTestExpectedResults    The SetScreenNumber(..) Is expected to return KErrNone, However, calling subsequent OpenFileL() should return KErrNotSup
//!ported.
RUN_TEST_STEP 600000 TSI_MVS_AGENTS MM-MVS-VIDEOAGENT-I-5001 \mvs\tsi_mvs_agents.ini
TEST_COMPLETE
