os/mm/mmapitest/devsoundhaitest/scripts/multimedia-mmf-devsound-stress-automated-tones.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmapitest/devsoundhaitest/scripts/multimedia-mmf-devsound-stress-automated-tones.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,79 @@
     1.4 +//
     1.5 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description: 
    1.18 +//
    1.19 +//
    1.20 +//! @file
    1.21 +//! @SYMTestSuiteName multimedia-mmf-devsound-stress-automated-tones
    1.22 +//! @SYMScriptTestEnvironment This test script requires a basic ROM.
    1.23 +//
    1.24 +// Tests all public elements of the CMMFDevSound
    1.25 +// classes as a means of confidence that the APIs work as expected.
    1.26 +// 
    1.27 +// The purpose is to provide a regression test suite of PublishedAll
    1.28 +// APIs for: CMMFDevSound
    1.29 +// The tests are fully automated.
    1.30 +//
    1.31 +
    1.32 +
    1.33 +
    1.34 +LOAD_SUITE t_devsound
    1.35 +
    1.36 +
    1.37 +
    1.38 +
    1.39 +
    1.40 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-TONES-0001
    1.41 +
    1.42 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-TONES-0001
    1.43 +//!@SYMAPI
    1.44 +//!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
    1.45 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
    1.46 +//!                CMMFDevSound::Capabilities()
    1.47 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
    1.48 +//!                CMMFDevSound::PlayInitL()
    1.49 +//!@SYMAuthor			myanez
    1.50 +//!@SYMCreationDate		8/25/2008 
    1.51 +//!@SYMTestCaseDesc		Play long ringing tone file
    1.52 +//!@SYMTestActions
    1.53 +//!                1. Create Devsound Instance 
    1.54 +//!                2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_long.mp3)
    1.55 +//!                3. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = MP3)
    1.56 +//!                4. Set Priority (Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStatePlaying)
    1.57 +//!                5. Capabilities 
    1.58 +//!                6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
    1.59 +//!                7. Start Play
    1.60 +//!                8.Close File
    1.61 +//!                9. Destroy Devsound Instance
    1.62 +//!@SYMTestStatus		Verified
    1.63 +//!@SYMTestPriority		High
    1.64 +//!@SYMTestExpectedResults
    1.65 +//!                Play long ringing tone file
    1.66 +//!@SYMTestType			CIT
    1.67 +
    1.68 +	START_TEST_BLOCK	2000	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-tones.ini
    1.69 +		CREATE_OBJECT	CMMFDevSound		devsound1
    1.70 +		COMMAND		devsound1		NewL
    1.71 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Stress-Tones-0001-0001-OpenFile_command02
    1.72 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Tones-0001-0001-InitializeL_command03
    1.73 +		OUTSTANDING
    1.74 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Tones-0001-0001-SetPrioritySettings_command04
    1.75 +		COMMAND		devsound1		Capabilities
    1.76 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Tones-0001-0001-SetConfigL_command06
    1.77 +		COMMAND		devsound1		PlayInitL
    1.78 +		OUTSTANDING
    1.79 +		COMMAND		devsound1		CloseFile
    1.80 +		COMMAND		devsound1		~
    1.81 +	END_TEST_BLOCK
    1.82 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-TONES-0001