devsound/a3fintegrationtest/src/tsi_a3f_devsound_testsuite.cpp
changeset 38 4269ca484c7b
parent 0 40261b775718
child 50 948c7f65f6d4
equal deleted inserted replaced
34:31d6e1ae5283 38:4269ca484c7b
    86  * - creates all the test steps and stores them inside CTestSuiteA3FDevSound
    86  * - creates all the test steps and stores them inside CTestSuiteA3FDevSound
    87  *
    87  *
    88  */
    88  */
    89 void CTestSuiteA3FDevSound::InitialiseL()
    89 void CTestSuiteA3FDevSound::InitialiseL()
    90 	{
    90 	{
    91 	const TUint32 KMMFFourCCCodeInvalid = 0x414d5111;
    91 	const TUint32 KMMFFourCCCodeInvalid = 0x414d5121;
    92 	TFourCC fourCCCodePCM8(KMMFFourCCCodePCM8);
    92 	TFourCC fourCCCodePCM8(KMMFFourCCCodePCM8);
    93 	TFourCC fourCCCodePCMU8(KMMFFourCCCodePCMU8);
    93 	TFourCC fourCCCodePCMU8(KMMFFourCCCodePCMU8);
    94 	TFourCC fourCCCodePCM16(KMMFFourCCCodePCM16);
    94 	TFourCC fourCCCodePCM16(KMMFFourCCCodePCM16);
    95 	TFourCC fourCCCodeMuLAW(KMMFFourCCCodeMuLAW);
    95 	TFourCC fourCCCodeMuLAW(KMMFFourCCCodeMuLAW);
    96 	TFourCC fourCCCodeInvalid(KMMFFourCCCodeInvalid);
    96 	TFourCC fourCCCodeInvalid(KMMFFourCCCodeInvalid);
   148 	AddTestStepL(RStepA3FDevSoundEmptyBuffersInInitializedState::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-I-0041"), _L("SectionPCM-0041"), fourCCCodePCM16));
   148 	AddTestStepL(RStepA3FDevSoundEmptyBuffersInInitializedState::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-I-0041"), _L("SectionPCM-0041"), fourCCCodePCM16));
   149 	AddTestStepL(RStepA3FDevSoundEmptyBuffersInInitializingState::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-I-0042"), _L("SectionPCM-0042"), fourCCCodePCM16));
   149 	AddTestStepL(RStepA3FDevSoundEmptyBuffersInInitializingState::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-I-0042"), _L("SectionPCM-0042"), fourCCCodePCM16));
   150 
   150 
   151 	// DevSound PCM - Long Play test cases
   151 	// DevSound PCM - Long Play test cases
   152 
   152 
   153 	AddTestStepL(RStepA3FDevSoundPlaySimple::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-LONG-I-0001"), _L("SectionPCM-Long-0001"), fourCCCodePCMU8));
   153 	AddTestStepL(RStepA3FDevSoundPlaySimple::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-LONG-I-0001"), _L("SectionPCM-Long-0001"), fourCCCodePCM16));
   154 
   154 
   155 	// DevSound PCM - Record test cases
   155 	// DevSound PCM - Record test cases
   156 
   156 
   157 	AddTestStepL(RStepA3FDevSoundRecordSimple::NewL(_L("MM-A3F-DEVSOUND-REC-PCM-I-0001"), _L("SectionPCM-0001"), fourCCCodePCM16));
   157 	AddTestStepL(RStepA3FDevSoundRecordSimple::NewL(_L("MM-A3F-DEVSOUND-REC-PCM-I-0001"), _L("SectionPCM-0001"), fourCCCodePCM16));
   158 	AddTestStepL(RStepA3FDevSoundRecordMultipleTimes::NewL(_L("MM-A3F-DEVSOUND-REC-PCM-I-0002"), _L("SectionPCM-0002"), fourCCCodePCM16));
   158 	AddTestStepL(RStepA3FDevSoundRecordMultipleTimes::NewL(_L("MM-A3F-DEVSOUND-REC-PCM-I-0002"), _L("SectionPCM-0002"), fourCCCodePCM16));