devsound/a3fcharacterisationtest/src/char_a3f_devsound_initializationtest.h
changeset 24 2672ba96448e
equal deleted inserted replaced
21:1c0a769d0cc5 24:2672ba96448e
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 // User includes
       
    17 #include "char_a3f_devsound_testbase.h"
       
    18 
       
    19 #ifndef CHAR_A3F_DEVSOUND_INITIALIZATIONTEST_H
       
    20 #define CHAR_A3F_DEVSOUND_INITIALIZATIONTEST_H
       
    21 
       
    22 /*
       
    23  *========================================================================================================
       
    24  * MM-A3F-DEVSOUND-CHRTZ-INIT-0001
       
    25  */
       
    26 class RA3FDevSoundToneInitializationTest: public RA3FDevSoundTestBase
       
    27 	{
       
    28 public:
       
    29 	static RA3FDevSoundToneInitializationTest* NewL(const TDesC& aTestName);
       
    30 
       
    31 private:
       
    32 	RA3FDevSoundToneInitializationTest(const TDesC& aTestName);
       
    33 	void DoKickoffTestL();
       
    34 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
    35 	};
       
    36 
       
    37 /*
       
    38  *========================================================================================================
       
    39  * MM-A3F-DEVSOUND-CHRTZ-INIT-0002
       
    40  */
       
    41 class RA3FDevSoundToneCancelInitializeTest: public RA3FDevSoundTestBase
       
    42 	{
       
    43 public:
       
    44 	static RA3FDevSoundToneCancelInitializeTest* NewL(const TDesC& aTestName);
       
    45 
       
    46 private:
       
    47 	RA3FDevSoundToneCancelInitializeTest(const TDesC& aTestName);
       
    48 	void DoKickoffTestL();
       
    49 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
    50 	void DoTimerCallback();
       
    51 	void InitializeComplete(TInt aError);
       
    52 	
       
    53 private:
       
    54 	TBool iInitCompleteReceived;
       
    55 	TMMFSampleRate iESampleRate;
       
    56 	TInt iSampleRate;
       
    57 	TInt iChannels;
       
    58 	};
       
    59 
       
    60 /*
       
    61  *========================================================================================================
       
    62  * MM-A3F-DEVSOUND-CHRTZ-INIT-0003
       
    63  */
       
    64 class RA3FDevSoundToneInitializeToPlayTonesTwiceTest: public RA3FDevSoundTestBase
       
    65 	{
       
    66 public:
       
    67 	static RA3FDevSoundToneInitializeToPlayTonesTwiceTest* NewL(const TDesC& aTestName);
       
    68 private:
       
    69 	RA3FDevSoundToneInitializeToPlayTonesTwiceTest(const TDesC& aTestName);
       
    70 	void DoKickoffTestL();
       
    71 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
    72 
       
    73 private:
       
    74 	TBool iReinitialized;
       
    75 	};
       
    76 
       
    77 /*
       
    78  *========================================================================================================
       
    79  * MM-A3F-DEVSOUND-CHRTZ-INIT-0004
       
    80  */
       
    81 class RA3FDevSoundToneInitializeToPlayTonesThenAudioTest: public RA3FDevSoundTestBase
       
    82 	{
       
    83 public:
       
    84 	static RA3FDevSoundToneInitializeToPlayTonesThenAudioTest* NewL(const TDesC& aTestName);
       
    85 private:
       
    86 	RA3FDevSoundToneInitializeToPlayTonesThenAudioTest(const TDesC& aTestName);
       
    87 	void DoKickoffTestL();
       
    88 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
    89 
       
    90 private:
       
    91 	TBool iReinitialized;
       
    92 	};
       
    93 
       
    94 /*
       
    95  *========================================================================================================
       
    96  * MM-A3F-DEVSOUND-CHRTZ-INIT-0005
       
    97  */
       
    98 class RA3FDevSoundToneInitializeToPlayTonesThenRecordAudioTest: public RA3FDevSoundTestBase
       
    99 	{
       
   100 public:
       
   101 	static RA3FDevSoundToneInitializeToPlayTonesThenRecordAudioTest* NewL(const TDesC& aTestName);
       
   102 private:
       
   103 	RA3FDevSoundToneInitializeToPlayTonesThenRecordAudioTest(const TDesC& aTestName);
       
   104 	void DoKickoffTestL();
       
   105 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   106 
       
   107 private:
       
   108 	TBool iReinitialized;
       
   109 	};
       
   110 
       
   111 /*
       
   112  *========================================================================================================
       
   113  * MM-A3F-DEVSOUND-CHRTZ-INIT-0006
       
   114  */
       
   115 class RA3FDevSoundToneInitializeTFourCCTest: public RA3FDevSoundTestBase
       
   116 	{
       
   117 public:
       
   118 	static RA3FDevSoundToneInitializeTFourCCTest* NewL(const TDesC& aTestName);
       
   119 
       
   120 private:
       
   121 	RA3FDevSoundToneInitializeTFourCCTest(const TDesC& aTestName);	
       
   122 	void DoKickoffTestL();
       
   123 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   124 	};
       
   125 
       
   126 /*
       
   127  *========================================================================================================
       
   128  * MM-A3F-DEVSOUND-CHRTZ-INIT-0007
       
   129  */
       
   130 class RA3FDevSoundInitializeInvalidModeTest: public RA3FDevSoundTestBase
       
   131 	{
       
   132 public:
       
   133 	static RA3FDevSoundInitializeInvalidModeTest* NewL(const TDesC& aTestName);
       
   134 
       
   135 private:
       
   136 	RA3FDevSoundInitializeInvalidModeTest(const TDesC& aTestName);	
       
   137 	void DoKickoffTestL();
       
   138 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   139 	};
       
   140 
       
   141 /*
       
   142  *========================================================================================================
       
   143  * MM-A3F-DEVSOUND-CHRTZ-INIT-0008
       
   144  */
       
   145 class RA3FDevSoundPlayInitializationTest: public RA3FDevSoundTestBase
       
   146 	{
       
   147 public:
       
   148 	static RA3FDevSoundPlayInitializationTest* NewL(const TDesC& aTestName);
       
   149 
       
   150 private:
       
   151 	RA3FDevSoundPlayInitializationTest(const TDesC& aTestName);	
       
   152 	void DoKickoffTestL();
       
   153 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   154 	};
       
   155 
       
   156 /*
       
   157  *========================================================================================================
       
   158  * MM-A3F-DEVSOUND-CHRTZ-INIT-0009
       
   159  */
       
   160 class RA3FDevSoundPlayCancelInitializeTest: public RA3FDevSoundTestBase
       
   161 	{
       
   162 public:
       
   163 	static RA3FDevSoundPlayCancelInitializeTest* NewL(const TDesC& aTestName);
       
   164 private:
       
   165 	RA3FDevSoundPlayCancelInitializeTest(const TDesC& aTestName);	
       
   166 	void DoKickoffTestL();
       
   167 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   168 	void DoTimerCallback();
       
   169 	void InitializeComplete(TInt aError);
       
   170 	
       
   171 private:
       
   172 	TBool iInitCompleteReceived;
       
   173 	TMMFSampleRate iESampleRate;
       
   174 	TInt iSampleRate;
       
   175 	TInt iChannels;
       
   176 	};
       
   177 
       
   178 /*
       
   179  *========================================================================================================
       
   180  * MM-A3F-DEVSOUND-CHRTZ-INIT-0010
       
   181  */
       
   182 class RA3FDevSoundPlayInitializeToPlayAudioThenTonesTest: public RA3FDevSoundTestBase
       
   183 	{
       
   184 public:
       
   185 	static RA3FDevSoundPlayInitializeToPlayAudioThenTonesTest* NewL(const TDesC& aTestName);
       
   186 private:
       
   187 	RA3FDevSoundPlayInitializeToPlayAudioThenTonesTest(const TDesC& aTestName);
       
   188 	void DoKickoffTestL();
       
   189 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   190 
       
   191 private:
       
   192 	TBool iReinitialized;
       
   193 	};
       
   194 
       
   195 /*
       
   196  *========================================================================================================
       
   197  * MM-A3F-DEVSOUND-CHRTZ-INIT-0011
       
   198  */
       
   199 class RA3FDevSoundPlayInitializeToPlayAudioTwiceTest: public RA3FDevSoundTestBase
       
   200 	{
       
   201 public:
       
   202 	static RA3FDevSoundPlayInitializeToPlayAudioTwiceTest* NewL(const TDesC& aTestName);
       
   203 private:
       
   204 	RA3FDevSoundPlayInitializeToPlayAudioTwiceTest(const TDesC& aTestName);
       
   205 	void DoKickoffTestL();
       
   206 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   207 
       
   208 private:
       
   209 	TBool iReinitialized;
       
   210 	};
       
   211 
       
   212 /*
       
   213  *========================================================================================================
       
   214  * MM-A3F-DEVSOUND-CHRTZ-INIT-0012
       
   215  */
       
   216 class RA3FDevSoundPlayInitializeToPlayAudioThenRecordTest: public RA3FDevSoundTestBase
       
   217 	{
       
   218 public:
       
   219 	static RA3FDevSoundPlayInitializeToPlayAudioThenRecordTest* NewL(const TDesC& aTestName);
       
   220 private:
       
   221 	RA3FDevSoundPlayInitializeToPlayAudioThenRecordTest(const TDesC& aTestName);
       
   222 	void DoKickoffTestL();
       
   223 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   224 
       
   225 private:
       
   226 	TBool iReinitialized;
       
   227 	};
       
   228 
       
   229 /*
       
   230  *========================================================================================================
       
   231  * MM-A3F-DEVSOUND-CHRTZ-INIT-0013
       
   232  */	
       
   233 class RA3FDevSoundPlayInitializeInvalidTFourCCTest: public RA3FDevSoundTestBase
       
   234 	{
       
   235 public:
       
   236 	static RA3FDevSoundPlayInitializeInvalidTFourCCTest* NewL(const TDesC& aTestName);
       
   237 	
       
   238 private:
       
   239 	RA3FDevSoundPlayInitializeInvalidTFourCCTest(const TDesC& aTestName);	
       
   240 	void DoKickoffTestL();
       
   241 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   242 	};
       
   243 
       
   244 /*
       
   245  *========================================================================================================
       
   246  * MM-A3F-DEVSOUND-CHRTZ-INIT-0014
       
   247  */
       
   248 class RA3FDevSoundRecordInitializationTest: public RA3FDevSoundTestBase
       
   249 	{
       
   250 public:
       
   251 	static RA3FDevSoundRecordInitializationTest* NewL(const TDesC& aTestName);
       
   252 private:
       
   253 	RA3FDevSoundRecordInitializationTest(const TDesC& aTestName);
       
   254 	void DoKickoffTestL();
       
   255 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   256 	};
       
   257 
       
   258 /*
       
   259  *========================================================================================================
       
   260  * MM-A3F-DEVSOUND-CHRTZ-INIT-0015
       
   261  */
       
   262 class RA3FDevSoundRecordCancelInitializeTest: public RA3FDevSoundTestBase
       
   263 	{
       
   264 public:
       
   265 	static RA3FDevSoundRecordCancelInitializeTest* NewL(const TDesC& aTestName);
       
   266 
       
   267 private:
       
   268 	RA3FDevSoundRecordCancelInitializeTest(const TDesC& aTestName);
       
   269 	void DoKickoffTestL();
       
   270 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   271 	void DoTimerCallback();
       
   272 	void InitializeComplete(TInt aError);
       
   273 	
       
   274 private:
       
   275 	TBool iInitCompleteReceived;
       
   276 	TMMFSampleRate iESampleRate;
       
   277 	TInt iSampleRate;
       
   278 	TInt iChannels;
       
   279 	};
       
   280 
       
   281 /*
       
   282  *========================================================================================================
       
   283  * MM-A3F-DEVSOUND-CHRTZ-INIT-0016
       
   284  */
       
   285 class RA3FDevSoundRecordInitializeThenPlayToneInitializeTest: public RA3FDevSoundTestBase
       
   286 	{
       
   287 public:
       
   288 	static RA3FDevSoundRecordInitializeThenPlayToneInitializeTest* NewL(const TDesC& aTestName);
       
   289 private:
       
   290 	RA3FDevSoundRecordInitializeThenPlayToneInitializeTest(const TDesC& aTestName);
       
   291 	void DoKickoffTestL();
       
   292 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   293 
       
   294 private:
       
   295 	TBool iReinitialized;
       
   296 	};
       
   297 
       
   298 /*
       
   299  *========================================================================================================
       
   300  * MM-A3F-DEVSOUND-CHRTZ-INIT-0017
       
   301  */
       
   302 class RA3FDevSoundRecordInitializeThenPlayAudioInitializeTest: public RA3FDevSoundTestBase
       
   303 	{
       
   304 public:
       
   305 	static RA3FDevSoundRecordInitializeThenPlayAudioInitializeTest* NewL(const TDesC& aTestName);
       
   306 private:
       
   307 	RA3FDevSoundRecordInitializeThenPlayAudioInitializeTest(const TDesC& aTestName);
       
   308 	void DoKickoffTestL();
       
   309 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   310 
       
   311 private:
       
   312 	TBool iReinitialized;
       
   313 	};
       
   314 
       
   315 /*
       
   316  *========================================================================================================
       
   317  * MM-A3F-DEVSOUND-CHRTZ-INIT-0018
       
   318  */
       
   319 class RA3FDevSoundRecordInitializeToRecordAudioTwiceTest: public RA3FDevSoundTestBase
       
   320 	{
       
   321 public:
       
   322 	static RA3FDevSoundRecordInitializeToRecordAudioTwiceTest* NewL(const TDesC& aTestName);
       
   323 private:
       
   324 	RA3FDevSoundRecordInitializeToRecordAudioTwiceTest(const TDesC& aTestName);
       
   325 	void DoKickoffTestL();
       
   326 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   327 
       
   328 private:
       
   329 	TBool iReinitialized;
       
   330 	};
       
   331 
       
   332 /*
       
   333  *========================================================================================================
       
   334  * MM-A3F-DEVSOUND-CHRTZ-INIT-0019
       
   335  */
       
   336 class RA3FDevSoundRecordInitializeNoFormatSpecificationPresentedTest: public RA3FDevSoundTestBase
       
   337 	{
       
   338 public:
       
   339 	static RA3FDevSoundRecordInitializeNoFormatSpecificationPresentedTest* NewL(const TDesC& aTestName);
       
   340 
       
   341 private:
       
   342 	RA3FDevSoundRecordInitializeNoFormatSpecificationPresentedTest(const TDesC& aTestName);	
       
   343 	void DoKickoffTestL();
       
   344 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   345 	};
       
   346 
       
   347 /*
       
   348  *========================================================================================================
       
   349  * MM-A3F-DEVSOUND-CHRTZ-INIT-0020
       
   350  */
       
   351 class RA3FDevSoundPlayDataWithoutInitializeTest: public RA3FDevSoundTestBase
       
   352 	{
       
   353 public:
       
   354 	static RA3FDevSoundPlayDataWithoutInitializeTest* NewL(const TDesC& aTestName);
       
   355 
       
   356 private:
       
   357 	RA3FDevSoundPlayDataWithoutInitializeTest(const TDesC& aTestName);	
       
   358 	void DoKickoffTestL();
       
   359 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   360 	void DoTimerCallback();
       
   361 	};
       
   362 
       
   363 /*
       
   364  *========================================================================================================
       
   365  * MM-A3F-DEVSOUND-CHRTZ-INIT-0021
       
   366  */
       
   367 class RA3FDevSoundPlayDTMFStringWithoutInitializeTest: public RA3FDevSoundTestBase
       
   368 	{
       
   369 public:
       
   370 	static RA3FDevSoundPlayDTMFStringWithoutInitializeTest* NewL(const TDesC& aTestName);
       
   371 
       
   372 private:
       
   373 	RA3FDevSoundPlayDTMFStringWithoutInitializeTest(const TDesC& aTestName);	
       
   374 	void DoKickoffTestL();
       
   375 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   376 
       
   377 private:
       
   378 	TBuf16<KMaxStringLength> iDTMFString;
       
   379 	};
       
   380 
       
   381 /*
       
   382  *========================================================================================================
       
   383  * MM-A3F-DEVSOUND-CHRTZ-INIT-0022
       
   384  */
       
   385 class RA3FDevSoundPlayDualToneWithoutInitializeTest: public RA3FDevSoundTestBase
       
   386 	{
       
   387 public:
       
   388 	static RA3FDevSoundPlayDualToneWithoutInitializeTest* NewL(const TDesC& aTestName);
       
   389 
       
   390 private:
       
   391 	RA3FDevSoundPlayDualToneWithoutInitializeTest(const TDesC& aTestName);	
       
   392 	void DoKickoffTestL();
       
   393 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   394 
       
   395 private:
       
   396 	TInt iDuration;
       
   397 	TInt iFrequencyTone1;
       
   398 	TInt iFrequencyTone2;
       
   399 	};
       
   400 
       
   401 /*
       
   402  *========================================================================================================
       
   403  * MM-A3F-DEVSOUND-CHRTZ-INIT-0023
       
   404  */
       
   405 class RA3FDevSoundPlayFixedSequenceWithoutInitializeTest: public RA3FDevSoundTestBase
       
   406 	{
       
   407 public:
       
   408 	static RA3FDevSoundPlayFixedSequenceWithoutInitializeTest* NewL(const TDesC& aTestName);
       
   409 
       
   410 private:
       
   411 	RA3FDevSoundPlayFixedSequenceWithoutInitializeTest(const TDesC& aTestName);	
       
   412 	void DoKickoffTestL();
       
   413 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   414 	};	
       
   415 
       
   416 /*
       
   417  *========================================================================================================
       
   418  * MM-A3F-DEVSOUND-CHRTZ-INIT-0024
       
   419  */
       
   420 class RA3FDevSoundPlayInitWithoutInitializeTest: public RA3FDevSoundTestBase
       
   421 	{
       
   422 public:
       
   423 	static RA3FDevSoundPlayInitWithoutInitializeTest* NewL(const TDesC& aTestName);
       
   424 
       
   425 private:
       
   426 	RA3FDevSoundPlayInitWithoutInitializeTest(const TDesC& aTestName);	
       
   427 	void DoKickoffTestL();
       
   428 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   429 	};	
       
   430 
       
   431 /*
       
   432  *========================================================================================================
       
   433  * MM-A3F-DEVSOUND-CHRTZ-INIT-0025
       
   434  */
       
   435 class RA3FDevSoundPlayToneWithoutInitializeTest: public RA3FDevSoundTestBase
       
   436 	{
       
   437 public:
       
   438 	static RA3FDevSoundPlayToneWithoutInitializeTest* NewL(const TDesC& aTestName);
       
   439 
       
   440 private:
       
   441 	RA3FDevSoundPlayToneWithoutInitializeTest(const TDesC& aTestName);	
       
   442 	void DoKickoffTestL();
       
   443 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   444 
       
   445 private:
       
   446 	TInt iDuration;
       
   447 	TInt iFrequencyTone1;
       
   448 	};
       
   449 
       
   450 /*
       
   451  *========================================================================================================
       
   452  * MM-A3F-DEVSOUND-CHRTZ-INIT-0026
       
   453  */
       
   454 class RA3FDevSoundPlayToneSequenceWithoutInitializeTest: public RA3FDevSoundTestBase
       
   455 	{
       
   456 public:
       
   457 	static RA3FDevSoundPlayToneSequenceWithoutInitializeTest* NewL(const TDesC& aTestName);
       
   458 
       
   459 private:
       
   460 	RA3FDevSoundPlayToneSequenceWithoutInitializeTest(const TDesC& aTestName);	
       
   461 	void DoKickoffTestL();
       
   462 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   463 	};
       
   464 
       
   465 /*
       
   466  *========================================================================================================
       
   467  * MM-A3F-DEVSOUND-CHRTZ-INIT-0027
       
   468  */
       
   469 class RA3FDevSoundRecordDataWithoutInitializeTest: public RA3FDevSoundTestBase
       
   470 	{
       
   471 public:
       
   472 	static RA3FDevSoundRecordDataWithoutInitializeTest* NewL(const TDesC& aTestName);
       
   473 
       
   474 private:
       
   475 	RA3FDevSoundRecordDataWithoutInitializeTest(const TDesC& aTestName);	
       
   476 	void DoKickoffTestL();
       
   477 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   478 	void DoTimerCallback();
       
   479 	};
       
   480 
       
   481 /*
       
   482  *========================================================================================================
       
   483  * MM-A3F-DEVSOUND-CHRTZ-INIT-0028
       
   484  */
       
   485 class RA3FDevSoundRecordInitWithoutInitializeTest: public RA3FDevSoundTestBase
       
   486 	{
       
   487 public:
       
   488 	static RA3FDevSoundRecordInitWithoutInitializeTest* NewL(const TDesC& aTestName);
       
   489 
       
   490 private:
       
   491 	RA3FDevSoundRecordInitWithoutInitializeTest(const TDesC& aTestName);	
       
   492 	void DoKickoffTestL();
       
   493 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   494 	};
       
   495 
       
   496 /*
       
   497  *========================================================================================================
       
   498  * MM-A3F-DEVSOUND-CHRTZ-INIT-0029
       
   499  */
       
   500 class RA3FDevSoundToneInitializationMoreThanOnceBeforeInitCompleteTest: public RA3FDevSoundTestBase
       
   501 	{
       
   502 public:
       
   503 	static RA3FDevSoundToneInitializationMoreThanOnceBeforeInitCompleteTest* NewL(const TDesC& aTestName);
       
   504 
       
   505 private:
       
   506 	RA3FDevSoundToneInitializationMoreThanOnceBeforeInitCompleteTest(const TDesC& aTestName);	
       
   507 	void DoKickoffTestL();
       
   508 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   509 	};
       
   510 
       
   511 /*
       
   512  *========================================================================================================
       
   513  * MM-A3F-DEVSOUND-CHRTZ-INIT-0030
       
   514  */
       
   515 class RA3FDevSoundPlayInitializationMoreThanOnceBeforeInitCompleteTest: public RA3FDevSoundTestBase
       
   516 	{
       
   517 public:
       
   518 	static RA3FDevSoundPlayInitializationMoreThanOnceBeforeInitCompleteTest* NewL(const TDesC& aTestName);
       
   519 
       
   520 private:
       
   521 	RA3FDevSoundPlayInitializationMoreThanOnceBeforeInitCompleteTest(const TDesC& aTestName);	
       
   522 	void DoKickoffTestL();
       
   523 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   524 	};
       
   525 
       
   526 /*
       
   527  *========================================================================================================
       
   528  * MM-A3F-DEVSOUND-CHRTZ-INIT-0031
       
   529  */
       
   530 class RA3FDevSoundRecordInitializationMoreThanOnceBeforeInitCompleteTest: public RA3FDevSoundTestBase
       
   531 	{
       
   532 public:
       
   533 	static RA3FDevSoundRecordInitializationMoreThanOnceBeforeInitCompleteTest* NewL(const TDesC& aTestName);
       
   534 
       
   535 private:
       
   536 	RA3FDevSoundRecordInitializationMoreThanOnceBeforeInitCompleteTest(const TDesC& aTestName);	
       
   537 	void DoKickoffTestL();
       
   538 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   539 	};	
       
   540 
       
   541 /*
       
   542  *========================================================================================================
       
   543  * MM-A3F-DEVSOUND-CHRTZ-INIT-0032
       
   544  */
       
   545 class RA3FDevSoundToneFirstInitializationLeavesThenSecondSucceeds: public RA3FDevSoundTestBase
       
   546 	{
       
   547 public:
       
   548 	static RA3FDevSoundToneFirstInitializationLeavesThenSecondSucceeds* NewL(const TDesC& aTestName);
       
   549 
       
   550 private:
       
   551 	RA3FDevSoundToneFirstInitializationLeavesThenSecondSucceeds(const TDesC& aTestName);	
       
   552 	void DoKickoffTestL();
       
   553 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   554 	};	
       
   555 
       
   556 /*
       
   557  *========================================================================================================
       
   558  * MM-A3F-DEVSOUND-CHRTZ-INIT-0033
       
   559  */
       
   560 class RA3FDevSoundPlayFirstInitializationLeavesThenSecondSucceeds: public RA3FDevSoundTestBase
       
   561 	{
       
   562 public:
       
   563 	static RA3FDevSoundPlayFirstInitializationLeavesThenSecondSucceeds* NewL(const TDesC& aTestName);
       
   564 
       
   565 private:
       
   566 	RA3FDevSoundPlayFirstInitializationLeavesThenSecondSucceeds(const TDesC& aTestName);	
       
   567 	void DoKickoffTestL();
       
   568 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   569 	};
       
   570 
       
   571 /*
       
   572  *========================================================================================================
       
   573  * MM-A3F-DEVSOUND-CHRTZ-INIT-0034
       
   574  */
       
   575 class RA3FDevSoundRecordFirstInitializationLeavesThenSecondSucceeds: public RA3FDevSoundTestBase
       
   576 	{
       
   577 public:
       
   578 	static RA3FDevSoundRecordFirstInitializationLeavesThenSecondSucceeds* NewL(const TDesC& aTestName);
       
   579 
       
   580 private:
       
   581 	RA3FDevSoundRecordFirstInitializationLeavesThenSecondSucceeds(const TDesC& aTestName);	
       
   582 	void DoKickoffTestL();
       
   583 	void Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError);
       
   584 	};	
       
   585 #endif //CHAR_A3F_DEVSOUND_INITIALIZATIONTEST_H
       
   586