1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/devsound/a3fcharacterisationtest/src/char_a3f_devsound_compliancesuite.cpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,231 @@
1.4 +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +#include "char_a3f_devsound_compliancesuite.h"
1.20 +#include "char_a3f_devsound_tonetest.h"
1.21 +#include "char_a3f_devsound_recordtest.h"
1.22 +#include "char_a3f_devsound_initializationtest.h"
1.23 +#include "char_a3f_devsound_playtest.h"
1.24 +
1.25 +
1.26 +/*
1.27 + Entry point - Create a test suite object
1.28 + */
1.29 +EXPORT_C CA3FDevSoundComplianceSuite* NewTestSuiteL()
1.30 + {
1.31 + return CA3FDevSoundComplianceSuite::NewL();
1.32 + }
1.33 +
1.34 +CA3FDevSoundComplianceSuite* CA3FDevSoundComplianceSuite::NewL()
1.35 + {
1.36 + CA3FDevSoundComplianceSuite* self = new (ELeave) CA3FDevSoundComplianceSuite;
1.37 + CleanupStack::PushL(self);
1.38 + self->ConstructL();
1.39 + CleanupStack::Pop(self);
1.40 + return self;
1.41 + }
1.42 +
1.43 +CA3FDevSoundComplianceSuite::CA3FDevSoundComplianceSuite()
1.44 + {
1.45 + iSuiteName = KTestSuiteName;
1.46 + }
1.47 +
1.48 +CA3FDevSoundComplianceSuite::~CA3FDevSoundComplianceSuite()
1.49 + {
1.50 + }
1.51 +
1.52 +void CA3FDevSoundComplianceSuite::InitialiseL()
1.53 + {
1.54 + // - Initialisation Test Cases ---------------------------------------------------------
1.55 + AddTestStepL(RA3FDevSoundToneInitializationTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0001")));
1.56 + AddTestStepL(RA3FDevSoundToneCancelInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0002")));
1.57 + AddTestStepL(RA3FDevSoundToneInitializeToPlayTonesTwiceTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0003")));
1.58 + AddTestStepL(RA3FDevSoundToneInitializeToPlayTonesThenAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0004")));
1.59 + AddTestStepL(RA3FDevSoundToneInitializeToPlayTonesThenRecordAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0005")));
1.60 + AddTestStepL(RA3FDevSoundToneInitializeTFourCCTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0006")));
1.61 + AddTestStepL(RA3FDevSoundInitializeInvalidModeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0007")));
1.62 + AddTestStepL(RA3FDevSoundPlayInitializationTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0008")));
1.63 + AddTestStepL(RA3FDevSoundPlayCancelInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0009")));
1.64 + AddTestStepL(RA3FDevSoundPlayInitializeToPlayAudioThenTonesTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0010")));
1.65 + AddTestStepL(RA3FDevSoundPlayInitializeToPlayAudioTwiceTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0011")));
1.66 + AddTestStepL(RA3FDevSoundPlayInitializeToPlayAudioThenRecordTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0012")));
1.67 + AddTestStepL(RA3FDevSoundPlayInitializeInvalidTFourCCTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0013")));
1.68 + AddTestStepL(RA3FDevSoundRecordInitializationTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0014")));
1.69 + AddTestStepL(RA3FDevSoundRecordCancelInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0015")));
1.70 + AddTestStepL(RA3FDevSoundRecordInitializeThenPlayToneInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0016")));
1.71 + AddTestStepL(RA3FDevSoundRecordInitializeThenPlayAudioInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0017")));
1.72 + AddTestStepL(RA3FDevSoundRecordInitializeToRecordAudioTwiceTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0018")));
1.73 + AddTestStepL(RA3FDevSoundRecordInitializeNoFormatSpecificationPresentedTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0019")));
1.74 + AddTestStepL(RA3FDevSoundPlayDataWithoutInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0020")));
1.75 + AddTestStepL(RA3FDevSoundPlayDTMFStringWithoutInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0021")));
1.76 + AddTestStepL(RA3FDevSoundPlayDualToneWithoutInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0022")));
1.77 + AddTestStepL(RA3FDevSoundPlayFixedSequenceWithoutInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0023")));
1.78 + AddTestStepL(RA3FDevSoundPlayInitWithoutInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0024")));
1.79 + AddTestStepL(RA3FDevSoundPlayToneWithoutInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0025")));
1.80 + AddTestStepL(RA3FDevSoundPlayToneSequenceWithoutInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0026")));
1.81 + AddTestStepL(RA3FDevSoundRecordDataWithoutInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0027")));
1.82 + AddTestStepL(RA3FDevSoundRecordInitWithoutInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0028")));
1.83 + AddTestStepL(RA3FDevSoundToneInitializationMoreThanOnceBeforeInitCompleteTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0029")));
1.84 + AddTestStepL(RA3FDevSoundPlayInitializationMoreThanOnceBeforeInitCompleteTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0030")));
1.85 + AddTestStepL(RA3FDevSoundRecordInitializationMoreThanOnceBeforeInitCompleteTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0031")));
1.86 + AddTestStepL(RA3FDevSoundToneFirstInitializationLeavesThenSecondSucceeds::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0032")));
1.87 + AddTestStepL(RA3FDevSoundPlayFirstInitializationLeavesThenSecondSucceeds::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0033")));
1.88 + AddTestStepL(RA3FDevSoundRecordFirstInitializationLeavesThenSecondSucceeds::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-INIT-0034")));
1.89 +
1.90 + // - Play Audio Test Cases ---------------------------------------------------------
1.91 + AddTestStepL(RA3FDevSoundPlaySetConfigTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0001")));
1.92 + AddTestStepL(RA3FDevSoundPlaySetVolumeWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0002")));
1.93 + AddTestStepL(RA3FDevSoundPlaySetVolumeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0003")));
1.94 + AddTestStepL(RA3FDevSoundPlaySetVolumeWhilePausedPlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0004")));
1.95 + AddTestStepL(RA3FDevSoundPlaySetVolumeInitializeToPlayAudioThenTonesTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0005")));
1.96 + AddTestStepL(RA3FDevSoundPlaySetVolumeRampWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0006")));
1.97 + AddTestStepL(RA3FDevSoundPlaySetVolumeBeyondMaxVolumeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0007")));
1.98 + AddTestStepL(RA3FDevSoundPlaySetVolumeToNegativeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0008")));
1.99 + AddTestStepL(RA3FDevSoundPlaySetPlayBalanceBeyondOneHundredTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0009")));
1.100 + AddTestStepL(RA3FDevSoundPlaySetPlayBalanceToNegativeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0010")));
1.101 + AddTestStepL(RA3FDevSoundPlaySetPrioritySettingsTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0011")));
1.102 + AddTestStepL(RA3FDevSoundPlayCapabilitiesTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0012")));
1.103 + AddTestStepL(RA3FDevSoundPlayConfigTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0013")));
1.104 + AddTestStepL(RA3FDevSoundPlayGetPlayBalanceTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0014")));
1.105 + AddTestStepL(RA3FDevSoundPlayGetSupportedInputDataTypesLTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0015")));
1.106 + AddTestStepL(RA3FDevSoundPlayMaxVolumeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0016")));
1.107 + AddTestStepL(RA3FDevSoundPlaySamplesPlayedTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0017")));
1.108 + AddTestStepL(RA3FDevSoundPlayVolumeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0018")));
1.109 + AddTestStepL(RA3FDevSoundPlayCapabilitiesWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0019")));
1.110 + AddTestStepL(RA3FDevSoundPlayConfigWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0020")));
1.111 + AddTestStepL(RA3FDevSoundPlayGetPlayBalanceWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0021")));
1.112 + AddTestStepL(RA3FDevSoundPlayGetSupportedInputDataTypesWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0022")));
1.113 + AddTestStepL(RA3FDevSoundPlayMaxVolumeWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0023")));
1.114 + AddTestStepL(RA3FDevSoundPlaySamplesPlayedWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0024")));
1.115 + AddTestStepL(RA3FDevSoundPlayVolumeWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0025")));
1.116 + AddTestStepL(RA3FDevSoundPlayTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0026")));
1.117 + AddTestStepL(RA3FDevSoundPlayEmptyBufferWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0027")));
1.118 + AddTestStepL(RA3FDevSoundPlayEmptyBufferBeforePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0028")));
1.119 + AddTestStepL(RA3FDevSoundPlayPauseTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0029")));
1.120 + AddTestStepL(RA3FDevSoundPlayStopTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0030")));
1.121 + AddTestStepL(RA3FDevSoundPlayPreemptionTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0031")));
1.122 + AddTestStepL(RA3FDevSoundPlayPreemptedByToneTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0032")));
1.123 + AddTestStepL(RA3FDevSoundPlayPreemptedByRecordTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0033")));
1.124 + AddTestStepL(RA3FDevSoundPlayRejectionTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0034")));
1.125 + AddTestStepL(RA3FDevSoundPlayRejectedByToneTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0035")));
1.126 + AddTestStepL(RA3FDevSoundPlayRejectedByRecordTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0036")));
1.127 + AddTestStepL(RA3FDevSoundPlayDataBeforePlayInitTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0037")));
1.128 + AddTestStepL(RA3FDevSoundPlayInitTwiceTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0038")));
1.129 + AddTestStepL(RA3FDevSoundPlayARNTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0039")));
1.130 + AddTestStepL(RA3FDevSoundImmediatePauseAfterCreation::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0040")));
1.131 + AddTestStepL(RA3FDevSoundPlayEmptyBuffersWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0041")));
1.132 + AddTestStepL(RA3FDevSoundPlayPreemptedByToneAfterSetVolumeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-PLAY-RAW-0042")));
1.133 +
1.134 + // - Play Tones Test Cases ---------------------------------------------------------
1.135 + AddTestStepL(RA3FDevSoundToneSetConfigTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0001")));
1.136 + AddTestStepL(RA3FDevSoundToneSetPrioritySettingsTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0002")));
1.137 + AddTestStepL(RA3FDevSoundToneSetVolumeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0003")));
1.138 + AddTestStepL(RA3FDevSoundToneVolumeRampTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0004")));
1.139 + AddTestStepL(RA3FDevSoundToneSetToneRepeatsTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0005")));
1.140 + AddTestStepL(RA3FDevSoundToneSetDTMFLengthsTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0006")));
1.141 + AddTestStepL(RA3FDevSoundToneSetVolumeWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0007")));
1.142 + AddTestStepL(RA3FDevSoundToneSetPlayBalanceWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0008")));
1.143 + AddTestStepL(RA3FDevSoundToneSetVolumeWhilePausePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0009")));
1.144 + AddTestStepL(RA3FDevSoundToneSetVolumeThenInitializeToPlayAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0010")));
1.145 + AddTestStepL(RA3FDevSoundToneSetVolumeRampWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0011")));
1.146 + AddTestStepL(RA3FDevSoundToneSetToneRepetitionsWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0012")));
1.147 + AddTestStepL(RA3FDevSoundToneSetDTMFLengthsWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0013")));
1.148 + AddTestStepL(RA3FDevSoundToneSetToneRepetitionsNotPlayingTonesModeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0014")));
1.149 + AddTestStepL(RA3FDevSoundToneSetDTMFLengthsNotPlayingTonesModeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0015")));
1.150 + AddTestStepL(RA3FDevSoundToneSetConfigWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0016")));
1.151 + AddTestStepL(RA3FDevSoundToneSetPriorityWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0017")));
1.152 + AddTestStepL(RA3FDevSoundToneSetConfigTestToInvalidSampleRateValue::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0018")));
1.153 + AddTestStepL(RA3FDevSoundToneSetConfigTestToInvalidChannelValueTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0019")));
1.154 + AddTestStepL(RA3FDevSoundToneSetDTMFLengthsToNegativeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0020")));
1.155 + AddTestStepL(RA3FDevSoundToneSetDTMFToneOnLengthToMinusOneTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0021")));
1.156 + AddTestStepL(RA3FDevSoundToneSetToneRepetitionsRepeatTrailingSilenceToNegativeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0022")));
1.157 + AddTestStepL(RA3FDevSoundToneSetToneRepetitionsRepeatCountToKMdaRepeatForeverTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0023")));
1.158 + AddTestStepL(RA3FDevSoundToneCapsTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0024")));
1.159 + AddTestStepL(RA3FDevSoundToneConfigDefaultTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0025")));
1.160 + AddTestStepL(RA3FDevSoundToneMaxVolumeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0026")));
1.161 + AddTestStepL(RA3FDevSoundToneVolumeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0027")));
1.162 + AddTestStepL(RA3FDevSoundToneQueryCapsWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0028")));
1.163 + AddTestStepL(RA3FDevSoundToneConfigWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0029")));
1.164 + AddTestStepL(RA3FDevSoundToneMaxVolumeWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0030")));
1.165 + AddTestStepL(RA3FDevSoundToneVolumeWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0031")));
1.166 + AddTestStepL(RA3FDevSoundToneQueryCapsWhilePausePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0032")));
1.167 + AddTestStepL(RA3FDevSoundToneConfigWhilePausePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0033")));
1.168 + AddTestStepL(RA3FDevSoundToneMaxVolumeWhilePausePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0034")));
1.169 + AddTestStepL(RA3FDevSoundToneVolumeWhilePausePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0035")));
1.170 + AddTestStepL(RA3FDevSoundTonePlayToneOnceTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0036")));
1.171 + AddTestStepL(RA3FDevSoundTonePlayDualToneTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0037")));
1.172 + AddTestStepL(RA3FDevSoundTonePlayDTMFToneTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0038")));
1.173 + AddTestStepL(RA3FDevSoundTonePlayToneSequenceTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0039")));
1.174 + AddTestStepL(RA3FDevSoundToneNewToneRequestWhilePlayingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0040")));
1.175 + AddTestStepL(RA3FDevSoundTonePreemptionTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0041")));
1.176 + AddTestStepL(RA3FDevSoundToneRejectionTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0042")));
1.177 + AddTestStepL(RA3FDevSoundTonePlayToneOnceAndStopTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0043")));
1.178 + AddTestStepL(RA3FDevSoundTonePlayDualToneOnceAndStopTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0044")));
1.179 + AddTestStepL(RA3FDevSoundTonePlayDTMFStringOnceAndStopTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0045")));
1.180 + AddTestStepL(RA3FDevSoundTonePlayToneSequenceOnceAndStopTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0046")));
1.181 + AddTestStepL(RA3FDevSoundTonePlayToneOncePauseTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0047")));
1.182 + AddTestStepL(RA3FDevSoundTonePlayDualToneOncePauseTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0048")));
1.183 + AddTestStepL(RA3FDevSoundTonePlayDTMFStringOncePauseTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0049")));
1.184 + AddTestStepL(RA3FDevSoundTonePlayToneSequenceOncePauseTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0050")));
1.185 + AddTestStepL(RA3FDevSoundTonePlayToneOnceInitializedToPlayAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0051")));
1.186 + AddTestStepL(RA3FDevSoundTonePlayDualToneOnceInitializedToPlayAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0052")));
1.187 + AddTestStepL(RA3FDevSoundTonePlayDTMFStringOnceInitializedToPlayAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0053")));
1.188 + AddTestStepL(RA3FDevSoundTonePlayToneSequenceOnceInitializedToPlayAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0054")));
1.189 + AddTestStepL(RA3FDevSoundTonePlayToneOnceInitializedToRecordAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0055")));
1.190 + AddTestStepL(RA3FDevSoundTonePlayDualToneOnceInitializedToRecordAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0056")));
1.191 + AddTestStepL(RA3FDevSoundTonePlayDTMFStringOnceInitializedToRecordAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0057")));
1.192 + AddTestStepL(RA3FDevSoundTonePlayToneSequenceOnceInitializedToRecordAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0058")));
1.193 + AddTestStepL(RA3FDevSoundTonePlayToneWithoutCallingInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0059")));
1.194 + AddTestStepL(RA3FDevSoundTonePlayDualToneWithoutCallingInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0060")));
1.195 + AddTestStepL(RA3FDevSoundTonePlayDTMFStringWithoutCallingInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0061")));
1.196 + AddTestStepL(RA3FDevSoundTonePlayToneSequenceWithoutCallingInitializeTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0062")));
1.197 + AddTestStepL(RA3FDevSoundTonePlayToneSequenceUsingInvalidDescriptorTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-TONE-0063")));
1.198 +
1.199 + //- Record Audio Test Cases ---------------------------------------------------------
1.200 + AddTestStepL(RA3FDevSoundRecordConfigurationSetConfigTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0001")));
1.201 + AddTestStepL(RA3FDevSoundRecordConfigurationSetPriorityTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0002")));
1.202 + AddTestStepL(RA3FDevSoundRecordConfigurationSetGainTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0003")));
1.203 + AddTestStepL(RA3FDevSoundRecordConfigurationSetRecordBalanceTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0004")));
1.204 + AddTestStepL(RA3FDevSoundRecordSetGainWhileRecordingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0005")));
1.205 + AddTestStepL(RA3FDevSoundSetRecordGainBeyondMaxLimitConfigurationTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0006")));
1.206 + AddTestStepL(RA3FDevSoundSetRecordGainToNegativeValueConfigurationTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0007")));
1.207 + AddTestStepL(RA3FDevSoundSetRecordBalanceToValuesBeyondUpperLimitConfigurationTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0008")));
1.208 + AddTestStepL(RA3FDevSoundSetRecordBalanceToNegativeValuesConfigurationTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0009")));
1.209 + AddTestStepL(RA3FDevSoundRecordConfigurationSetGainWhenInitToPlayAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0010")));
1.210 + AddTestStepL(RA3FDevSoundRecordConfigurationSetGainWhenInitToPlayTonesTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0011")));
1.211 + AddTestStepL(RA3FDevSoundRecordConfigurationSetRecordBalanceWhenInitToPlayAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0012")));
1.212 + AddTestStepL(RA3FDevSoundRecordConfigurationSetRecordBalanceWhenInitToPlayTonesTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0013")));
1.213 + AddTestStepL(RA3FDevSoundCallSetConfigLWhileRecordingConfigurationTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0014")));
1.214 + AddTestStepL(RA3FDevSoundQueryRecordCapabilitiesTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0015")));
1.215 + AddTestStepL(RA3FDevSoundQueryRecordConfigTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0016")));
1.216 + AddTestStepL(RA3FDevSoundQueryRecordBalanceTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0017")));
1.217 + AddTestStepL(RA3FDevSoundQueryRecordSupportedOutputDataTypesTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0018")));
1.218 + AddTestStepL(RA3FDevSoundQueryRecordMaxGainTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0019")));
1.219 + AddTestStepL(RA3FDevSoundQueryRecordSamplesRecordedTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0020")));
1.220 + AddTestStepL(RA3FDevSoundQueryRecordGainTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0021")));
1.221 + AddTestStepL(RA3FDevSoundQueryRecordCapabilitiesWhileRecordingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0022")));
1.222 + AddTestStepL(RA3FDevSoundQueryRecordConfigWhileRecordingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0023")));
1.223 + AddTestStepL(RA3FDevSoundQueryRecordBalanceWhileRecordingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0024")));
1.224 + AddTestStepL(RA3FDevSoundQueryRecordSupportedOutputDataTypesWhileRecordingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0025")));
1.225 + AddTestStepL(RA3FDevSoundQueryRecordMaxGainWhileRecordingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0026")));
1.226 + AddTestStepL(RA3FDevSoundQueryRecordSamplesRecordedWhileRecordingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0027")));
1.227 + AddTestStepL(RA3FDevSoundQueryRecordGainWhileRecordingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0028")));
1.228 + AddTestStepL(RA3FDevSoundRecordingTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0029")));
1.229 + AddTestStepL(RA3FDevSoundLeavePauseStateToInitializedToRecordAudioTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0030")));
1.230 + AddTestStepL(RA3FDevSoundRecordPreemptionTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0031")));
1.231 + AddTestStepL(RA3FDevSoundRecordRejectionTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0032")));
1.232 + AddTestStepL(RA3FDevSoundRecordDataWithoutRecordInitTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0033")));
1.233 + AddTestStepL(RA3FDevSoundRecordCallingRecordInitLMoreThanOnceTest::NewL(_L("MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0034")));
1.234 + }