os/mm/devsound/a3fcharacterisationtest/src/char_a3f_devsound_initializationtest.h
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/devsound/a3fcharacterisationtest/src/char_a3f_devsound_initializationtest.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,586 @@
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 +// User includes
1.20 +#include "char_a3f_devsound_testbase.h"
1.21 +
1.22 +#ifndef CHAR_A3F_DEVSOUND_INITIALIZATIONTEST_H
1.23 +#define CHAR_A3F_DEVSOUND_INITIALIZATIONTEST_H
1.24 +
1.25 +/*
1.26 + *========================================================================================================
1.27 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0001
1.28 + */
1.29 +class RA3FDevSoundToneInitializationTest: public RA3FDevSoundTestBase
1.30 + {
1.31 +public:
1.32 + static RA3FDevSoundToneInitializationTest* NewL(const TDesC& aTestName);
1.33 +
1.34 +private:
1.35 + RA3FDevSoundToneInitializationTest(const TDesC& aTestName);
1.36 + void DoKickoffTestL();
1.37 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.38 + };
1.39 +
1.40 +/*
1.41 + *========================================================================================================
1.42 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0002
1.43 + */
1.44 +class RA3FDevSoundToneCancelInitializeTest: public RA3FDevSoundTestBase
1.45 + {
1.46 +public:
1.47 + static RA3FDevSoundToneCancelInitializeTest* NewL(const TDesC& aTestName);
1.48 +
1.49 +private:
1.50 + RA3FDevSoundToneCancelInitializeTest(const TDesC& aTestName);
1.51 + void DoKickoffTestL();
1.52 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.53 + void DoTimerCallback();
1.54 + void InitializeComplete(TInt aError);
1.55 +
1.56 +private:
1.57 + TBool iInitCompleteReceived;
1.58 + TMMFSampleRate iESampleRate;
1.59 + TInt iSampleRate;
1.60 + TInt iChannels;
1.61 + };
1.62 +
1.63 +/*
1.64 + *========================================================================================================
1.65 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0003
1.66 + */
1.67 +class RA3FDevSoundToneInitializeToPlayTonesTwiceTest: public RA3FDevSoundTestBase
1.68 + {
1.69 +public:
1.70 + static RA3FDevSoundToneInitializeToPlayTonesTwiceTest* NewL(const TDesC& aTestName);
1.71 +private:
1.72 + RA3FDevSoundToneInitializeToPlayTonesTwiceTest(const TDesC& aTestName);
1.73 + void DoKickoffTestL();
1.74 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.75 +
1.76 +private:
1.77 + TBool iReinitialized;
1.78 + };
1.79 +
1.80 +/*
1.81 + *========================================================================================================
1.82 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0004
1.83 + */
1.84 +class RA3FDevSoundToneInitializeToPlayTonesThenAudioTest: public RA3FDevSoundTestBase
1.85 + {
1.86 +public:
1.87 + static RA3FDevSoundToneInitializeToPlayTonesThenAudioTest* NewL(const TDesC& aTestName);
1.88 +private:
1.89 + RA3FDevSoundToneInitializeToPlayTonesThenAudioTest(const TDesC& aTestName);
1.90 + void DoKickoffTestL();
1.91 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.92 +
1.93 +private:
1.94 + TBool iReinitialized;
1.95 + };
1.96 +
1.97 +/*
1.98 + *========================================================================================================
1.99 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0005
1.100 + */
1.101 +class RA3FDevSoundToneInitializeToPlayTonesThenRecordAudioTest: public RA3FDevSoundTestBase
1.102 + {
1.103 +public:
1.104 + static RA3FDevSoundToneInitializeToPlayTonesThenRecordAudioTest* NewL(const TDesC& aTestName);
1.105 +private:
1.106 + RA3FDevSoundToneInitializeToPlayTonesThenRecordAudioTest(const TDesC& aTestName);
1.107 + void DoKickoffTestL();
1.108 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.109 +
1.110 +private:
1.111 + TBool iReinitialized;
1.112 + };
1.113 +
1.114 +/*
1.115 + *========================================================================================================
1.116 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0006
1.117 + */
1.118 +class RA3FDevSoundToneInitializeTFourCCTest: public RA3FDevSoundTestBase
1.119 + {
1.120 +public:
1.121 + static RA3FDevSoundToneInitializeTFourCCTest* NewL(const TDesC& aTestName);
1.122 +
1.123 +private:
1.124 + RA3FDevSoundToneInitializeTFourCCTest(const TDesC& aTestName);
1.125 + void DoKickoffTestL();
1.126 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.127 + };
1.128 +
1.129 +/*
1.130 + *========================================================================================================
1.131 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0007
1.132 + */
1.133 +class RA3FDevSoundInitializeInvalidModeTest: public RA3FDevSoundTestBase
1.134 + {
1.135 +public:
1.136 + static RA3FDevSoundInitializeInvalidModeTest* NewL(const TDesC& aTestName);
1.137 +
1.138 +private:
1.139 + RA3FDevSoundInitializeInvalidModeTest(const TDesC& aTestName);
1.140 + void DoKickoffTestL();
1.141 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.142 + };
1.143 +
1.144 +/*
1.145 + *========================================================================================================
1.146 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0008
1.147 + */
1.148 +class RA3FDevSoundPlayInitializationTest: public RA3FDevSoundTestBase
1.149 + {
1.150 +public:
1.151 + static RA3FDevSoundPlayInitializationTest* NewL(const TDesC& aTestName);
1.152 +
1.153 +private:
1.154 + RA3FDevSoundPlayInitializationTest(const TDesC& aTestName);
1.155 + void DoKickoffTestL();
1.156 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.157 + };
1.158 +
1.159 +/*
1.160 + *========================================================================================================
1.161 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0009
1.162 + */
1.163 +class RA3FDevSoundPlayCancelInitializeTest: public RA3FDevSoundTestBase
1.164 + {
1.165 +public:
1.166 + static RA3FDevSoundPlayCancelInitializeTest* NewL(const TDesC& aTestName);
1.167 +private:
1.168 + RA3FDevSoundPlayCancelInitializeTest(const TDesC& aTestName);
1.169 + void DoKickoffTestL();
1.170 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.171 + void DoTimerCallback();
1.172 + void InitializeComplete(TInt aError);
1.173 +
1.174 +private:
1.175 + TBool iInitCompleteReceived;
1.176 + TMMFSampleRate iESampleRate;
1.177 + TInt iSampleRate;
1.178 + TInt iChannels;
1.179 + };
1.180 +
1.181 +/*
1.182 + *========================================================================================================
1.183 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0010
1.184 + */
1.185 +class RA3FDevSoundPlayInitializeToPlayAudioThenTonesTest: public RA3FDevSoundTestBase
1.186 + {
1.187 +public:
1.188 + static RA3FDevSoundPlayInitializeToPlayAudioThenTonesTest* NewL(const TDesC& aTestName);
1.189 +private:
1.190 + RA3FDevSoundPlayInitializeToPlayAudioThenTonesTest(const TDesC& aTestName);
1.191 + void DoKickoffTestL();
1.192 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.193 +
1.194 +private:
1.195 + TBool iReinitialized;
1.196 + };
1.197 +
1.198 +/*
1.199 + *========================================================================================================
1.200 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0011
1.201 + */
1.202 +class RA3FDevSoundPlayInitializeToPlayAudioTwiceTest: public RA3FDevSoundTestBase
1.203 + {
1.204 +public:
1.205 + static RA3FDevSoundPlayInitializeToPlayAudioTwiceTest* NewL(const TDesC& aTestName);
1.206 +private:
1.207 + RA3FDevSoundPlayInitializeToPlayAudioTwiceTest(const TDesC& aTestName);
1.208 + void DoKickoffTestL();
1.209 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.210 +
1.211 +private:
1.212 + TBool iReinitialized;
1.213 + };
1.214 +
1.215 +/*
1.216 + *========================================================================================================
1.217 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0012
1.218 + */
1.219 +class RA3FDevSoundPlayInitializeToPlayAudioThenRecordTest: public RA3FDevSoundTestBase
1.220 + {
1.221 +public:
1.222 + static RA3FDevSoundPlayInitializeToPlayAudioThenRecordTest* NewL(const TDesC& aTestName);
1.223 +private:
1.224 + RA3FDevSoundPlayInitializeToPlayAudioThenRecordTest(const TDesC& aTestName);
1.225 + void DoKickoffTestL();
1.226 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.227 +
1.228 +private:
1.229 + TBool iReinitialized;
1.230 + };
1.231 +
1.232 +/*
1.233 + *========================================================================================================
1.234 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0013
1.235 + */
1.236 +class RA3FDevSoundPlayInitializeInvalidTFourCCTest: public RA3FDevSoundTestBase
1.237 + {
1.238 +public:
1.239 + static RA3FDevSoundPlayInitializeInvalidTFourCCTest* NewL(const TDesC& aTestName);
1.240 +
1.241 +private:
1.242 + RA3FDevSoundPlayInitializeInvalidTFourCCTest(const TDesC& aTestName);
1.243 + void DoKickoffTestL();
1.244 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.245 + };
1.246 +
1.247 +/*
1.248 + *========================================================================================================
1.249 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0014
1.250 + */
1.251 +class RA3FDevSoundRecordInitializationTest: public RA3FDevSoundTestBase
1.252 + {
1.253 +public:
1.254 + static RA3FDevSoundRecordInitializationTest* NewL(const TDesC& aTestName);
1.255 +private:
1.256 + RA3FDevSoundRecordInitializationTest(const TDesC& aTestName);
1.257 + void DoKickoffTestL();
1.258 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.259 + };
1.260 +
1.261 +/*
1.262 + *========================================================================================================
1.263 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0015
1.264 + */
1.265 +class RA3FDevSoundRecordCancelInitializeTest: public RA3FDevSoundTestBase
1.266 + {
1.267 +public:
1.268 + static RA3FDevSoundRecordCancelInitializeTest* NewL(const TDesC& aTestName);
1.269 +
1.270 +private:
1.271 + RA3FDevSoundRecordCancelInitializeTest(const TDesC& aTestName);
1.272 + void DoKickoffTestL();
1.273 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.274 + void DoTimerCallback();
1.275 + void InitializeComplete(TInt aError);
1.276 +
1.277 +private:
1.278 + TBool iInitCompleteReceived;
1.279 + TMMFSampleRate iESampleRate;
1.280 + TInt iSampleRate;
1.281 + TInt iChannels;
1.282 + };
1.283 +
1.284 +/*
1.285 + *========================================================================================================
1.286 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0016
1.287 + */
1.288 +class RA3FDevSoundRecordInitializeThenPlayToneInitializeTest: public RA3FDevSoundTestBase
1.289 + {
1.290 +public:
1.291 + static RA3FDevSoundRecordInitializeThenPlayToneInitializeTest* NewL(const TDesC& aTestName);
1.292 +private:
1.293 + RA3FDevSoundRecordInitializeThenPlayToneInitializeTest(const TDesC& aTestName);
1.294 + void DoKickoffTestL();
1.295 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.296 +
1.297 +private:
1.298 + TBool iReinitialized;
1.299 + };
1.300 +
1.301 +/*
1.302 + *========================================================================================================
1.303 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0017
1.304 + */
1.305 +class RA3FDevSoundRecordInitializeThenPlayAudioInitializeTest: public RA3FDevSoundTestBase
1.306 + {
1.307 +public:
1.308 + static RA3FDevSoundRecordInitializeThenPlayAudioInitializeTest* NewL(const TDesC& aTestName);
1.309 +private:
1.310 + RA3FDevSoundRecordInitializeThenPlayAudioInitializeTest(const TDesC& aTestName);
1.311 + void DoKickoffTestL();
1.312 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.313 +
1.314 +private:
1.315 + TBool iReinitialized;
1.316 + };
1.317 +
1.318 +/*
1.319 + *========================================================================================================
1.320 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0018
1.321 + */
1.322 +class RA3FDevSoundRecordInitializeToRecordAudioTwiceTest: public RA3FDevSoundTestBase
1.323 + {
1.324 +public:
1.325 + static RA3FDevSoundRecordInitializeToRecordAudioTwiceTest* NewL(const TDesC& aTestName);
1.326 +private:
1.327 + RA3FDevSoundRecordInitializeToRecordAudioTwiceTest(const TDesC& aTestName);
1.328 + void DoKickoffTestL();
1.329 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.330 +
1.331 +private:
1.332 + TBool iReinitialized;
1.333 + };
1.334 +
1.335 +/*
1.336 + *========================================================================================================
1.337 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0019
1.338 + */
1.339 +class RA3FDevSoundRecordInitializeNoFormatSpecificationPresentedTest: public RA3FDevSoundTestBase
1.340 + {
1.341 +public:
1.342 + static RA3FDevSoundRecordInitializeNoFormatSpecificationPresentedTest* NewL(const TDesC& aTestName);
1.343 +
1.344 +private:
1.345 + RA3FDevSoundRecordInitializeNoFormatSpecificationPresentedTest(const TDesC& aTestName);
1.346 + void DoKickoffTestL();
1.347 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.348 + };
1.349 +
1.350 +/*
1.351 + *========================================================================================================
1.352 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0020
1.353 + */
1.354 +class RA3FDevSoundPlayDataWithoutInitializeTest: public RA3FDevSoundTestBase
1.355 + {
1.356 +public:
1.357 + static RA3FDevSoundPlayDataWithoutInitializeTest* NewL(const TDesC& aTestName);
1.358 +
1.359 +private:
1.360 + RA3FDevSoundPlayDataWithoutInitializeTest(const TDesC& aTestName);
1.361 + void DoKickoffTestL();
1.362 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.363 + void DoTimerCallback();
1.364 + };
1.365 +
1.366 +/*
1.367 + *========================================================================================================
1.368 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0021
1.369 + */
1.370 +class RA3FDevSoundPlayDTMFStringWithoutInitializeTest: public RA3FDevSoundTestBase
1.371 + {
1.372 +public:
1.373 + static RA3FDevSoundPlayDTMFStringWithoutInitializeTest* NewL(const TDesC& aTestName);
1.374 +
1.375 +private:
1.376 + RA3FDevSoundPlayDTMFStringWithoutInitializeTest(const TDesC& aTestName);
1.377 + void DoKickoffTestL();
1.378 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.379 +
1.380 +private:
1.381 + TBuf16<KMaxStringLength> iDTMFString;
1.382 + };
1.383 +
1.384 +/*
1.385 + *========================================================================================================
1.386 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0022
1.387 + */
1.388 +class RA3FDevSoundPlayDualToneWithoutInitializeTest: public RA3FDevSoundTestBase
1.389 + {
1.390 +public:
1.391 + static RA3FDevSoundPlayDualToneWithoutInitializeTest* NewL(const TDesC& aTestName);
1.392 +
1.393 +private:
1.394 + RA3FDevSoundPlayDualToneWithoutInitializeTest(const TDesC& aTestName);
1.395 + void DoKickoffTestL();
1.396 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.397 +
1.398 +private:
1.399 + TInt iDuration;
1.400 + TInt iFrequencyTone1;
1.401 + TInt iFrequencyTone2;
1.402 + };
1.403 +
1.404 +/*
1.405 + *========================================================================================================
1.406 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0023
1.407 + */
1.408 +class RA3FDevSoundPlayFixedSequenceWithoutInitializeTest: public RA3FDevSoundTestBase
1.409 + {
1.410 +public:
1.411 + static RA3FDevSoundPlayFixedSequenceWithoutInitializeTest* NewL(const TDesC& aTestName);
1.412 +
1.413 +private:
1.414 + RA3FDevSoundPlayFixedSequenceWithoutInitializeTest(const TDesC& aTestName);
1.415 + void DoKickoffTestL();
1.416 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.417 + };
1.418 +
1.419 +/*
1.420 + *========================================================================================================
1.421 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0024
1.422 + */
1.423 +class RA3FDevSoundPlayInitWithoutInitializeTest: public RA3FDevSoundTestBase
1.424 + {
1.425 +public:
1.426 + static RA3FDevSoundPlayInitWithoutInitializeTest* NewL(const TDesC& aTestName);
1.427 +
1.428 +private:
1.429 + RA3FDevSoundPlayInitWithoutInitializeTest(const TDesC& aTestName);
1.430 + void DoKickoffTestL();
1.431 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.432 + };
1.433 +
1.434 +/*
1.435 + *========================================================================================================
1.436 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0025
1.437 + */
1.438 +class RA3FDevSoundPlayToneWithoutInitializeTest: public RA3FDevSoundTestBase
1.439 + {
1.440 +public:
1.441 + static RA3FDevSoundPlayToneWithoutInitializeTest* NewL(const TDesC& aTestName);
1.442 +
1.443 +private:
1.444 + RA3FDevSoundPlayToneWithoutInitializeTest(const TDesC& aTestName);
1.445 + void DoKickoffTestL();
1.446 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.447 +
1.448 +private:
1.449 + TInt iDuration;
1.450 + TInt iFrequencyTone1;
1.451 + };
1.452 +
1.453 +/*
1.454 + *========================================================================================================
1.455 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0026
1.456 + */
1.457 +class RA3FDevSoundPlayToneSequenceWithoutInitializeTest: public RA3FDevSoundTestBase
1.458 + {
1.459 +public:
1.460 + static RA3FDevSoundPlayToneSequenceWithoutInitializeTest* NewL(const TDesC& aTestName);
1.461 +
1.462 +private:
1.463 + RA3FDevSoundPlayToneSequenceWithoutInitializeTest(const TDesC& aTestName);
1.464 + void DoKickoffTestL();
1.465 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.466 + };
1.467 +
1.468 +/*
1.469 + *========================================================================================================
1.470 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0027
1.471 + */
1.472 +class RA3FDevSoundRecordDataWithoutInitializeTest: public RA3FDevSoundTestBase
1.473 + {
1.474 +public:
1.475 + static RA3FDevSoundRecordDataWithoutInitializeTest* NewL(const TDesC& aTestName);
1.476 +
1.477 +private:
1.478 + RA3FDevSoundRecordDataWithoutInitializeTest(const TDesC& aTestName);
1.479 + void DoKickoffTestL();
1.480 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.481 + void DoTimerCallback();
1.482 + };
1.483 +
1.484 +/*
1.485 + *========================================================================================================
1.486 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0028
1.487 + */
1.488 +class RA3FDevSoundRecordInitWithoutInitializeTest: public RA3FDevSoundTestBase
1.489 + {
1.490 +public:
1.491 + static RA3FDevSoundRecordInitWithoutInitializeTest* NewL(const TDesC& aTestName);
1.492 +
1.493 +private:
1.494 + RA3FDevSoundRecordInitWithoutInitializeTest(const TDesC& aTestName);
1.495 + void DoKickoffTestL();
1.496 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.497 + };
1.498 +
1.499 +/*
1.500 + *========================================================================================================
1.501 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0029
1.502 + */
1.503 +class RA3FDevSoundToneInitializationMoreThanOnceBeforeInitCompleteTest: public RA3FDevSoundTestBase
1.504 + {
1.505 +public:
1.506 + static RA3FDevSoundToneInitializationMoreThanOnceBeforeInitCompleteTest* NewL(const TDesC& aTestName);
1.507 +
1.508 +private:
1.509 + RA3FDevSoundToneInitializationMoreThanOnceBeforeInitCompleteTest(const TDesC& aTestName);
1.510 + void DoKickoffTestL();
1.511 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.512 + };
1.513 +
1.514 +/*
1.515 + *========================================================================================================
1.516 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0030
1.517 + */
1.518 +class RA3FDevSoundPlayInitializationMoreThanOnceBeforeInitCompleteTest: public RA3FDevSoundTestBase
1.519 + {
1.520 +public:
1.521 + static RA3FDevSoundPlayInitializationMoreThanOnceBeforeInitCompleteTest* NewL(const TDesC& aTestName);
1.522 +
1.523 +private:
1.524 + RA3FDevSoundPlayInitializationMoreThanOnceBeforeInitCompleteTest(const TDesC& aTestName);
1.525 + void DoKickoffTestL();
1.526 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.527 + };
1.528 +
1.529 +/*
1.530 + *========================================================================================================
1.531 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0031
1.532 + */
1.533 +class RA3FDevSoundRecordInitializationMoreThanOnceBeforeInitCompleteTest: public RA3FDevSoundTestBase
1.534 + {
1.535 +public:
1.536 + static RA3FDevSoundRecordInitializationMoreThanOnceBeforeInitCompleteTest* NewL(const TDesC& aTestName);
1.537 +
1.538 +private:
1.539 + RA3FDevSoundRecordInitializationMoreThanOnceBeforeInitCompleteTest(const TDesC& aTestName);
1.540 + void DoKickoffTestL();
1.541 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.542 + };
1.543 +
1.544 +/*
1.545 + *========================================================================================================
1.546 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0032
1.547 + */
1.548 +class RA3FDevSoundToneFirstInitializationLeavesThenSecondSucceeds: public RA3FDevSoundTestBase
1.549 + {
1.550 +public:
1.551 + static RA3FDevSoundToneFirstInitializationLeavesThenSecondSucceeds* NewL(const TDesC& aTestName);
1.552 +
1.553 +private:
1.554 + RA3FDevSoundToneFirstInitializationLeavesThenSecondSucceeds(const TDesC& aTestName);
1.555 + void DoKickoffTestL();
1.556 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.557 + };
1.558 +
1.559 +/*
1.560 + *========================================================================================================
1.561 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0033
1.562 + */
1.563 +class RA3FDevSoundPlayFirstInitializationLeavesThenSecondSucceeds: public RA3FDevSoundTestBase
1.564 + {
1.565 +public:
1.566 + static RA3FDevSoundPlayFirstInitializationLeavesThenSecondSucceeds* NewL(const TDesC& aTestName);
1.567 +
1.568 +private:
1.569 + RA3FDevSoundPlayFirstInitializationLeavesThenSecondSucceeds(const TDesC& aTestName);
1.570 + void DoKickoffTestL();
1.571 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.572 + };
1.573 +
1.574 +/*
1.575 + *========================================================================================================
1.576 + * MM-A3F-DEVSOUND-CHRTZ-INIT-0034
1.577 + */
1.578 +class RA3FDevSoundRecordFirstInitializationLeavesThenSecondSucceeds: public RA3FDevSoundTestBase
1.579 + {
1.580 +public:
1.581 + static RA3FDevSoundRecordFirstInitializationLeavesThenSecondSucceeds* NewL(const TDesC& aTestName);
1.582 +
1.583 +private:
1.584 + RA3FDevSoundRecordFirstInitializationLeavesThenSecondSucceeds(const TDesC& aTestName);
1.585 + void DoKickoffTestL();
1.586 + void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
1.587 + };
1.588 +#endif //CHAR_A3F_DEVSOUND_INITIALIZATIONTEST_H
1.589 +