--- a/build.config.xml Fri Jul 09 13:09:11 2010 +0100
+++ b/build.config.xml Mon Aug 23 18:56:36 2010 +0100
@@ -130,17 +130,18 @@
<layer name="video_test_layer">
<module name="video_multimedia_test_component">
<unit name="mdfunittestcodecapi" unitID="sos.mdfunittestcodecapi" bldFile="&layer_real_source_path;/mmdevicefw/mdfunittest/codecapi/video/group" mrp=""/>
- <unit name="mdfunittestcodecapiPU" unitID="sos.mdfunittestcodecapiPU" bldFile="&layer_real_source_path;/mmdevicefw/mdfunittest/codecapi/PU/video/group" mrp=""/>
+ <unit name="mdfunittestcodecapiPU" unitID="sos.mdfunittestcodecapiPU" bldFile="&layer_real_source_path;/mmdevicefw/mdfunittest/codecapi/PU/video/group" mrp=""/>
+ <unit name="mdfunittestmain" unitID="sos.mdfunittestmain" bldFile="&layer_real_source_path;/mmdevicefw/mdfunittest/codecapi/codecapi/group" mrp=""/>
<unit name="lib3gpunittest" unitID="sos.lib3gpunittest" bldFile="&layer_real_source_path;/mmplugins/lib3gpunittest/group" mrp=""/>
<unit name="cameraunittest" unitID="sos.cameraunittest" bldFile="&layer_real_source_path;/imagingandcamerafws/cameraunittest/group" mrp=""/>
+ <unit name="cameraplugin" unitID="sos.cameraplugin" bldFile="&layer_real_source_path;/mmplugins/cameraplugins/group" mrp=""/>
<unit name="VideoUnitTest" unitID="sos.VideoUnitTest" bldFile="&layer_real_source_path;/mmlibs/mmfw/tsrc/mmfunittest/group/VideoGroup" mrp=""/>
<unit name="xvidcore" unitID="sos.xvidcore" bldFile="sf\xvidhwdevice\group" mrp=""/>
<unit name="xvidpu" unitID="sos.xvidpu" bldFile="sf\xvidpu\group" mrp=""/>
- <!--unit name="dvbhreceiverhai" unitID="sos.dvbhreceiverhai" bldFile="&layer_real_source_path;/mmhais/dvbhreceiverhai/hai/dvbh/group" mrp=""/-->
- <!--unit name="dvbhunittest" unitID="sos.dvbhunittest" bldFile="&layer_real_source_path;/mmhais/dvbhunittest/hai/dvbh/group" mrp=""/-->
- <!--unit name="mvsintegrationtest" unitID="sos.mvsintegrationtest" bldFile="&layer_real_source_path;/mmlibs/mmfw/tsrc/mmvalidationsuite/mvsintegrationtest/group" mrp=""/-->
<unit name="VideoIntegrationTest" unitID="sos.VideoIntegrationTest" bldFile="&layer_real_source_path;/mmlibs/mmfw/tsrc/mmfintegrationtest/group/VideoGroup" mrp=""/>
- </module>
+ <unit name="mvsintegrationtest" unitID="sos.mvsintegrationtest" bldFile="&layer_real_source_path;/mmlibs/mmfw/tsrc/mmvalidationsuite/mvsintegrationtest/group" mrp=""/>
+ <unit name="mvsintegrationtestagnts" unitID="sos.mvsintegrationtestagnt" bldFile="&layer_real_source_path;/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteagents/group" mrp=""/>
+ </module>
</layer>
<layer name="imaging_test_layer">
<module name="imaging_multimedia_test_component">
--- a/devsound/a3fcharacterisationtest/scripts/mm_a3f_devsound_play_tone_reference_hw.ini Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/a3fcharacterisationtest/scripts/mm_a3f_devsound_play_tone_reference_hw.ini Mon Aug 23 18:56:36 2010 +0100
@@ -118,7 +118,7 @@
FrequencyTone1 = 440
[MM-A3F-DEVSOUND-CHRTZ-TONE-0024]
-ExCapRate = 1
+ExCapRate = 4095
ExCapChannels = 3
[MM-A3F-DEVSOUND-CHRTZ-TONE-0025]
@@ -135,7 +135,7 @@
[MM-A3F-DEVSOUND-CHRTZ-TONE-0028]
Duration = 5
FrequencyTone1 = 440
-ExCapRate = 1
+ExCapRate = 4095
ExCapChannels = 3
[MM-A3F-DEVSOUND-CHRTZ-TONE-0029]
@@ -157,7 +157,7 @@
[MM-A3F-DEVSOUND-CHRTZ-TONE-0032]
Duration = 5
FrequencyTone1 = 440
-ExCapRate = 1
+ExCapRate = 4095
ExCapChannels = 3
[MM-A3F-DEVSOUND-CHRTZ-TONE-0033]
--- a/devsound/a3fcharacterisationtest/scripts/mm_a3f_devsound_record_raw_reference_hw.ini Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/a3fcharacterisationtest/scripts/mm_a3f_devsound_record_raw_reference_hw.ini Mon Aug 23 18:56:36 2010 +0100
@@ -100,7 +100,7 @@
[MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0022]
ExCapChannels = 3
-ExCapRate = 127
+ExCapRate = 1663
Duration = 2
Filename = c:\char_a3f_devsound_test_data\record_22.raw
FourccCode = P16
--- a/devsound/a3fcharacterisationtest/src/char_a3f_devsound_compliancesuiteconstants.h Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/a3fcharacterisationtest/src/char_a3f_devsound_compliancesuiteconstants.h Mon Aug 23 18:56:36 2010 +0100
@@ -108,7 +108,7 @@
EFsmIncorrectErrorPassed = 0,
EInvalidCallbackCall
};
-
+
// DevSound events
enum TMmfDevSoundEvent
{
@@ -147,42 +147,59 @@
User::Panic(aCategory, aReason);
}
-const TUint8 KFixedSequenceTestSequenceDataX[]=
- {
- 0x53, 0x51, 0x4E, 0x43, // HEADER
- 0xFE, 0xFF, // -2 STARTLOOP INDICATOR
- 0x0A, 0x00, // Number of times that the sequence will be played
- /* Tone Data constitutes the following:
- ToneDur, Freq1, Vol1, Freq2 Vol2
- The sequence is arranged in blocks of 8 bits to represent 16 bit values,
- which allows more dynamic range, frequency and time values.
- The tag Low and High mean low and high byte block.
- Low Hi Low Hi Low Hi Low Hi Low Hi
- */
- 0x64, 0x00, 0xB8, 0x01, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0xD2, 0x01, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0xEE, 0x01, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0x0B, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0x2A, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0x4B, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0x6E, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0x93, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0xBA, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0xE4, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0x3F, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0x70, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0xA4, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0xDC, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- 0x64, 0x00, 0x17, 0x04, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
- // Silence
- // ToneDur, Freq1, Vol1, Freq2 Vol2
- 0x70, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0xFD, 0xFF, // -3 ENDOFLOOP INDICATOR
- // Another silence
- // ToneDur, Freq1, Vol1, Freq2 Vol2
- 0x70, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0xFF, 0xFF // -1 SEQ_CMD_RET INDICATOR
- };
+#ifdef MM_TB101_L
+ // Valid data for tone sequence. This code should be used for non-ref tests. This is a valid tone sequence for HW
+ const TUint8 KFixedSequenceTestSequenceDataX[]=
+ {
+ 0x02, 0x4A, 0x3A, 0x69, 0x39, 0xBD, 0xAD, 0xA5,
+ 0x84, 0x81, 0xD1, 0xD5, 0xB9, 0x94, 0x04, 0x00,
+ 0x27, 0x34, 0x41, 0x0B, 0x2A, 0x82, 0x68, 0x51,
+ 0x72, 0x19, 0x22, 0xC9, 0x21, 0x47, 0x10, 0x4C,
+ 0x85, 0x48, 0x71, 0x06, 0x90, 0x48, 0x85, 0x48,
+ 0x68, 0x20, 0x00
+ };
+#else
+ // Valid data for tone sequence for reference platform. Below tone data may not work for HW devices
+ const TUint8 KFixedSequenceTestSequenceDataX[]=
+ {
+ 0x53, 0x51, 0x4E, 0x43, // HEADER
+ 0xFE, 0xFF, // -2 STARTLOOP INDICATOR
+ 0x0A, 0x00, // Number of times that the sequence will be played
+ /* Tone Data constitutes the following:
+ ToneDur, Freq1, Vol1, Freq2 Vol2
+ The sequence is arranged in blocks of 8 bits to represent 16 bit values,
+ which allows more dynamic range, frequency and time values.
+ The tag Low and High mean low and high byte block.
+ Low Hi Low Hi Low Hi Low Hi Low Hi
+ */
+ 0x64, 0x00, 0xB8, 0x01, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0xD2, 0x01, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0xEE, 0x01, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0x0B, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0x2A, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0x4B, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0x6E, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0x93, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0xBA, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0xE4, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0x3F, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0x70, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0xA4, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0xDC, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x00, 0x17, 0x04, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00,
+ // Silence
+ // ToneDur, Freq1, Vol1, Freq2 Vol2
+ 0x70, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0xFD, 0xFF, // -3 ENDOFLOOP INDICATOR
+ // Another silence
+ // ToneDur, Freq1, Vol1, Freq2 Vol2
+ 0x70, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0xFF, 0xFF // -1 SEQ_CMD_RET INDICATOR
+ };
+
+
+#endif//#if defined(MM_TB101_L)
+
#endif // CHAR_A3F_DEVSOUND_COMPLIANCESUITECONSTANTS_H
--- a/devsound/a3fcharacterisationtest/src/char_a3f_devsound_recordtest.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/a3fcharacterisationtest/src/char_a3f_devsound_recordtest.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -23,8 +23,8 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0001
*/
RA3FDevSoundRecordConfigurationSetConfigTest::RA3FDevSoundRecordConfigurationSetConfigTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
- iSampleRate(0),
+ : RA3FDevSoundTestBase(aTestName),
+ iSampleRate(0),
iChannels(0)
{
}
@@ -37,13 +37,13 @@
void RA3FDevSoundRecordConfigurationSetConfigTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KSampleRate, iSampleRate) )
+ if ( !GetIntFromConfig(iTestStepName, KSampleRate, iSampleRate) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KSampleRate);
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- if ( !GetIntFromConfig(iTestStepName, KChannel, iChannels) )
+ if ( !GetIntFromConfig(iTestStepName, KChannel, iChannels) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KChannel);
StopTest(KErrNotFound, ETestSuiteError);
@@ -109,12 +109,12 @@
StopTest(err);
break;
}
-
+
INFO_PRINTF1(_L("Getting DevSound capabilities for verifying."));
TMMFCapabilities getCapabilities = iMMFDevSound->Config();
if ((capabilities.iRate != getCapabilities.iRate)||(capabilities.iChannels != getCapabilities.iChannels))
{
- ERR_PRINTF3(_L("Configuration of DevSound object does not match with set capabilities! Rate = %u Channels = %u "),
+ ERR_PRINTF3(_L("Configuration of DevSound object does not match with set capabilities! Rate = %u Channels = %u "),
getCapabilities.iRate, getCapabilities.iChannels);
StopTest(err, EFail);
}
@@ -123,7 +123,7 @@
INFO_PRINTF3(_L("DevSound configuration is a match rate = %u channels = %u"), getCapabilities.iRate, getCapabilities.iChannels);
StopTest();
}
-
+
}
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
@@ -150,7 +150,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0002
*/
RA3FDevSoundRecordConfigurationSetPriorityTest::RA3FDevSoundRecordConfigurationSetPriorityTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iPriority(EMdaPriorityNormal)
{
}
@@ -163,7 +163,7 @@
void RA3FDevSoundRecordConfigurationSetPriorityTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KPriority, iPriority) )
+ if ( !GetIntFromConfig(iTestStepName, KPriority, iPriority) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KPriority);
StopTest(KErrNotFound, ETestSuiteError);
@@ -242,7 +242,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0003
*/
RA3FDevSoundRecordConfigurationSetGainTest::RA3FDevSoundRecordConfigurationSetGainTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iGain(0)
{
}
@@ -261,7 +261,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
-
+
TPtrC fourccCode;
if ( !GetStringFromConfig(iTestStepName, KFourccCode, fourccCode) )
{
@@ -303,17 +303,17 @@
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
- INFO_PRINTF2( _L("Setting the input gain to %d using iMMFDevSound->SetGain"),iGain);
+ INFO_PRINTF2( _L("Setting the input gain to %d using iMMFDevSound->SetGain"),iGain);
iMMFDevSound->SetGain(iGain);
-
+
INFO_PRINTF1(_L("Call Gain() for verifying."));
TInt getGain = iMMFDevSound->Gain();
-
+
if (iGain != getGain)
{
- ERR_PRINTF2(_L("Configuration of DevSound object does not match with set gain! Gain = %d"),
+ ERR_PRINTF2(_L("Configuration of DevSound object does not match with set gain! Gain = %d"),
getGain);
- ERR_PRINTF2(_L("Expected Gain = %d"),
+ ERR_PRINTF2(_L("Expected Gain = %d"),
iGain);
StopTest(aError, EFail);
}
@@ -322,7 +322,7 @@
INFO_PRINTF2(_L("Gain has the expected value = %d"), getGain);
StopTest();
}
-
+
}
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
@@ -349,7 +349,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0004
*/
RA3FDevSoundRecordConfigurationSetRecordBalanceTest::RA3FDevSoundRecordConfigurationSetRecordBalanceTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iLRecordBalance(0), iRRecordBalance(0)
{
}
@@ -415,8 +415,8 @@
case EStateInitializing:
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
- {
- INFO_PRINTF3(_L("Calling iMMFDevSound->SetRecordBalanceL using the corresponding values %d and %d"),iLRecordBalance,iRRecordBalance);
+ {
+ INFO_PRINTF3(_L("Calling iMMFDevSound->SetRecordBalanceL using the corresponding values %d and %d"),iLRecordBalance,iRRecordBalance);
TRAPD(err,iMMFDevSound->SetRecordBalanceL(iLRecordBalance, iRRecordBalance));
if (err != KErrNone)
{
@@ -424,7 +424,7 @@
StopTest(err);
break;
}
-
+
INFO_PRINTF1(_L("Call GetRecordBalanceL for verifying."));
TInt getLRecordBalance;
TInt getRRecordBalance;
@@ -437,13 +437,13 @@
}
if ((iLRecordBalance != getLRecordBalance)||(iRRecordBalance != getRRecordBalance))
{
- ERR_PRINTF3(_L("Configuration of DevSound object does not match with set balance! LRecordBalance = %d RRecordBalance = %d"),
+ ERR_PRINTF3(_L("Configuration of DevSound object does not match with set balance! LRecordBalance = %d RRecordBalance = %d"),
getLRecordBalance, getRRecordBalance);
StopTest(aError, EFail);
}
else
{
- INFO_PRINTF3(_L("Balance configuration matches left balance = %d right balance = %d"),
+ INFO_PRINTF3(_L("Balance configuration matches left balance = %d right balance = %d"),
getLRecordBalance, getRRecordBalance);
StopTest();
}
@@ -473,7 +473,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0005
*/
RA3FDevSoundRecordSetGainWhileRecordingTest::RA3FDevSoundRecordSetGainWhileRecordingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName), iDuration(0),
+ : RA3FDevSoundTestBase(aTestName), iDuration(0),
iCalledSetGain(EFalse)
{
}
@@ -486,7 +486,7 @@
void RA3FDevSoundRecordSetGainWhileRecordingTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -499,7 +499,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
INFO_PRINTF2(_L("Opening file for recording %S"), &fileNameType);
@@ -555,12 +555,12 @@
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
-
+
INFO_PRINTF2(_L("Calling SetGain to initial value of %d"), iMMFDevSound->MaxGain()/2);
iMMFDevSound->SetGain(iMMFDevSound->MaxGain()/2);
-
+
INFO_PRINTF1(_L("Calling iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -570,7 +570,7 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
@@ -593,7 +593,7 @@
{
// Write buffer to file
INFO_PRINTF1(_L("Writing data to file"));
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else if(aDevSoundEvent == EEventTimerComplete)
@@ -614,7 +614,7 @@
{
if (aDevSoundEvent == EEventBTBE)
{
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else
@@ -639,7 +639,7 @@
{
INFO_PRINTF2(_L("Calling SetGain to value of %d"), iMMFDevSound->MaxGain());
iMMFDevSound->SetGain(iMMFDevSound->MaxGain());
-
+
INFO_PRINTF2(_L("Calling Gain to verify gain value"), iMMFDevSound->MaxGain());
TInt gain = iMMFDevSound->Gain();
if(gain != iMMFDevSound->MaxGain())
@@ -724,14 +724,14 @@
break;
}
case EStateInitializing:
- {
+ {
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
TInt maxGain = iMMFDevSound->MaxGain();
- INFO_PRINTF2(_L("MaxGain returns a value of %d"),maxGain);
- INFO_PRINTF2(_L("Call iMMFDevSound->SetGain using the gain value %d"),iGain + maxGain);
+ INFO_PRINTF2(_L("MaxGain returns a value of %d"),maxGain);
+ INFO_PRINTF2(_L("Call iMMFDevSound->SetGain using the gain value %d"),iGain + maxGain);
iMMFDevSound->SetGain(iGain+iMMFDevSound->MaxGain());
-
+
INFO_PRINTF1(_L("Call Gain() for verifying."));
if(iMMFDevSound->Gain() == iMMFDevSound->MaxGain())
{
@@ -831,10 +831,10 @@
break;
}
case EStateInitializing:
- {
+ {
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
- {
- INFO_PRINTF2(_L("Call iMMFDevSound->SetGain using the negative gain value %d"),iGain);
+ {
+ INFO_PRINTF2(_L("Call iMMFDevSound->SetGain using the negative gain value %d"),iGain);
iMMFDevSound->SetGain(iGain);
INFO_PRINTF1(_L("Call Gain() for verifying."));
TInt gainGet = iMMFDevSound->Gain();
@@ -900,7 +900,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
-
+
TPtrC fourccCode;
if ( !GetStringFromConfig(iTestStepName, KFourccCode, fourccCode) )
{
@@ -939,10 +939,10 @@
break;
}
case EStateInitializing:
- {
+ {
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
- INFO_PRINTF3(_L("Calling SetRecordBalanceL using values beyond upper boundaries: left = %d right = %d"), iLRecordBalance, iRRecordBalance);
+ INFO_PRINTF3(_L("Calling SetRecordBalanceL using values beyond upper boundaries: left = %d right = %d"), iLRecordBalance, iRRecordBalance);
TRAPD(err,iMMFDevSound->SetRecordBalanceL(iLRecordBalance, iRRecordBalance));
if (err != KErrNone)
{
@@ -950,7 +950,7 @@
StopTest(err);
break;
}
-
+
INFO_PRINTF1(_L("Call GetRecordBalanceL() for verifying."));
TRAP(err,iMMFDevSound->GetRecordBalanceL(iLRecordBalance, iRRecordBalance));
if (err != KErrNone)
@@ -1074,7 +1074,7 @@
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
- INFO_PRINTF3(_L("Calling CMMFDevSound::SetRecordBalanceL using negative values %d and %d"),iLRecordBalance, iRRecordBalance);
+ INFO_PRINTF3(_L("Calling CMMFDevSound::SetRecordBalanceL using negative values %d and %d"),iLRecordBalance, iRRecordBalance);
TRAPD(err,iMMFDevSound->SetRecordBalanceL(iLRecordBalance, iRRecordBalance));
if (err != KErrNone)
{
@@ -1131,7 +1131,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0010
*/
RA3FDevSoundRecordConfigurationSetGainWhenInitToPlayAudioTest::RA3FDevSoundRecordConfigurationSetGainWhenInitToPlayAudioTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iGain(0), iInitializedToRecord(EFalse)
{
}
@@ -1150,7 +1150,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
-
+
TPtrC fourccCode;
if ( !GetStringFromConfig(iTestStepName, KFourccCode, fourccCode) )
{
@@ -1195,9 +1195,9 @@
if (iInitializedToRecord == EFalse)
{
INFO_PRINTF1(_L("DevSound Initialized to play audio."));
- INFO_PRINTF2( _L("Setting the input gain to %d using iMMFDevSound->SetGain"),iGain);
+ INFO_PRINTF2( _L("Setting the input gain to %d using iMMFDevSound->SetGain"),iGain);
iMMFDevSound->SetGain(iGain);
-
+
INFO_PRINTF1(_L("Calling CMMFDevSound::InitializeL to Record Audio"));
TRAPD(err, iMMFDevSound->InitializeL(*this,iFourCCCode,EMMFStateRecording));
if (err != KErrNone)
@@ -1213,17 +1213,17 @@
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
INFO_PRINTF1(_L("Call Gain() for verifying."));
TInt getGain = iMMFDevSound->Gain();
-
+
if (iGain != getGain)
{
- ERR_PRINTF2(_L("Configuration of DevSound object does not match with set gain! Gain = %d"),
+ ERR_PRINTF2(_L("Configuration of DevSound object does not match with set gain! Gain = %d"),
getGain);
ERR_PRINTF2(_L("Expected Gain = %d"), iGain);
StopTest(aError, EFail);
}
else
{
- INFO_PRINTF2(_L("Gain value is as expected = %d"),
+ INFO_PRINTF2(_L("Gain value is as expected = %d"),
getGain);
StopTest();
}
@@ -1254,7 +1254,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0011
*/
RA3FDevSoundRecordConfigurationSetGainWhenInitToPlayTonesTest::RA3FDevSoundRecordConfigurationSetGainWhenInitToPlayTonesTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iGain(0), iInitializedToRecord(EFalse)
{
}
@@ -1273,7 +1273,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
-
+
TPtrC fourccCode;
if ( !GetStringFromConfig(iTestStepName, KFourccCode, fourccCode) )
{
@@ -1318,9 +1318,9 @@
if (iInitializedToRecord == EFalse)
{
INFO_PRINTF1(_L("DevSound Initialized to play tones."));
- INFO_PRINTF2( _L("Setting the input gain to %d using iMMFDevSound->SetGain"),iGain);
+ INFO_PRINTF2( _L("Setting the input gain to %d using iMMFDevSound->SetGain"),iGain);
iMMFDevSound->SetGain(iGain);
-
+
INFO_PRINTF1(_L("Calling CMMFDevSound::InitializeL to Record Audio"));
TRAPD(err, iMMFDevSound->InitializeL(*this,iFourCCCode,EMMFStateRecording));
if (err != KErrNone)
@@ -1336,17 +1336,17 @@
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
INFO_PRINTF1(_L("Call Gain() for verifying."));
TInt getGain = iMMFDevSound->Gain();
-
+
if (iGain != getGain)
{
- ERR_PRINTF2(_L("Configuration of DevSound object does not match with set gain! Gain = %d"),
+ ERR_PRINTF2(_L("Configuration of DevSound object does not match with set gain! Gain = %d"),
getGain);
ERR_PRINTF2(_L("Expected Gain = %d"), iGain);
StopTest(aError, EFail);
}
else
{
- INFO_PRINTF2(_L("Gain value is as expected = %d"),
+ INFO_PRINTF2(_L("Gain value is as expected = %d"),
getGain);
StopTest();
}
@@ -1377,9 +1377,9 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0012
*/
RA3FDevSoundRecordConfigurationSetRecordBalanceWhenInitToPlayAudioTest::RA3FDevSoundRecordConfigurationSetRecordBalanceWhenInitToPlayAudioTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
- iLRecordBalance(0),
- iRRecordBalance(0),
+ : RA3FDevSoundTestBase(aTestName),
+ iLRecordBalance(0),
+ iRRecordBalance(0),
iInitializedToRecord(EFalse)
{
}
@@ -1404,7 +1404,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
-
+
TPtrC fourccCode;
if ( !GetStringFromConfig(iTestStepName, KFourccCode, fourccCode) )
{
@@ -1449,8 +1449,8 @@
if (iInitializedToRecord == EFalse)
{
INFO_PRINTF1(_L("DevSound Initialized to play audio."));
-
- INFO_PRINTF3(_L("Calling iMMFDevSound->SetRecordBalanceL using the corresponding values %d and %d"),iLRecordBalance,iRRecordBalance);
+
+ INFO_PRINTF3(_L("Calling iMMFDevSound->SetRecordBalanceL using the corresponding values %d and %d"),iLRecordBalance,iRRecordBalance);
TRAPD(err,iMMFDevSound->SetRecordBalanceL(iLRecordBalance, iRRecordBalance));
if (err != KErrNone)
{
@@ -1458,7 +1458,7 @@
StopTest(err);
break;
}
-
+
INFO_PRINTF1(_L("Calling CMMFDevSound::InitializeL to Record Audio"));
TRAP(err, iMMFDevSound->InitializeL(*this,iFourCCCode,EMMFStateRecording));
if (err != KErrNone)
@@ -1472,7 +1472,7 @@
else
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
-
+
INFO_PRINTF1(_L("Call GetRecordBalanceL for verifying."));
TInt getLRecordBalance;
TInt getRRecordBalance;
@@ -1485,17 +1485,17 @@
}
if ((iLRecordBalance != getLRecordBalance)||(iRRecordBalance != getRRecordBalance))
{
- ERR_PRINTF3(_L("Configuration of DevSound object does not match with set balance! LRecordBalance = %d RRecordBalance = %d"),
+ ERR_PRINTF3(_L("Configuration of DevSound object does not match with set balance! LRecordBalance = %d RRecordBalance = %d"),
getLRecordBalance, getRRecordBalance);
StopTest(aError, EFail);
}
else
{
- INFO_PRINTF3(_L("Balance values are as expected, Left = %d Right = %d"),
+ INFO_PRINTF3(_L("Balance values are as expected, Left = %d Right = %d"),
getLRecordBalance, getRRecordBalance);
StopTest();
}
-
+
}
}
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
@@ -1523,9 +1523,9 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0013
*/
RA3FDevSoundRecordConfigurationSetRecordBalanceWhenInitToPlayTonesTest::RA3FDevSoundRecordConfigurationSetRecordBalanceWhenInitToPlayTonesTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
- iLRecordBalance(0),
- iRRecordBalance(0),
+ : RA3FDevSoundTestBase(aTestName),
+ iLRecordBalance(0),
+ iRRecordBalance(0),
iInitializedToRecord(EFalse)
{
}
@@ -1550,7 +1550,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
-
+
TPtrC fourccCode;
if ( !GetStringFromConfig(iTestStepName, KFourccCode, fourccCode) )
{
@@ -1595,8 +1595,8 @@
if (iInitializedToRecord == EFalse)
{
INFO_PRINTF1(_L("DevSound Initialized to play tones."));
-
- INFO_PRINTF3(_L("Calling iMMFDevSound->SetRecordBalanceL using the corresponding values %d and %d"),iLRecordBalance,iRRecordBalance);
+
+ INFO_PRINTF3(_L("Calling iMMFDevSound->SetRecordBalanceL using the corresponding values %d and %d"),iLRecordBalance,iRRecordBalance);
TRAPD(err,iMMFDevSound->SetRecordBalanceL(iLRecordBalance, iRRecordBalance));
if (err != KErrNone)
{
@@ -1604,7 +1604,7 @@
StopTest(err);
break;
}
-
+
INFO_PRINTF1(_L("Calling CMMFDevSound::InitializeL to Record Audio"));
TRAP(err, iMMFDevSound->InitializeL(*this,iFourCCCode,EMMFStateRecording));
if (err != KErrNone)
@@ -1618,7 +1618,7 @@
else
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
-
+
INFO_PRINTF1(_L("Call GetRecordBalanceL for verifying."));
TInt getLRecordBalance;
TInt getRRecordBalance;
@@ -1631,17 +1631,17 @@
}
if ((iLRecordBalance != getLRecordBalance)||(iRRecordBalance != getRRecordBalance))
{
- ERR_PRINTF3(_L("Configuration of DevSound object does not match with set balance! LRecordBalance = %d RRecordBalance = %d"),
+ ERR_PRINTF3(_L("Configuration of DevSound object does not match with set balance! LRecordBalance = %d RRecordBalance = %d"),
getLRecordBalance, getRRecordBalance);
StopTest(aError, EFail);
}
else
{
- INFO_PRINTF3(_L("Balance values are as expected, Left = %d Right = %d"),
+ INFO_PRINTF3(_L("Balance values are as expected, Left = %d Right = %d"),
getLRecordBalance, getRRecordBalance);
StopTest();
}
-
+
}
}
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
@@ -1669,9 +1669,9 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0014
*/
RA3FDevSoundCallSetConfigLWhileRecordingConfigurationTest::RA3FDevSoundCallSetConfigLWhileRecordingConfigurationTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0),
- iSampleRate(0),
+ iSampleRate(0),
iChannels(0),
iCallConfig(EFalse)
{
@@ -1685,19 +1685,19 @@
void RA3FDevSoundCallSetConfigLWhileRecordingConfigurationTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KSampleRate, iSampleRate) )
+ if ( !GetIntFromConfig(iTestStepName, KSampleRate, iSampleRate) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KSampleRate);
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- if ( !GetIntFromConfig(iTestStepName, KChannel, iChannels) )
+ if ( !GetIntFromConfig(iTestStepName, KChannel, iChannels) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KChannel);
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -1710,7 +1710,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
INFO_PRINTF2(_L("Opening file for recording %S"), &fileNameType);
@@ -1766,9 +1766,9 @@
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
-
+
INFO_PRINTF1(_L("Calling iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -1778,7 +1778,7 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
@@ -1860,7 +1860,7 @@
iCallConfig = ETrue;
}
}
-
+
/*
*========================================================================================================
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0015
@@ -1918,13 +1918,13 @@
case EStateInitializing:
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
- {
+ {
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
-
+
INFO_PRINTF1(_L("Calling query method Capabilities()"));
TMMFCapabilities capabilities = iMMFDevSound->Capabilities();
PrintSupportedCapabilities(capabilities.iRate, capabilities.iChannels);
-
+
StopTest();
}
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
@@ -2143,11 +2143,11 @@
case EStateInitializing:
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
- {
+ {
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
TInt getLRecordBalance = 0;
TInt getRRecordBalance = 0;
-
+
INFO_PRINTF1(_L("Calling query method GetRecordBalanceL()"));
TRAPD(err,iMMFDevSound->GetRecordBalanceL(getLRecordBalance, getRRecordBalance));
if (err != KErrNone)
@@ -2247,11 +2247,11 @@
case EStateInitializing:
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
- {
+ {
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
-
+
INFO_PRINTF1(_L("Calling query method GetSupportedOutputDataTypesL()"));
-
+
TMMFPrioritySettings prioritySettings;
TRAPD(err,iMMFDevSound->GetSupportedOutputDataTypesL(iSupportedFourCCs,prioritySettings));
if (err != KErrNone)
@@ -2382,9 +2382,9 @@
case EStateInitializing:
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
- {
+ {
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
-
+
INFO_PRINTF1(_L("Calling query method MaxGain()"));
TInt maxGain = iMMFDevSound->MaxGain();
INFO_PRINTF2(_L("Record Max Gain %d"), maxGain);
@@ -2483,13 +2483,13 @@
case EStateInitializing:
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
- {
+ {
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
-
+
INFO_PRINTF1(_L("Calling query method SamplesRecorded()"));
TInt samplesRecorded = iMMFDevSound->SamplesRecorded();
INFO_PRINTF2(_L("Samples Recorded %d"), samplesRecorded);
-
+
if(samplesRecorded == iExSamplesRecorded)
{
INFO_PRINTF1(_L("Samples Recorded match the expected value"));
@@ -2578,12 +2578,12 @@
case EStateInitializing:
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
- {
+ {
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
-
+
INFO_PRINTF1(_L("Calling query method Gain()"));
INFO_PRINTF2(_L("Current Gain = %d"),iMMFDevSound->Gain());
- if(iMMFDevSound->Gain() == iMMFDevSound->MaxGain()/2)
+ if(iMMFDevSound->Gain() == (iMMFDevSound->MaxGain()+1)/2)
{
INFO_PRINTF2(_L("Gain equals the expected default value of MaxGain/2 = %d"),iMMFDevSound->MaxGain()/2);
StopTest();
@@ -2619,8 +2619,8 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0022
*/
RA3FDevSoundQueryRecordCapabilitiesWhileRecordingTest::RA3FDevSoundQueryRecordCapabilitiesWhileRecordingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
- iDuration(0),
+ : RA3FDevSoundTestBase(aTestName),
+ iDuration(0),
iQueryRecordingSettings(EFalse),
iExCapChannels(0),
iExCapRate(0)
@@ -2635,19 +2635,19 @@
void RA3FDevSoundQueryRecordCapabilitiesWhileRecordingTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KExCapChannels, iExCapChannels) )
+ if ( !GetIntFromConfig(iTestStepName, KExCapChannels, iExCapChannels) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KExCapChannels);
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- if ( !GetIntFromConfig(iTestStepName, KExCapRate, iExCapRate) )
+ if ( !GetIntFromConfig(iTestStepName, KExCapRate, iExCapRate) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KExCapRate);
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -2660,7 +2660,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
INFO_PRINTF2(_L("Opening file for recording %S"), &fileNameType);
@@ -2717,7 +2717,7 @@
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
INFO_PRINTF1(_L("Calling iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -2727,7 +2727,7 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
@@ -2750,7 +2750,7 @@
{
// Write buffer to file
INFO_PRINTF1(_L("Writing data to file"));
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else if(aDevSoundEvent == EEventTimerComplete)
@@ -2771,7 +2771,7 @@
{
if (aDevSoundEvent == EEventBTBE)
{
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else
@@ -2824,7 +2824,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0023
*/
RA3FDevSoundQueryRecordConfigWhileRecordingTest::RA3FDevSoundQueryRecordConfigWhileRecordingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName), iDuration(0),
+ : RA3FDevSoundTestBase(aTestName), iDuration(0),
iQueryRecordingSettings(EFalse), iExCapRate(0),
iExCapChannels(0)
{
@@ -2838,7 +2838,7 @@
void RA3FDevSoundQueryRecordConfigWhileRecordingTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -2851,7 +2851,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
INFO_PRINTF2(_L("Opening file for recording %S"), &fileNameType);
@@ -2920,7 +2920,7 @@
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
INFO_PRINTF1(_L("Calling iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -2930,7 +2930,7 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
@@ -3045,7 +3045,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0024
*/
RA3FDevSoundQueryRecordBalanceWhileRecordingTest::RA3FDevSoundQueryRecordBalanceWhileRecordingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName), iDuration(0),
+ : RA3FDevSoundTestBase(aTestName), iDuration(0),
iQueryRecordingSettings(EFalse),
iExLRecordBalance(0),
iExRRecordBalance(0)
@@ -3072,7 +3072,7 @@
StopTest(KErrNotFound);
return;
}
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -3085,7 +3085,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
INFO_PRINTF2(_L("Opening file for recording %S"), &fileNameType);
@@ -3142,7 +3142,7 @@
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
INFO_PRINTF1(_L("Calling iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -3152,7 +3152,7 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
@@ -3175,7 +3175,7 @@
{
// Write buffer to file
INFO_PRINTF1(_L("Writing data to file"));
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else if(aDevSoundEvent == EEventTimerComplete)
@@ -3196,7 +3196,7 @@
{
if (aDevSoundEvent == EEventBTBE)
{
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else
@@ -3220,7 +3220,7 @@
if(!iQueryRecordingSettings)
{
INFO_PRINTF1(_L("Calling query method GetRecordBalanceL() while recording"));
-
+
TInt getLRecordBalance = 0;
TInt getRRecordBalance = 0;
TRAPD(err, iMMFDevSound->GetRecordBalanceL(getLRecordBalance, getRRecordBalance));
@@ -3256,7 +3256,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0025
*/
RA3FDevSoundQueryRecordSupportedOutputDataTypesWhileRecordingTest::RA3FDevSoundQueryRecordSupportedOutputDataTypesWhileRecordingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName), iDuration(0),
+ : RA3FDevSoundTestBase(aTestName), iDuration(0),
iQueryRecordingSettings(EFalse),
iCurrentTypeInTest(0)
{
@@ -3270,7 +3270,7 @@
void RA3FDevSoundQueryRecordSupportedOutputDataTypesWhileRecordingTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -3283,7 +3283,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
INFO_PRINTF2(_L("Opening file for recording %S"), &fileNameType);
@@ -3342,7 +3342,7 @@
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
INFO_PRINTF1(_L("Calling iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -3403,7 +3403,7 @@
{
// Write buffer to file
INFO_PRINTF1(_L("Writing data to file"));
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else if(aDevSoundEvent == EEventTimerComplete)
@@ -3424,7 +3424,7 @@
{
if (aDevSoundEvent == EEventBTBE)
{
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else
@@ -3448,7 +3448,7 @@
if(!iQueryRecordingSettings)
{
INFO_PRINTF1(_L("Calling query method GetSupportedOutputDataTypesL() while recording"));
-
+
TMMFPrioritySettings prioritySettings;
TRAPD(err,iMMFDevSound->GetSupportedOutputDataTypesL(iSupportedFourCCs,prioritySettings));
if (err != KErrNone)
@@ -3467,9 +3467,9 @@
}
INFO_PRINTF3(_L("Supported Input Data types: 0x%x %S "), fourCC.FourCC(), &name);
}
-
+
iQueryRecordingSettings = ETrue;
-
+
}
else
{
@@ -3510,7 +3510,7 @@
{
INFO_PRINTF1(_L("DevSound Event: EEventBTBE"));
Fsm(EEventBTBE, KErrNone);
- }
+ }
}
/*
@@ -3518,7 +3518,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0026
*/
RA3FDevSoundQueryRecordMaxGainWhileRecordingTest::RA3FDevSoundQueryRecordMaxGainWhileRecordingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName), iDuration(0),
+ : RA3FDevSoundTestBase(aTestName), iDuration(0),
iQueryRecordingSettings(EFalse),
iExGain(0)
{
@@ -3538,7 +3538,7 @@
StopTest(KErrNotFound);
return;
}
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -3551,7 +3551,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
INFO_PRINTF2(_L("Opening file for recording %S"), &fileNameType);
@@ -3608,7 +3608,7 @@
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
INFO_PRINTF1(_L("Calling iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -3618,7 +3618,7 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
@@ -3641,7 +3641,7 @@
{
// Write buffer to file
INFO_PRINTF1(_L("Writing data to file"));
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else if(aDevSoundEvent == EEventTimerComplete)
@@ -3662,7 +3662,7 @@
{
if (aDevSoundEvent == EEventBTBE)
{
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else
@@ -3686,7 +3686,7 @@
if(!iQueryRecordingSettings)
{
INFO_PRINTF1(_L("Calling query method MaxGain() while recording"));
-
+
TInt maxGain = iMMFDevSound->MaxGain();
INFO_PRINTF2(_L("Record Max Gain %d"), maxGain);
if(maxGain == iExGain)
@@ -3713,7 +3713,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0027
*/
RA3FDevSoundQueryRecordSamplesRecordedWhileRecordingTest::RA3FDevSoundQueryRecordSamplesRecordedWhileRecordingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName), iDuration(0),
+ : RA3FDevSoundTestBase(aTestName), iDuration(0),
iQueryRecordingSettings(EFalse)
{
}
@@ -3726,7 +3726,7 @@
void RA3FDevSoundQueryRecordSamplesRecordedWhileRecordingTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -3739,7 +3739,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
INFO_PRINTF2(_L("Opening file for recording %S"), &fileNameType);
@@ -3796,7 +3796,7 @@
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
INFO_PRINTF1(_L("Calling iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -3806,7 +3806,7 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
@@ -3829,7 +3829,7 @@
{
// Write buffer to file
INFO_PRINTF1(_L("Writing data to file"));
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else if(aDevSoundEvent == EEventTimerComplete)
@@ -3850,7 +3850,7 @@
{
if (aDevSoundEvent == EEventBTBE)
{
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else
@@ -3874,7 +3874,7 @@
if(!iQueryRecordingSettings)
{
INFO_PRINTF1(_L("Calling query method SamplesRecorded() while recording"));
-
+
TInt samplesRecorded = iMMFDevSound->SamplesRecorded();
INFO_PRINTF2(_L("Samples Recorded %d"), samplesRecorded);
if(samplesRecorded > 0)
@@ -3887,7 +3887,7 @@
StopTest(KErrNone, EFail);
}
iQueryRecordingSettings = ETrue;
-
+
}
else
{
@@ -3902,7 +3902,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0028
*/
RA3FDevSoundQueryRecordGainWhileRecordingTest::RA3FDevSoundQueryRecordGainWhileRecordingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName), iDuration(0),
+ : RA3FDevSoundTestBase(aTestName), iDuration(0),
iQueryRecordingSettings(EFalse)
{
}
@@ -3915,7 +3915,7 @@
void RA3FDevSoundQueryRecordGainWhileRecordingTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -3928,7 +3928,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
INFO_PRINTF2(_L("Opening file for recording %S"), &fileNameType);
@@ -3985,7 +3985,7 @@
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
INFO_PRINTF1(_L("Calling iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -3995,7 +3995,7 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
@@ -4018,7 +4018,7 @@
{
// Write buffer to file
INFO_PRINTF1(_L("Writing data to file"));
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else if(aDevSoundEvent == EEventTimerComplete)
@@ -4039,7 +4039,7 @@
{
if (aDevSoundEvent == EEventBTBE)
{
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else
@@ -4063,9 +4063,9 @@
if(!iQueryRecordingSettings)
{
INFO_PRINTF1(_L("Calling query method Gain() while recording"));
-
+
INFO_PRINTF2(_L("Current Gain = %d"), iMMFDevSound->Gain());
- if(iMMFDevSound->Gain() == iMMFDevSound->MaxGain()/2)
+ if(iMMFDevSound->Gain() == (iMMFDevSound->MaxGain()+1)/2)
{
INFO_PRINTF2(_L("Gain equals the expected default value of MaxGain/2 = %d"),iMMFDevSound->MaxGain()/2);
}
@@ -4075,7 +4075,7 @@
StopTest(KErrNone, EFail);
}
iQueryRecordingSettings = ETrue;
-
+
}
else
{
@@ -4102,7 +4102,7 @@
void RA3FDevSoundRecordingTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -4115,7 +4115,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
INFO_PRINTF2(_L("Opening file for recording %S"), &fileNameType);
@@ -4172,7 +4172,7 @@
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
INFO_PRINTF1(_L("Calling iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -4182,7 +4182,7 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
@@ -4205,7 +4205,7 @@
{
// Write buffer to file
INFO_PRINTF1(_L("Writing data to file"));
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else if(aDevSoundEvent == EEventTimerComplete)
@@ -4226,7 +4226,7 @@
{
if (aDevSoundEvent == EEventBTBE)
{
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else
@@ -4257,8 +4257,8 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0030
*/
RA3FDevSoundLeavePauseStateToInitializedToRecordAudioTest::RA3FDevSoundLeavePauseStateToInitializedToRecordAudioTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
- iDuration(0),
+ : RA3FDevSoundTestBase(aTestName),
+ iDuration(0),
iRecordAgainToConfirmInitializedState(EFalse)
{
}
@@ -4271,7 +4271,7 @@
void RA3FDevSoundLeavePauseStateToInitializedToRecordAudioTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -4284,10 +4284,10 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
-
+
INFO_PRINTF2(_L("Opening file for recording %S"), &fileNameType);
TInt err = iFile.Replace(iFs, fileNameType, EFileWrite);
if (err != KErrNone)
@@ -4342,7 +4342,7 @@
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
INFO_PRINTF1(_L("Calling iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -4352,7 +4352,7 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
@@ -4460,7 +4460,7 @@
{
INFO_PRINTF1(_L("To test whether or not Devsound is in the initialized state, a new record process is launched"));
INFO_PRINTF1(_L("iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -4471,7 +4471,7 @@
iDevSoundState = EStateRecording;
iRecordAgainToConfirmInitializedState = ETrue;
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer(iDuration * KMicroSecsInOneSec);
+ StartTimer(iDuration * KMicroSecsInOneSec);
}
else
{
@@ -4496,7 +4496,7 @@
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0031
*/
RA3FDevSoundRecordPreemptionTest::RA3FDevSoundRecordPreemptionTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0),
iOtherClientStarted(EFalse),
iOtherFilename(KNullDesC),
@@ -4512,7 +4512,7 @@
void RA3FDevSoundRecordPreemptionTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -4525,7 +4525,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
// Get the filename of the second audio file to record
@@ -4591,7 +4591,7 @@
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
INFO_PRINTF1(_L("iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -4601,7 +4601,7 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
@@ -4668,7 +4668,7 @@
INFO_PRINTF1(_L("TimerEvent called"));
if(!iOtherClientStarted)
{
- INFO_PRINTF1(_L("Initializing higher priority devsound client..."));
+ INFO_PRINTF1(_L("Initializing higher priority devsound client..."));
iDevsoundRecordClient->SetPriority(KMaximumPriority);
TInt err = iDevsoundRecordClient->InitializeRecordClient(iOtherFilename);
if (err != KErrNone)
@@ -4719,12 +4719,12 @@
{
INFO_PRINTF1(_L("Second DevSound instance called BufferToBeEmptied."));
}
- else if(iOtherClientStarted && aError == KErrGeneral)
+ else if(iOtherClientStarted && aError == KErrGeneral)
{
INFO_PRINTF1(_L("Second DevSound instance BufferToBeEmptied callback received a NULL CMMFBuffer"));
StopTest(aError);
}
- if(iOtherClientStarted && aError == KErrUnknown)
+ if(iOtherClientStarted && aError == KErrUnknown)
{
INFO_PRINTF1(_L("***** Second DevSound instance :Unknown behaviour: Last buffer flag set before calling CMMFDevSound->Pause()"));
StopTest(aError);
@@ -4766,7 +4766,7 @@
if (aError == KErrUnderflow)
{
ERR_PRINTF1(_L("First instance of DevSound was not preempted"));
- StopTest(aError);
+ StopTest(aError);
}
else if(aError == KErrInUse || aError == KErrDied || aError == KErrAccessDenied)
{
@@ -4777,14 +4777,14 @@
ERR_PRINTF2(_L("First instance of DevSound called RecordError() with unexpected error code: %d"), aError);
StopTest(aError, EFail);
}
- }
+ }
/*
*========================================================================================================
* MM-A3F-DEVSOUND-CHRTZ-REC-RAW-0032
*/
RA3FDevSoundRecordRejectionTest::RA3FDevSoundRecordRejectionTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0), iOtherClientStarted(EFalse),
iOtherFilename(KNullDesC)
{
@@ -4798,7 +4798,7 @@
void RA3FDevSoundRecordRejectionTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -4811,7 +4811,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
// Get the filename of the second audio file to record
@@ -4877,7 +4877,7 @@
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
INFO_PRINTF1(_L("iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -4887,7 +4887,7 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
@@ -4954,7 +4954,7 @@
INFO_PRINTF1(_L("TimerEvent called"));
if(!iOtherClientStarted)
{
- INFO_PRINTF1(_L("Starting lower priority devsound client..."));
+ INFO_PRINTF1(_L("Starting lower priority devsound client..."));
iDevsoundRecordClient->SetPriority(KMinimumPriority);
TInt err = iDevsoundRecordClient->InitializeRecordClient(iOtherFilename);
if (err != KErrNone)
@@ -5016,7 +5016,7 @@
{
INFO_PRINTF2(_L("In rejection, BufferToBeEmptied Callback of 2nd DevSound client should not be called %d"), aError);
StopTest(aError, EFail);
- }
+ }
/*
*========================================================================================================
@@ -5077,7 +5077,7 @@
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
-
+
INFO_PRINTF1(_L("Calling RecordData without RecordInitL"));
iMMFDevSound->RecordData();
StopTest(KErrNone, EFail);
@@ -5119,7 +5119,7 @@
void RA3FDevSoundRecordCallingRecordInitLMoreThanOnceTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
+ if ( !GetIntFromConfig(iTestStepName, KDuration, iDuration) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound, ETestSuiteError);
@@ -5132,7 +5132,7 @@
StopTest(KErrNotFound, ETestSuiteError);
return;
}
- // Open file for recording using RFile
+ // Open file for recording using RFile
TFileName fileNameType;
fileNameType.Copy(filename);
INFO_PRINTF2(_L("Opening file for recording %S"), &fileNameType);
@@ -5189,7 +5189,7 @@
{
INFO_PRINTF1(_L("DevSound Initialized to record audio."));
INFO_PRINTF1(_L("Calling iMMFDevSound->RecordInitL()"));
- TRAPD(err, iMMFDevSound->RecordInitL());
+ TRAPD(err, iMMFDevSound->RecordInitL());
if (err != KErrNone)
{
ERR_PRINTF2(_L("DevSound RecordInitL left with error = %d"), err);
@@ -5199,13 +5199,13 @@
else
{
INFO_PRINTF2(_L("Starting timer %d uS"), (iDuration * KMicroSecsInOneSec));
- StartTimer((iDuration * KMicroSecsInOneSec));
+ StartTimer((iDuration * KMicroSecsInOneSec));
}
INFO_PRINTF1(_L("DevSound State: EStateRecording"));
iDevSoundState = EStateRecording;
-
+
INFO_PRINTF1(_L("Second call to iMMFDevSound->RecordInitL()"));
- TRAP(err, iMMFDevSound->RecordInitL());
+ TRAP(err, iMMFDevSound->RecordInitL());
if (err == KErrNotReady)
{
ERR_PRINTF2(_L("DevSound RecordInitL was called more than once, error is the expected= %d"), err);
@@ -5236,7 +5236,7 @@
{
// Write buffer to file
INFO_PRINTF1(_L("Writing data to file"));
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else if(aDevSoundEvent == EEventTimerComplete)
@@ -5257,7 +5257,7 @@
{
if (aDevSoundEvent == EEventBTBE)
{
- CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
+ CMMFDataBuffer* buffer = static_cast <CMMFDataBuffer*> (iBuffer);
iAsyncWriteBTFAO->Start(buffer);
}
else
@@ -5283,6 +5283,6 @@
Fsm(EEventTimerComplete, KErrNone);
}
-
-
-
+
+
+
--- a/devsound/a3fcharacterisationtest/src/char_a3f_devsound_tonetest.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/a3fcharacterisationtest/src/char_a3f_devsound_tonetest.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -29,7 +29,7 @@
RA3FDevSoundToneSetConfigTest* RA3FDevSoundToneSetConfigTest::NewL(const TDesC& aTestName)
{
RA3FDevSoundToneSetConfigTest * self = new(ELeave)RA3FDevSoundToneSetConfigTest(aTestName);
- return self;
+ return self;
}
void RA3FDevSoundToneSetConfigTest::DoKickoffTestL()
@@ -150,7 +150,7 @@
void RA3FDevSoundToneSetPrioritySettingsTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KPriority, iPriority))
+ if (!GetIntFromConfig(iTestStepName, KPriority, iPriority))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KPriority);
StopTest(KErrUnknown);
@@ -198,7 +198,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -232,7 +232,7 @@
void RA3FDevSoundToneSetVolumeTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KVolume, iVolume))
+ if (!GetIntFromConfig(iTestStepName, KVolume, iVolume))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KVolume);
StopTest(KErrUnknown);
@@ -290,7 +290,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -325,19 +325,19 @@
void RA3FDevSoundToneVolumeRampTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KVolumeRamp, iVolumeRamp))
+ if (!GetIntFromConfig(iTestStepName, KVolumeRamp, iVolumeRamp))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KVolumeRamp);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -443,7 +443,7 @@
: RA3FDevSoundTestBase(aTestName),
iDuration(0),
iFrequencyTone1(0),
- iRepeatTrailingSilence(0),
+ iRepeatTrailingSilence(0),
iRepeatCount(0)
{
}
@@ -456,25 +456,25 @@
void RA3FDevSoundToneSetToneRepeatsTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KRepeatCount, iRepeatCount))
+ if (!GetIntFromConfig(iTestStepName, KRepeatCount, iRepeatCount))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KRepeatCount);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KRepeatTrailingSilence, iRepeatTrailingSilence))
+ if (!GetIntFromConfig(iTestStepName, KRepeatTrailingSilence, iRepeatTrailingSilence))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KRepeatTrailingSilence);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -529,7 +529,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -748,19 +748,19 @@
void RA3FDevSoundToneSetVolumeWhilePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KVolume, iVolume))
+ if (!GetIntFromConfig(iTestStepName, KVolume, iVolume))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KVolume);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -816,7 +816,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -888,7 +888,7 @@
: RA3FDevSoundTestBase(aTestName), iDuration(0),
iVolume(0), iFrequencyTone1(0), iLSpeakerBalance(0),
iRSpeakerBalance(0)
-
+
{
}
@@ -900,36 +900,36 @@
void RA3FDevSoundToneSetPlayBalanceWhilePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KVolume, iVolume))
+ if (!GetIntFromConfig(iTestStepName, KVolume, iVolume))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KVolume);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KLSpeakerBalance, iLSpeakerBalance))
+ if (!GetIntFromConfig(iTestStepName, KLSpeakerBalance, iLSpeakerBalance))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KLSpeakerBalance);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KRSpeakerBalance, iRSpeakerBalance))
+ if (!GetIntFromConfig(iTestStepName, KRSpeakerBalance, iRSpeakerBalance))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KRSpeakerBalance);
StopTest(KErrNotFound);
return;
- }
+ }
iTimer = CPeriodic::NewL(CActive::EPriorityHigh);
}
@@ -980,7 +980,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -1060,7 +1060,7 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0009
*/
RA3FDevSoundToneSetVolumeWhilePausePlayingTest::RA3FDevSoundToneSetVolumeWhilePausePlayingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0), iVolume(0),
iFrequencyTone1(0),
iTimeToEnterPauseElapsed(EFalse)
@@ -1099,7 +1099,7 @@
void RA3FDevSoundToneSetVolumeWhilePausePlayingTest::Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError)
{
switch (iDevSoundState)
- {
+ {
case EStateCreated:
{
__ASSERT_ALWAYS((aError == KErrNone), Panic(_L("RA3FDevSoundToneSetVolumeWhilePausePlayingTest"), EFsmIncorrectErrorPassed));
@@ -1255,7 +1255,7 @@
void RA3FDevSoundToneSetVolumeThenInitializeToPlayAudioTest::Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError)
{
switch (iDevSoundState)
- {
+ {
case EStateCreated:
{
__ASSERT_ALWAYS((aError == KErrNone), Panic(_L("RA3FDevSoundToneSetVolumeThenInitializeToPlayAudioTest"), EFsmIncorrectErrorPassed));
@@ -1359,25 +1359,25 @@
void RA3FDevSoundToneSetVolumeRampWhilePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KVolume, iVolume))
+ if (!GetIntFromConfig(iTestStepName, KVolume, iVolume))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KVolume);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KVolumeRamp, iVolumeRamp))
+ if (!GetIntFromConfig(iTestStepName, KVolumeRamp, iVolumeRamp))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KVolumeRamp);
StopTest(KErrNotFound);
@@ -1506,10 +1506,10 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0012
*/
RA3FDevSoundToneSetToneRepetitionsWhilePlayingTest::RA3FDevSoundToneSetToneRepetitionsWhilePlayingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0),
iFrequencyTone1(0),
- iRepeatTrailingSilence(0),
+ iRepeatTrailingSilence(0),
iRepeatCount(0)
{
}
@@ -1519,28 +1519,28 @@
RA3FDevSoundToneSetToneRepetitionsWhilePlayingTest * self = new(ELeave)RA3FDevSoundToneSetToneRepetitionsWhilePlayingTest(aTestName);
return self;
}
-
+
void RA3FDevSoundToneSetToneRepetitionsWhilePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KRepeatCount, iRepeatCount))
+ if (!GetIntFromConfig(iTestStepName, KRepeatCount, iRepeatCount))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KRepeatCount);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KRepeatTrailingSilence, iRepeatTrailingSilence))
+ if (!GetIntFromConfig(iTestStepName, KRepeatTrailingSilence, iRepeatTrailingSilence))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KRepeatTrailingSilence);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -1613,7 +1613,7 @@
}
}
}
-
+
void RA3FDevSoundToneSetToneRepetitionsWhilePlayingTest::DoTimerCallback()
{
iTimer->Cancel();
@@ -1635,7 +1635,7 @@
if(iPlayToneTime < ((iDuration*KMicroSecsInOneSec) + KPlayVarianceTime)&& iPlayToneTime > (iDuration*KMicroSecsInOneSec) - KPlayVarianceTime)
{
INFO_PRINTF1(_L("First play tone succeded."));
- INFO_PRINTF2(_L("Play time is %Ld microseconds"), iPlayToneTime.Int64());
+ INFO_PRINTF2(_L("Play time is %Ld microseconds"), iPlayToneTime.Int64());
TRAPD(err, iMMFDevSound->PlayToneL(iFrequencyTone1, iDuration*KMicroSecsInOneSec));
if (err != KErrNone)
{
@@ -1669,7 +1669,7 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0013
*/
RA3FDevSoundToneSetDTMFLengthsWhilePlayingTest::RA3FDevSoundToneSetDTMFLengthsWhilePlayingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iFirstToneFinishedCall(EFalse),
iToneOnLength(0), iToneOffLength(0),
iPauseLength(0), iDTMFString(KNullDesC),
@@ -1685,19 +1685,19 @@
void RA3FDevSoundToneSetDTMFLengthsWhilePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KToneOnLength, iToneOnLength))
+ if (!GetIntFromConfig(iTestStepName, KToneOnLength, iToneOnLength))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KToneOnLength);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KToneOffLength, iToneOffLength))
+ if (!GetIntFromConfig(iTestStepName, KToneOffLength, iToneOffLength))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KToneOffLength);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KPauseLength, iPauseLength))
+ if (!GetIntFromConfig(iTestStepName, KPauseLength, iPauseLength))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KPauseLength);
StopTest(KErrNotFound);
@@ -1789,7 +1789,7 @@
}
}
}
-
+
void RA3FDevSoundToneSetDTMFLengthsWhilePlayingTest::DoTimerCallback()
{
iTimer->Cancel();
@@ -1861,28 +1861,28 @@
RA3FDevSoundToneSetToneRepetitionsNotPlayingTonesModeTest * self = new(ELeave)RA3FDevSoundToneSetToneRepetitionsNotPlayingTonesModeTest(aTestName);
return self;
}
-
+
void RA3FDevSoundToneSetToneRepetitionsNotPlayingTonesModeTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KRepeatCount, iRepeatCount))
+ if (!GetIntFromConfig(iTestStepName, KRepeatCount, iRepeatCount))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KRepeatCount);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KRepeatTrailingSilence, iRepeatTrailingSilence))
+ if (!GetIntFromConfig(iTestStepName, KRepeatTrailingSilence, iRepeatTrailingSilence))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KRepeatTrailingSilence);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -1970,7 +1970,7 @@
}
}
}
-
+
void RA3FDevSoundToneSetToneRepetitionsNotPlayingTonesModeTest::ToneFinished(TInt aError)
{
@@ -1986,12 +1986,12 @@
INFO_PRINTF1(_L("Play tone repeats succeded."));
INFO_PRINTF2(_L("Play time is %Ld microseconds"), iPlayToneTime.Int64());
StopTest();
- }
+ }
else
{
ERR_PRINTF1(_L("Play tone repeats did not work as planned."));
ERR_PRINTF3(_L("Play time is %Ld microseconds and it should have been %d microseconds"), iPlayToneTime.Int64(), totalExpectedReproductionTime);
- StopTest(KErrNone, EFail);
+ StopTest(KErrNone, EFail);
}
}
else
@@ -1999,7 +1999,7 @@
ERR_PRINTF2(_L("DevSound called ToneFinished with error = %d"), aError);
ERR_PRINTF2(_L("Expected error = %d"), KErrUnderflow);
StopTest(aError, EFail);
- }
+ }
}
/*
@@ -2011,7 +2011,7 @@
iDTMFString(KNullDesC), iToneOnLength(0),
iToneOffLength(0), iPauseLength(0),
iDTMFPauses(0), iDTMFTones(0)
-
+
{
}
@@ -2020,16 +2020,16 @@
RA3FDevSoundToneSetDTMFLengthsNotPlayingTonesModeTest * self = new(ELeave)RA3FDevSoundToneSetDTMFLengthsNotPlayingTonesModeTest(aTestName);
return self;
}
-
+
void RA3FDevSoundToneSetDTMFLengthsNotPlayingTonesModeTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KToneOnLength, iToneOnLength))
+ if (!GetIntFromConfig(iTestStepName, KToneOnLength, iToneOnLength))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KToneOnLength);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KToneOffLength, iToneOffLength))
+ if (!GetIntFromConfig(iTestStepName, KToneOffLength, iToneOffLength))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KToneOffLength);
StopTest(KErrNotFound);
@@ -2145,7 +2145,7 @@
}
}
}
-
+
void RA3FDevSoundToneSetDTMFLengthsNotPlayingTonesModeTest::ToneFinished(TInt aError)
{
INFO_PRINTF1(_L("========== DevSound ToneFinished() callback =========="));
@@ -2180,8 +2180,8 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0016
*/
RA3FDevSoundToneSetConfigWhilePlayingTest::RA3FDevSoundToneSetConfigWhilePlayingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName), iDuration(0),
- iVolume(0), iFrequencyTone1(0),
+ : RA3FDevSoundTestBase(aTestName), iDuration(0),
+ iVolume(0), iFrequencyTone1(0),
iSampleRate(0), iChannels(0)
{
}
@@ -2191,28 +2191,28 @@
RA3FDevSoundToneSetConfigWhilePlayingTest * self = new(ELeave)RA3FDevSoundToneSetConfigWhilePlayingTest(aTestName);
return self;
}
-
+
void RA3FDevSoundToneSetConfigWhilePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KSampleRate, iSampleRate))
+ if (!GetIntFromConfig(iTestStepName, KSampleRate, iSampleRate))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KSampleRate);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KChannel, iChannels))
+ if (!GetIntFromConfig(iTestStepName, KChannel, iChannels))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KChannel);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -2330,13 +2330,13 @@
void RA3FDevSoundToneSetPriorityWhilePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -2452,7 +2452,7 @@
{
INFO_PRINTF1(_L("TimerEvent called"));
iTimer->Cancel();
- INFO_PRINTF1(_L("Starting another devsound client using the highest priority"));
+ INFO_PRINTF1(_L("Starting another devsound client using the highest priority"));
iDevsoundToneClient->SetPriority(KMaximumPriority);
TInt err = iDevsoundToneClient->InitTonePlay(iFrequencyTone1, iDuration*KMicroSecsInOneSec);
if(err != KErrNone)
@@ -2490,7 +2490,7 @@
RA3FDevSoundToneSetConfigTestToInvalidSampleRateValue* RA3FDevSoundToneSetConfigTestToInvalidSampleRateValue::NewL(const TDesC& aTestName)
{
RA3FDevSoundToneSetConfigTestToInvalidSampleRateValue * self = new(ELeave)RA3FDevSoundToneSetConfigTestToInvalidSampleRateValue(aTestName);
- return self;
+ return self;
}
void RA3FDevSoundToneSetConfigTestToInvalidSampleRateValue::DoKickoffTestL()
@@ -2511,6 +2511,11 @@
void RA3FDevSoundToneSetConfigTestToInvalidSampleRateValue::Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError)
{
+#ifdef MM_TB101_L
+ //Reason: Check remains since this is a valid test case, but we need to know why we are not testing invalid rates.
+ INFO_PRINTF1(_L("MM_TB101_L defined: All sample rates are valid for MM_TB101_L (HW), therefore no invalid rates can be tested."));
+ StopTest(KErrNotSupported, EPass);
+#else
switch(iDevSoundState)
{
case EStateCreated:
@@ -2566,7 +2571,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -2581,6 +2586,7 @@
StopTest(aError, EFail);
}
}
+#endif// MM_TB101_L
}
/*
@@ -2596,7 +2602,7 @@
RA3FDevSoundToneSetConfigTestToInvalidChannelValueTest* RA3FDevSoundToneSetConfigTestToInvalidChannelValueTest::NewL(const TDesC& aTestName)
{
RA3FDevSoundToneSetConfigTestToInvalidChannelValueTest * self = new(ELeave)RA3FDevSoundToneSetConfigTestToInvalidChannelValueTest(aTestName);
- return self;
+ return self;
}
void RA3FDevSoundToneSetConfigTestToInvalidChannelValueTest::DoKickoffTestL()
@@ -2671,7 +2677,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -2704,22 +2710,22 @@
RA3FDevSoundToneSetDTMFLengthsToNegativeTest * self = new(ELeave)RA3FDevSoundToneSetDTMFLengthsToNegativeTest(aTestName);
return self;
}
-
+
void RA3FDevSoundToneSetDTMFLengthsToNegativeTest::DoKickoffTestL()
{
- if ( !GetIntFromConfig(iTestStepName, KToneOnLength, iToneOnLength) )
+ if ( !GetIntFromConfig(iTestStepName, KToneOnLength, iToneOnLength) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KToneOnLength);
StopTest(KErrNotFound);
return;
}
- if ( !GetIntFromConfig(iTestStepName, KToneOffLength, iToneOffLength) )
+ if ( !GetIntFromConfig(iTestStepName, KToneOffLength, iToneOffLength) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KToneOffLength);
StopTest(KErrNotFound);
return;
}
- if ( !GetIntFromConfig(iTestStepName, KPauseLength, iPauseLength) )
+ if ( !GetIntFromConfig(iTestStepName, KPauseLength, iPauseLength) )
{
ERR_PRINTF2(KMsgErrorGetParameter, &KPauseLength);
StopTest(KErrNotFound);
@@ -2808,15 +2814,15 @@
{
INFO_PRINTF1(_L("========== DevSound ToneFinished() callback =========="));
INFO_PRINTF3(KMsgErrorDevSoundCallback, &KToneFinishedText, aError);
-
+
if (aError == KErrUnderflow)
{
iEndTime.HomeTime();
iPlayToneTime = iEndTime.MicroSecondsFrom(iStartTime);
if(iPlayToneTime <= KPlayVarianceTime)
{
- INFO_PRINTF2(_L("Setting DTMF tone lengths to negative gives a reproduction time of %Ld microseconds which is the expected result"), iPlayToneTime.Int64());
- StopTest(aError, EPass);
+ INFO_PRINTF2(_L("Setting DTMF tone lengths to negative gives a reproduction time of %Ld microseconds which is the expected result"), iPlayToneTime.Int64());
+ StopTest(aError, EPass);
}
}
else
@@ -2831,7 +2837,7 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0021
*/
RA3FDevSoundToneSetDTMFToneOnLengthToMinusOneTest::RA3FDevSoundToneSetDTMFToneOnLengthToMinusOneTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iFirstToneFinishedCall(EFalse),
iToneOnLength(0), iToneOffLength(0),
iPauseLength(0), iDTMFString(KNullDesC)
@@ -2845,19 +2851,19 @@
void RA3FDevSoundToneSetDTMFToneOnLengthToMinusOneTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KToneOnLength, iToneOnLength))
+ if (!GetIntFromConfig(iTestStepName, KToneOnLength, iToneOnLength))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KToneOnLength);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KToneOffLength, iToneOffLength))
+ if (!GetIntFromConfig(iTestStepName, KToneOffLength, iToneOffLength))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KToneOffLength);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KPauseLength, iPauseLength))
+ if (!GetIntFromConfig(iTestStepName, KPauseLength, iPauseLength))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KPauseLength);
StopTest(KErrNotFound);
@@ -2943,7 +2949,7 @@
}
}
}
-
+
void RA3FDevSoundToneSetDTMFToneOnLengthToMinusOneTest::DoTimerCallback()
{
iTimer->Cancel();
@@ -2988,28 +2994,28 @@
RA3FDevSoundToneSetToneRepetitionsRepeatTrailingSilenceToNegativeTest * self = new(ELeave)RA3FDevSoundToneSetToneRepetitionsRepeatTrailingSilenceToNegativeTest(aTestName);
return self;
}
-
+
void RA3FDevSoundToneSetToneRepetitionsRepeatTrailingSilenceToNegativeTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KRepeatCount, iRepeatCount))
+ if (!GetIntFromConfig(iTestStepName, KRepeatCount, iRepeatCount))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KRepeatCount);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KRepeatTrailingSilence, iRepeatTrailingSilence))
+ if (!GetIntFromConfig(iTestStepName, KRepeatTrailingSilence, iRepeatTrailingSilence))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KRepeatTrailingSilence);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -3082,7 +3088,7 @@
}
}
}
-
+
void RA3FDevSoundToneSetToneRepetitionsRepeatTrailingSilenceToNegativeTest::ToneFinished(TInt aError)
{
@@ -3131,28 +3137,28 @@
RA3FDevSoundToneSetToneRepetitionsRepeatCountToKMdaRepeatForeverTest * self = new(ELeave)RA3FDevSoundToneSetToneRepetitionsRepeatCountToKMdaRepeatForeverTest(aTestName);
return self;
}
-
+
void RA3FDevSoundToneSetToneRepetitionsRepeatCountToKMdaRepeatForeverTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KRepeatCount, iRepeatCount))
+ if (!GetIntFromConfig(iTestStepName, KRepeatCount, iRepeatCount))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KRepeatCount);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KRepeatTrailingSilence, iRepeatTrailingSilence))
+ if (!GetIntFromConfig(iTestStepName, KRepeatTrailingSilence, iRepeatTrailingSilence))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KRepeatTrailingSilence);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -3227,7 +3233,7 @@
}
}
}
-
+
void RA3FDevSoundToneSetToneRepetitionsRepeatCountToKMdaRepeatForeverTest::DoTimerCallback()
{
@@ -3348,7 +3354,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -3424,7 +3430,7 @@
break;
}
case EStateInitializing:
- {
+ {
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
TMMFCapabilities capabilitiesGet;
@@ -3498,7 +3504,7 @@
void RA3FDevSoundToneMaxVolumeTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KExVolume, iExVolume))
+ if (!GetIntFromConfig(iTestStepName, KExVolume, iExVolume))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KExVolume);
StopTest(KErrNotFound);
@@ -3534,7 +3540,7 @@
break;
}
case EStateInitializing:
- {
+ {
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
INFO_PRINTF1(_L("Calling CMMFDevSound::MaxVolume"));
@@ -3588,7 +3594,7 @@
void RA3FDevSoundToneVolumeTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KExVolume, iExVolume))
+ if (!GetIntFromConfig(iTestStepName, KExVolume, iExVolume))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KExVolume);
StopTest(KErrNotFound);
@@ -3644,7 +3650,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -3680,13 +3686,13 @@
void RA3FDevSoundToneQueryCapsWhilePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -3817,13 +3823,13 @@
void RA3FDevSoundToneConfigWhilePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -3992,19 +3998,19 @@
void RA3FDevSoundToneMaxVolumeWhilePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KExVolume, iExVolume))
+ if (!GetIntFromConfig(iTestStepName, KExVolume, iExVolume))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KExVolume);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -4141,19 +4147,19 @@
void RA3FDevSoundToneVolumeWhilePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KExVolume, iExVolume))
+ if (!GetIntFromConfig(iTestStepName, KExVolume, iExVolume))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KExVolume);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -4290,13 +4296,13 @@
void RA3FDevSoundToneQueryCapsWhilePausePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -4479,13 +4485,13 @@
void RA3FDevSoundToneConfigWhilePausePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -4676,19 +4682,19 @@
void RA3FDevSoundToneMaxVolumeWhilePausePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KExVolume, iExVolume))
+ if (!GetIntFromConfig(iTestStepName, KExVolume, iExVolume))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KExVolume);
StopTest(KErrNotFound);
@@ -4846,19 +4852,19 @@
void RA3FDevSoundToneVolumeWhilePausePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KExVolume, iExVolume))
+ if (!GetIntFromConfig(iTestStepName, KExVolume, iExVolume))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KExVolume);
StopTest(KErrNotFound);
@@ -5001,7 +5007,7 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0036
*/
RA3FDevSoundTonePlayToneOnceTest::RA3FDevSoundTonePlayToneOnceTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0), iFrequencyTone1(0)
{
}
@@ -5014,13 +5020,13 @@
void RA3FDevSoundTonePlayToneOnceTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -5123,7 +5129,7 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0037
*/
RA3FDevSoundTonePlayDualToneTest::RA3FDevSoundTonePlayDualToneTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0), iFrequencyTone1(0),
iFrequencyTone2(0)
{
@@ -5135,19 +5141,19 @@
}
void RA3FDevSoundTonePlayDualToneTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone2, iFrequencyTone2))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone2, iFrequencyTone2))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone2);
StopTest(KErrNotFound);
@@ -5202,7 +5208,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -5253,7 +5259,7 @@
RA3FDevSoundTonePlayDTMFToneTest::RA3FDevSoundTonePlayDTMFToneTest(const TDesC& aTestName)
: RA3FDevSoundTestBase(aTestName),iDTMFString(KNullDesC),
iDTMFPauses(0), iDTMFTones(0)
-
+
{
}
@@ -5432,7 +5438,7 @@
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
iMMFDevSound->SetVolume(iMMFDevSound->MaxVolume());
- TUint8* tablePointer = const_cast<TUint8*>(&(KFixedSequenceTestSequenceDataX[0]));
+ TUint8* tablePointer = const_cast<TUint8*>(&(KFixedSequenceTestSequenceDataX[0]));
TPtrC8 KFixedSequenceData(tablePointer, sizeof(KFixedSequenceTestSequenceDataX));
INFO_PRINTF1(_L("Calling CMMFDevSound::PlayToneSequenceL"));
TRAPD(err, iMMFDevSound->PlayToneSequenceL(KFixedSequenceData));
@@ -5470,7 +5476,7 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0040
*/
RA3FDevSoundToneNewToneRequestWhilePlayingTest::RA3FDevSoundToneNewToneRequestWhilePlayingTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0), iFrequencyTone1(0)
{
}
@@ -5483,13 +5489,13 @@
void RA3FDevSoundToneNewToneRequestWhilePlayingTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -5546,7 +5552,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -5623,7 +5629,7 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0041
*/
RA3FDevSoundTonePreemptionTest::RA3FDevSoundTonePreemptionTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0), iFrequencyTone1(0)
{
}
@@ -5636,13 +5642,13 @@
void RA3FDevSoundTonePreemptionTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -5704,7 +5710,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -5717,7 +5723,7 @@
{
if(aDevSoundEvent == EEventTimerComplete)
{
- INFO_PRINTF1(_L("Starting lower priority devsound client"));
+ INFO_PRINTF1(_L("Starting lower priority devsound client"));
iDevsoundToneClient->SetPriority(KMaximumPriority);
TInt err = iDevsoundToneClient->InitTonePlay(iFrequencyTone1, iDuration*KMicroSecsInOneSec);
if(err != KErrNone)
@@ -5801,7 +5807,7 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0042
*/
RA3FDevSoundToneRejectionTest::RA3FDevSoundToneRejectionTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0), iFrequencyTone1(0)
{
}
@@ -5814,13 +5820,13 @@
void RA3FDevSoundToneRejectionTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -5979,7 +5985,7 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0043
*/
RA3FDevSoundTonePlayToneOnceAndStopTest::RA3FDevSoundTonePlayToneOnceAndStopTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0), iFrequencyTone1(0),
iToneStopped(EFalse)
{
@@ -5993,13 +5999,13 @@
void RA3FDevSoundTonePlayToneOnceAndStopTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -6092,7 +6098,7 @@
StopTest(aError, EFail);
}
}
-
+
}
void RA3FDevSoundTonePlayToneOnceAndStopTest::DoTimerCallback()
@@ -6101,7 +6107,7 @@
INFO_PRINTF1(_L("DevSound Event: EEventTimerComplete"));
if(!iToneStopped)
{
- Fsm(EEventTimerComplete, KErrNone);
+ Fsm(EEventTimerComplete, KErrNone);
iToneStopped = ETrue;
}
else
@@ -6133,7 +6139,7 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0044
*/
RA3FDevSoundTonePlayDualToneOnceAndStopTest::RA3FDevSoundTonePlayDualToneOnceAndStopTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0), iFrequencyTone1(0),
iFrequencyTone2(0), iToneStopped(EFalse)
{
@@ -6147,19 +6153,19 @@
void RA3FDevSoundTonePlayDualToneOnceAndStopTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone2, iFrequencyTone2))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone2, iFrequencyTone2))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone2);
StopTest(KErrNotFound);
@@ -6223,7 +6229,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -6260,7 +6266,7 @@
INFO_PRINTF1(_L("DevSound Event: EEventTimerComplete"));
if(!iToneStopped)
{
- Fsm(EEventTimerComplete, KErrNone);
+ Fsm(EEventTimerComplete, KErrNone);
iToneStopped = ETrue;
}
else
@@ -6318,7 +6324,7 @@
void RA3FDevSoundTonePlayDTMFStringOnceAndStopTest::Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError)
{
switch(iDevSoundState)
- {
+ {
case EStateCreated:
{
__ASSERT_ALWAYS((aError == KErrNone), Panic(_L("RA3FDevSoundTonePlayDTMFStringOnceAndStopTest"), EFsmIncorrectErrorPassed));
@@ -6407,7 +6413,7 @@
INFO_PRINTF1(_L("DevSound Event: EEventTimerComplete"));
if(!iToneStopped)
{
- Fsm(EEventTimerComplete, KErrNone);
+ Fsm(EEventTimerComplete, KErrNone);
iToneStopped = ETrue;
}
else
@@ -6486,7 +6492,7 @@
if (!iToneStopped)
{
iMMFDevSound->SetVolume(iMMFDevSound->MaxVolume());
- TUint8* tablePointer = const_cast<TUint8*>( &(KFixedSequenceTestSequenceDataX[0]));
+ TUint8* tablePointer = const_cast<TUint8*>( &(KFixedSequenceTestSequenceDataX[0]));
TPtrC8 KFixedSequenceData(tablePointer, sizeof(KFixedSequenceTestSequenceDataX));
INFO_PRINTF1(_L("Calling CMMFDevSound::PlayToneSequenceL"));
TRAPD(err, iMMFDevSound->PlayToneSequenceL(KFixedSequenceData));
@@ -6505,12 +6511,12 @@
INFO_PRINTF1(_L("Calling CMMFDevSound::Stop succeeded"));
StopTest(aError);
}
-
+
}
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -6547,7 +6553,7 @@
INFO_PRINTF1(_L("DevSound Event: EEventTimerComplete"));
if(!iToneStopped)
{
- Fsm(EEventTimerComplete, KErrNone);
+ Fsm(EEventTimerComplete, KErrNone);
iToneStopped = ETrue;
}
else
@@ -6592,13 +6598,13 @@
void RA3FDevSoundTonePlayToneOncePauseTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -6743,7 +6749,7 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0048
*/
RA3FDevSoundTonePlayDualToneOncePauseTest::RA3FDevSoundTonePlayDualToneOncePauseTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDuration(0),iFrequencyTone1(0),
iFrequencyTone2(0), iPaused(EFalse),
iSamplesPlayedPaused(0)
@@ -6758,19 +6764,19 @@
void RA3FDevSoundTonePlayDualToneOncePauseTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone2, iFrequencyTone2))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone2, iFrequencyTone2))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone2);
StopTest(KErrNotFound);
@@ -6916,7 +6922,7 @@
* MM-A3F-DEVSOUND-CHRTZ-TONE-0049
*/
RA3FDevSoundTonePlayDTMFStringOncePauseTest::RA3FDevSoundTonePlayDTMFStringOncePauseTest(const TDesC& aTestName)
- : RA3FDevSoundTestBase(aTestName),
+ : RA3FDevSoundTestBase(aTestName),
iDTMFString(KNullDesC),iPaused(EFalse),
iSamplesPlayedPaused(0),iDTMFPauses(0),
iDTMFTones(0)
@@ -6956,7 +6962,7 @@
void RA3FDevSoundTonePlayDTMFStringOncePauseTest::Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError)
{
switch (iDevSoundState)
- {
+ {
case EStateCreated:
{
__ASSERT_ALWAYS((aError == KErrNone), Panic(_L("RA3FDevSoundTonePlayDTMFStringOncePauseTest"), EFsmIncorrectErrorPassed));
@@ -7135,7 +7141,7 @@
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
- TUint8* tablePointer = const_cast<TUint8*>( &(KFixedSequenceTestSequenceDataX[0] ) );
+ TUint8* tablePointer = const_cast<TUint8*>( &(KFixedSequenceTestSequenceDataX[0] ) );
TPtrC8 KFixedSequenceData(tablePointer, sizeof(KFixedSequenceTestSequenceDataX));
INFO_PRINTF1(_L("Calling CMMFDevSound::PlayToneSequenceL"));
TRAPD(err, iMMFDevSound->PlayToneSequenceL(KFixedSequenceData));
@@ -7152,7 +7158,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -7254,13 +7260,13 @@
void RA3FDevSoundTonePlayToneOnceInitializedToPlayAudioTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -7351,19 +7357,19 @@
void RA3FDevSoundTonePlayDualToneOnceInitializedToPlayAudioTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone2, iFrequencyTone2))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone2, iFrequencyTone2))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone2);
StopTest(KErrNotFound);
@@ -7374,7 +7380,7 @@
void RA3FDevSoundTonePlayDualToneOnceInitializedToPlayAudioTest::Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError)
{
switch(iDevSoundState)
- {
+ {
case EStateCreated:
{
__ASSERT_ALWAYS((aError == KErrNone), Panic(_L("RA3FDevSoundTonePlayDualToneOnceInitializedToPlayAudioTest"), EFsmIncorrectErrorPassed));
@@ -7466,7 +7472,7 @@
void RA3FDevSoundTonePlayDTMFStringOnceInitializedToPlayAudioTest::Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError)
{
switch(iDevSoundState)
- {
+ {
case EStateCreated:
{
__ASSERT_ALWAYS((aError == KErrNone), Panic(_L("RA3FDevSoundTonePlayDTMFStringOnceInitializedToPlayAudioTest"), EFsmIncorrectErrorPassed));
@@ -7577,7 +7583,7 @@
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
- TUint8* tablePointer = const_cast<TUint8*>( &(KFixedSequenceTestSequenceDataX[0] ) );
+ TUint8* tablePointer = const_cast<TUint8*>( &(KFixedSequenceTestSequenceDataX[0] ) );
TPtrC8 KFixedSequenceData(tablePointer, sizeof(KFixedSequenceTestSequenceDataX));
INFO_PRINTF1(_L("Calling CMMFDevSound::PlayToneSequenceL"));
TRAPD(err, iMMFDevSound->PlayToneSequenceL(KFixedSequenceData));
@@ -7592,7 +7598,7 @@
ERR_PRINTF2(_L("Expected error = %d"), KErrNotSupported);
StopTest(err, EFail);
}
- }
+ }
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
@@ -7631,13 +7637,13 @@
void RA3FDevSoundTonePlayToneOnceInitializedToRecordAudioTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -7728,19 +7734,19 @@
void RA3FDevSoundTonePlayDualToneOnceInitializedToRecordAudioTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone2, iFrequencyTone2))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone2, iFrequencyTone2))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone2);
StopTest(KErrNotFound);
@@ -7751,7 +7757,7 @@
void RA3FDevSoundTonePlayDualToneOnceInitializedToRecordAudioTest::Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError)
{
switch(iDevSoundState)
- {
+ {
case EStateCreated:
{
__ASSERT_ALWAYS((aError == KErrNone), Panic(_L("RA3FDevSoundTonePlayDualToneOnceInitializedToRecordAudioTest"), EFsmIncorrectErrorPassed));
@@ -7843,7 +7849,7 @@
void RA3FDevSoundTonePlayDTMFStringOnceInitializedToRecordAudioTest::Fsm(TMmfDevSoundEvent aDevSoundEvent, TInt aError)
{
switch(iDevSoundState)
- {
+ {
case EStateCreated:
{
__ASSERT_ALWAYS((aError == KErrNone), Panic(_L("RA3FDevSoundTonePlayDTMFStringOnceInitializedToRecordAudioTest"), EFsmIncorrectErrorPassed));
@@ -7954,7 +7960,7 @@
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
{
- TUint8* tablePointer = const_cast<TUint8*>( &(KFixedSequenceTestSequenceDataX[0] ) );
+ TUint8* tablePointer = const_cast<TUint8*>( &(KFixedSequenceTestSequenceDataX[0] ) );
TPtrC8 KFixedSequenceData(tablePointer, sizeof(KFixedSequenceTestSequenceDataX));
INFO_PRINTF1(_L("Calling CMMFDevSound::PlayToneSequenceL"));
TRAPD(err, iMMFDevSound->PlayToneSequenceL(KFixedSequenceData));
@@ -7969,7 +7975,7 @@
ERR_PRINTF2(_L("Expected error = %d"), KErrNotSupported);
StopTest(err, EFail);
}
- }
+ }
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
@@ -8008,13 +8014,13 @@
void RA3FDevSoundTonePlayToneWithoutCallingInitializeTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
@@ -8048,7 +8054,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -8083,19 +8089,19 @@
void RA3FDevSoundTonePlayDualToneWithoutCallingInitializeTest::DoKickoffTestL()
{
- if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
+ if (!GetIntFromConfig(iTestStepName, KDuration, iDuration))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KDuration);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone1, iFrequencyTone1))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone1);
StopTest(KErrNotFound);
return;
}
- if (!GetIntFromConfig(iTestStepName, KFrequencyTone2, iFrequencyTone2))
+ if (!GetIntFromConfig(iTestStepName, KFrequencyTone2, iFrequencyTone2))
{
ERR_PRINTF2(KMsgErrorGetParameter, &KFrequencyTone2);
StopTest(KErrNotFound);
@@ -8129,7 +8135,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -8199,7 +8205,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -8244,7 +8250,7 @@
__ASSERT_ALWAYS((aError == KErrNone), Panic(_L("RA3FDevSoundTonePlayToneSequenceWithoutCallingInitializeTest"), EFsmIncorrectErrorPassed));
if (aDevSoundEvent == EEventInitialize)
{
- TUint8* tablePointer = const_cast<TUint8*>( &(KFixedSequenceTestSequenceDataX[0] ) );
+ TUint8* tablePointer = const_cast<TUint8*>( &(KFixedSequenceTestSequenceDataX[0] ) );
TPtrC8 KFixedSequenceData(tablePointer, sizeof(KFixedSequenceTestSequenceDataX));
INFO_PRINTF1(_L("Calling CMMFDevSound::PlayToneSequenceL"));
TRAPD(err, iMMFDevSound->PlayToneSequenceL(KFixedSequenceData));
@@ -8263,7 +8269,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
@@ -8337,7 +8343,7 @@
case EStateInitializing:
{
if (aDevSoundEvent == EEventInitComplete && aError == KErrNone)
- {
+ {
INFO_PRINTF1(_L("Calling iMMFDevSound->PlayToneSequenceL with an invalid descriptor as argument"));
TRAPD(err, iMMFDevSound->PlayToneSequenceL(iInvalidToneSequence));
if (err != KErrNone)
@@ -8349,7 +8355,7 @@
else if (aDevSoundEvent == EEventInitComplete && aError != KErrNone)
{
ERR_PRINTF2(_L("DevSound called CMMFDevSound::InitializeComplete with error = %d"), aError);
- StopTest(aError);
+ StopTest(aError);
}
else
{
--- a/devsound/a3fintegrationtest/group/integration_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/a3fintegrationtest/group/integration_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -55,5 +55,7 @@
"\sf\os\mm\devsound\a3fintegrationtest\data\PCM_44.1k_16b_signed_st_Test2.pcm"-"e:\inttest\a3f\tsi_a3f_devsound\pcm_44.1k_16b_signed_st_test2.pcm"
"\sf\os\mm\devsound\a3fintegrationtest\data\8bitmupcm.raw"-"e:\inttest\a3f\tsi_a3f_devsound\8bitmupcm.raw"
+
+// note: 181min.wav is pre-copied to f:\inttest\a3f\tsi_a3f_devsound\181min.wav
// To be uncommented if long playback test (MM-A3F-DEVSOUND-PLAY-PCM-LONG-I-0001) required
//"\sf\os\mm\devsound\a3fintegrationtest\data\181min.wav"-"e:\inttest\a3f\tsi_a3f_devsound\181min.wav"
--- a/devsound/a3fintegrationtest/group/tsi_a3f_devsound.iby Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/a3fintegrationtest/group/tsi_a3f_devsound.iby Mon Aug 23 18:56:36 2010 +0100
@@ -39,12 +39,8 @@
// DevSound config files
#if defined(__NE1_TB__) //navi engine
data=EPOCROOT##epoc32\data\c\tsi_a3f_devsound\tsi_a3f_devsound_record_ne.ini \tsi_a3f_devsound_record.ini
-#elif defined(__MOMAP24XX_H4HRP__) //h4
+#else
data=EPOCROOT##epoc32\data\c\tsi_a3f_devsound\tsi_a3f_devsound_record.ini \tsi_a3f_devsound_record.ini
-#elif defined(__MOMAP34XX_SDP__) //h6
-data=EPOCROOT##epoc32\data\c\tsi_a3f_devsound\tsi_a3f_devsound_record.ini \tsi_a3f_devsound_record.ini
-#else
-WARNING Don’t know which ini file to use for the tsi_a3f_devsound test suite, unknown platform.
#endif
data=EPOCROOT##epoc32\data\c\tsi_a3f_devsound\tsi_a3f_devsound_play.ini \tsi_a3f_devsound_play.ini
--- a/devsound/a3fintegrationtest/scripts/tsi_a3f_devsound_pcm_long_play.script Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/a3fintegrationtest/scripts/tsi_a3f_devsound_pcm_long_play.script Mon Aug 23 18:56:36 2010 +0100
@@ -27,5 +27,7 @@
//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in mono mode with sampling rate of 8 KHz with all the DevSound callback functions
//! being executed as required throughout the test.
+
+//To run this test on hardware unzip the files 181min.zip to f:\inttest\a3f\tsi_a3f_devsound\181min.wav
RUN_TEST_STEP 20000000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-LONG-I-0001 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
TEST_COMPLETE
--- a/devsound/a3fintegrationtest/scripts/tsi_a3f_devsound_play.ini Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/a3fintegrationtest/scripts/tsi_a3f_devsound_play.ini Mon Aug 23 18:56:36 2010 +0100
@@ -290,7 +290,7 @@
[SectionPCM-Long-0001]
EmuPlayFile = c:\tsi_a3f_devsound\181min.wav
-HwPlayFile = e:\inttest\a3f\tsi_a3f_devsound\181min.wav
+HwPlayFile = f:\inttest\a3f\tsi_a3f_devsound\181min.wav
SampleRate = EMMFSampleRate22050Hz
MonoStereo = EMMFMono
SetConfig = ETrue
--- a/devsound/a3fintegrationtest/src/tsi_a3f_devsound_testsuite.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/a3fintegrationtest/src/tsi_a3f_devsound_testsuite.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -88,7 +88,7 @@
*/
void CTestSuiteA3FDevSound::InitialiseL()
{
- const TUint32 KMMFFourCCCodeInvalid = 0x414d5111;
+ const TUint32 KMMFFourCCCodeInvalid = 0x414d5121;
TFourCC fourCCCodePCM8(KMMFFourCCCodePCM8);
TFourCC fourCCCodePCMU8(KMMFFourCCCodePCMU8);
TFourCC fourCCCodePCM16(KMMFFourCCCodePCM16);
@@ -150,7 +150,7 @@
// DevSound PCM - Long Play test cases
- AddTestStepL(RStepA3FDevSoundPlaySimple::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-LONG-I-0001"), _L("SectionPCM-Long-0001"), fourCCCodePCMU8));
+ AddTestStepL(RStepA3FDevSoundPlaySimple::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-LONG-I-0001"), _L("SectionPCM-Long-0001"), fourCCCodePCM16));
// DevSound PCM - Record test cases
--- a/devsound/devsoundrefplugin/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/devsoundrefplugin/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -46,9 +46,6 @@
../mmpfiles/server/MmfAudioPolicyProxy.mmp
../mmpfiles/platsec/server/mmfaudiopolicy.mmp
#endif
-
-//Audio Tone Controller
-../mmpfiles/controller/MmfAudioToneController.mmp
//Sw Codec Wrapper
../mmpfiles/swcodecwrapper/mmfswaudiodevice.mmp
@@ -60,3 +57,11 @@
//audio 'software' hw device plugins
../mmpfiles/plugin/mmfAudioHwDevices.mmp
../mmpfiles/plugin/Gsm610HwDevices.mmp
+
+PRJ_TESTMMPFILES
+
+//Audio Test Tone Controller
+../mmpfiles/controller/MmfAudioToneController.mmp
+
+PRJ_TESTEXPORTS
+mmfaudiotonetestcontroller.iby /epoc32/rom/include/
\ No newline at end of file
--- a/devsound/devsoundrefplugin/group/devsound_refplugin.iby Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/devsoundrefplugin/group/devsound_refplugin.iby Mon Aug 23 18:56:36 2010 +0100
@@ -38,10 +38,6 @@
#endif // SYMBIAN_MULTIMEDIA_A3FDEVSOUND
-
-// Audio Tone Controller dll
-ECOM_PLUGIN(mmfaudiotonecontroller.dll,101f7d95.rsc)
-
//sw codec wrapper dll
file=ABI_DIR\BUILD_DIR\MMFSwCodecWrapper.dll System\Libs\MMFSwCodecWrapper.dll
file=ABI_DIR\BUILD_DIR\mmfswaudiodevice.dll System\Libs\mmfswaudiodevice.dll
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devsound/devsoundrefplugin/group/mmfaudiotonetestcontroller.iby Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,22 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef MMFAUDIOTONETESTCONTROLLER.IBY
+#define MMFAUDIOTONETESTCONTROLLER.IBY
+
+ECOM_PLUGIN(mmfaudiotonetestcontroller.dll,2002C398.rsc)
+
+#endif //MMFAUDIOTONETESTCONTROLLER.IBY
+
--- a/devsound/devsoundrefplugin/mmpfiles/controller/MmfAudioToneController.mmp Fri Jul 09 13:09:11 2010 +0100
+++ b/devsound/devsoundrefplugin/mmpfiles/controller/MmfAudioToneController.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -19,13 +19,13 @@
@file
*/
-target mmfaudiotonecontroller.dll
+target mmfaudiotonetestcontroller.dll
CAPABILITY ALL -TCB
targettype plugin
UNPAGED
// ECom Dll recognition UID followed by the unique UID for this dll
-UID 0x10009D8D 0x101F7D95
+UID 0x10009D8D 0x2002C398
VENDORID 0x70000001
SOURCEPATH ../../src/controller/audio
@@ -48,8 +48,8 @@
#endif //__OMAP__
-start resource 101F7D95.rss
-target mmfaudiotonecontroller.rsc
+start resource 2002C398.rss
+target mmfaudiotonetestcontroller.rsc
end
LIBRARY euser.lib
--- a/devsound/devsoundrefplugin/src/controller/audio/101F7D95.rss Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Copied from... Registry file for the Example Interface Implementation Collection
-//
-//
-
-#include <ecom/registryinfo.rh>
-#include <mmf/plugin/mmfplugininterfaceuids.hrh>
-#include "MmfAudioToneController.hrh"
-
-RESOURCE REGISTRY_INFO theInfo
- {
- dll_uid = 0x101F7D95;
- interfaces =
- {
- INTERFACE_INFO
- {
- interface_uid = KMmfUidPluginInterfaceController ;
- implementations =
- {
- IMPLEMENTATION_INFO
- {
- implementation_uid = KMmfUidControllerAudioTone ;
- version_no = 1;
- display_name = "Symbian Audio Tone controller";
- default_data = "?";
- opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x101FFA00";//<n>yes indicates controller has no url handling capability.
- }
- };
- },
- INTERFACE_INFO
- {
- interface_uid = KMmfUidToneSequenceFormatInterface;
- implementations =
- {
- IMPLEMENTATION_INFO
- {
- implementation_uid = KMmfUidToneSequenceFormatRead ;
- version_no = 1;
- display_name = "Tone Sequence Play Format";
- default_data = "?";
- opaque_data = "<s>Symbian<i>0x101F5D07<e>.sqn<h>SQNC";
- }
- };
- }
-
- };
- }
-
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devsound/devsoundrefplugin/src/controller/audio/2002C398.rss Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,60 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Copied from... Registry file for the Example Interface Implementation Collection
+//
+//
+
+#include <ecom/registryinfo.rh>
+#include <mmf/plugin/mmfplugininterfaceuids.hrh>
+#include "MmfAudioToneController.hrh"
+
+RESOURCE REGISTRY_INFO theInfo
+ {
+ dll_uid = 0x2002C398;
+ interfaces =
+ {
+ INTERFACE_INFO
+ {
+ interface_uid = KMmfUidPluginInterfaceController ;
+ implementations =
+ {
+ IMPLEMENTATION_INFO
+ {
+ implementation_uid = KMmfUidControllerAudioTone ;
+ version_no = 1;
+ display_name = "Symbian Audio Tone Test controller";
+ default_data = "?";
+ opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x101FFA00";//<n>yes indicates controller has no url handling capability.
+ }
+ };
+ },
+ INTERFACE_INFO
+ {
+ interface_uid = KMmfUidToneSequenceFormatInterface;
+ implementations =
+ {
+ IMPLEMENTATION_INFO
+ {
+ implementation_uid = KMmfUidToneSequenceFormatRead ;
+ version_no = 1;
+ display_name = "Tone Sequence Play Format";
+ default_data = "?";
+ opaque_data = "<s>Symbian<i>0x101F5D07<e>.sqn<h>SQNC";
+ }
+ };
+ }
+
+ };
+ }
+
--- a/imagingandcamerafws/cameraunittest/group/custom/poststep_custom.xml Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<step passrate="100" harness="GENERIC" enabled="true" name="Fetch test module logs" significant="false">
- <command>fetch-log</command>
- <params>
- <param type="text"/>
- <param delete="true"/>
- <param path="c:\logs\testresults\tsu_ecam"/>
- </params>
-</step>
-
--- a/imagingandcamerafws/cameraunittest/group/custom/prestep_custom.xml Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<step passrate="100" harness="GENERIC" enabled="true" name="Create GENERIC log dir" significant="false">
- <command>makedir</command>
- <params>
- <param dir="c:\logs\testresults\tsu_ecam"/>
- </params>
-</step>
--- a/imagingandcamerafws/imagingfws/ImageProcessor/bwins/imageprocessor.def Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingfws/ImageProcessor/bwins/imageprocessor.def Mon Aug 23 18:56:36 2010 +0100
@@ -164,4 +164,6 @@
?ZoomL@TPreview@ImageProcessor@@QBEMXZ @ 163 NONAME ; float ImageProcessor::TPreview::ZoomL(void) const
??1CImgProcessor@ImageProcessor@@UAE@XZ @ 164 NONAME ; ImageProcessor::CImgProcessor::~CImgProcessor(void)
?SetInputL@CImgProcessor@ImageProcessor@@QAEXAAVCImagePanorama@@@Z @ 165 NONAME ; void ImageProcessor::CImgProcessor::SetInputL(class CImagePanorama &)
+ ?Extension@TInputInfo@ImageProcessor@@QBEPAXVTUid@@@Z @ 166 NONAME ; void * ImageProcessor::TInputInfo::Extension(class TUid) const
+ ?Extension@TOutputInfo@ImageProcessor@@QBEPAXVTUid@@@Z @ 167 NONAME ; void * ImageProcessor::TOutputInfo::Extension(class TUid) const
--- a/imagingandcamerafws/imagingfws/ImageProcessor/eabi/imageprocessor.def Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingfws/ImageProcessor/eabi/imageprocessor.def Mon Aug 23 18:56:36 2010 +0100
@@ -168,4 +168,6 @@
_ZN14ImageProcessor13CImgProcessorD1Ev @ 167 NONAME
_ZN14ImageProcessor13CImgProcessorD2Ev @ 168 NONAME
_ZN14ImageProcessor13CImgProcessor9SetInputLER14CImagePanorama @ 169 NONAME
+ _ZNK14ImageProcessor10TInputInfo9ExtensionE4TUid @ 170 NONAME
+ _ZNK14ImageProcessor11TOutputInfo9ExtensionE4TUid @ 171 NONAME
--- a/imagingandcamerafws/imagingfws/ImageProcessor/inc/imageprocessorinputinfo.h Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingfws/ImageProcessor/inc/imageprocessorinputinfo.h Mon Aug 23 18:56:36 2010 +0100
@@ -23,6 +23,7 @@
#define __IMAGE_PROCESSOR_INPUT_INFO_H__
#include <e32base.h>
+#include <gdi.h>
namespace ImageProcessor
{
--- a/imagingandcamerafws/imagingfws/ImageProcessor/src/imageprocessorinputinfo.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingfws/ImageProcessor/src/imageprocessorinputinfo.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -135,6 +135,17 @@
return iInputInfoImpl.HasAlphaL();
}
- }//namespace ImageProcessor
+/**
+Retrieves access to a custom extension.
+
+@param aExtension
+ The UID of the extension to be retrieved
+@return Extension corresponding to the UID given as a parameter.
+*/
+EXPORT_C TAny* TInputInfo::Extension(TUid /*aExtension*/) const
+ {
+ return NULL;
+ }
+ }//namespace ImageProcessor
//EOF
--- a/imagingandcamerafws/imagingfws/ImageProcessor/src/imageprocessoroutputinfo.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingfws/ImageProcessor/src/imageprocessoroutputinfo.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -52,7 +52,17 @@
__ASSERT_ALWAYS(iImageProcessorImpl.IsOutputSet(), User::Leave(KErrNotReady));
iOutputInfoImpl.SetSamplingL(aSampling);
}
+/**
+Retrieves access to a custom extension.
- }//namespace ImageProcessor
+@param aExtension
+ The UID of the extension to be retrieved
+@return Extension corresponding to the UID given as a parameter.
+*/
+EXPORT_C TAny* TOutputInfo::Extension(TUid /*aExtension*/) const
+ {
+ return NULL;
+ }
+ }//namespace ImageProcessor
//EOF
--- a/imagingandcamerafws/imagingfws/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingfws/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -115,10 +115,10 @@
// i.e. tests where no user input is required. The default will apply if neither "manual"
// or "support" is specified.
-../group/TImageViewer.mmp
-../group/TImageDisplay.mmp
-../group/TImageTran.mmp
-../group/tphotoeditor.mmp
+//../group/TImageViewer.mmp
+//../group/TImageDisplay.mmp
+//../group/TImageTran.mmp
+//../group/tphotoeditor.mmp
PRJ_TESTEXPORTS
// specify the source file followed by its destination here
@@ -127,10 +127,11 @@
// Romkit include files - additional test files
../group/ImageConversionTest.iby /epoc32/rom/include/imageconversiontest.iby
../group/ImageConversionProfile.iby /epoc32/rom/include/imageconversionprofile.iby
-../group/TImageViewer.iby /epoc32/rom/include/timageviewer.iby
-../group/TImageDisplay.iby /epoc32/rom/include/timagedisplay.iby
-../group/timagetran.iby /epoc32/rom/include/timagetran.iby
-../group/tphotoeditor.iby /epoc32/rom/include/tphotoeditor.iby
+
+//../group/TImageViewer.iby /epoc32/rom/include/timageviewer.iby
+//../group/TImageDisplay.iby /epoc32/rom/include/timagedisplay.iby
+//../group/timagetran.iby /epoc32/rom/include/timagetran.iby
+//../group/tphotoeditor.iby /epoc32/rom/include/tphotoeditor.iby
PRJ_TESTEXPORTS
--- a/imagingandcamerafws/imaginginttest/TSI_ICL_COD/COD/TSI_ICLCODstep.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/TSI_ICL_COD/COD/TSI_ICLCODstep.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -63,6 +63,7 @@
TVerdict RIclCodStep::OpenL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFs.Connect());
iScheduler = new (ELeave) CActiveScheduler;
--- a/imagingandcamerafws/imaginginttest/TSI_ICL_COD/group/TSU_ICL_COD.iby Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/TSI_ICL_COD/group/TSU_ICL_COD.iby Mon Aug 23 18:56:36 2010 +0100
@@ -16,7 +16,7 @@
#ifndef __TSU_ICL_COD_IBY__
#define __TSU_ICL_COD_IBY__
-file=ABI_DIR\BUILD_DIR\TSI_ICL_COD.DLL System\Libs\TSU_ICL_COD.DLL
+file=ABI_DIR\BUILD_DIR\TSI_ICL_COD.DLL System\Libs\TSI_ICL_COD.DLL
// scripts
data=EPOCROOT##epoc32\data\c\ICL\TSI_ICL_COD_00.script TSI_ICL_COD_00.script
--- a/imagingandcamerafws/imaginginttest/group/inttest_icl.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/group/inttest_icl.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -13,9 +13,9 @@
// Description:
//
-"\epoc32\release\armv5\urel\TSI_ICL_FRM_00.dll"-"c:\sys\bin\TSI_ICL_FRM_00.dll"
+"\epoc32\release\armv5\udeb\TSI_ICL_FRM_00.dll"-"c:\sys\bin\TSI_ICL_FRM_00.dll"
-\\ REM test scripts
+// REM test scripts
"\sf\os\mm\imagingandcamerafws\imaginginttest\scriptfiles\TSI_ICL_FRM_00.script"-"c:\TSI_ICL_FRM_00.script"
"\sf\os\mm\imagingandcamerafws\imaginginttest\scriptfiles\TSI_ICL_FRM_FS.script"-"c:\TSI_ICL_FRM_FS.script"
"\sf\os\mm\imagingandcamerafws\imaginginttest\scriptfiles\TSI_ICL_FRM_DRM.script"-"c:\TSI_ICL_FRM_DRM.script"
@@ -25,25 +25,26 @@
"\sf\os\mm\imagingandcamerafws\imaginginttest\scriptfiles\TSI_ICL_FRM_YUV_ALLOC.script"-"c:\TSI_ICL_FRM_YUV_ALLOC.script"
"\sf\os\mm\imagingandcamerafws\imaginginttest\scriptfiles\TSI_ICL_FRM_00.ini"-"c:\icl\TSI_ICL_FRM_00.ini"
-\\ testdata
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\jfif444_8.mbm""-"c:\icl\refimages\jfif444_8.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\jfif444.mbm""-"c:\icl\refimages\jfif444.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\trans_1.mbm""-"c:\icl\refimages\trans_1.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\trans_8.mbm""-"c:\icl\refimages\trans_8.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\operator.mbm""-"c:\icl\refimages\operator.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\bmp8bpp_8.mbm""-"c:\icl\refimages\bmp8bpp_8.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\sun.mbm""-"c:\icl\refimages\sun.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\png4_8.mbm""-"c:\icl\refimages\png4_8.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\tif3_4.mbm""-"c:\icl\refimages\tif3_4.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\wmf3_8.mbm""-"c:\icl\refimages\wmf3_8.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\icoepoc.mbm""-"c:\icl\refimages\icoepoc.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\mbm24bpp_4.mbm""-"c:\icl\refimages\mbm24bpp_4.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\mbm24bpp_4.mbm""-"c:\icl\testimages\mbm24bpp_4.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\textfile.mbm""-"c:\icl\refimages\textfile.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\img_1705.mbm""-"c:\icl\refimages\img_1705.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\Preview.ppm"-"c:\icl\refimages\preview.ppm"
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\preview.mbm""-"c:\icl\refimages\preview.mbm""
-"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\mbm_datanewl_0300.mbm""-"c:\icl\refimages\mbm_datanewl_0300.mbm""
+// testdata
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\jfif444_8.mbm"-"c:\icl\refimages\jfif444_8.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\minimum.mbm"-"c:\icl\refimages\minimum.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\jfif444.mbm"-"c:\icl\refimages\jfif444.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\trans_1.mbm"-"c:\icl\refimages\trans_1.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\trans_8.mbm"-"c:\icl\refimages\trans_8.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\operator.mbm"-"c:\icl\refimages\operator.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\bmp8bpp_8.mbm"-"c:\icl\refimages\bmp8bpp_8.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\sun.mbm"-"c:\icl\refimages\sun.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\png4_8.mbm"-"c:\icl\refimages\png4_8.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\tif3_4.mbm"-"c:\icl\refimages\tif3_4.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\wmf3_8.mbm"-"c:\icl\refimages\wmf3_8.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\icoepoc.mbm"-"c:\icl\refimages\icoepoc.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\mbm24bpp_4.mbm"-"c:\icl\refimages\mbm24bpp_4.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\mbm24bpp_4.mbm"-"c:\icl\testimages\mbm24bpp_4.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\textfile.mbm"-"c:\icl\refimages\textfile.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\img_1705.mbm"-"c:\icl\refimages\img_1705.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\Preview.ppm"-"c:\icl\testimages\preview.ppm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\preview.mbm"-"c:\icl\refimages\preview.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\mbm_datanewl_0300.mbm""-"c:\icl\refimages\mbm_datanewl_0300.mbm"
"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\mbm_datanewl_0300.uic"-"c:\icl\refimages\mbm_datanewl_0300.uic"
// data
@@ -237,7 +238,7 @@
"\sf\os\mm\imagingandcamerafws\imaginginttest\data\refimages\mbm\auto_rot_4_ref160_dec1.mbm"-"c:\icl\refimages\mbm\auto_rot_4_ref160_dec1.mbm"
"\sf\os\mm\imagingandcamerafws\imaginginttest\data\refimages\mbm\auto_rot_4_refarto160.mbm"-"c:\icl\refimages\mbm\auto_rot_4_refarto160.mbm"
-\\mm_testdata
+//mm_testdata
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\back.gif"-"c:\icl\testimages\back.gif"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\bmp8bpp_8.bmp"-"c:\icl\testimages\bmp8bpp_8.bmp"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\clock.gif"-"c:\icl\testimages\clock.gif"
@@ -264,7 +265,7 @@
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\wmf3_8.wmf"-"c:\icl\testimages\wmf3_8.wmf"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\wmf3_9.wmf"-"c:\icl\testimages\wmf3_9.wmf"
-\\ SYMBIAN_CAF_V2
+// SYMBIAN_CAF_V2
"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\Image.contentrights"-"c:\icl\testimages\Image.contentrights"
"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\Image.content"-"c:\icl\testimages\Image.content"
--- a/imagingandcamerafws/imaginginttest/imagedecoder/group/tsi_icl_imagedecoder.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/imagedecoder/group/tsi_icl_imagedecoder.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -34,6 +34,9 @@
"\sf\os\mm\imagingandcamerafws\imaginginttest\imagedecoder\scripts\tsi_icl_imagedecoder_autorotate.ini"-"c:\icl\imagedecoder\tsi_icl_imagedecoder_autorotate.ini"
"\sf\os\mm\imagingandcamerafws\imaginginttest\imagedecoder\scripts\tsi_icl_imagedecoder_autorotate.script"-"c:\tsi_icl_imagedecoder_autorotate.script"
+// testimages
+"\sf\os\mm\imagingandcamerafws\imaginginttest\data\testimages\mbm\bitmap_small01.mbm"-"c:\icl\testimages\mbm\bitmap_small01.mbm"
+
// reference images
"\sf\os\mm\imagingandcamerafws\imaginginttest\data\refimages\mbm\jpeg_sml07_refperf100.mbm"-"c:\icl\refimages\mbm\jpeg_sml07_refperf100.mbm"
"\sf\os\mm\imagingandcamerafws\imaginginttest\data\refimages\mbm\jpeg_sml10_refperf110.mbm"-"c:\icl\refimages\mbm\jpeg_sml10_refperf110.mbm"
@@ -255,4 +258,13 @@
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_supersize01.jpg"-"c:\icl\testimages\jpeg\jpeg_supersize01.jpg"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_wideandthin02.jpg"-"c:\icl\testimages\jpeg\jpeg_wideandthin02.jpg"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_wideandthin03.jpg"-"c:\icl\testimages\jpeg\jpeg_wideandthin03.jpg"
-"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_wideandthin17.jpg"-"c:\icl\testimages\jpeg\jpeg_wideandthin17.jpg"
\ No newline at end of file
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_wideandthin17.jpg"-"c:\icl\testimages\jpeg\jpeg_wideandthin17.jpg"
+
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\auto_rot_1.jpeg"-"c:\tsu_icl_exifimgdisp_01\auto_rot_1.jpeg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\auto_rot_2.jpeg"-"c:\tsu_icl_exifimgdisp_01\auto_rot_2.jpeg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\auto_rot_3.jpeg"-"c:\tsu_icl_exifimgdisp_01\auto_rot_3.jpeg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\auto_rot_4.jpeg"-"c:\tsu_icl_exifimgdisp_01\auto_rot_4.jpeg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\auto_rot_5.jpeg"-"c:\tsu_icl_exifimgdisp_01\auto_rot_5.jpeg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\auto_rot_6.jpeg"-"c:\tsu_icl_exifimgdisp_01\auto_rot_6.jpeg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\auto_rot_7.jpeg"-"c:\tsu_icl_exifimgdisp_01\auto_rot_7.jpeg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\auto_rot_8.jpeg"-"c:\tsu_icl_exifimgdisp_01\auto_rot_8.jpeg"
\ No newline at end of file
--- a/imagingandcamerafws/imaginginttest/imagedecoder/src/tsi_icl_decode_stepbase.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/imagedecoder/src/tsi_icl_decode_stepbase.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1862,6 +1862,7 @@
iUM = new (ELeave) CUtilityMembers();
User::LeaveIfError(iUM->iFs.Connect());
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
// derived test step class to implement
--- a/imagingandcamerafws/imaginginttest/imageencoder/group/tsi_icl_imageencoder.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/imageencoder/group/tsi_icl_imageencoder.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -51,6 +51,35 @@
"\sf\os\mm\imagingandcamerafws\imaginginttest\data\testimages\mbm\bitmap_restartinterop.mbm"-"c:\icl\testimages\mbm\bitmap_restartinterop.mbm"
//mm_testdata
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small10.jpg"-"c:\icl\testimages\jpeg\jpeg_small10.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small08.jpg"-"c:\icl\testimages\jpeg\jpeg_small08.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_multiscan.jpg"-"c:\icl\testimages\jpeg\jpeg_multiscan.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_multiscan_a.jpg"-"c:\icl\testimages\jpeg\jpeg_multiscan_a.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_multiscan_b.jpg"-"c:\icl\testimages\jpeg\jpeg_multiscan_b.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_multiscan_c.jpg"-"c:\icl\testimages\jpeg\jpeg_multiscan_c.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_multiscan_d.jpg"-"c:\icl\testimages\jpeg\jpeg_multiscan_d.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small18.jpg"-"c:\icl\testimages\jpeg\jpeg_small18.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small18_a.jpg"-"c:\icl\testimages\jpeg\jpeg_small18_a.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small18_b.jpg"-"c:\icl\testimages\jpeg\jpeg_small18_b.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small18_c.jpg"-"c:\icl\testimages\jpeg\jpeg_small18_c.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small18_d.jpg"-"c:\icl\testimages\jpeg\jpeg_small18_d.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small18_e.jpg"-"c:\icl\testimages\jpeg\jpeg_small18_e.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small18_f.jpg"-"c:\icl\testimages\jpeg\jpeg_small18_f.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small18_g.jpg"-"c:\icl\testimages\jpeg\jpeg_small18_g.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small18_h.jpg"-"c:\icl\testimages\jpeg\jpeg_small18_h.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small18_i.jpg"-"c:\icl\testimages\jpeg\jpeg_small18_i.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small18_j.jpg"-"c:\icl\testimages\jpeg\jpeg_small18_j.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small14_a.jpg"-"c:\icl\testimages\jpeg\jpeg_small14_a.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small10_a.jpg"-"c:\icl\testimages\jpeg\jpeg_small10_a.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_wideandthin02.jpg"-"c:\icl\testimages\jpeg\jpeg_wideandthin02.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_wideandthin03.jpg"-"c:\icl\testimages\jpeg\jpeg_wideandthin03.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_wideandthin17.jpg"-"c:\icl\testimages\jpeg\jpeg_wideandthin17.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_supersize01.jpg"-"c:\icl\testimages\jpeg\jpeg_supersize01.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small09_a.jpg"-"c:\icl\testimages\jpeg\jpeg_small09_a.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small15.jpg"-"c:\icl\testimages\jpeg\jpeg_small15.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\testimages\jpeg\jpeg_small13_a.jpg"-"c:\icl\testimages\jpeg\jpeg_small13_a.jpg"
+
+
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\refimages\jpeg\bitmap_avg01_refperf30.jpg"-"c:\icl\refimages\jpeg\bitmap_avg01_refperf30.jpg"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\refimages\jpeg\bitmap_avg01_refperf620.jpg"-"c:\icl\refimages\jpeg\bitmap_avg01_refperf620.jpg"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\data\refimages\jpeg\bitmap_avg01_refperf650.jpg"-"c:\icl\refimages\jpeg\bitmap_avg01_refperf650.jpg"
--- a/imagingandcamerafws/imaginginttest/imageencoder/src/tsi_icl_encode_stepbase.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/imageencoder/src/tsi_icl_encode_stepbase.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -819,6 +819,7 @@
__MM_HEAP_MARK
User::LeaveIfError(iFs.Connect());
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
// derived test step class to implement
--- a/imagingandcamerafws/imaginginttest/inc/ICLFbsSessionTest.inl Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/inc/ICLFbsSessionTest.inl Mon Aug 23 18:56:36 2010 +0100
@@ -40,6 +40,7 @@
*/
inline void CICLFbsSessionTest::ConnectToSessionL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
}
--- a/imagingandcamerafws/imaginginttest/src/TestImageDecoderDRM.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/src/TestImageDecoderDRM.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -92,6 +92,7 @@
__MM_HEAP_MARK;
TInt err = KErrNone;
+ User::LeaveIfError(FbsStartup());
err = RFbsSession::Connect();
if (err != KErrNone)
{
--- a/imagingandcamerafws/imaginginttest/src/TestImageDecoderFileSource.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/src/TestImageDecoderFileSource.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -297,6 +297,7 @@
__MM_HEAP_MARK;
TInt err = KErrNone;
+ User::LeaveIfError(FbsStartup());
err = RFbsSession::Connect();
if (err != KErrNone)
{
@@ -502,6 +503,7 @@
__MM_HEAP_MARK;
TInt err = KErrNone;
+ User::LeaveIfError(FbsStartup());
err = RFbsSession::Connect();
if (err != KErrNone)
{
--- a/imagingandcamerafws/imaginginttest/src/TestNegativeConversion.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/src/TestNegativeConversion.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -174,7 +174,14 @@
TVerdict result = EFail ;
TInt theRes = KErrNone;
- TInt err = RFbsSession::Connect();
+ TInt err = FbsStartup();
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("FbsStartup failed, err = %d"), err);
+ return EInconclusive;
+ }
+
+ err = RFbsSession::Connect();
if (err != KErrNone)
{
INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
@@ -208,12 +215,19 @@
TVerdict result = EFail ;
TInt theRes = KErrNone;
- TInt err = RFbsSession::Connect();
- if (err != KErrNone)
- {
- INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
- return EInconclusive;
- }
+ TInt err = FbsStartup();
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("FbsStartup failed, err = %d"), err);
+ return EInconclusive;
+ }
+
+ err = RFbsSession::Connect();
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
+ return EInconclusive;
+ }
//try to open corrupted file
TRAP_IGNORE(theRes = OpenImageForDecodeFromBufferL(iFileNameSrc, iImageTypeUid));
@@ -246,12 +260,19 @@
TVerdict result = EFail ;
TInt theRes = KErrNone;
- TInt err = RFbsSession::Connect();
- if (err != KErrNone)
- {
- INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
- return EInconclusive;
- }
+ TInt err = FbsStartup();
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("FbsStartup failed, err = %d"), err);
+ return EInconclusive;
+ }
+
+ err = RFbsSession::Connect();
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
+ return EInconclusive;
+ }
TRAP_IGNORE(theRes = OpenImageForDecodeFromBufferL(iFileNameSrc));
@@ -620,12 +641,19 @@
TVerdict result = EFail ;
TInt theRes = KErrNone;
- TInt err = RFbsSession::Connect();
- if (err != KErrNone)
- {
- INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
- return EInconclusive;
- }
+ TInt err = FbsStartup();
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("FbsStartup failed, err = %d"), err);
+ return EInconclusive;
+ }
+
+ err = RFbsSession::Connect();
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
+ return EInconclusive;
+ }
TRAP_IGNORE(theRes = OpenImageForDecodeFromBufferL( iFileNameSrc ));
@@ -662,12 +690,19 @@
return EInconclusive;
__MM_HEAP_MARK;
- err = RFbsSession::Connect();
- if (err != KErrNone)
- {
- INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
- return EInconclusive;
- }
+ TInt err1 = FbsStartup();
+ if (err1 != KErrNone)
+ {
+ INFO_PRINTF2(_L("FbsStartup failed, err = %d"), err1);
+ return EInconclusive;
+ }
+
+ err1 = RFbsSession::Connect();
+ if (err1 != KErrNone)
+ {
+ INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err1);
+ return EInconclusive;
+ }
CRightsDatabase* database = CRightsDatabase::NewL(EFalse); // clear current database
delete database; // delete database object
@@ -1063,6 +1098,7 @@
CleanupStack::PopAndDestroy(3, theImageEncoder);
+ RFbsSession::Disconnect();
return EPass;
}
--- a/imagingandcamerafws/imaginginttest/src/TestPositiveConversion.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/src/TestPositiveConversion.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -138,12 +138,19 @@
return EInconclusive;
__MM_HEAP_MARK;
- TInt err = RFbsSession::Connect();
- if (err != KErrNone)
- {
- INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
- return EInconclusive;
- }
+ TInt err = FbsStartup();
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("FbsStartup failed, err = %d"), err);
+ return EInconclusive;
+ }
+
+ err = RFbsSession::Connect();
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
+ return EInconclusive;
+ }
if(iImageTypeUid == KImageTypeWBMPUid ||
iImageTypeUid == KImageTypeOTAUid)
--- a/imagingandcamerafws/imaginginttest/src/TestStepConversion.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/src/TestStepConversion.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -2091,15 +2091,23 @@
// Need to do this BEFORE doing any allocation testing !
TInt CTestStepConversion::DummyHalCall()
{
- TInt err = RFbsSession::Connect();
- if (err != KErrNone)
- {
- INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
- return err;
- }
+ TInt err1 = FbsStartup();
+ if (err1 != KErrNone)
+ {
+ INFO_PRINTF2(_L("FbsStartup failed, err = %d"), err1);
+ return EInconclusive;
+ }
+
+ err1 = RFbsSession::Connect();
+ if (err1 != KErrNone)
+ {
+ INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err1);
+ return EInconclusive;
+ }
TInt displayMode = EColor256;
CFbsScreenDevice* screenDevice = NULL;
+ TInt err;
while(displayMode < EColorLast)
{
TRAP(err, screenDevice = CFbsScreenDevice::NewL(_L("NotUsed"),(TDisplayMode)displayMode));
--- a/imagingandcamerafws/imaginginttest/te_tsi_icl_cod_5/group/te_tsi_icl_cod_5suite.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/te_tsi_icl_cod_5/group/te_tsi_icl_cod_5suite.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -944,7 +944,7 @@
"\sf\os\mm\imagingandcamerafws\imaginginttest\te_tsi_icl_cod_5\testdata\mng\ref\subframes_16mu_image_display_decode_frame_5.mbm"-"c:\te_tsi_icl_cod_05\mng\ref\subframes_16mu_image_display_decode_frame_5.mbm"
"\sf\os\mm\imagingandcamerafws\imaginginttest\te_tsi_icl_cod_5\testdata\mng\ref\subframes_16mu_image_display_decode_frame_5_mask.mbm"-"c:\te_tsi_icl_cod_05\mng\ref\subframes_16mu_image_display_decode_frame_5_mask.mbm"
-\\ PDEF128541: Certain image cannot be seen on MO during share image.
+// PDEF128541: Certain image cannot be seen on MO during share image.
"\sf\os\mm\imagingandcamerafws\imaginginttest\te_tsi_icl_cod_5\testdata\bmp\ref\8bpp_bmp_16m_no_mask_decode.mbm"-"c:\te_tsi_icl_cod_05\bmp\ref\8bpp_bmp_16m_no_mask_decode.mbm"
"\sf\os\mm\imagingandcamerafws\imaginginttest\te_tsi_icl_cod_5\testdata\bmp\ref\8bpp_bmp_16mu_no_mask_decode.mbm"-"c:\te_tsi_icl_cod_05\bmp\ref\8bpp_bmp_16mu_no_mask_decode.mbm"
"\sf\os\mm\imagingandcamerafws\imaginginttest\te_tsi_icl_cod_5\testdata\bmp\ref\8bpp_bmp_16ma_no_mask_decode.mbm"-"c:\te_tsi_icl_cod_05\bmp\ref\8bpp_bmp_16ma_no_mask_decode.mbm"
--- a/imagingandcamerafws/imaginginttest/te_tsi_icl_cod_5/scripts/te_tsi_icl_cod_5Suite_2.script Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/te_tsi_icl_cod_5/scripts/te_tsi_icl_cod_5Suite_2.script Mon Aug 23 18:56:36 2010 +0100
@@ -426,7 +426,7 @@
RUN_TEST_STEP 200 te_tsi_icl_cod_5Suite tsi_icl_cod_52Step c:\testdata\configs\te_tsi_icl_cod_5Suite.ini GIF_ANIMATED_TRANSPARENCY_NOMASKDECODE_3
END_TESTCASE MM-TSI-ICL-COD-05-0068
-TART_TESTCASE MM-TSI-ICL-COD-05-0069
+START_TESTCASE MM-TSI-ICL-COD-05-0069
//!@SYMTestCaseID MM-TSI-ICL-COD-05-0069
//!@SYMTestCaseDesc Decode all frames of a multiple frame source image into a separate, single CFbsBitmap (with display mode of 16M, 16MU and 16MA) and a separate mask, then verify each frame against a reference file.
//!@SYMTestType CIT
@@ -446,7 +446,7 @@
//! 6. Repeat 2. through to 5. until all frames and masks have been decoded and verified.
//! 7. Performance timing figures are also included, but these are not checked in the test.
//!@SYMTestExpectedResults The bitmap containing the decoded data matches the reference files.
-S
+
RUN_TEST_STEP 200 te_tsi_icl_cod_5Suite tsi_icl_cod_53Step c:\testdata\configs\te_tsi_icl_cod_5Suite.ini GIF_ANIMATED_TRANSPARENCY_MASKDECODE_3
END_TESTCASE MM-TSI-ICL-COD-05-0069
--- a/imagingandcamerafws/imaginginttest/tsi_icl_btrans_01/group/tsi_icl_btrans_01.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/tsi_icl_btrans_01/group/tsi_icl_btrans_01.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -13,9 +13,9 @@
// Description:
//
-"\epoc32\release\armv5\urel\TSI_ICL_BTRANS_01.dll"-"c:\sys\bin\TSI_ICL_BTRANS_01.dll"
+"\epoc32\release\armv5\udeb\TSI_ICL_BTRANS_01.dll"-"c:\sys\bin\TSI_ICL_BTRANS_01.dll"
-"\sf\os\mm\imagingandcamerafws\imaginginttest\tsi_icl_btrans_01\scripts\TSI_ICL_BTRANS_01.script"-"c:\mm\TSI_ICL_BTRANS_01.script"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\tsi_icl_btrans_01\scripts\TSI_ICL_BTRANS_01.script"-"c:\TSI_ICL_BTRANS_01.script"
"\sf\os\mm\imagingandcamerafws\imaginginttest\tsi_icl_btrans_01\scripts\TSI_ICL_BTRANS_01_Panic.script"-"c:\TSI_ICL_BTRANS_01_Panic.script"
"\sf\os\mm\imagingandcamerafws\imaginginttest\tsi_icl_btrans_01\scripts\TSI_ICL_BTRANS_01_Alloc.script"-"c:\TSI_ICL_BTRANS_01_Alloc.script"
--- a/imagingandcamerafws/imaginginttest/tsi_icl_btrans_01/src/TestStepBitmapTransforms.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imaginginttest/tsi_icl_btrans_01/src/TestStepBitmapTransforms.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -112,6 +112,17 @@
*/
TVerdict CTestStepBitmapTransforms::DoTestStepPreambleL()
{
+ if(!iAllocTest)
+ {
+ User::LeaveIfError(FbsStartup());
+ TInt errCode = RFbsSession::Connect();
+ if( errCode != KErrNone)
+ {
+ //[ log failed to connect to bitmap server ]
+ Log(_L("Failed to connect to bitmap server in teststep preamble = %d"), errCode );
+ return EFail;
+ }
+ }
// [Test if this build support alloc testing]
if(iAllocTest)
{
@@ -229,7 +240,7 @@
//[ Destroy the scheduler ]
delete iScheduler ;
iScheduler = NULL;
-
+ RFbsSession::Disconnect();
return EPass;
}
--- a/imagingandcamerafws/imagingunittest/TSU_ICL_COD_03/group/tsu_icl_cod_03.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/TSU_ICL_COD_03/group/tsu_icl_cod_03.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -13,9 +13,9 @@
// Description:
//
-"\epoc32\release\armv5\urel\tsu_icl_cod_03.dll"-"c:\sys\bin\tsu_icl_cod_03.dll"
+"\epoc32\release\armv5\udeb\tsu_icl_cod_03.dll"-"c:\sys\bin\tsu_icl_cod_03.dll"
-\\ REM test scripts
+// REM test scripts
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_03\scripts\TSU_ICL_COD_03.script"-"c:\TSU_ICL_COD_03.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_03\scripts\TSU_ICL_COD_03_alloc.script"-"c:\TSU_ICL_COD_03_alloc.script"
@@ -144,7 +144,7 @@
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_03\TestFiles\refbut4.mbm"-"c:\tsu_icl_cod_03\refbut4.mbm"
-\\ mm_testdata
+// mm_testdata
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_03\testfiles\__scale__1_444834624.gif"-"c:\tsu_icl_cod_03\__scale__1_444834624.gif"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_03\testfiles\00000023.tif"-"c:\tsu_icl_cod_03\00000023.tif"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_03\testfiles\00000026.tif"-"c:\tsu_icl_cod_03\00000026.tif"
@@ -316,4 +316,6 @@
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_03\testfiles\wrongcommentblock3.jpg"-"c:\tsu_icl_cod_03\wrongcommentblock3.jpg"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_03\testfiles\zero-len-comment-1.gif"-"c:\tsu_icl_cod_03\zero-len-comment-1.gif"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_03\testfiles\zero-len-comment-2.gif"-"c:\tsu_icl_cod_03\zero-len-comment-2.gif"
-"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_03\testfiles\00000077.gif"-"c:\tsu_icl_cod_03\00000077.gif"
\ No newline at end of file
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_03\testfiles\00000077.gif"-"c:\tsu_icl_cod_03\00000077.gif"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_03\testfiles\secret.gif"-"c:\tsu_icl_cod_03\secret.gif"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_03\testfiles\3178500m.tif"-"c:\tsu_icl_cod_03\3178500m.tif"
\ No newline at end of file
--- a/imagingandcamerafws/imagingunittest/TSU_ICL_COD_03/src/ICLCodecDefectTestStep.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/TSU_ICL_COD_03/src/ICLCodecDefectTestStep.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -658,8 +658,10 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(RFbsSession::Connect());
//Open and load the file
TFileName fileName;
GetTestFileNameL(fileName, KCorruptPngFile);
@@ -692,6 +694,7 @@
void RPngDecodeFailureTest::Close()
{
+ RFbsSession::Disconnect();
delete iSourceData; iSourceData = NULL;
delete iScheduler; iScheduler = NULL;
iFileSession.Close();
@@ -763,7 +766,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -891,7 +894,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
// We expect to find these plugins
@@ -1071,7 +1074,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -1171,7 +1174,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -1267,7 +1270,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -1380,7 +1383,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -1496,7 +1499,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -1594,7 +1597,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -1970,7 +1973,7 @@
iListener = new (ELeave) CActiveListener;
iStatus = &iListener->iStatus;
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -2110,8 +2113,10 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, KCommentJpg);
INFO_PRINTF2(_L("Source: %S"),&iSourceFile);
@@ -2225,7 +2230,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -2334,7 +2339,7 @@
iScheduler = new(ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -2795,7 +2800,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -2927,7 +2932,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -3081,7 +3086,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -3189,7 +3194,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -3359,7 +3364,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -3476,7 +3481,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -3582,7 +3587,7 @@
CleanupStack::PushL( iScheduler );
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
-
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -3689,8 +3694,9 @@
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
iSourceBitmap = new (ELeave) CFbsBitmap;
iReferenceBitmap = new (ELeave) CFbsBitmap;
@@ -3826,11 +3832,13 @@
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
+
iListener = new (ELeave) CActiveListener;
iStatus = &iListener->iStatus;
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
return (iTestStepResult=EPass);
}
@@ -4106,13 +4114,14 @@
iAS = new (ELeave) CActiveScheduler;
CActiveScheduler::Install(iAS);
-
+
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
+
iListener = new (ELeave) CActiveListener;
iStatus = &iListener->iStatus;
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
-
GetTestFileNameL(iSourceFile, KReductionFactorTestGif);
INFO_PRINTF2(_L("Source: %S"),&iSourceFile);
@@ -4241,8 +4250,11 @@
CleanupStack::PushL( iScheduler );
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
+
return (iTestStepResult=EPass);
}
@@ -4347,8 +4359,10 @@
CleanupStack::PushL( iScheduler );
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
return (iTestStepResult=EPass);
}
@@ -4462,8 +4476,9 @@
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
iSourceBitmap = new (ELeave) CFbsBitmap;
iReferenceBitmap = new (ELeave) CFbsBitmap;
@@ -4573,8 +4588,9 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, KPeaceGifImage);
iSourceImage = new(ELeave) CFbsBitmap;
@@ -4707,8 +4723,9 @@
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
iSourceBitmap = new (ELeave) CFbsBitmap;
iReferenceBitmap = new (ELeave) CFbsBitmap;
@@ -4830,8 +4847,9 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, KJFIFWithThumbnailMbm);
INFO_PRINTF2(_L("Source: %S"),&iSourceFile);
@@ -5016,7 +5034,8 @@
iListener = new (ELeave) CActiveListener;
iStatus = &iListener->iStatus;
-
+
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -5219,7 +5238,8 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, KErrArgumentGif);
@@ -5309,8 +5329,9 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, KPeaceGifImage);
iSourceImage = new(ELeave) CFbsBitmap;
@@ -5431,6 +5452,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -5532,6 +5554,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -5684,6 +5707,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -5776,6 +5800,7 @@
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -5885,6 +5910,7 @@
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -5986,8 +6012,9 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(iFileSession.Connect());
- User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFileCorrupt,KLzwStreamCorruptGif);
INFO_PRINTF2(_L("Source: %S"),&iSourceFileCorrupt);
@@ -6087,8 +6114,9 @@
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, KSmallFirstFrameGif);
INFO_PRINTF2(_L("Source: %S"),&iSourceFile);
@@ -6218,8 +6246,9 @@
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, KSmallFirstFrameGif);
INFO_PRINTF2(_L("Source: %S"),&iSourceFile);
@@ -6428,8 +6457,9 @@
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, KFrameGifSizeAnim);
INFO_PRINTF2(_L("Source: %S"),&iSourceFile);
@@ -6715,8 +6745,9 @@
CActiveScheduler::Install( iScheduler );
CleanupStack::Pop(iScheduler);
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, KCorruptRLEBitmap);
INFO_PRINTF2(_L("Source: %S"),&iSourceFile);
@@ -6819,8 +6850,9 @@
iListener = new (ELeave) CActiveListener;
iStatus = &iListener->iStatus;
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, KClockZeroSubBlockGif);
INFO_PRINTF2(_L("Source: %S"),&iSourceFile);
@@ -6913,8 +6945,9 @@
{
INFO_PRINTF1(_L("INC097489: SWSV_633_91_R6A01_Image: GIF 256 color picture \"Damaged\" after editing in Pic..."));
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
TFileName defaultPath = static_cast<CICLCodecDefectTestSuite*>(iSuite)->DefaultPath();
TParse parse;
@@ -7226,6 +7259,7 @@
{
CActiveScheduler* iScheduler = new (ELeave) CActiveScheduler();
CActiveScheduler::Install(iScheduler);
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError( iFileSession.Connect() );
User::LeaveIfError( RFbsSession::Connect() );
iFbsConnected = ETrue;
@@ -7349,8 +7383,9 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, KStreamFFFFJpg);
@@ -7448,8 +7483,11 @@
INFO_PRINTF1(_L("DEF099679: CImageDecoder::ReducedSize() does not check upper boundary"));
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
+
iSourceBitmap = new(ELeave) CFbsBitmap;
iDestnBitmap = new(ELeave) CFbsBitmap;
return iTestStepResult;
@@ -7701,8 +7739,9 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, K24BppPng);
i16MuBitmap = new(ELeave) CFbsBitmap;
@@ -7827,8 +7866,9 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(iFileSession.Connect());
- User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
return EPass;
}
@@ -7927,8 +7967,9 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, K24BppPng);
i16MxBitmap = new(ELeave) CFbsBitmap;
@@ -8080,8 +8121,9 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install(iScheduler);
- User::LeaveIfError(iFileSession.Connect());
- User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
return EPass;
}
@@ -8188,6 +8230,8 @@
INFO_PRINTF1(_L("PDEF111303 AQP: Coverity tool for ICL - FORWARD NULL Reference in ICL"));
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
GetTestFileNameL(iSourceFile, KCorruptWMFFile);
@@ -8261,8 +8305,9 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(iFileSession.Connect());
- User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
return EPass;
}
@@ -8352,8 +8397,9 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
iSourceBitmap = new(ELeave) CFbsBitmap;
iDestnBitmap = new(ELeave) CFbsBitmap;
@@ -8532,7 +8578,10 @@
INFO_PRINTF1(_L("PDEF111193: iDecoder = CImageDecoder::FileNewL(iFs, aFile); is slow"));
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
+
GetTestFileNameL(iSourceFile, KPerformanceEnhanceTestJPG);
return iTestStepResult;
}
@@ -8631,8 +8680,10 @@
INFO_PRINTF1(_L("PDEF112298: Mbm Bitmap is not encoded to JPEG correctly using CImageEncoder"));
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFs.Connect());
+
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFs.Connect());
iListener = new (ELeave) CActiveListener;
return iTestStepResult;
@@ -8827,8 +8878,9 @@
iScheduler = new(ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFileSession.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFileSession.Connect());
return iTestStepResult;
}
@@ -8931,6 +8983,8 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -9468,6 +9522,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
@@ -9645,8 +9700,9 @@
TVerdict RTestStep_5104::OpenL()
{
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFs.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFs.Connect());
iScheduler = new(ELeave) CActiveScheduler();
CActiveScheduler::Install(iScheduler);
@@ -9744,8 +9800,9 @@
{
INFO_PRINTF1(_L("INC116806: Media files: Open image folder containing gif89 images results in a Main crash"));
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFs.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFs.Connect());
iScheduler = new(ELeave) CActiveScheduler();
CActiveScheduler::Install(iScheduler);
@@ -9872,6 +9929,7 @@
{
INFO_PRINTF1(_L("INC117891: 5.0 LWS: Browser crashes while loading the page"));
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFs.Connect());
@@ -9949,6 +10007,7 @@
{
INFO_PRINTF1(_L("PDEF123012: 5.0 :Browser crashes while loading the homepage for www.refdesk.com"));
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFs.Connect());
@@ -10050,8 +10109,9 @@
TVerdict RTestStep_5106::OpenL()
{
- User::LeaveIfError(RFbsSession::Connect());
- User::LeaveIfError(iFs.Connect());
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
+ User::LeaveIfError(iFs.Connect());
iScheduler = new(ELeave) CActiveScheduler();
CActiveScheduler::Install(iScheduler);
@@ -10135,6 +10195,7 @@
TVerdict RTestStep_5107::OpenL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFs.Connect());
--- a/imagingandcamerafws/imagingunittest/TSU_ICL_COD_04/group/TSU_ICL_COD_04.iby Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/TSU_ICL_COD_04/group/TSU_ICL_COD_04.iby Mon Aug 23 18:56:36 2010 +0100
@@ -23,7 +23,8 @@
REM Scripts
-data=EPOCROOT##epoc32\data\c\TSU_ICL_COD_04.script \TSU_ICL_COD_04.script
+data=EPOCROOT##epoc32\data\c\TSU_ICL_COD_04_part1.script \TSU_ICL_COD_04_part1.script
+data=EPOCROOT##epoc32\data\c\TSU_ICL_COD_04_part2.script \TSU_ICL_COD_04_part2.script
data=EPOCROOT##epoc32\data\c\TSU_ICL_COD_04_alloc.script \TSU_ICL_COD_04_alloc.script
data=EPOCROOT##epoc32\data\c\TSU_ICL_COD_04b.script \TSU_ICL_COD_04b.script
data=EPOCROOT##epoc32\data\c\TSU_ICL_COD_04.ini \TSU_ICL_COD_04.ini
--- a/imagingandcamerafws/imagingunittest/TSU_ICL_COD_04/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/TSU_ICL_COD_04/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -33,7 +33,9 @@
../scripts/TSU_ICL_COD_04.ini c:/tsu_icl_cod_04.ini
// scripts
-../scripts/TSU_ICL_COD_04.script c:/tsu_icl_cod_04.script
+../scripts/TSU_ICL_COD_04_part1.script c:/tsu_icl_cod_04_part1.script
+../scripts/TSU_ICL_COD_04_part2.script c:/tsu_icl_cod_04_part2.script
+
../scripts/TSU_ICL_COD_04_alloc.script c:/tsu_icl_cod_04_alloc.script
../scripts/TSU_ICL_COD_04b.script c:/tsu_icl_cod_04b.script
--- a/imagingandcamerafws/imagingunittest/TSU_ICL_COD_04/group/tsu_icl_cod_04.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/TSU_ICL_COD_04/group/tsu_icl_cod_04.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -13,15 +13,16 @@
// Description:
//
-"\epoc32\release\armv5\urel\TSU_ICL_COD_04.dll"-"c:\sys\bin\TSU_ICL_COD_04.dll"
+"\epoc32\release\armv5\udeb\TSU_ICL_COD_04.dll"-"c:\sys\bin\TSU_ICL_COD_04.dll"
-\\ REM test scripts
-"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_04\scripts\TSU_ICL_COD_04.script"-"c:\TSU_ICL_COD_04.script"
+// REM test scripts
+"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_04\scripts\TSU_ICL_COD_04_part1.script"-"c:\TSU_ICL_COD_04_part1.script"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_04\scripts\TSU_ICL_COD_04_part2.script"-"c:\TSU_ICL_COD_04_part2.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_04\scripts\TSU_ICL_COD_04_alloc.script"-"c:\TSU_ICL_COD_04_alloc.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_04\scripts\TSU_ICL_COD_04b.script"-"c:\TSU_ICL_COD_04b.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_04\scripts\TSU_ICL_COD_04.ini"-"c:\TSU_ICL_COD_04.ini"
-\\ testfiles
+// testfiles
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_04\TestFiles\DecodeThumbnail.mbm"-"c:\tsu_icl_cod_04\decodethumbnail.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_04\TestFiles\EncodeTestSource.mbm"-"c:\tsu_icl_cod_04\encodetestsource.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_04\TestFiles\EncodeThumbnail.mbm"-"c:\tsu_icl_cod_04\encodethumbnail.mbm"
@@ -34,7 +35,7 @@
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_04\TestFiles\TestCorruptThumbnailHeader.mbm"-"c:\tsu_icl_cod_04\testcorruptthumbnailheader.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_04\TestFiles\TestNoExifReference.mbm"-"c:\tsu_icl_cod_04\testnoexifreference.mbm"
-\\mm_testdata
+//mm_testdata
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_04\testfiles\1103018943-tazpvdft.jpg"-"c:\tsu_icl_cod_04\1103018943-tazpvdft.jpg"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_04\testfiles\1103018943-tazpvdft_ref.jpg"-"c:\tsu_icl_cod_04\1103018943-tazpvdft_ref.jpg"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_04\testfiles\289_8981100000300165521f.jpg"-"c:\tsu_icl_cod_04\289_8981100000300165521f.jpg"
--- a/imagingandcamerafws/imagingunittest/TSU_ICL_COD_04/scripts/TSU_ICL_COD_04.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1123 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// ICL Codec Testing Scripts
-//
-//
-
-PRINT Run all the ICL codec tests
-PRINT
-
-LOAD_SUITE TSU_ICL_COD_04.dll
-
-// Decode tests
-//! @SYMTestCaseID MM-ICL-COD-U-0501-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0501-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0502-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0502-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0503-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0503-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0504-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0504-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0505-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0505-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0506-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0506-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0507-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0507-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0508-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0508-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0509-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0509-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0510-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0510-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0511-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0511-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0512-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0512-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0513-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0513-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0514-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0514-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0515-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0515-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0516-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0516-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0517-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0517-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0518-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0518-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0519-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0519-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// Encode tests
-
-//! @SYMTestCaseID MM-ICL-COD-U-0521-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0521-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0522-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0522-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0523-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0523-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0524-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0524-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0525-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0525-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0526-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0526-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0527-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0527-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0528-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0528-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0529-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0529-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0530-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0530-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0531-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0531-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0532-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0532-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0533-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0533-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0534-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0534-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0535-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0535-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0536-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0536-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0537-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0537-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-
-// Thumbnail tests
-
-//! @SYMTestCaseID MM-ICL-COD-U-0541-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0541-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0542-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0542-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0543-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0543-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0544-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0544-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0545-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0545-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0546-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0546-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// Transform tests
-
-//! @SYMTestCaseID MM-ICL-COD-U-0562-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0562-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0563-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0563-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0564-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0564-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0565-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0565-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0566-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0566-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0567-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0567-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0568-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0568-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0569-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0569-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0570-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0570-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0571-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0571-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0572-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0572-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0573-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0573-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0574-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0574-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0575-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0575-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0576-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0576-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0577-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0577-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0578-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0578-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0579-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0579-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0580-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0580-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0581-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0581-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0582-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0582-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0583-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0583-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0584-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0584-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0585-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0585-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0586-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0586-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0587-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0587-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0588-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0588-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0589-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0589-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0590-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0590-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-0591-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0591-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-
-// ExifUtility tests
-
-//! @SYMTestCaseID MM-ICL-COD-U-0601-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0601-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF082361
-
-//! @SYMTestCaseID MM-ICL-COD-U-0602-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0602-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// INC059847
-
-//! @SYMTestCaseID MM-ICL-COD-U-1001-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1001-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// INC061409
-
-//! @SYMTestCaseID MM-ICL-COD-U-1002-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1002-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF072039
-
-//! @SYMTestCaseID MM-ICL-COD-U-1003-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1003-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//GPS IFD tests
-
-//! @SYMTestCaseID MM-ICL-COD-U-1101-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1101-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1102-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1102-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1103-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1103-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1104-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1104-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1105-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1105-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1106-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1106-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-
-//! @SYMTestCaseID MM-ICL-COD-U-1111-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1111-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1112-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1112-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1113-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1113-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1114-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1114-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1115-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1115-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-
-//! @SYMTestCaseID MM-ICL-COD-U-1121-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1121-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1122-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1122-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-
-//! @SYMTestCaseID MM-ICL-COD-U-1131-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1131-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1132-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1132-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1133-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1133-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1134-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1134-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1135-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1135-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-
-//! @SYMTestCaseID MM-ICL-COD-U-1141-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1141-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1142-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1142-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1143-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1143-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1144-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1144-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-
-//! @SYMTestCaseID MM-ICL-COD-U-1151-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1151-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1152-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1152-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1153-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1153-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1154-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1154-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//Exif CImageTransform Descriptor tests
-//! @SYMTestCaseID MM-ICL-COD-U-1161-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1161-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1162-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1162-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1163-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1163-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1164-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1164-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1165-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1165-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1166-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1166-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1167-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1167-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1168-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1168-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1169-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1169-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1170-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1170-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1171-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1171-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1172-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1172-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// 1173, 1174 & 1175 are for CancelTransform() which needs timeout
-//! @SYMTestCaseID MM-ICL-COD-U-1173-HP
-
-RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-1173-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1174-HP
-
-RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-1174-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1175-HP
-
-RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-1175-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1176-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1176-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1177-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1177-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-
-
-//GPS Misc
-//! @SYMTestCaseID MM-ICL-COD-U-1181-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1181-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1182-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1182-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF085006
-//! @SYMTestCaseID MM-ICL-COD-U-1183-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1183-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF082163
-//! @SYMTestCaseID MM-ICL-COD-U-1184-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1184-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF082163
-//! @SYMTestCaseID MM-ICL-COD-U-1185-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1185-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1186-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1186-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF082161
-//! @SYMTestCaseID MM-ICL-COD-U-1187-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1187-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF083701
-// This test is for CancelTransform() which needs timeout
-//! @SYMTestCaseID MM-ICL-COD-U-1188-HP
-
-RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-1188-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//DEF085007
-//! @SYMTestCaseID MM-ICL-COD-U-1189-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1189-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF082166
-//! @SYMTestCaseID MM-ICL-COD-U-1190-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1190-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF082166
-//! @SYMTestCaseID MM-ICL-COD-U-1191-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1191-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//DEF085007
-//! @SYMTestCaseID MM-ICL-COD-U-1192-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1192-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//DEF085007
-//! @SYMTestCaseID MM-ICL-COD-U-1193-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1193-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//DEF085004
-//! @SYMTestCaseID MM-ICL-COD-U-1194-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1194-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF082167
-//! @SYMTestCaseID MM-ICL-COD-U-1195-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1195-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF082167
-//! @SYMTestCaseID MM-ICL-COD-U-1196-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1196-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF085002
-//! @SYMTestCaseID MM-ICL-COD-U-1197-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1197-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF085002
-//! @SYMTestCaseID MM-ICL-COD-U-1198-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1198-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-1199-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1199-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// JPEG ImageFrame
-
-//! @SYMTestCaseID MM-ICL-COD-U-2000-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2000-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2001-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2001-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2002-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2002-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2003-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2003-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2004-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2004-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2005-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2005-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2006-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2006-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2007-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2007-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2008-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2008-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2009-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2009-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2010-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2010-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2050-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2050-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2051-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2051-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2052-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2052-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2053-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2053-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2054-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2054-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2055-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2055-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2056-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2056-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2057-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2057-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2058-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2058-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2059-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2059-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-2060-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2060-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3001-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3001-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3002-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3002-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3003-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3003-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3004-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3004-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3005-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3005-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3006-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3006-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3007-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3007-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3008-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3008-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3009-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3009-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3010-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3010-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3011-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3011-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-4000-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-4000-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-4001-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-4001-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-4002-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-4002-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-4003-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-4003-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-4004-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-4004-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-4005-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-4005-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// INC083025
-
-//! @SYMTestCaseID MM-ICL-COD-U-3020-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3020-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3021-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3021-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3022-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3022-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3023-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3023-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF084849
-
-//! @SYMTestCaseID MM-ICL-COD-U-3024-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3024-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-// DEF082165
-
-//! @SYMTestCaseID MM-ICL-COD-U-3030-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3030-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3031-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3031-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3032-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3032-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//DEF090653
-//! @SYMTestCaseID MM-ICL-COD-U-3033-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3033-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//PDEF085003: Exif Output file corrupt if JPEGInterchangeFormatLength tag not present
-//! @SYMTestCaseID MM-ICL-COD-U-3040-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3040-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3041-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3041-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//DEF091418: T: Transforming a Nikon camera jpeg image returns KErrNotSupported.
-//! @SYMTestCaseID MM-ICL-COD-U-3042-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3042-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//DEF091185: T: Exif data is added after the transform to an image which had no exif.
-//! @SYMTestCaseID MM-ICL-COD-U-3045-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3045-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//CR910: T: Images with partially corrupt EXIF data are opened and the non-corrupt data is retrieved
-//! @SYMTestCaseID MM-ICL-COD-U-3050-HP
-
-RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-3050-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-
-// CRPCUG-6SSBQ7: ICL CImageDecoder / CImageTransform option to skip EXIF metadata decoding.
-// Decoder option tests.
-//! @SYMTestCaseID MM-ICL-COD-U-3051-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3051-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-// Transform option tests.
-//! @SYMTestCaseID MM-ICL-COD-U-3052-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3052-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//INC101733: Behaviour of Exif transform with successive invalid tags is not as expected
-//! @SYMTestCaseID MM-ICL-COD-U-3053-HP
-
-RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-3053-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//DEF101880: JPEG Encoder may produce distorted images
-//! @SYMTestCaseID MM-ICL-COD-U-3054-HP
-
-RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-3054-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//INC094070: RF Inconsistent file open mode with CImageTransform Exif JPEG plugin.
-//! @SYMTestCaseID MM-ICL-COD-U-1200-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1200-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//INC094070: RF Inconsistent file open mode with CImageTransform Exif JPEG plugin.
-//! @SYMTestCaseID MM-ICL-COD-U-1201-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1201-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//INC094070: RF Inconsistent file open mode with CImageTransform Exif JPEG plugin.
-//! @SYMTestCaseID MM-ICL-COD-U-1202-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1202-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//PDEF110735: JPEG Exif IFDs with 0 entries can cause invalid JPEG
-//! @SYMTestCaseID MM-ICL-COD-U-3055-HP
-
-RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-3055-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//DEF110487: Decoding jpeg file with height of 17 pixels to image frame buffer errors with -9
-//! @SYMTestCaseID MM-ICL-COD-U-3056-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3056-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//PDEF128742:Image transform can not handle illegal exif when original image is to preserved
-//! @SYMTestCaseID MM-ICL-COD-U-3057-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3057-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//CR1329 tests : MM-ICL-COD-U-3060-HP to MM-ICL-COD-U-3063-HP
-//! @SYMTestCaseID MM-ICL-COD-U-3060-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3060-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3061-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3061-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3062-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3062-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-ICL-COD-U-3063-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3063-HP, c:\TSU_ICL_COD_04.ini
-TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/imagingandcamerafws/imagingunittest/TSU_ICL_COD_04/scripts/TSU_ICL_COD_04_part1.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,1090 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// ICL Codec Testing Scripts
+//
+//
+
+PRINT Run all the ICL codec tests
+PRINT
+
+LOAD_SUITE TSU_ICL_COD_04.dll
+
+// Decode tests
+//! @SYMTestCaseID MM-ICL-COD-U-0501-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0501-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0502-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0502-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0503-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0503-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0504-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0504-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0505-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0505-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0506-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0506-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0507-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0507-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0508-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0508-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0509-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0509-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0510-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0510-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0511-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0511-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0512-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0512-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0513-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0513-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0514-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0514-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0515-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0515-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0516-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0516-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0517-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0517-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0518-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0518-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0519-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0519-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// Encode tests
+
+//! @SYMTestCaseID MM-ICL-COD-U-0521-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0521-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0522-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0522-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0523-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0523-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0524-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0524-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0525-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0525-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0526-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0526-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0527-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0527-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0528-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0528-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0529-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0529-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0530-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0530-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0531-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0531-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0532-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0532-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0533-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0533-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0534-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0534-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0535-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0535-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0536-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0536-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0537-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0537-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+
+// Thumbnail tests
+
+//! @SYMTestCaseID MM-ICL-COD-U-0541-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0541-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0542-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0542-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0543-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0543-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0544-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0544-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0545-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0545-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0546-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0546-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// Transform tests
+
+//! @SYMTestCaseID MM-ICL-COD-U-0562-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0562-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0563-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0563-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0564-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0564-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0565-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0565-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0566-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0566-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0567-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0567-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0568-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0568-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0569-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0569-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0570-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0570-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0571-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0571-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0572-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0572-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0573-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0573-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0574-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0574-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0575-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0575-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0576-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0576-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0577-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0577-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0578-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0578-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0579-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0579-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0580-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0580-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0581-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0581-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0582-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0582-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0583-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0583-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0584-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0584-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0585-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0585-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0586-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0586-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0587-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0587-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0588-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0588-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0589-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0589-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0590-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0590-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-0591-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0591-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+
+// ExifUtility tests
+
+//! @SYMTestCaseID MM-ICL-COD-U-0601-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0601-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF082361
+
+//! @SYMTestCaseID MM-ICL-COD-U-0602-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-0602-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// INC059847
+
+//! @SYMTestCaseID MM-ICL-COD-U-1001-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1001-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// INC061409
+
+//! @SYMTestCaseID MM-ICL-COD-U-1002-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1002-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF072039
+
+//! @SYMTestCaseID MM-ICL-COD-U-1003-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1003-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//GPS IFD tests
+
+//! @SYMTestCaseID MM-ICL-COD-U-1101-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1101-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1102-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1102-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1103-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1103-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1104-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1104-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1105-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1105-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1106-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1106-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+
+//! @SYMTestCaseID MM-ICL-COD-U-1111-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1111-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1112-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1112-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1113-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1113-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1114-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1114-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1115-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1115-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+
+//! @SYMTestCaseID MM-ICL-COD-U-1121-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1121-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1122-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1122-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+
+//! @SYMTestCaseID MM-ICL-COD-U-1131-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1131-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1132-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1132-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1133-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1133-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1134-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1134-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1135-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1135-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+
+//! @SYMTestCaseID MM-ICL-COD-U-1141-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1141-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1142-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1142-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1143-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1143-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1144-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1144-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+
+//! @SYMTestCaseID MM-ICL-COD-U-1151-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1151-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1152-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1152-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1153-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1153-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1154-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1154-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//Exif CImageTransform Descriptor tests
+//! @SYMTestCaseID MM-ICL-COD-U-1161-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1161-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1162-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1162-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1163-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1163-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1164-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1164-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1165-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1165-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1166-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1166-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1167-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1167-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1168-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1168-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1169-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1169-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1170-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1170-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1171-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1171-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1172-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1172-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// 1173, 1174 & 1175 are for CancelTransform() which needs timeout
+//! @SYMTestCaseID MM-ICL-COD-U-1173-HP
+
+RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-1173-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1174-HP
+
+RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-1174-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1175-HP
+
+RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-1175-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1176-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1176-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1177-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1177-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+
+
+//GPS Misc
+//! @SYMTestCaseID MM-ICL-COD-U-1181-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1181-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1182-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1182-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF085006
+//! @SYMTestCaseID MM-ICL-COD-U-1183-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1183-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF082163
+//! @SYMTestCaseID MM-ICL-COD-U-1184-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1184-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF082163
+//! @SYMTestCaseID MM-ICL-COD-U-1185-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1185-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1186-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1186-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF082161
+//! @SYMTestCaseID MM-ICL-COD-U-1187-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1187-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF083701
+// This test is for CancelTransform() which needs timeout
+//! @SYMTestCaseID MM-ICL-COD-U-1188-HP
+
+RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-1188-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//DEF085007
+//! @SYMTestCaseID MM-ICL-COD-U-1189-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1189-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF082166
+//! @SYMTestCaseID MM-ICL-COD-U-1190-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1190-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF082166
+//! @SYMTestCaseID MM-ICL-COD-U-1191-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1191-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//DEF085007
+//! @SYMTestCaseID MM-ICL-COD-U-1192-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1192-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//DEF085007
+//! @SYMTestCaseID MM-ICL-COD-U-1193-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1193-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//DEF085004
+//! @SYMTestCaseID MM-ICL-COD-U-1194-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1194-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF082167
+//! @SYMTestCaseID MM-ICL-COD-U-1195-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1195-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF082167
+//! @SYMTestCaseID MM-ICL-COD-U-1196-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1196-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF085002
+//! @SYMTestCaseID MM-ICL-COD-U-1197-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1197-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF085002
+//! @SYMTestCaseID MM-ICL-COD-U-1198-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1198-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-1199-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1199-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// JPEG ImageFrame
+
+//! @SYMTestCaseID MM-ICL-COD-U-2000-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2000-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2001-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2001-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2002-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2002-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2003-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2003-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2004-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2004-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2005-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2005-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2006-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2006-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2007-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2007-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2008-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2008-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2009-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2009-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2010-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2010-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2050-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2050-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2051-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2051-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2052-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2052-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2053-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2053-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2054-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2054-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2055-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2055-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2056-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2056-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2057-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2057-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2058-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2058-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2059-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2059-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-2060-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-2060-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3001-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3001-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3002-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3002-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3003-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3003-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3004-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3004-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3005-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3005-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3006-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3006-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3007-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3007-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3008-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3008-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3009-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3009-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3010-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3010-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3011-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3011-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-4000-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-4000-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-4001-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-4001-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-4002-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-4002-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-4003-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-4003-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-4004-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-4004-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-4005-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-4005-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// INC083025
+
+//! @SYMTestCaseID MM-ICL-COD-U-3020-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3020-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3021-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3021-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3022-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3022-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3023-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3023-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF084849
+
+//! @SYMTestCaseID MM-ICL-COD-U-3024-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3024-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+// DEF082165
+
+//! @SYMTestCaseID MM-ICL-COD-U-3030-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3030-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3031-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3031-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3032-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3032-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//DEF090653
+//! @SYMTestCaseID MM-ICL-COD-U-3033-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3033-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//PDEF085003: Exif Output file corrupt if JPEGInterchangeFormatLength tag not present
+//! @SYMTestCaseID MM-ICL-COD-U-3040-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3040-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3041-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3041-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//DEF091418: T: Transforming a Nikon camera jpeg image returns KErrNotSupported.
+//! @SYMTestCaseID MM-ICL-COD-U-3042-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3042-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//DEF091185: T: Exif data is added after the transform to an image which had no exif.
+//! @SYMTestCaseID MM-ICL-COD-U-3045-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3045-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//CR910: T: Images with partially corrupt EXIF data are opened and the non-corrupt data is retrieved
+//! @SYMTestCaseID MM-ICL-COD-U-3050-HP
+
+RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-3050-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+
+// CRPCUG-6SSBQ7: ICL CImageDecoder / CImageTransform option to skip EXIF metadata decoding.
+// Decoder option tests.
+//! @SYMTestCaseID MM-ICL-COD-U-3051-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3051-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+// Transform option tests.
+//! @SYMTestCaseID MM-ICL-COD-U-3052-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3052-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//INC101733: Behaviour of Exif transform with successive invalid tags is not as expected
+//! @SYMTestCaseID MM-ICL-COD-U-3053-HP
+
+RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-3053-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//DEF101880: JPEG Encoder may produce distorted images
+//! @SYMTestCaseID MM-ICL-COD-U-3054-HP
+
+RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-3054-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//INC094070: RF Inconsistent file open mode with CImageTransform Exif JPEG plugin.
+//! @SYMTestCaseID MM-ICL-COD-U-1200-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1200-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//INC094070: RF Inconsistent file open mode with CImageTransform Exif JPEG plugin.
+//! @SYMTestCaseID MM-ICL-COD-U-1201-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1201-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//INC094070: RF Inconsistent file open mode with CImageTransform Exif JPEG plugin.
+//! @SYMTestCaseID MM-ICL-COD-U-1202-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-1202-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//PDEF110735: JPEG Exif IFDs with 0 entries can cause invalid JPEG
+//! @SYMTestCaseID MM-ICL-COD-U-3055-HP
+
+RUN_TEST_STEP 60000, TSU_ICL_COD_04, MM-ICL-COD-U-3055-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/imagingandcamerafws/imagingunittest/TSU_ICL_COD_04/scripts/TSU_ICL_COD_04_part2.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,55 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// ICL Codec Testing Scripts
+//
+//
+
+PRINT Run all the ICL codec tests
+PRINT
+
+LOAD_SUITE TSU_ICL_COD_04.dll
+
+
+//PDEF128742:Image transform can not handle illegal exif when original image is to preserved
+//! @SYMTestCaseID MM-ICL-COD-U-3057-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3057-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//CR1329 tests : MM-ICL-COD-U-3060-HP to MM-ICL-COD-U-3063-HP
+//! @SYMTestCaseID MM-ICL-COD-U-3060-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3060-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3061-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3061-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3062-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3062-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-ICL-COD-U-3063-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3063-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
+
+//DEF110487: Decoding jpeg file with height of 17 pixels to image frame buffer errors with -9
+//! @SYMTestCaseID MM-ICL-COD-U-3056-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_04, MM-ICL-COD-U-3056-HP, c:\TSU_ICL_COD_04.ini
+TEST_COMPLETE
--- a/imagingandcamerafws/imagingunittest/TSU_ICL_COD_04/src/jpegperformance.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/TSU_ICL_COD_04/src/jpegperformance.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -64,6 +64,8 @@
mulCoef = 1.0;
break;
+
+
default:
{
User::Leave(KErrGeneral);
--- a/imagingandcamerafws/imagingunittest/tsu_icl_GenIclImgDisp_01/group/tsu_icl_exifimgdisp_01.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_GenIclImgDisp_01/group/tsu_icl_exifimgdisp_01.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -15,7 +15,7 @@
"\epoc32\release\armv5\urel\tsu_icl_GenIclImgDisp_01.dll"-"c:\sys\bin\tsu_icl_GenIclImgDisp_01.dll"
-\\ REM test scripts
+// REM test scripts
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_GenIclImgDisp_01\scripts\TSU_ICL_ExifImgDisp_01.script"-"c:\TSU_ICL_ExifImgDisp_01.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_GenIclImgDisp_01\scripts\TSU_ICL_ExifImgDisp_01_ALLOC.script"-"c:\TSU_ICL_ExifImgDisp_01_ALLOC.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_GenIclImgDisp_01\scripts\TSU_ICL_ExifImgDisp_01_Panic.script"-"c:\TSU_ICL_ExifImgDisp_01_Panic.script"
@@ -23,7 +23,7 @@
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_GenIclImgDisp_01\scripts\TSU_ICL_GenIclImgDisp_01_Alloc.script"-"c:\TSU_ICL_GenIclImgDisp_01_Alloc.script"
-\\ testfiles
+// testfiles
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_GenIclImgDisp_01\TestFiles\ref\auto_rot_main.mbm"-"c:\tsu_icl_exifimgdisp_01\ref\auto_rot_main.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_GenIclImgDisp_01\TestFiles\ref\auto_rot_thumb.mbm"-"c:\tsu_icl_exifimgdisp_01\ref\auto_rot_thumb.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_GenIclImgDisp_01\TestFiles\ref\auto_rot_thumb1.mbm"-"c:\tsu_icl_exifimgdisp_01\ref\auto_rot_thumb1.mbm"
@@ -68,8 +68,19 @@
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_GenIclImgDisp_01\TestFiles\ref\wmf3_8_Arm.mbm"-"c:\tsu_icl_exifimgdisp_01\ref\wmf3_8_arm.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_GenIclImgDisp_01\TestFiles\ref\wmf3_8_NE.mbm"-"c:\tsu_icl_exifimgdisp_01\ref\wmf3_8_ne.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_GenIclImgDisp_01\TestFiles\ref\wmf3_8_h6.mbm"-"c:\tsu_icl_exifimgdisp_01\ref\wmf3_8_h6.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\icoepoc.mbm"-"c:\icl\refimages\icoepoc.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\bmp8bpp_8.mbm"-"c:\icl\refimages\bmp8bpp_8.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\trans_1.mbm"-"c:\icl\refimages\trans_1.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\trans_1.mbm"-"c:\icl\refimages\trans_1.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\trans_8.mbm"-"c:\icl\refimages\trans_8.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\tif3_4.mbm"-"c:\icl\refimages\tif3_4.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\jfif444.mbm"-"c:\icl\refimages\jfif444.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\operator.mbm"-"c:\icl\refimages\operator.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\png4_8.mbm"-"c:\icl\refimages\png4_8.mbm"
+"\sf\os\mm\imagingandcamerafws\imaginginttest\src\Data\sun.mbm"-"c:\icl\refimages\sun.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_03\TestFiles\WMFRef\DibPatternBrush.mbm"-"c:\tsu_icl_cod_03\wmfref\dibpatternbrush.mbm"
-\\ mm_testdata
+// mm_testdata
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\auto_rot_1.jpeg"-"c:\tsu_icl_exifimgdisp_01\auto_rot_1.jpeg"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\auto_rot_2.jpeg"-"c:\tsu_icl_exifimgdisp_01\auto_rot_2.jpeg"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\auto_rot_3.jpeg"-"c:\tsu_icl_exifimgdisp_01\auto_rot_3.jpeg"
@@ -82,4 +93,19 @@
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\empty.jpeg"-"c:\tsu_icl_exifimgdisp_01\empty.jpeg"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\genicl\anmatcat.gif"-"c:\tsu_icl_exifimgdisp_01\genicl\anmatcat.gif"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\genicl\clock.gif"-"c:\tsu_icl_exifimgdisp_01\genicl\clock.gif"
-"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\genicl\png2.png"-"c:\tsu_icl_exifimgdisp_01\genicl\png2.png"
\ No newline at end of file
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_geniclimgdisp_01\testfiles\genicl\png2.png"-"c:\tsu_icl_exifimgdisp_01\genicl\png2.png"
+
+// mm_testdata
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\icoepoc.ico"-"c:\icl\testimages\icoepoc.ico"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\bmp8bpp_8.bmp"-"c:\icl\testimages\bmp8bpp_8.bmp"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\trans_1.gif"-"c:\icl\testimages\trans_1.gif"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\trans_8.gif"-"c:\icl\testimages\trans_8.gif"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\tif3_4.tif"-"c:\icl\testimages\tif3_4.tif"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\jfif444.jpg"-"c:\icl\testimages\jfif444.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\clock.gif"-"c:\icl\testimages\clock.gif"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\operator.ota"-"c:\icl\testimages\operator.ota"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\png4_8.png"-"c:\icl\testimages\png4_8.png"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\sun.wbmp"-"c:\icl\testimages\sun.wbmp"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\inttest\icl\src\data\wmf3_8.wmf"-"c:\icl\testimages\wmf3_8.wmf"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_03\testfiles\wmf\dibpatternbrush.wmf"-"c:\tsu_icl_cod_03\wmf\dibpatternbrush.wmf"
+
--- a/imagingandcamerafws/imagingunittest/tsu_icl_GenIclImgDisp_01/src/TestStepExifImageDisplay.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_GenIclImgDisp_01/src/TestStepExifImageDisplay.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -594,6 +594,7 @@
TVerdict CTestStepImgDisplayGeneric::DoTestStepFbsL()
{
iLastError = KErrNone;
+ User::LeaveIfError(FbsStartup());
// [ connect to the bitmap server and check the error code]
User::LeaveIfError(RFbsSession::Connect());
iFbsConnection = ETrue;
--- a/imagingandcamerafws/imagingunittest/tsu_icl_GenIclImgDisp_01/src/TestSuiteExifImageDisplay.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_GenIclImgDisp_01/src/TestSuiteExifImageDisplay.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -172,6 +172,7 @@
*/
void CTestSuiteExifImageDisplay::InitialiseL( )
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError( RFbsSession::Connect() );
iFBSSession = ETrue;
--- a/imagingandcamerafws/imagingunittest/tsu_icl_MngImgDisp_01/group/tsu_icl_mngimgdisp_01.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_MngImgDisp_01/group/tsu_icl_mngimgdisp_01.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -1,9 +1,9 @@
-// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2010 Nokia Corporation and\or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+// at the URL "http:\\www.eclipse.org\legal\epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
@@ -15,16 +15,79 @@
"\epoc32\release\armv5\urel\TSU_ICL_MngImgDisp_01.dll"-"c:\sys\bin\TSU_ICL_MngImgDisp_01.dll"
-\\REM Scripts
+//REM Scripts
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\scripts\TSU_ICL_MngImgDisp_01.script"-"c:\TSU_ICL_MngImgDisp_01.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\scripts\TSU_ICL_MngImgDisp_01_ALLOC.script"-"c:\TSU_ICL_MngImgDisp_01_ALLOC.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\scripts\TSU_ICL_MngImgDisp_01_Panic.script"-"c:\TSU_ICL_MngImgDisp_01_Panic.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\scripts\TSU_ICL_MngIclDecoder_01.script"-"c:\TSU_ICL_MngIclDecoder_01.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\scripts\TSU_ICL_MngIclDecoder_01_Alloc.script"-"c:\TSU_ICL_MngIclDecoder_01_Alloc.script"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\scripts\TSU_ICL_MngIclDecoder_NoLoop.script"-"c:\TSU_ICL_MngIclDecoder_NoLoop.script"
-\\ mm_testdata
+// testdata
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\digit_0.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\digit_0.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\digit_1.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\digit_1.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\digit_2.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\digit_2.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\digit_3.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\digit_3.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\digit_4.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\digit_4.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\digit_5.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\digit_5.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\digit_6.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\digit_6.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\digit_7.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\digit_7.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\digit_8.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\digit_8.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\digit_9.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\digit_9.mbm"
+
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram1_1.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram1_1.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram1_2.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram1_2.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram1_3.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram1_3.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram1_4.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram1_4.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram1_5.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram1_5.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram1_6.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram1_6.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram1_7.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram1_7.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram1_8.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram1_8.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram1_9.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram1_9.mbm"
+
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram3_black.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram3_black.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram3_3.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram3_3.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram3_4.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram3_4.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram3_6.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram3_6.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram3_7.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram3_7.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram3_8.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram3_8.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram3_10.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram3_10.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram3_11.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram3_11.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram3_12.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram3_12.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram4_4.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram4_4.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\fram4_6.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\fram4_6.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\no_any_bg_frame_1.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\no_any_bg_frame_1.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\no_any_bg_mask_1.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\no_any_bg_mask_1.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\no_any_bg_frame_2.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\no_any_bg_frame_2.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\no_any_bg_mask_2.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\no_any_bg_mask_2.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\no_any_bg_frame_3.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\no_any_bg_frame_3.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\no_any_bg_mask_3.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\no_any_bg_mask_3.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\advisory_bg_frame_1.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\advisory_bg_frame_1.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\advisory_bg_mask_1.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\advisory_bg_mask_1.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\advisory_bg_frame_2.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\advisory_bg_frame_2.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\advisory_bg_mask_2.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\advisory_bg_mask_2.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\advisory_bg_frame_3.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\advisory_bg_frame_3.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\advisory_bg_mask_3.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\advisory_bg_mask_3.mbm"
+
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_frame_1.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_frame_1.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_mask_1.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_mask_1.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_frame_2.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_frame_2.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_mask_2.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_mask_2.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_frame_3.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_frame_3.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_mask_3.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_mask_3.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_frame_4.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_frame_4.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_mask_4.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_mask_4.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_frame_5.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_frame_5.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_mask_5.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_mask_5.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_frame_6.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_frame_6.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_mask_6.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_mask_6.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_frame_7.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_frame_7.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\subframes_mask_7.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\subframes_mask_7.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_MngImgDisp_01\TestFiles\ref\flag3col.mbm"-"c:\tsu_icl_mngimgdisp_01\ref\flag3col.mbm"
+
+// mm_testdata
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\24bit.mng"-"c:\tsu_icl_mngimgdisp_01\24bit.mng"
-"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\advisory_bg.mng"-"c:\tsu_icl_mngimgdisp_01\advisory_bg.mng:"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\advisory_bg.mng"-"c:\tsu_icl_mngimgdisp_01\advisory_bg.mng"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\back-invalidlength.mng"-"c:\tsu_icl_mngimgdisp_01\back-invalidlength.mng"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\back-invalidoptions.mng"-"c:\tsu_icl_mngimgdisp_01\back-invalidoptions.mng"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\basi.mng"-"c:\tsu_icl_mngimgdisp_01\basi.mng"
@@ -35,7 +98,7 @@
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\endl-withoutloop-negative.mng"-"c:\tsu_icl_mngimgdisp_01\endl-withoutloop-negative.mng"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\flag3col.mng"-"c:\tsu_icl_mngimgdisp_01\flag3col.mng"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\forclippingfram1.mng"-"c:\tsu_icl_mngimgdisp_01\forclippingfram1.mng"
-"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\forclippingfram1.mng"-"z:\resource\forclippingfram1.mng"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\forclippingfram1.mng"-"c:\resource\forclippingfram1.mng"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\fram1.mng"-"c:\tsu_icl_mngimgdisp_01\fram1.mng"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\fram2.mng"-"c:\tsu_icl_mngimgdisp_01\fram2.mng"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mngimgdisp_01\testfiles\fram3.mng"-"c:\tsu_icl_mngimgdisp_01\fram3.mng"
--- a/imagingandcamerafws/imagingunittest/tsu_icl_MngImgDisp_01/src/TestStepMngImageDisplay.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_MngImgDisp_01/src/TestStepMngImageDisplay.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -85,6 +85,7 @@
if (!iFbsConnection)
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
iFbsConnection = ETrue;
}
@@ -119,7 +120,7 @@
//[ Destroy the scheduler ]
delete iScheduler ;
iScheduler = NULL;
-
+ RFbsSession::Disconnect();
// [ umark the heap which was marked in preamble ]
__MM_HEAP_MARKEND;
@@ -572,6 +573,7 @@
// [ connect to the bitmap server and check the error code]
if (!iFbsConnection)
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
iFbsConnection = ETrue;
}
--- a/imagingandcamerafws/imagingunittest/tsu_icl_MngImgDisp_01/src/TestSuiteMngImageDisplay.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_MngImgDisp_01/src/TestSuiteMngImageDisplay.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -291,6 +291,7 @@
*/
void CTestSuiteMngImageDisplay::InitialiseL( )
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError( RFbsSession::Connect() );
iFBSSession = ETrue;
--- a/imagingandcamerafws/imagingunittest/tsu_icl_btrans_01/group/tsu_icl_btrans_01.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_btrans_01/group/tsu_icl_btrans_01.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -13,18 +13,18 @@
// Description:
//
-"\epoc32\release\armv5\urel\TSU_ICL_BTRANS_01.dll"-"c:\sys\bin\TSU_ICL_BTRANS_01.dll"
+"\epoc32\release\armv5\udeb\TSU_ICL_BTRANS_01.dll"-"c:\sys\bin\TSU_ICL_BTRANS_01.dll"
-\\ REM test scripts
+// REM test scripts
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_btrans_01\scripts\TSU_ICL_BTRANS_01.script"-"c:\TSU_ICL_BTRANS_01.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_btrans_01\scripts\TSU_ICL_BTRANS_01_ALLOC.script"-"c:\TSU_ICL_BTRANS_01_ALLOC.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_btrans_01\scripts\TSU_ICL_BTRANS_01_Panic.script"-"c:\TSU_ICL_BTRANS_01_Panic.script"
-\\ mm_testdata
+// mm_testdata
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_btrans_01\testfiles\bmp8bpp_8.bmp"-"c:\btrans\bmp8bpp_8.bmp"
-\\ test files
+// test files
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_btrans_01\TestFiles\EColor16IclBtrans.mbm"-"c:\ecolor16iclbtrans.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_btrans_01\TestFiles\EColor16MIclBtrans.mbm"-"c:\ecolor16miclbtrans.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_btrans_01\TestFiles\EColor16MUIclBtrans.mbm"-"c:\ecolor16muiclbtrans.mbm"
--- a/imagingandcamerafws/imagingunittest/tsu_icl_btrans_01/scripts/TSU_ICL_BTRANS_01_ALLOC.script Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_btrans_01/scripts/TSU_ICL_BTRANS_01_ALLOC.script Mon Aug 23 18:56:36 2010 +0100
@@ -27,12 +27,6 @@
TEST_COMPLETE
//
-//! @SYMTestCaseID MM-ICL-BTRANS-U-032-HP
-
-RUN_TEST_STEP -1, TSU_ICL_BTRANS_01, MM-ICL-BTRANS-U-032-HP
-TEST_COMPLETE
-
-//
//! @SYMTestCaseID MM-ICL-BTRANS-U-033-HP
RUN_TEST_STEP -1, TSU_ICL_BTRANS_01, MM-ICL-BTRANS-U-033-HP
@@ -46,3 +40,11 @@
RUN_TEST_STEP -1, TSU_ICL_BTRANS_01, MM-ICL-BTRANS-U-305-HP
TEST_COMPLETE
+
+//
+//! @SYMTestCaseID MM-ICL-BTRANS-U-032-HP
+
+RUN_TEST_STEP -1, TSU_ICL_BTRANS_01, MM-ICL-BTRANS-U-032-HP
+TEST_COMPLETE
+
+
--- a/imagingandcamerafws/imagingunittest/tsu_icl_btrans_01/src/TestStepBitmapTransforms.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_btrans_01/src/TestStepBitmapTransforms.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -120,6 +120,7 @@
if (iConnectToFbs)
{
+ User::LeaveIfError(FbsStartup());
// [ connect to the bitmap server and check the error code]
TInt errCode = RFbsSession::Connect();
if( errCode != KErrNone )
--- a/imagingandcamerafws/imagingunittest/tsu_icl_cod_01/group/tsu_icl_cod_01.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_cod_01/group/tsu_icl_cod_01.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -13,9 +13,9 @@
// Description:
//
-"\epoc32\release\armv5\urel\TSU_ICL_COD_01.dll"-"c:\sys\bin\TSU_ICL_COD_01.dll"
+"\epoc32\release\armv5\udeb\TSU_ICL_COD_01.dll"-"c:\sys\bin\TSU_ICL_COD_01.dll"
-\\ REM test scripts
+// REM test scripts
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_01\scripts\TSU_ICL_COD_01.script"-"c:\TSU_ICL_COD_01.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_01\scripts\TSU_ICL_COD_01_alloc.script"-"c:\TSU_ICL_COD_01_alloc.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_01\scripts\TSU_ICL_COD_01b_alloc.script"-"c:\TSU_ICL_COD_01b_alloc.script"
@@ -24,7 +24,7 @@
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_01\scripts\TSU_ICL_COD_01.ini"-"c:\TSU_ICL_COD_01.ini"
-\\ TImage test files
+// TImage test files
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_01\timagetestfiles\mbm12bpp_8.mbm"-"c:\timage\mbm12bpp_8.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_01\timagetestfiles\mbm16bpp_1.mbm"-"c:\timage\mbm16bpp_1.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_01\timagetestfiles\mbm1bpp_2.mbm"-"c:\timage\mbm1bpp_2.mbm"
@@ -118,7 +118,7 @@
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_01\timagetestfiles\ref\qvga_exif_thumb.mbm"-"c:\timage\ref\qvga_exif_thumb.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_01\timagetestfiles\ref\qvga_jfif_thumb.mbm"-"c:\timage\ref\qvga_jfif_thumb.mbm"
-\\ mm_testadta
+// mm_testadta
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_01\timagetestfiles\16bpp555.bmp"-"c:\timage\bmp\16bpp555.bmp"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_01\timagetestfiles\16bpp565.bmp"-"c:\timage\bmp\16bpp565.bmp"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_01\timagetestfiles\16bpp565_badmask.bmp"-"c:\timage\bmp\16bpp565_badmask.bmp"
--- a/imagingandcamerafws/imagingunittest/tsu_icl_cod_01/scripts/TSU_ICL_COD_01b_alloc.script Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_cod_01/scripts/TSU_ICL_COD_01b_alloc.script Mon Aug 23 18:56:36 2010 +0100
@@ -33,12 +33,6 @@
RUN_TEST_STEP -1, TSU_ICL_COD_01, MM-ICL-COD-U-10d1-HP, TSU_ICL_COD_01.ini
TEST_COMPLETE
-// alloc tests for decode using extensions (Image19)
-// On HW this is SMOKE_TEST testing one randomly selected file.
-//! @SYMTestCaseID MM-ICL-COD-U-1081-HP
-
-RUN_TEST_STEP -1, TSU_ICL_COD_01, MM-ICL-COD-U-1081-HP, TSU_ICL_COD_01.ini
-TEST_COMPLETE
// alloc tests for decode for codec without extensions (Image20)
//! @SYMTestCaseID MM-ICL-COD-U-1082-HP
@@ -63,3 +57,10 @@
RUN_TEST_STEP -1, TSU_ICL_COD_01, MM-ICL-COD-U-1085-HP, TSU_ICL_COD_01.ini
TEST_COMPLETE
+
+// alloc tests for decode using extensions (Image19)
+// On HW this is SMOKE_TEST testing one randomly selected file.
+//! @SYMTestCaseID MM-ICL-COD-U-1081-HP
+
+RUN_TEST_STEP -1, TSU_ICL_COD_01, MM-ICL-COD-U-1081-HP, TSU_ICL_COD_01.ini
+TEST_COMPLETE
\ No newline at end of file
--- a/imagingandcamerafws/imagingunittest/tsu_icl_cod_02/group/TSU_ICL_COD_02.iby Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_cod_02/group/TSU_ICL_COD_02.iby Mon Aug 23 18:56:36 2010 +0100
@@ -19,6 +19,7 @@
REM Test code
file=ABI_DIR\DEBUG_DIR\TSU_ICL_COD_02.dll System\Libs\TSU_ICL_COD_02.dll
+file=ABI_DIR\DEBUG_DIR\tsu_icl_cod_02_recog.dll System\Libs\tsu_icl_cod_02_recog.dll
REM Scripts
@@ -26,14 +27,5 @@
data=EPOCROOT##epoc32\data\c\TSU_ICL_COD_02_Recog.script \TSU_ICL_COD_02_Recog.script
data=EPOCROOT##epoc32\data\c\TSU_ICL_COD_02_Recog_ALLOC.script \TSU_ICL_COD_02_Recog_ALLOC.script
-data=EPOCROOT##epoc32\data\c\tsu_icl_cod_02\wolf.mbm \tsu_icl_cod_02\wolf.mbm
-data=EPOCROOT##epoc32\data\c\tsu_icl_cod_02\a.txt \tsu_icl_cod_02\a.txt
-data=EPOCROOT##epoc32\data\c\tsu_icl_cod_02\b.txt \tsu_icl_cod_02\b.txt
-data=EPOCROOT##epoc32\data\c\tsu_icl_cod_02\g.txt \tsu_icl_cod_02\g.txt
-data=EPOCROOT##epoc32\data\c\tsu_icl_cod_02\gif.txt \tsu_icl_cod_02\gif.txt
-data=EPOCROOT##epoc32\data\c\tsu_icl_cod_02\i.txt \tsu_icl_cod_02\i.txt
-data=EPOCROOT##epoc32\data\c\tsu_icl_cod_02\m.txt \tsu_icl_cod_02\m.txt
-data=EPOCROOT##epoc32\data\c\tsu_icl_cod_02\r.txt \tsu_icl_cod_02\r.txt
-
#endif __TSU_ICL_COD_02_IBY__
--- a/imagingandcamerafws/imagingunittest/tsu_icl_cod_02/group/tsu_icl_cod_02.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_cod_02/group/tsu_icl_cod_02.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -1,9 +1,9 @@
-// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2010 Nokia Corporation and\or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+// at the URL "http:\\www.eclipse.org\legal\epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
@@ -13,15 +13,28 @@
// Description:
//
-"\epoc32\release\armv5\urel\tsu_icl_cod_02.dll"-"c:\sy\bin\tsu_icl_cod_02.dll"
-"\epoc32\release\armv5\urel\tsu_icl_cod_02_recog.dll"-"c:\sys\bin\tsu_icl_cod_02_recog.dll"
+"\epoc32\release\armv5\udeb\tsu_icl_cod_02.dll"-"c:\sys\bin\tsu_icl_cod_02.dll"
+"\epoc32\release\armv5\udeb\tsu_icl_cod_02_recog.dll"-"c:\sys\bin\tsu_icl_cod_02_recog.dll"
+"\epoc32\release\armv5\udeb\TestFrameworkRecognizer.exe"-"c:\TestFrameworkRecognizer.exe"
-\\ REM test scripts
+
+// REM test scripts
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_02\scripts\TSU_ICL_COD_02.script"-"c:\TSU_ICL_COD_02.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_02\scripts\TSU_ICL_COD_02_Recog.script"-"c:\TSU_ICL_COD_02_Recog.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_COD_02\scripts\TSU_ICL_COD_02_Recog_ALLOC.script"-"c:\TSU_ICL_COD_02_Recog_ALLOC.script"
-\\ mm_testdata
+// testdata
+
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_02\TestFiles\wolf.mbm"-"c:\tsu_icl_cod_02\wolf.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_02\TestFiles\A.txt"-"c:\tsu_icl_cod_02\a.txt"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_02\TestFiles\B.txt"-"c:\tsu_icl_cod_02\b.txt"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_02\TestFiles\G.txt"-"c:\tsu_icl_cod_02\g.txt"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_02\TestFiles\Gif.txt"-"c:\tsu_icl_cod_02\gif.txt"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_02\TestFiles\I.txt"-"c:\tsu_icl_cod_02\i.txt"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_02\TestFiles\M.txt"-"c:\tsu_icl_cod_02\m.txt"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_cod_02\TestFiles\R.txt"-"c:\tsu_icl_cod_02\r.txt"
+
+// mm_testdata
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_02\testfiles\00000064.png"-"c:\icl\validation\png\00000064.png"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_02\testfiles\00000316.png"-"c:\icl\validation\png\00000316.png"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_cod_02\testfiles\bmp1bpp_1.bmp"-"c:\tsu_icl_cod_02\bmp1bpp_1.bmp"
--- a/imagingandcamerafws/imagingunittest/tsu_icl_cod_02/src/ICLCodecTestStep.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_cod_02/src/ICLCodecTestStep.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -221,6 +221,12 @@
iScheduler = new(ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
+ TInt errCode = RFbsSession::Connect();
+ if( errCode != KErrNone)
+ {
+ User::LeaveIfError(errCode);
+ }
return verdict;
}
@@ -228,10 +234,17 @@
{
delete iScheduler;
iScheduler = NULL;
+ RFbsSession::Disconnect();
}
TVerdict RPngWriteCodecTest::DoTestStepL()
{
+ User::LeaveIfError(FbsStartup());
+ TInt errCode = RFbsSession::Connect();
+ if( errCode != KErrNone)
+ {
+ User::LeaveIfError(errCode);
+ }
switch (iPngTestId)
{
case ECOD_0201:
@@ -1005,6 +1018,7 @@
TPtrC file22(KFile22);
RFs fSession;
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(fSession.Connect());
CleanupClosePushL(fSession);
@@ -1412,6 +1426,12 @@
iScheduler = new(ELeave) CActiveScheduler;
CActiveScheduler::Install(iScheduler);
+ User::LeaveIfError(FbsStartup());
+ TInt errCode = RFbsSession::Connect();
+ if( errCode != KErrNone)
+ {
+ User::LeaveIfError(errCode);
+ }
return verdict;
}
@@ -1419,6 +1439,7 @@
{
delete iScheduler;
iScheduler = NULL;
+ RFbsSession::Disconnect();
}
void RPngWriteSubCodecTest::SetTestFileNameL(TDes& aFileName, const TDesC& aPathNameAndExtn) const
@@ -2004,6 +2025,12 @@
iScheduler = new(ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
+ TInt errCode = RFbsSession::Connect();
+ if( errCode != KErrNone)
+ {
+ User::LeaveIfError(errCode);
+ }
// Connect to file server
User::LeaveIfError(iFs.Connect());
@@ -2129,6 +2156,7 @@
iPluginData[cnt].iInfoStrings.Reset();
iPluginData.Reset();
iFs.Close();
+ RFbsSession::Disconnect();
delete iScheduler;
}
@@ -2434,6 +2462,13 @@
// [Pop iScheduler ]
CleanupStack::Pop( iScheduler);
+// User::LeaveIfError(FbsStartup());
+// TInt errCode = RFbsSession::Connect();
+// if( errCode != KErrNone)
+// {
+// INFO_PRINTF1(_L("Shiva 5"));
+// User::LeaveIfError(errCode);
+// }
// Connect to file server
User::LeaveIfError(iFs.Connect());
@@ -2508,8 +2543,14 @@
__UHEAP_FAILNEXT(failCount);
__MM_HEAP_MARK;
+ User::LeaveIfError(FbsStartup());
err = RFbsSession::Connect();
-
+ if( err != KErrNone)
+ {
+
+ User::LeaveIfError(err);
+ }
+
if (err == KErrNone)
{
TRAP(err, VerifyMimeTypesL(iFileName, mimeType, confidenceLevel));
@@ -2604,6 +2645,12 @@
iScheduler = new(ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
+ TInt errCode = RFbsSession::Connect();
+ if( errCode != KErrNone)
+ {
+ User::LeaveIfError(errCode);
+ }
// Connect to file server
User::LeaveIfError(iFs.Connect());
@@ -2623,6 +2670,7 @@
{
iFileNames.Reset();
iFs.Close();
+ RFbsSession::Disconnect();
delete iScheduler;
}
@@ -2731,6 +2779,12 @@
iScheduler = new(ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
+ TInt errCode = RFbsSession::Connect();
+ if( errCode != KErrNone)
+ {
+ User::LeaveIfError(errCode);
+ }
// Connect to file server
User::LeaveIfError(iFs.Connect());
@@ -2740,6 +2794,7 @@
void RRecogNonStandardMimeTest::Close()
{
iFs.Close();
+ RFbsSession::Disconnect();
delete iScheduler;
}
@@ -2774,6 +2829,12 @@
iTestStepResult = EPass;
iScheduler = new(ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
+ TInt errCode = RFbsSession::Connect();
+ if( errCode != KErrNone)
+ {
+ User::LeaveIfError(errCode);
+ }
// Connect to file server
User::LeaveIfError(iFs.Connect());
return iTestStepResult;
@@ -2782,6 +2843,7 @@
void RRecogNonStandardWBMTest::Close()
{
iFs.Close();
+ RFbsSession::Disconnect();
delete iScheduler;
}
@@ -2933,6 +2995,12 @@
iTestStepResult = EPass;
iScheduler = new(ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
+ TInt errCode = RFbsSession::Connect();
+ if( errCode != KErrNone)
+ {
+ User::LeaveIfError(errCode);
+ }
// Connect to file server
User::LeaveIfError(iFs.Connect());
return iTestStepResult;
@@ -2941,6 +3009,7 @@
void RRecogNonStandardWMFTest::Close()
{
iFs.Close();
+ RFbsSession::Disconnect();
delete iScheduler;
}
--- a/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/group/tsu_icl_frm_01.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/group/tsu_icl_frm_01.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -13,7 +13,7 @@
// Description:
//
-"\epoc32\release\armv5\urel\tsu_icl_frm_01.dll"-"c:\sys\bin\tsu_icl_frm_01.dll"
+"\epoc32\release\armv5\udeb\tsu_icl_frm_01.dll"-"c:\sys\bin\tsu_icl_frm_01.dll"
//REM test scripts
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_frm_01\scripts\TSU_ICL_FRM_01.script"-"c:\TSU_ICL_FRM_01.script"
@@ -36,6 +36,7 @@
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_frm_01\TestFiles\Image.content"-"c:\tsu_icl_frm_01\Image.content"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_frm_01\TestFiles\Image.contentrights"-"c:\tsu_icl_frm_01\Image.contentrights"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_frm_01\TestFiles\operator.mbm"-"c:\tsu_icl_frm_01\operator.mbm"
+"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_frm_01\TestFiles\operator.otb"-"c:\tsu_icl_frm_01\operator.otb"
// mm_testdata
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_frm_01\testfiles\clock.gif"-"c:\tsu_icl_frm_01/clock.gif"
@@ -43,7 +44,7 @@
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_frm_01\testfiles\gif87a.gif"-"c:/tsu_icl_frm_01/gif87a.gif"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_frm_01\testfiles\jfif422_4_ref.jpg"-"c:/tsu_icl_frm_01/jfif422_4_ref.jpg"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_frm_01\testfiles\jfif444.jpg"-"c:/tsu_icl_frm_01/jfif444.jpg"
-"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_frm_01\testfiles\jfif444.jpg"-"z:/resource/jfif444.jpg"
+"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_frm_01\testfiles\jfif444.jpg"-"c:/resource/jfif444.jpg"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_frm_01\testfiles\png24bpp_1.png"-"c:/tsu_icl_frm_01/png24bpp_1.png"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_frm_01\testfiles\png4_8.png"-"c:/tsu_icl_frm_01/png4_8.png"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_frm_01\testfiles\simple_b.mng"-"c:/tsu_icl_frm_01/simple_b.mng"
--- a/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/BufferedImageDecoderTest.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/BufferedImageDecoderTest.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -70,6 +70,7 @@
void RCBufferedImageDecoderDecodeTest::SetupL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -265,6 +266,7 @@
void RCBufferedImageDecoderFunctionTest::SetupL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
--- a/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/ICLFrameWorkTestStep.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/ICLFrameWorkTestStep.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -2470,6 +2470,7 @@
void RCImageDecoderPrivDecodeTest::SetupL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -2834,6 +2835,7 @@
void RCImageDecoderPrivCustomTest::SetupL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -3488,6 +3490,7 @@
void RCImageDecoderPrivAsyncDecodeTest::SetupL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -3702,6 +3705,7 @@
{
// don't need to push this to cleanup stack because we should
// always call Cleanup() if this function leaves
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
iSourceDataPtr.SetLength(0);
@@ -3850,6 +3854,7 @@
void RCImageEncoderAsyncEncodeTest::TestStepL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
iImageEncoder = CImageEncoder::DataNewL(
--- a/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/ImageDecoderDRM.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/ImageDecoderDRM.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -378,6 +378,7 @@
*/
TVerdict RTImageOpenAndDecode::OpenL()
{
+ User::LeaveIfError(FbsStartup());
TInt err = RFbsSession::Connect();
if (err != KErrNone)
{
--- a/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/ImageDecoderTest.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/ImageDecoderTest.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -141,6 +141,7 @@
void RCImageDecoderDecodeTest::SetupL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -438,6 +439,7 @@
void RCImageDecoderIntentTest::SetupL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -1247,6 +1249,7 @@
TVerdict RCImageDecoderMaskDecodeTest::OpenL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -1391,6 +1394,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -1522,6 +1526,7 @@
TMMFileSource fs(iFileName);
TInt err;
CImageDecoder* imageDecoder = NULL;
+ User::LeaveIfError(FbsStartup());
TInt error = RFbsSession::Connect();
if (error != KErrNone)
{
@@ -1709,6 +1714,13 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install(iScheduler);
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(iFileSession.Connect());
+ TInt error = RFbsSession::Connect();
+ if (error != KErrNone)
+ {
+ return EInconclusive;
+ }
if (iThreaded)
{
iOptions = CImageDecoder::EOptionAlwaysThread;
@@ -1717,7 +1729,7 @@
INFO_PRINTF2(_L("Testing PNG plugin: Implementation Uid = 0x%X"), KPNGDecoder);
// Check that the test file is there.
- User::LeaveIfError(iFileSession.Connect());
+
if (!CheckForFile(iFileSession, KTestPNGFile))
{
iTestStepResult = EFail;
@@ -2222,11 +2234,11 @@
TVerdict RFwExtDecSupportedTest::OpenL()
{
- User::LeaveIfError(RFbsSession::Connect());
-
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install(iScheduler);
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError(RFbsSession::Connect());
User::LeaveIfError(iFileSession.Connect());
if(iThreaded)
--- a/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/ImageEncoderPrivTest.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/ImageEncoderPrivTest.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -80,6 +80,7 @@
void RCImageEncoderPrivEncodeTest::SetupL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -216,6 +217,7 @@
void RCImageEncoderPrivCustomTest::SetupL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
--- a/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/ImageEncoderTest.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/ImageEncoderTest.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -95,6 +95,7 @@
void RCImageEncoderEncodeTest::SetupL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -324,6 +325,7 @@
if(iTestNumber == 3)
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -390,6 +392,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -887,6 +890,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install(iScheduler);
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -1362,6 +1366,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -1462,6 +1467,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -1570,6 +1576,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
@@ -1649,6 +1656,7 @@
iScheduler = new (ELeave) CActiveScheduler;
CActiveScheduler::Install( iScheduler );
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(iFileSession.Connect());
User::LeaveIfError(RFbsSession::Connect());
--- a/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/ImageProcessorTest.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_frm_01/src/ImageProcessorTest.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -54,6 +54,7 @@
TVerdict RCImageProcessorUtilityTest::OpenL()
{
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
iTestData.Reset();
--- a/imagingandcamerafws/imagingunittest/tsu_icl_gscal_01/src/TestStepGifscaler.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_gscal_01/src/TestStepGifscaler.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -131,7 +131,7 @@
{
//[ mark the heap and unmark at the end of postamble ]
__MM_HEAP_MARK;
-
+ User::LeaveIfError(FbsStartup());
// [ connect to the bitmap server and check the error code]
TInt errCode = RFbsSession::Connect();
if( errCode != KErrNone )
--- a/imagingandcamerafws/imagingunittest/tsu_icl_imageframe/group/tsu_icl_imageframe.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_imageframe/group/tsu_icl_imageframe.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -13,7 +13,7 @@
// Description:
//
-"\epoc32\release\armv5\urel\TSU_ICL_ImageFrame.dll"-"c:\sys\bin\TSU_ICL_ImageFrame.dll"
+"\epoc32\release\armv5\udeb\TSU_ICL_ImageFrame.dll"-"c:\sys\bin\TSU_ICL_ImageFrame.dll"
// REM test scripts
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_imageframe\scripts\TSU_ICL_ImageFrame.script"-"c:\TSU_ICL_ImageFrame.script"
--- a/imagingandcamerafws/imagingunittest/tsu_icl_imgdisp/group/tsu_icl_imgdisp_01.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_imgdisp/group/tsu_icl_imgdisp_01.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -13,19 +13,19 @@
// Description:
//
-"\epoc32\release\armv5\urel\TSU_ICL_ImgDisp_01.dll"-"c:\sys\bin\TSU_ICL_ImgDisp_01.dll"
+"\epoc32\release\armv5\udeb\TSU_ICL_ImgDisp_01.dll"-"c:\sys\bin\TSU_ICL_ImgDisp_01.dll"
-\\ REM test scripts
+// REM test scripts
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_imgdisp\scripts\TSU_ICL_ImgDisp_01.script"-"c:\TSU_ICL_ImgDisp_01.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_imgdisp\scripts\TSU_ICL_ImgDisp_01_ALLOC.script"-"c:\TSU_ICL_ImgDisp_01_ALLOC.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_imgdisp\scripts\TSU_ICL_ImgDisp_01_Panic.script"-"c:\TSU_ICL_ImgDisp_01_Panic.script"
-\\ mm_testdata
+// mm_testdata
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_imgdisp\testfiles\empty.mng"-"c:\tsu_icl_imgdisp_01\empty.mng"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_imgdisp\testfiles\simple_b.mng"-"c:\tsu_icl_imgdisp_01\simple_b.mng"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_imgdisp\testfiles\wolf.jpg"-"c:\tsu_icl_imgdisp_01\wolf.jpg"
-\\testfiles
+//testfiles
"\sf\os\\mm\imagingandcamerafws\imagingunittest\tsu_icl_imgdisp\TestFiles\ImgDispl.content"-"c:\tsu_icl_imgdisp_01\ImgDispl.content"
"\sf\os\\mm\imagingandcamerafws\imagingunittest\tsu_icl_imgdisp\TestFiles\ImgDispl.contentrights"-"c:\tsu_icl_imgdisp_01\ImgDispl.content"
"\sf\os\\mm\imagingandcamerafws\imagingunittest\tsu_icl_imgdisp\TestFiles\dummy.idp"-"c:\tsu_icl_imgdisp_01\dummy.idp"
--- a/imagingandcamerafws/imagingunittest/tsu_icl_imgdisp/src/TestStepImageDisplay.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_imgdisp/src/TestStepImageDisplay.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -83,6 +83,8 @@
//[ mark the heap and unmark at the end of postamble ]
__MM_HEAP_MARK;
+ User::LeaveIfError(FbsStartup());
+ User::LeaveIfError( RFbsSession::Connect() );
iScheduler = new(ELeave)CActiveScheduler;
//[ push the scheduler on the stack ]
CleanupStack::PushL( iScheduler );
@@ -410,6 +412,7 @@
{
// [ connect to the bitmap server and check the error code]
+ User::LeaveIfError(FbsStartup());
User::LeaveIfError(RFbsSession::Connect());
iFbsConnection = ETrue;
--- a/imagingandcamerafws/imagingunittest/tsu_icl_imgdisp/src/TestSuiteImageDisplay.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_imgdisp/src/TestSuiteImageDisplay.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -675,7 +675,6 @@
*/
void CTestSuiteImageDisplay::InitialiseL( )
{
- User::LeaveIfError( RFbsSession::Connect() );
iFBSSession = ETrue;
//[ set the default path ]
--- a/imagingandcamerafws/imagingunittest/tsu_icl_itfm_01/group/tsu_icl_itfm_01.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_itfm_01/group/tsu_icl_itfm_01.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -13,12 +13,7 @@
// Description:
//
-"\epoc32\release\armv5\urel\TSU_ICL_ITFM_01.dll"-"c:\sys\bin\TSU_ICL_ITFM_01.dll"
-"\epoc32\release\armv5\urel\TestTransformerExt.dll"-"c:\sys\bin\TestTransformerExt.dll"
-"\epoc32\release\armv5\urel\testtransformer.dll"-"c:\sys\bin\testtransformer.dll"
-
-
-// REM Scripts
-"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_ITFM_01\scripts\TSU_ICL_ITFM_01_nocap.script "-"c:\TSU_ICL_ITFM_01_nocap.script "
-"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_ITFM_01\scripts\TSU_ICL_ITFM_01_nocap_ALLOC.script "-"c:\TSU_ICL_ITFM_01_nocap_ALLOC.script "
-"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_ITFM_01\scripts\TSU_ICL_ITFM_01_panic_nocap.script"-"c:\TSU_ICL_ITFM_01_panic_nocap.script"
\ No newline at end of file
+"\epoc32\release\armv5\udeb\TSU_ICL_ITFM_01.dll"-"c:\sys\bin\TSU_ICL_ITFM_01.dll"
+"\epoc32\release\armv5\udeb\TestTransformerExt.dll"-"c:\sys\bin\TestTransformerExt.dll"
+"\epoc32\release\armv5\udeb\testtransformer.dll"-"c:\sys\bin\testtransformer.dll"
+"\epoc32\release\armv5\udeb\TestFrameworkNone.exe"-"c:\TestFrameworkNone.exe"
\ No newline at end of file
--- a/imagingandcamerafws/imagingunittest/tsu_icl_itfm_01/src/TestStepImageTransform.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_itfm_01/src/TestStepImageTransform.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -425,6 +425,7 @@
void CTestStepTransformGeneric::Cleanup()
{
+ RFbsSession::Disconnect();
delete iSourceBuf; iSourceBuf = NULL;
delete iDestBuf; iDestBuf = NULL;
}
@@ -478,6 +479,13 @@
}
else
{
+
+ User::LeaveIfError(FbsStartup());
+ TInt errCode = RFbsSession::Connect();
+ if( errCode != KErrNone)
+ {
+ User::LeaveIfError(errCode);
+ }
verdict = DoTestStepFbsL();
}
--- a/imagingandcamerafws/imagingunittest/tsu_icl_mediasvr/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_mediasvr/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -27,6 +27,11 @@
PRJ_TESTEXPORTS
+
+// iby
+tsu_icl_mediasvr.iby /epoc32/rom/include/tsu_icl_mediasvr.iby
+
+
// test scripts
../scripts/TSU_ICL_MediaSvr.script c:/tsu_icl_mediasvr.script
../scripts/TSU_ICL_MediaSvr_alloc.script c:/tsu_icl_mediasvr_alloc.script
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_mediasvr/group/tsu_icl_mediasvr.iby Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,28 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef __TSU_ICL_MEDIA_SVR_IBY__
+#define __TSU_ICL_MEDIA_SVR_IBY__
+
+file=ABI_DIR\DEBUG_DIR\tsu_icl_mediasvr.dll System\Libs\tsu_icl_mediasvr.dll
+
+REM Scripts
+
+data=EPOCROOT##epoc32\data\c\TSU_ICL_MediaSvr.script \TSU_ICL_MediaSvr.script
+data=EPOCROOT##epoc32\data\c\TSU_ICL_MediaSvr_alloc.script \TSU_ICL_MediaSvr_alloc.script
+
+
+#endif __TSU_ICL_MEDIA_SVR_IBY__
+
--- a/imagingandcamerafws/imagingunittest/tsu_icl_mediasvr/group/tsu_icl_mediasvr.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_mediasvr/group/tsu_icl_mediasvr.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -15,7 +15,7 @@
"\epoc32\release\armv5\urel\tsu_icl_mediasvr.dll"-"c:\sys\bin\tsu_icl_mediasvr.dll"
-\\ REM test scripts
+// REM test scripts
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_mediasvr\scripts\TSU_ICL_MediaSvr.script"-"c:\TSU_ICL_MediaSvr.script"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_mediasvr\scripts\TSU_ICL_MediaSvr_alloc.script"-"c:\TSU_ICL_MediaSvr_alloc.script"
@@ -31,7 +31,7 @@
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_mediasvr\TestFiles\mbm8bppm.mbm"-"c:\mediasvrtest\mbm8bppm.mbm"
"\sf\os\mm\imagingandcamerafws\imagingunittest\tsu_icl_mediasvr\TestFiles\stress\mbm24bpp.mbm"-"c:\mediasvrtest\stress\mbm24bpp.mbm"
-\\ mm_testdata
+// mm_testdata
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mediasvr\testfiles\bmp1bpp.bmp"-"c:\mediasvrtest\bmp1bpp.bmp"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mediasvr\testfiles\bmp24bpp.bmp"-"c:\mediasvrtest\bmp24bpp.bmp"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_mediasvr\testfiles\bmp4bpp.bmp"-"c:\mediasvrtest\bmp4bpp.bmp"
--- a/imagingandcamerafws/imagingunittest/tsu_icl_mediasvr/src/TestStepMediaSvr.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_mediasvr/src/TestStepMediaSvr.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -70,6 +70,7 @@
TVerdict CTestStepMediaSvr::DoTestStepPreambleL()
{
// connect to the bitmap server and check the error code
+ User::LeaveIfError(FbsStartup());
TInt errCode = RFbsSession::Connect();
if( errCode != KErrNone )
{
--- a/imagingandcamerafws/imagingunittest/tsu_icl_pfm_01/src/TestStepIclPfm.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_pfm_01/src/TestStepIclPfm.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -112,6 +112,7 @@
{
//[ mark the heap and unmark at the end of postamble ]
__MM_HEAP_MARK;
+ User::LeaveIfError(FbsStartup());
// [ connect to the bitmap server and check the error code]
TInt errCode = RFbsSession::Connect();
if( errCode != KErrNone )
--- a/imagingandcamerafws/imagingunittest/tsu_icl_pfm_02/group/tsu_icl_pfm_02.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_pfm_02/group/tsu_icl_pfm_02.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -15,10 +15,10 @@
"\epoc32\release\armv5\urel\tsu_icl_pfm_02.dll"-"c:\sys\bin\tsu_icl_pfm_02.dll"
-\\REM Scripts
+//REM Scripts
"\sf\os\mm\imagingandcamerafws\imagingunittest\TSU_ICL_PFM_02\scripts\TSU_ICL_PFM_02.script"-"c:\TSU_ICL_PFM_02.script"
-\\mm_testdata
+//mm_testdata
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_pfm_02\testfiles\gif256colours.gif"-"c:\tsu_icl_pfm_02\gif256colours.gif"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_pfm_02\testfiles\mng-16m.mng"-"c:\tsu_icl_pfm_02\mng-16m.mng"
"\sf\os\mm_testdata\mm_testimagedata\sf\os\mm\imagingandcamerafws\imagingfws\test\excludedfiles\unittest\icl\tsu_icl_pfm_02\testfiles\mng-16ma.mng"-"c:\tsu_icl_pfm_02\mng-16ma.mng"
--- a/imagingandcamerafws/imagingunittest/tsu_icl_pfm_02/src/TestStepIclPfm.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_pfm_02/src/TestStepIclPfm.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -112,6 +112,7 @@
{
//[ mark the heap and unmark at the end of postamble ]
__MM_HEAP_MARK;
+ User::LeaveIfError(FbsStartup());
// [ connect to the bitmap server and check the error code]
TInt errCode = RFbsSession::Connect();
if( errCode != KErrNone )
--- a/imagingandcamerafws/imagingunittest/tsu_icl_pfm_02/src/TestStepMeasurePfm.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/imagingandcamerafws/imagingunittest/tsu_icl_pfm_02/src/TestStepMeasurePfm.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -91,6 +91,8 @@
mulCoef = 1.0;
break;
+
+
default:
{
User::Leave(KErrGeneral);
--- a/mdfdevvideoextensions/nga_mdf_postprocessor/src/NGAPostProcHwDevice.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mdfdevvideoextensions/nga_mdf_postprocessor/src/NGAPostProcHwDevice.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1337,8 +1337,8 @@
User::Leave(KErrNotReady);
}
- if (aSize.iWidth <= KMinVBMInputWidth
- || aSize.iHeight <= KMinVBMInputHeight
+ if (aSize.iWidth < KMinVBMInputWidth
+ || aSize.iHeight < KMinVBMInputHeight
|| aSize.iWidth > iVBMBufferOptions.iBufferSize.iWidth
|| aSize.iHeight > iVBMBufferOptions.iBufferSize.iHeight)
{
--- a/mm_plat/audio_routing_api/inc/AudioOutput.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_plat/audio_routing_api/inc/AudioOutput.h Mon Aug 23 18:56:36 2010 +0100
@@ -25,7 +25,7 @@
#include <mdaaudiotoneplayer.h>
#include <mdaaudiooutputstream.h>
#include <midiclientutility.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
// FORWARD DECLARATIONS
class MAudioOutputObserver;
--- a/mm_plat/audio_routing_proxy_api/inc/AudioInputProxy.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_plat/audio_routing_proxy_api/inc/AudioInputProxy.h Mon Aug 23 18:56:36 2010 +0100
@@ -22,7 +22,7 @@
// INCLUDES
#include "AudioInput.h"
#include <mmf/common/mmfcontrollerframework.h>
-#include <mcustomcommand.h>
+#include <MCustomCommand.h>
// FORWARD DECLARATIONS
class CCustomCommandUtility;
class CCustomInterfaceUtility;
--- a/mm_plat/audio_routing_proxy_api/inc/AudioOutputProxy.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_plat/audio_routing_proxy_api/inc/AudioOutputProxy.h Mon Aug 23 18:56:36 2010 +0100
@@ -22,7 +22,7 @@
// INCLUDES
#include "AudioOutput.h"
#include <mmf/common/mmfcontrollerframework.h>
-#include <mcustomcommand.h>
+#include <MCustomCommand.h>
// FORWARD DECLARATIONS
class CCustomCommandUtility;
--- a/mm_plat/custom_interface_proxy_factory_api/inc/CustomInterfaceProxyFactory.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_plat/custom_interface_proxy_factory_api/inc/CustomInterfaceProxyFactory.h Mon Aug 23 18:56:36 2010 +0100
@@ -19,7 +19,7 @@
#define __CUSTOMINTERFACEPROXYFACTORY_H
#include <e32std.h>
-#include <mcustomcommand.h>
+#include <MCustomCommand.h>
#include <CustomInterfaceUtility.h>
class CCustomInterfaceProxyFactory
--- a/mm_plat/custom_interface_utility_api/inc/CustomCommandUtility.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_plat/custom_interface_utility_api/inc/CustomCommandUtility.h Mon Aug 23 18:56:36 2010 +0100
@@ -20,7 +20,7 @@
#define __CUSTOMCOMMANDUTILITY_H
#include <e32base.h>
-#include <mcustomcommand.h>
+#include <MCustomCommand.h>
//#include "CustomCommandTypes.h"
--- a/mm_plat/custom_interface_utility_api/inc/CustomInterfaceUtility.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_plat/custom_interface_utility_api/inc/CustomInterfaceUtility.h Mon Aug 23 18:56:36 2010 +0100
@@ -19,7 +19,7 @@
#define __CUSTOMINTERFACEUTILITY_H
#include <e32base.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
//#include "CustomCommandTypes.h"
#include <CustomCommandUtility.h>
class CProxyCustomInterfaceUtility;
--- a/mm_plat/restricted_audio_output_api/tsrc/RestrictedAOTestClass/group/RestrictedAOTestClass.mmp Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_plat/restricted_audio_output_api/tsrc/RestrictedAOTestClass/group/RestrictedAOTestClass.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -61,7 +61,7 @@
LIBRARY CustomInterfaceUtility.lib
LIBRARY CustomCommandUtility.lib
-LIBRARY ConfigurationComponentsFactory.lib
+LIBRARY RestrictedAudioOutputProxy.lib
LIBRARY RestrictedAudioOutput.lib
LIBRARY MmfDevSound.lib
--- a/mm_plat/restricted_audio_output_api/tsrc/RestrictedAOTestClass/inc/RestrictedAOTestClass.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_plat/restricted_audio_output_api/tsrc/RestrictedAOTestClass/inc/RestrictedAOTestClass.h Mon Aug 23 18:56:36 2010 +0100
@@ -30,7 +30,6 @@
#include <e32cons.h>
#include <customInterfaceUtility.h>
#include <SoundDevice.h>
-#include <ConfigurationComponentsFactory.h>
#include <RestrictedAudioOutput.h>
@@ -315,7 +314,6 @@
// reference to TestModuleIf
CTestModuleIf& iTestModuleIf;
- CConfigurationComponentsFactory* iFactory;
CMMFDevSound* iDevSound;
CRestrictedAudioOutput* iRestrictedAudioOutput;
--- a/mm_plat/restricted_audio_output_api/tsrc/RestrictedAOTestClass/src/RestrictedAOTestClassBlocks.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_plat/restricted_audio_output_api/tsrc/RestrictedAOTestClass/src/RestrictedAOTestClassBlocks.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -21,6 +21,7 @@
#include <e32svr.h>
#include <StifParser.h>
#include <Stiftestinterface.h>
+#include <RestrictedAudioOutputProxy.h>
#include "RestrictedAOTestClass.h"
#include "debug.h"
@@ -103,12 +104,6 @@
delete iDevSound;
iDevSound = NULL;
}
-
- if (iFactory)
- {
- delete iFactory;
- iFactory = NULL;
- }
REComSession::FinalClose();
}
@@ -128,8 +123,8 @@
// First string is the function name used in TestScripter script file.
// Second is the actual implementation member function.
- ENTRY( "CreateFactory", CRestrictedAOTestClass::CreateFactory ),
- ENTRY( "CreateRestrictedAO", CRestrictedAOTestClass::CreateRestrictedAO ),
+ ENTRY( "CreateFactory", CRestrictedAOTestClass::CreateFactory ),
+ ENTRY( "CreateRestrictedAO", CRestrictedAOTestClass::CreateRestrictedAO ),
ENTRY( "AppendAllowedOutput", CRestrictedAOTestClass::AppendAllowedOutput ),
ENTRY( "RemoveAllowedOutput", CRestrictedAOTestClass::RemoveAllowedOutput ),
ENTRY( "GetAllowedOutputCount", CRestrictedAOTestClass::GetAllowedOutputCount ),
@@ -769,10 +764,7 @@
iLog->Log(_L("CRestrictedAOTestClass::CreateFactory"));
TInt error = KErrNone;
- error = CConfigurationComponentsFactory::CreateFactoryL(iFactory);
-
- if (error == KErrNone)
- TRAP(error, iDevSound = CMMFDevSound::NewL()) ;
+ TRAP(error, iDevSound = CMMFDevSound::NewL()) ;
// AddExpectedEvent(EInitializeComplete, KMediumTimeout);
return error;
@@ -789,9 +781,9 @@
iLog->Log(_L("CRestrictedAOTestClass::CreateRestrictedAO"));
TInt error = KErrNone;
- if (iFactory != NULL && iDevSound != NULL)
+ if (iDevSound != NULL)
{
- error = iFactory->CreateRestrictedAudioOutput(*iDevSound, iRestrictedAudioOutput);
+ TRAP(error, iRestrictedAudioOutput = CRestrictedAudioOutputProxy::NewL(*iDevSound));
}
else
{
--- a/mm_pub/audio_effects_api/inc/AudioEqualizerBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/AudioEqualizerBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -24,7 +24,7 @@
#include <e32base.h>
#include <AudioEffectBase.h>
#include <AudioEqualizerData.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidAudioEqualizerEffect = {0x1020382A};
--- a/mm_pub/audio_effects_api/inc/BassBoostBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/BassBoostBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -24,7 +24,7 @@
#include <e32base.h>
#include <AudioEffectBase.h>
#include <BassBoostData.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidBassBoostEffect = {0x10203827};
--- a/mm_pub/audio_effects_api/inc/DistanceAttenuationBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/DistanceAttenuationBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -24,7 +24,7 @@
#include <e32base.h>
#include <AudioEffectBase.h>
#include <DistanceAttenuationData.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidDistanceAttenuationEffect = {0x1020382C};
--- a/mm_pub/audio_effects_api/inc/DopplerBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/DopplerBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -25,7 +25,7 @@
#include <e32base.h>
#include <AudioEffectBase.h>
#include <DopplerData.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
// CLASS DECLARATION
--- a/mm_pub/audio_effects_api/inc/EnvironmentalReverbBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/EnvironmentalReverbBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -24,7 +24,7 @@
#include <e32base.h>
#include <AudioEffectBase.h>
#include <EnvironmentalReverbData.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidEnvironmentalReverbEffect = {0x10203837};
--- a/mm_pub/audio_effects_api/inc/ListenerDopplerBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/ListenerDopplerBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -23,7 +23,7 @@
#include <e32base.h>
#include <DopplerBase.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidListenerDopplerEffect = {0x10207B16};
--- a/mm_pub/audio_effects_api/inc/ListenerLocationBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/ListenerLocationBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -23,7 +23,7 @@
#include <e32base.h>
#include <LocationBase.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidListenerLocationEffect = {0x1020382D};
--- a/mm_pub/audio_effects_api/inc/ListenerOrientationBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/ListenerOrientationBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -23,7 +23,7 @@
#include <e32base.h>
#include <OrientationBase.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidListenerOrientationEffect = {0x1020382E};
--- a/mm_pub/audio_effects_api/inc/LoudnessBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/LoudnessBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -24,7 +24,7 @@
#include <e32base.h>
#include <AudioEffectBase.h>
#include <LoudnessData.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidLoudnessEffect = {0x10207AA8};
--- a/mm_pub/audio_effects_api/inc/OrientationBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/OrientationBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -25,7 +25,7 @@
#include <e32base.h>
#include <AudioEffectBase.h>
#include <OrientationData.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
// CLASS DECLARATION
--- a/mm_pub/audio_effects_api/inc/RoomLevelBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/RoomLevelBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -24,7 +24,7 @@
#include <e32base.h>
#include <AudioEffectBase.h>
#include <RoomLevelData.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidRoomLevelEffect = {0x10207B3C};
--- a/mm_pub/audio_effects_api/inc/SourceDopplerBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/SourceDopplerBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -23,7 +23,7 @@
#include <e32base.h>
#include <DopplerBase.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidSourceDopplerEffect = {0x10207B15};
--- a/mm_pub/audio_effects_api/inc/SourceLocationBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/SourceLocationBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -23,7 +23,7 @@
#include <e32base.h>
#include <LocationBase.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidSourceLocationEffect = {0x10203835};
--- a/mm_pub/audio_effects_api/inc/SourceOrientationBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/SourceOrientationBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -23,7 +23,7 @@
#include <e32base.h>
#include <OrientationBase.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidSourceOrientationEffect = {0x10203834};
--- a/mm_pub/audio_effects_api/inc/StereoWideningBase.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/audio_effects_api/inc/StereoWideningBase.h Mon Aug 23 18:56:36 2010 +0100
@@ -24,7 +24,7 @@
#include <e32base.h>
#include <AudioEffectBase.h>
#include <StereoWideningData.h>
-#include <mcustominterface.h>
+#include <MCustomInterface.h>
const TUid KUidStereoWideningEffect = {0x10203836};
--- a/mm_pub/drm_audio_player_api/tsrc/DRMAudioPlay/src/DRMAudioPlay_core.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mm_pub/drm_audio_player_api/tsrc/DRMAudioPlay/src/DRMAudioPlay_core.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -21,7 +21,6 @@
#include <caf.h>
#include <caf/supplier.h>
#include <caf/importfile.h>
-#include <Oma2Agent.h>
#include <BAUTILS.H>
using namespace ContentAccess;
@@ -34,6 +33,9 @@
const TInt CDRMAudioPlay::KDefaultPlayDelay = 3000000;
const TInt CDRMAudioPlay::KDefaultStopOpenPlayDelay = 1000000;
const TInt CDRMAudioPlay::KDefaultReportDelay = 500000;
+
+ // Taken from Oma2Agent.h
+ _LIT8(KOma1XmlRoContentType, "application/vnd.oma.drm.rights+xml");
//Cases
const TInt CDRMAudioPlay::KCaseImplementationInformation = 1001;
--- a/mmhais/dvbhunittest/hai/dvbh/group/custom/poststep_custom.xml Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<step passrate="100" harness="GENERIC" enabled="true" name="Fetch test module logs" significant="false">
- <command>fetch-log</command>
- <params>
- <param type="text"/>
- <param delete="true"/>
- <param path="c:\logs\testresults\tsu_dvbh_hai\*"/>
- </params>
-</step>
-
--- a/mmhais/dvbhunittest/hai/dvbh/group/custom/prestep_custom.xml Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<step passrate="100" harness="GENERIC" enabled="true" name="Create GENERIC log dir" significant="false">
- <command>makedir</command>
- <params>
- <param dir="c:\logs\testresults\tsu_dvbh_hai"/>
- </params>
-</step>
--- a/mmlibs/mmfw/Codecs/Src/Gsm610CodecCommon/gsm610fr.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/Codecs/Src/Gsm610CodecCommon/gsm610fr.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -22,7 +22,7 @@
// a pointer codec object - have been added to some original routines.
// - Global tables are now const C++ tables in tables.h header file.
// - VAD and DTX modules have been removed from the original routines.
-// - Due to bug in GNU tool chain all array indexes of type [i-1] in
+// - Due to error in GNU tool chain all array indexes of type [i-1] in
// rpeltp.cpp have been removed and changed to [j] type.
// - multr, L_add, L_mac from basicop.cpp inlined
// INCLUDES
--- a/mmlibs/mmfw/Codecs/Src/Gsm610CodecCommon/rpeltp.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/Codecs/Src/Gsm610CodecCommon/rpeltp.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -802,7 +802,7 @@
L_result = 0;
for (k = 0; k <= 39; k++)
L_result = L_mac( L_result, wt[k], aEncoder->dp[k-lambda+120] );
- /* Borland C++ 3.1 Bug if -3 (386-instructions) are used.
+ /* Borland C++ 3.1 error if -3 (386-instructions) are used.
** The code makes error (compared to (L_result > L_max)
** comparison. The problem disapears if the result of L_sub
** is stored to variable, e.g.
--- a/mmlibs/mmfw/MIDI/src/midiclientutilitybody.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/MIDI/src/midiclientutilitybody.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -909,7 +909,7 @@
}
else
{
- // FIXME - what do we do when we don't understand the error type?
+ // xxx - what do we do when we don't understand the error type?
}
}
--- a/mmlibs/mmfw/MMPFiles/plugin_common/MmfAudioController.mmp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/MMPFiles/plugin_common/MmfAudioController.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -19,13 +19,13 @@
@file
*/
-target mmfaudiocontroller.dll
+target mmfaudiowavtestcontroller.dll
CAPABILITY ALL -TCB
targettype plugin
UNPAGED
// ECom Dll recognition UID followed by the unique UID for this dll
-UID 0x10009D8D 0x101F55BF
+UID 0x10009D8D 0x2002C397
VENDORID 0x70000001
SOURCEPATH ../../src/Plugin/Controller/Audio
@@ -36,8 +36,8 @@
OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-start resource 101F55BF.rss
-target mmfaudiocontroller.rsc
+start resource 2002C397.rss
+target mmfaudiowavtestcontroller.rsc
end
LIBRARY euser.lib
--- a/mmlibs/mmfw/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -217,7 +217,6 @@
//plugin
../MMPFiles/plugin_common/MmfStdSourceAndSinkPlugin.mmp
-../MMPFiles/plugin_common/MmfAudioController.mmp //replaces wav controller
../MMPFiles/plugin_common/MMFLinearAudioCodecs.mmp
../MMPFiles/plugin_common/Gsm610.mmp
../MMPFiles/plugin_common/mmfaudiooutput.mmp
@@ -234,3 +233,8 @@
// Effects
#include "../Effect/group/Effect.inf"
+PRJ_TESTMMPFILES
+../MMPFiles/plugin_common/MmfAudioController.mmp //test wav controller
+
+PRJ_TESTEXPORTS
+../inc/mmfaudiowavtestcontroller.iby /epoc32/rom/include/mmfaudiowavtestcontroller.iby
--- a/mmlibs/mmfw/group/release.txt Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/group/release.txt Mon Aug 23 18:56:36 2010 +0100
@@ -6,7 +6,7 @@
</Description>
<Status>
-- This is release note for release of MultimediaFramework from Nile to Symbian.
+- This is release note for release of MultimediaFramework to Symbian.
- Release Date (planned):
- Release Date (actual):
@@ -31,7 +31,7 @@
Files which have been added to Continuus and files which
have been deleted:
-New Files added by Nokia Dallas:
+New Files added by Dallas:
\Include\
MdaAudioOutputStream.h
--- a/mmlibs/mmfw/inc/mmf.iby Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/inc/mmf.iby Mon Aug 23 18:56:36 2010 +0100
@@ -47,7 +47,6 @@
//RESOURCES
ECOM_PLUGIN(gsm610.dll,101f504a.rsc)
ECOM_PLUGIN(audiocodecs.dll,101f51d8.rsc)
-ECOM_PLUGIN(mmfaudiocontroller.dll,101f55bf.rsc)
ECOM_PLUGIN(mmfstdsourceandsinkplugin.dll,101f53ae.rsc)
ECOM_PLUGIN(mmfaudioinput.dll,101f53ba.rsc)
ECOM_PLUGIN(mmfaudiooutput.dll,101f53b8.rsc)
--- a/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfcontrollerframework.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfcontrollerframework.h Mon Aug 23 18:56:36 2010 +0100
@@ -394,7 +394,7 @@
TMMFMessageDestination iDestination;
/**
- Defines whether this object has yet to be completed.
+ Defines know about object completion state.
*/
TBool iAmCompleted;
};
--- a/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfcontrollerframeworkclasses.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfcontrollerframeworkclasses.h Mon Aug 23 18:56:36 2010 +0100
@@ -164,7 +164,7 @@
This method may leave with one of the system-wide error codes.
@param aMessage
- The message to be completed when an event occurs.
+ The message will be completed when an event occurs.
@return A pointer to the newly created event receiver.
@@ -196,14 +196,14 @@
Constructor.
@param aMessage
- The message to be completed when an event occurs.
+ The message will be completed when an event occurs.
@since 7.0s
*/
CMMFEventReceiver(const TMMFMessage& aMessage);
private:
/**
- The message to be completed when an event occurs.
+ The message will be completed when an event occurs.
*/
TMMFMessage iMessage;
};
@@ -429,7 +429,7 @@
@param aMessage
The request to be handled.
- @return ETrue if the message is to be completed now, EFalse if the message will be completed
+ @return ETrue if the message will be completed now, EFalse if the message will be completed
later.
*/
TBool ReceiveEventsL(TMMFMessage& aMessage);
@@ -442,7 +442,7 @@
@param aMessage
The request to be handled.
- @return ETrue if the message is to be completed now, EFalse if the message will be completed later.
+ @return ETrue if the message will be completed now, EFalse if the message will be completed later.
*/
TBool CancelReceiveEvents(TMMFMessage& aMessage);
@@ -454,7 +454,7 @@
@param aMessage
The request to be handled.
- @return ETrue if the message is to be completed now, EFalse if the message will be completed later.
+ @return ETrue if the message will be completed now, EFalse if the message will be completed later.
*/
TBool LoadControllerL(TMMFMessage& aMessage);
private:
--- a/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfdrmcustomcommands.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfdrmcustomcommands.h Mon Aug 23 18:56:36 2010 +0100
@@ -18,7 +18,7 @@
#include <e32base.h>
-#include "mmf/common/mmcaf.h"
+#include <mmf/common/mmcaf.h>
#include <mmf/common/mmfstandardcustomcommands.h>
#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
--- a/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfdrmcustomcommandsenum.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfdrmcustomcommandsenum.h Mon Aug 23 18:56:36 2010 +0100
@@ -18,7 +18,7 @@
#include <e32base.h>
-#include "mmf/common/mmcaf.h"
+#include <mmf/common/mmcaf.h>
#include <mmf/common/mmfstandardcustomcommands.h>
/**
--- a/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfdurationinfocustomcommands.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfdurationinfocustomcommands.h Mon Aug 23 18:56:36 2010 +0100
@@ -19,7 +19,7 @@
#ifdef SYMBIAN_CAF_V2
#include <e32base.h>
-#include "mmf/common/mmcaf.h"
+#include <mmf/common/mmcaf.h>
#include <mmf/common/mmfstandardcustomcommands.h>
--- a/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfstandardcustomcommands.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfstandardcustomcommands.h Mon Aug 23 18:56:36 2010 +0100
@@ -18,7 +18,7 @@
#include <mmf/common/mmfcontroller.h>
#include <mmf/common/mmfvideo.h>
-#include "mmf/common/mmcaf.h"
+#include <mmf/common/mmcaf.h>
class CMMFVideoFrameMessage;
class CFbsBitmap;
--- a/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfstandardcustomcommandsimpl.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfstandardcustomcommandsimpl.h Mon Aug 23 18:56:36 2010 +0100
@@ -18,7 +18,7 @@
#include <mmf/common/mmfcontroller.h>
#include <mmf/common/mmfvideo.h>
-#include "mmf/common/mmcaf.h"
+#include <mmf/common/mmcaf.h>
class CMMFVideoFrameMessage;
class CFbsBitmap;
--- a/mmlibs/mmfw/inc/mmf/server/MmfFile.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/inc/mmf/server/MmfFile.h Mon Aug 23 18:56:36 2010 +0100
@@ -20,7 +20,7 @@
#include <mmf/server/mmfclip.h>
#include <mmf/server/mmfdatabuffer.h>
-#include "mmf/common/mmcaf.h"
+#include <mmf/common/mmcaf.h>
class CReadWriteRequest;
class CTransferBufferCopy;
--- a/mmlibs/mmfw/inc/mmf/server/mmfdatapath2.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/inc/mmf/server/mmfdatapath2.h Mon Aug 23 18:56:36 2010 +0100
@@ -115,7 +115,7 @@
TTimeIntervalMicroSeconds iTrailingSilenceLeftToPlay;
/**
- The time left for the play to be completed in a particular repeat
+ The time left for the play will be completed in a particular repeat
*/
TTimeIntervalMicroSeconds iTimeLeftToPlayComplete;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/inc/mmfaudiowavtestcontroller.iby Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,22 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef MMFAUDIOWAVTESTCONTROLLER.IBY
+#define MMFAUDIOWAVTESTCONTROLLER.IBY
+
+ECOM_PLUGIN(mmfaudiowavtestcontroller.dll,2002C397.rsc)
+
+#endif //MMFAUDIOWAVTESTCONTROLLER.IBY
+
--- a/mmlibs/mmfw/src/Client/Audio/mmfclientaudioplayer.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/src/Client/Audio/mmfclientaudioplayer.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1981,7 +1981,7 @@
MMMFDRMCustomCommand* CMMFMdaAudioPlayerUtility::GetDRMCustomCommand()
{
- // TODO: check controller supports MMMFDRMCustomCommandImplementor
+ // XXX: check controller supports MMMFDRMCustomCommandImplementor
if (iDRMCustomCommands.IsSupported())
{
return static_cast<MMMFDRMCustomCommand*>(&iDRMCustomCommands);
--- a/mmlibs/mmfw/src/Client/Audio/mmfclientaudiorecorder.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/src/Client/Audio/mmfclientaudiorecorder.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1530,7 +1530,7 @@
* ConvertDescriptor
* aParam aDescriptor
* This method converts a TDesC8 to a TDes8
-* and is here to fix an interface bug
+* and is here to fix an interface error
*
**/
void CMMFMdaAudioRecorderUtility::ConvertDescriptor(const TDesC8& aDescriptor )
--- a/mmlibs/mmfw/src/Client/Audio/mmfclienttoneplayer.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/src/Client/Audio/mmfclienttoneplayer.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -860,7 +860,7 @@
void CMMFMdaAudioToneUtility::CancelPrepare()
{
- // FIXME - do we need to cancel the callback? What if the callback is actually calling back another error? Probably best not to cancel...
+ // xxx - do we need to cancel the callback? What if the callback is actually calling back another error? Probably best not to cancel...
delete iToneConfig;
iToneConfig = NULL;
--- a/mmlibs/mmfw/src/Client/Video/mediaclientvideodisplaybody.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/src/Client/Video/mediaclientvideodisplaybody.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -945,7 +945,7 @@
else if (aWindowData.iAutoScaleType == EAutoScaleNone)
{
// for non-square pixels, reduce one dimension
- // TBD other option is to enlarge in the other dimension
+ // XXX other option is to enlarge in the other dimension
if(pixelAspectRatio > 1)
{
inputHeight /= pixelAspectRatio;
--- a/mmlibs/mmfw/src/Client/Video/mmfclientvideoplayerbody.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/src/Client/Video/mmfclientvideoplayerbody.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1007,7 +1007,7 @@
MMMFDRMCustomCommand* CVideoPlayerUtility::CBody::GetDRMCustomCommand()
{
- // TODO: check controller supports MMMFDRMCustomCommandImplementor
+ // XXX: check controller supports MMMFDRMCustomCommandImplementor
TInt error = iDRMCustomCommands.EvaluateIntent(ContentAccess::EPeek);
if (error==KErrNone)
{
--- a/mmlibs/mmfw/src/Plugin/Controller/Audio/101F55BF.rss Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Copied from... Registry file for the Example Interface Implementation Collection
-//
-//
-
-#include <ecom/registryinfo.rh>
-#include <mmf/plugin/mmfplugininterfaceuids.hrh>
-#include <mmf/plugin/mmfcontrollerimplementationuids.hrh>
-
-RESOURCE REGISTRY_INFO theInfo
- {
- dll_uid = 0x101F55BF;
- interfaces =
- {
- INTERFACE_INFO
- {
- interface_uid = KMmfUidPluginInterfaceController ;
- implementations =
- {
- IMPLEMENTATION_INFO
- {
- implementation_uid = KMmfUidControllerAudio ;
- version_no = 1;
- display_name = "Symbian Audio controller";
- default_data = "?";
- opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<d>";//All format support comes from Format Plugins //<n>yes indicates controller has no url handling capability.
- }
- };
- }
- };
- }
-
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/src/Plugin/Controller/Audio/2002C397.rss Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,44 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Copied from... Registry file for the Example Interface Implementation Collection
+//
+//
+
+#include <ecom/registryinfo.rh>
+#include <mmf/plugin/mmfplugininterfaceuids.hrh>
+#include <mmf/plugin/mmfcontrollerimplementationuids.hrh>
+
+RESOURCE REGISTRY_INFO theInfo
+ {
+ dll_uid = 0x2002C397;
+ interfaces =
+ {
+ INTERFACE_INFO
+ {
+ interface_uid = KMmfUidPluginInterfaceController ;
+ implementations =
+ {
+ IMPLEMENTATION_INFO
+ {
+ implementation_uid = KMmfUidControllerAudio ;
+ version_no = 1;
+ display_name = "Symbian Audio Wav Test controller";
+ default_data = "?";
+ opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<d>";//All format support comes from Format Plugins //<n>yes indicates controller has no url handling capability.
+ }
+ };
+ }
+ };
+ }
+
--- a/mmlibs/mmfw/src/Plugin/StdSourceAndSink/FileAccess.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/src/Plugin/StdSourceAndSink/FileAccess.h Mon Aug 23 18:56:36 2010 +0100
@@ -18,7 +18,7 @@
#include <caf/content.h>
#include <caf/data.h>
-#include "mmf/common/mmcaf.h"
+#include <mmf/common/mmcaf.h>
// Abstract class providing generic file access
class MGenericFile
@@ -130,8 +130,9 @@
HBufC* iFilePath;
ContentAccess::CData* iData;
- RFile iLegacyFile;
- TBool iLegacyFileOpen;
+ RFile iLegacyFile;
+ RFile64 iFile64; //For defect EASA-84ZC6J
+ TBool iLegacyFileOpen;
};
--- a/mmlibs/mmfw/src/Plugin/StdSourceAndSink/Mmffile.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/src/Plugin/StdSourceAndSink/Mmffile.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -211,7 +211,7 @@
}
else
{
-// TODO If the UID is unknown we should reject, but currently
+// XXX If the UID is unknown we should reject, but currently
// code also used for older calls that just supply filename.
// User::Leave(KErrNotSupported);
}
--- a/mmlibs/mmfw/src/Plugin/StdSourceAndSink/fileaccess.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/src/Plugin/StdSourceAndSink/fileaccess.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -14,6 +14,7 @@
//
#include <f32file.h>
+#include <f32file64.h>
#include <e32std.h>
#include <caf/attribute.h>
#include <caf/bitset.h>
@@ -147,9 +148,10 @@
CContentFile::~CContentFile()
{
delete iData;
-
- if (iLegacyFileOpen)
- iLegacyFile.Close();
+
+ iLegacyFile.Close();
+ iFile64.Close(); //For defect EASA-84ZC6J
+
delete iFilePath;
}
@@ -269,12 +271,35 @@
RFile& CContentFile::FileL()
{
if (!iLegacyFileOpen)
- {
- User::LeaveIfError(iLegacyFile.Open(*iSession, *iFilePath, EFileRead | EFileStream | EFileShareReadersOrWriters));
- iLegacyFileOpen = ETrue;
+ {//For defect EASA-84ZC6J
+ TInt error = iLegacyFile.Open(*iSession, *iFilePath, EFileRead | EFileStream | EFileShareReadersOrWriters);
+ if ( error == KErrTooBig )
+ {
+ User::LeaveIfError(iFile64.Open(*iSession, *iFilePath, EFileRead | EFileStream | EFileShareReadersOrWriters));
+ iLegacyFileOpen = ETrue;
+ return iFile64;
+ }
+
+ else if (error == KErrNone)
+ {
+ iLegacyFileOpen = ETrue;
+ return iLegacyFile;
+ }
+
+ else
+ {
+ User::Leave(error);
+ }
}
- return iLegacyFile;
- }
+ if(iLegacyFile.SubSessionHandle())
+ {
+ return iLegacyFile;
+ }
+ else
+ {
+ return iFile64;
+ }
+}
TInt CContentFile::Data(CData*& aData)
{
--- a/mmlibs/mmfw/src/utils/audioutils/rateconvert.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/src/utils/audioutils/rateconvert.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -219,7 +219,7 @@
TInt rawValue = aBufferLength;
ASSERT(iFromRate < iToRate); // should not be called otherwise
// upsample - will generate more data. use floats to avoid extra round error
- rawValue = TInt(rawValue * TReal(iToRate) / TReal(iFromRate) + 0.5) + 4*sizeof(TInt16); // add some fudge factor just in case
+ rawValue = TInt(rawValue * TReal(iToRate) / TReal(iFromRate) + 0.5) + 4*sizeof(TInt16); // add some buffer extra buffer
rawValue = NextPowerUp(rawValue); // when upscaling always give nice power
return rawValue;
}
--- a/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/play/group/char_mmf_audioplay_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/play/group/char_mmf_audioplay_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -21,41 +21,10 @@
// scripts
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\play\scripts\char_mmf_audioplay_none.script" - "c:\char_mmf_audioplay_none.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\play\scripts\char_mmf_audioplay_wav.script" - "c:\char_mmf_audioplay_wav.script"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\play\scripts\char_mmf_audioplay_ogg.script" - "c:\char_mmf_audioplay_ogg.script"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\play\scripts\char_mmf_audioplay_panic_debug.script" - "c:\char_mmf_audioplay_panic_debug.script"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\play\scripts\char_mmf_audioplay_amr.script" - "c:\char_mmf_audioplay_amr.script"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\play\scripts\char_mmf_audioplay_mp3.script" - "c:\char_mmf_audioplay_mp3.script"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\play\scripts\char_mmf_audioplay_aac.script" - "c:\char_mmf_audioplay_aac.script"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\play\scripts\char_mmf_audioplay_amr_notification.script" - "c:\char_mmf_audioplay_amr_notification.script"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\play\scripts\char_mmf_audioplay_mp3_notification.script" - "c:\char_mmf_audioplay_mp3_notification.script"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\play\scripts\char_mmf_audioplay_aac_notification.script" - "c:\char_mmf_audioplay_aac_notification.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\play\scripts\char_mmf_audioplay_wav_notification.script" - "c:\char_mmf_audioplay_wav_notification.script"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\play\scripts\char_mmf_audioplay_ogg_notification.script" - "c:\char_mmf_audioplay_ogg_notification.script"
//Data
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\maintst.wav"-"c:\char\mmf\data\maintst.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\Corrupt.wav"-"c:\char\mmf\data\Corrupt.wav"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\NoExist.wav"-"c:\char\mmf\data\NoExist.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\maintst2.wav"-"c:\char\mmf\data\maintst2.wav"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\maintst3.wav"-"c:\char\mmf\data\maintst3.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\OneSample.wav"-"c:\char\mmf\data\OneSample.wav"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\maintst.wma"-"c:\char\mmf\data\maintst.wma"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\maintst.ogg"-"c:\char\mmf\data\maintst.ogg"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\maintst2.ogg"-"c:\char\mmf\data\maintst2.ogg"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\corrupt.ogg"-"c:\char\mmf\data\corrupt.ogg"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\small.ogg"-"c:\char\mmf\data\small.ogg"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\metadata.ogg"-"c:\char\mmf\data\metadata.ogg"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\amrnb_8k_13kbps_mono.amr"-"c:\char\mmf\data\amrnb_8k_13kbps_mono.amr"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\amrnb_8k_13kbps_mono_small_corrupt.amr"-"c:\char\mmf\data\amrnb_8k_13kbps_mono_small_corrupt.amr"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\amrnb_8k_13kbps_mono_small.amr"-"c:\char\mmf\data\amrnb_8k_13kbps_mono_small.amr"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\mp3_44.1k_128kbps_st.mp3"-"c:\char\mmf\data\mp3_44.1k_128kbps_st.mp3"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\mp3_44.1k_128kbps_st_small_corrupt.mp3"-"c:\char\mmf\data\mp3_44.1k_128kbps_st_small_corrupt.mp3"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\aac_22k05_32kbps_st_adts.aac"-"c:\char\mmf\data\aac_22k05_32kbps_st_adts.aac"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\aac_22k05_32kbps_st_adts_small.aac"-"c:\char\mmf\data\aac_22k05_32kbps_st_adts_small.aac"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\aac_22k05_32kbps_st_adts_small_corrupt.aac"-"c:\char\mmf\data\aac_22k05_32kbps_st_adts_small_corrupt.aac"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\jfif10_4.jpg"-"c:\char\mmf\data\jfif10_4.jpg"
-
-//PV Resource files
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\data\hwdev0x2000e911mp3decopt.rsc"-"c:\resource\a3f\hwdev0x2000e911.rsc"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\data\hwdev0x10272909amrdecopt.rsc"-"c:\resource\a3f\hwdev0x10272909.rsc"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\data\hwdev0x2000e90faacdecopt.rsc"-"c:\resource\a3f\hwdev0x2000e90f.rsc"
\ No newline at end of file
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\maintst.wma"-"c:\char\mmf\data\maintst.wma"
\ No newline at end of file
--- a/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/play/scripts/char_mmf_audioplay_none.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/play/scripts/char_mmf_audioplay_none.script Mon Aug 23 18:56:36 2010 +0100
@@ -25,8 +25,8 @@
//!@SYMTestPriority 4
//!@SYMTestActions 1. Create audio player utility 2. Open an audio file with no controller to support the audio file format.
//!@SYMTestExpectedResults The MapcInitComplete() callback function should pass KErrNotSupported.
-RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0003 \char\mmf\char_mmf_audioplay.ini
-TEST_COMPLETE
+//RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0003 \char\mmf\char_mmf_audioplay.ini
+//TEST_COMPLETE
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0004
//!@SYMTestCaseDesc Open an audio file providing the incorrect path i.e. no such file exists in that path.
--- a/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/record/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/record/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -23,6 +23,8 @@
../group/char_mmf_audiorec.iby /epoc32/rom/include/char_mmf_audiorec.iby
../scripts/char_mmf_audiorec_wav.script c:/char/mmf/char_mmf_audiorec_wav.script
+../scripts/char_mmf_audiorec_wav_1.script c:/char/mmf/char_mmf_audiorec_wav_1.script
+../scripts/char_mmf_audiorec_wav_2.script c:/char/mmf/char_mmf_audiorec_wav_2.script
../scripts/char_mmf_audiorec_ogg.script c:/char/mmf/char_mmf_audiorec_ogg.script
#ifdef SYMBIAN_MULTIMEDIA_A3FDEVSOUND
--- a/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/record/group/char_mmf_audiorec_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/record/group/char_mmf_audiorec_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -20,10 +20,12 @@
// scripts
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\record\scripts\char_mmf_audiorec_wav.script" - "c:\char_mmf_audiorec_wav.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\record\scripts\char_mmf_audiorec_wav_1.script" - "c:\char_mmf_audiorec_wav_1.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\record\scripts\char_mmf_audiorec_wav_2.script" - "c:\char_mmf_audiorec_wav_2.script"
//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\record\scripts\char_mmf_audiorec_ogg.script" - "c:\char_mmf_audiorec_ogg.script"
//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\record\scripts\char_mmf_audiorec_ogg_overflow.script" - "c:\char_mmf_audiorec_ogg_overflow.script"
//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\record\scripts\char_mmf_audiorec_panic_emu_debug.script" - "c:\char_mmf_audiorec_panic_emu_debug.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\record\scripts\char_mmf_audiorec_wav_notification.script" - "c:\char_mmf_audiorec_wav_notification.script"
+//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\record\scripts\char_mmf_audiorec_wav_notification.script" - "c:\char_mmf_audiorec_wav_notification.script"
//#ifdef SYMBIAN_MULTIMEDIA_A3FDEVSOUND
//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\record\scripts\char_mmf_audiorec_ogg_notification.script" - "c:\char_mmf_audiorec_ogg_notification.script"
@@ -32,6 +34,9 @@
//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\record\scripts\char_mmf_audiorec_amr_notification.script" - "c:\char_mmf_audiorec_amr_notification.script"
//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\record\scripts\char_mmf_audiorec_aac_notification.script" - "c:\char_mmf_audiorec_aac_notification.script"
+//Data
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\data\maintst2.wav"-"c:\char\mmf\data\maintst2.wav"
+
//PV Resource files
//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfcharacterisationvalidation\clientutils\audio\data\hwdev0x1027290aamrencopt.rsc"-"c:\resource\a3f\hwdev0x1027290a.rsc"
//#endif // SYMBIAN_MULTIMEDIA_A3FDEVSOUND
\ No newline at end of file
--- a/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/record/scripts/char_mmf_audiorec_wav.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/record/scripts/char_mmf_audiorec_wav.script Mon Aug 23 18:56:36 2010 +0100
@@ -1,5 +1,5 @@
@file char_mmf_audiorec_wav.script
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -863,173 +863,4 @@
//! should Get the format of the audio clip and leave with KErrNone. 4.Recording state : SetDestinationNumberOfChannelsL should Get the format of the
//! audio clip and leave with KErrNotReady
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0096 \char\mmf\char_mmf_audiorec.ini
-TEST_COMPLETE
-
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0097
-//!@SYMTestCaseDesc SetDestinationNumberOfChannelsL() / DestinationNumberOfChannelsL() in ENotReady State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent code after Set and Get the number of channels
-//! for the audio clip to be recorded before Open an Audio file.
-//!@SYMTestExpectedResults 1. ENotReady State: SetDestinationNumberOfChannelsL should leave with KErrNotSupported. 2.ENotReady State: DestinationNumberOfChannelsL
-//! should leave with KErrNotSupported.
-RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0097 \char\mmf\char_mmf_audiorec.ini
-TEST_COMPLETE
-
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0098
-//!@SYMTestCaseDesc GetSupportedNumberOfChannelsL() in EOpen State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after get a list
-//! of supported number of channels for recording.
-//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. GetSupportedNumberOfChannelsL : It should get a list of supported number of
-//! channels for recording.
-RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0098 \char\mmf\char_mmf_audiorec.ini
-TEST_COMPLETE
-
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0099
-//!@SYMTestCaseDesc GetSupportedNumberOfChannelsL() in ERecording State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
-//! code after get a list of supported number of channels for recording while in Recording state.
-//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. RecordL : Should not leave. 3.Recording state : GetSupportedNumberOfChannelsL
-//! should get a list of supported number of channels for recording.
-RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0099 \char\mmf\char_mmf_audiorec.ini
-TEST_COMPLETE
-
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0100
-//!@SYMTestCaseDesc GetSupportedNumberOfChannelsL() in ENotReady State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after get a list of supported number
-//! of channels for recording before Open an Audio file.
-//!@SYMTestExpectedResults 1.ENotReady state : GetSupportedNumberOfChannelsL should leave with KErrNotSupported.
-RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0100 \char\mmf\char_mmf_audiorec.ini
-TEST_COMPLETE
-
-// KNOWN FAILURES
-//SetDestinationBitRateL() not supported
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0077
-//!@SYMTestCaseDesc SetDestinationBitRateL() / DestinationBitRateL() in Eopen State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after Set and
-//! Get the bit rate of the data sink (Currently audio controller is not supported this feature).
-//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. SetDestinationBitRateL / DestinationBitRateL : should leave with KErrNotSupported,
-//! and test result should EKnownFailure.
-//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0077 \char\mmf\char_mmf_audiorec.ini
-//TEST_COMPLETE
-
-//SetDestinationBitRateL() not supported
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0078
-//!@SYMTestCaseDesc SetDestinationBitRateL() / DestinationBitRateL() in ENotReady State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Set and Get the bit rate of the
-//! data sink (Currently audio controller is not supported this feature) before Open an Audio file.
-//!@SYMTestExpectedResults 1. SetDestinationBitRateL : should leave with KErrNotSupported and test result should EKnownFailure. 2. DestinationBitRateL
-//! :should leave with KErrNotSupported and test result should EKnownFailure.
-//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0078 \char\mmf\char_mmf_audiorec.ini
-//TEST_COMPLETE
-
-//GetNumberOfMetaDataEntries support is not provided
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0102
-//!@SYMTestCaseDesc GetNumberOfMetaDataEntries() in Eplaying and ERecording State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Playing. 4.Check the call back MoscoStateChangeEvent
-//! code after Get the number of Meta data entries associated with the clip while in Playing state.
-//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. PlayL : Should not leave. 3.RecordL : Should not Leave 4.Playing state : GetNumberOfMetaDataEntries
-//! should return KErrNotSupported and test result should be EKnownFailure 5.Recording state : GetNumberOfMetaDataEntries should leave with KErrNotReady
-//! and test result should be EKnownFailure
-//RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0102 \char\mmf\char_mmf_audiorec.ini
-//TEST_COMPLETE
-
-//GetNumberOfMetaDataEntries support is not provided
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0103
-//!@SYMTestCaseDesc GetNumberOfMetaDataEntries() in ENotReady State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Get the number of Meta data entries
-//! associated with the clip before Open an Audio file.
-//!@SYMTestExpectedResults 1. ENotReady State : GetNumberOfMetaDataEntries should return KErrNotSupported and test result should be EKnownFailure.
-//RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0103 \char\mmf\char_mmf_audiorec.ini
-//TEST_COMPLETE
-
-//GetMetaDataEntryL support is not provided
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0105
-//!@SYMTestCaseDesc GetMetaDataEntryL() in Eplaying and Erecording State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Playing. 4.Check the call back MoscoStateChangeEvent
-//! code after get the specified Meta data entry from the current audio clip while in Playing state.
-//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.PlayL : Play should not leave. 3.RecordL : Record Should not leave. 4.Recording
-//! state : GetMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure. 5.Playing state : GetMetaDataEntryL should
-//! leave with KErrNotSupported and test result should be EKnownFailure.
-//RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0105 \char\mmf\char_mmf_audiorec.ini
-//TEST_COMPLETE
-
-//GetMetaDataEntryL support is not provided
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0106
-//!@SYMTestCaseDesc GetMetaDataEntryL() in ENotReady State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after get the specified Meta data entry
-//! from the current audio clip before Open an Audio file.
-//!@SYMTestExpectedResults 1.ENotReady State : GetMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure..
-//RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0106 \char\mmf\char_mmf_audiorec.ini
-//TEST_COMPLETE
-
-//AddMetaDataEntry support is not provided
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0108
-//!@SYMTestCaseDesc AddMetaDataEntryL() in Erecording State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
-//! code after Add a Meta data entry to the audio clip while in recording state.
-//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.RecordL : should not leave. 3.Recording state : AddMetaDataEntryL should leave
-//! with KErrNotSupported and test result should be EKnownFailure.
-//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0108 \char\mmf\char_mmf_audiorec.ini
-//TEST_COMPLETE
-
-//AddMetaDataEntry support is not provided
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0109
-//!@SYMTestCaseDesc AddMetaDataEntryL() in ENotReady State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Add a Meta data entry to the audio
-//! clip before Open an Audio file.
-//!@SYMTestExpectedResults 1.ENotReady state : AddMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure.
-//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0109 \char\mmf\char_mmf_audiorec.ini
-//TEST_COMPLETE
-
-//RemoveMetaDataEntry support is not provided
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0111
-//!@SYMTestCaseDesc RemoveMetaDataEntryL() in ERecording State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4. Check the call back MoscoStateChangeEvent
-//! code after Remove a specified Meta data entry from the audio clip while in recording state.
-//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. RecordL : should not leave. 3.Recording state : RemoveMetaDataEntryL should
-//! leave with KErrNotSupported and test result should be EKnownFailure.
-//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0111 \char\mmf\char_mmf_audiorec.ini
-//TEST_COMPLETE
-
-//RemoveMetaDataEntry support is not provided
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0112
-//!@SYMTestCaseDesc RemoveMetaDataEntryL() in ENotReady State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Remove a specified Meta data entry
-//! from the audio clip before Open an Audio file.
-//!@SYMTestExpectedResults 1. ENotReady state : RemoveMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure.
-//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0112 \char\mmf\char_mmf_audiorec.ini
-//TEST_COMPLETE
-
-//ReplaceMetaDataEntryL support is not provided
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0114
-//!@SYMTestCaseDesc ReplaceMetaDataEntryL() in Erecording State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
-//! code after Replace a specified Meta data entry from the audio clip while in recording state.
-//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. RecordL : should not leave. 3. Recording state : ReplaceMetaDataEntryL should
-//! should leave with KErrNotSupported and test result should be EKnownFailure.
-//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0114 \char\mmf\char_mmf_audiorec.ini
-//TEST_COMPLETE
-
-//ReplaceMetaDataEntryL support is not provided
-//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0115
-//!@SYMTestCaseDesc ReplaceMetaDataEntryL() in ENotReady State
-//!@SYMTestPriority 4
-//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Replace a specified Meta data
-//! entry from the audio clip before Open an Audio file.
-//!@SYMTestExpectedResults 1. ENotReady State : ReplaceMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure.
-//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0115 \char\mmf\char_mmf_audiorec.ini
-//TEST_COMPLETE
+TEST_COMPLETE
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/record/scripts/char_mmf_audiorec_wav_1.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,170 @@
+@file char_mmf_audiorec_wav_1.script
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+///////////////////////////////////////////////////////////////////
+PRINT
+LOAD_SUITE char_mmf_audiorec.dll
+# wait for ring.wav to finish playing
+delay 1000
+
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0099
+//!@SYMTestCaseDesc GetSupportedNumberOfChannelsL() in ERecording State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
+//! code after get a list of supported number of channels for recording while in Recording state.
+//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. RecordL : Should not leave. 3.Recording state : GetSupportedNumberOfChannelsL
+//! should get a list of supported number of channels for recording.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0099 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0100
+//!@SYMTestCaseDesc GetSupportedNumberOfChannelsL() in ENotReady State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after get a list of supported number
+//! of channels for recording before Open an Audio file.
+//!@SYMTestExpectedResults 1.ENotReady state : GetSupportedNumberOfChannelsL should leave with KErrNotSupported.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0100 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+// KNOWN FAILURES
+//SetDestinationBitRateL() not supported
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0077
+//!@SYMTestCaseDesc SetDestinationBitRateL() / DestinationBitRateL() in Eopen State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after Set and
+//! Get the bit rate of the data sink (Currently audio controller is not supported this feature).
+//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. SetDestinationBitRateL / DestinationBitRateL : should leave with KErrNotSupported,
+//! and test result should EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0077 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//SetDestinationBitRateL() not supported
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0078
+//!@SYMTestCaseDesc SetDestinationBitRateL() / DestinationBitRateL() in ENotReady State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Set and Get the bit rate of the
+//! data sink (Currently audio controller is not supported this feature) before Open an Audio file.
+//!@SYMTestExpectedResults 1. SetDestinationBitRateL : should leave with KErrNotSupported and test result should EKnownFailure. 2. DestinationBitRateL
+//! :should leave with KErrNotSupported and test result should EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0078 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//GetNumberOfMetaDataEntries support is not provided
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0102
+//!@SYMTestCaseDesc GetNumberOfMetaDataEntries() in Eplaying and ERecording State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Playing. 4.Check the call back MoscoStateChangeEvent
+//! code after Get the number of Meta data entries associated with the clip while in Playing state.
+//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. PlayL : Should not leave. 3.RecordL : Should not Leave 4.Playing state : GetNumberOfMetaDataEntries
+//! should return KErrNotSupported and test result should be EKnownFailure 5.Recording state : GetNumberOfMetaDataEntries should leave with KErrNotReady
+//! and test result should be EKnownFailure
+//RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0102 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//GetNumberOfMetaDataEntries support is not provided
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0103
+//!@SYMTestCaseDesc GetNumberOfMetaDataEntries() in ENotReady State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Get the number of Meta data entries
+//! associated with the clip before Open an Audio file.
+//!@SYMTestExpectedResults 1. ENotReady State : GetNumberOfMetaDataEntries should return KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0103 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//GetMetaDataEntryL support is not provided
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0105
+//!@SYMTestCaseDesc GetMetaDataEntryL() in Eplaying and Erecording State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Playing. 4.Check the call back MoscoStateChangeEvent
+//! code after get the specified Meta data entry from the current audio clip while in Playing state.
+//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.PlayL : Play should not leave. 3.RecordL : Record Should not leave. 4.Recording
+//! state : GetMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure. 5.Playing state : GetMetaDataEntryL should
+//! leave with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0105 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//GetMetaDataEntryL support is not provided
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0106
+//!@SYMTestCaseDesc GetMetaDataEntryL() in ENotReady State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after get the specified Meta data entry
+//! from the current audio clip before Open an Audio file.
+//!@SYMTestExpectedResults 1.ENotReady State : GetMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure..
+//RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0106 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//AddMetaDataEntry support is not provided
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0108
+//!@SYMTestCaseDesc AddMetaDataEntryL() in Erecording State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
+//! code after Add a Meta data entry to the audio clip while in recording state.
+//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.RecordL : should not leave. 3.Recording state : AddMetaDataEntryL should leave
+//! with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0108 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//AddMetaDataEntry support is not provided
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0109
+//!@SYMTestCaseDesc AddMetaDataEntryL() in ENotReady State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Add a Meta data entry to the audio
+//! clip before Open an Audio file.
+//!@SYMTestExpectedResults 1.ENotReady state : AddMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0109 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//RemoveMetaDataEntry support is not provided
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0111
+//!@SYMTestCaseDesc RemoveMetaDataEntryL() in ERecording State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4. Check the call back MoscoStateChangeEvent
+//! code after Remove a specified Meta data entry from the audio clip while in recording state.
+//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. RecordL : should not leave. 3.Recording state : RemoveMetaDataEntryL should
+//! leave with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0111 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//RemoveMetaDataEntry support is not provided
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0112
+//!@SYMTestCaseDesc RemoveMetaDataEntryL() in ENotReady State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Remove a specified Meta data entry
+//! from the audio clip before Open an Audio file.
+//!@SYMTestExpectedResults 1. ENotReady state : RemoveMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0112 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//ReplaceMetaDataEntryL support is not provided
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0114
+//!@SYMTestCaseDesc ReplaceMetaDataEntryL() in Erecording State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
+//! code after Replace a specified Meta data entry from the audio clip while in recording state.
+//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. RecordL : should not leave. 3. Recording state : ReplaceMetaDataEntryL should
+//! should leave with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0114 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//ReplaceMetaDataEntryL support is not provided
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0115
+//!@SYMTestCaseDesc ReplaceMetaDataEntryL() in ENotReady State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Replace a specified Meta data
+//! entry from the audio clip before Open an Audio file.
+//!@SYMTestExpectedResults 1. ENotReady State : ReplaceMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0115 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/record/scripts/char_mmf_audiorec_wav_2.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,41 @@
+@file char_mmf_audiorec_wav_2.script
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+///////////////////////////////////////////////////////////////////
+PRINT
+LOAD_SUITE char_mmf_audiorec.dll
+# wait for ring.wav to finish playing
+delay 1000
+
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0098
+//!@SYMTestCaseDesc GetSupportedNumberOfChannelsL() in EOpen State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after get a list
+//! of supported number of channels for recording.
+//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. GetSupportedNumberOfChannelsL : It should get a list of supported number of
+//! channels for recording.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0098 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0097
+//!@SYMTestCaseDesc SetDestinationNumberOfChannelsL() / DestinationNumberOfChannelsL() in ENotReady State
+//!@SYMTestPriority 4
+//!@SYMTestActions 1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent code after Set and Get the number of channels
+//! for the audio clip to be recorded before Open an Audio file.
+//!@SYMTestExpectedResults 1. ENotReady State: SetDestinationNumberOfChannelsL should leave with KErrNotSupported. 2.ENotReady State: DestinationNumberOfChannelsL
+//! should leave with KErrNotSupported.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0097 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
\ No newline at end of file
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/video/play/data/Invalid has changed
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/video/play/data/aud_vid.avi has changed
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/video/play/data/invalidcodecavi.avi has changed
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/video/play/data/jfif10_4.jpg has changed
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/video/play/data/longvideoplay.avi has changed
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/video/play/data/maintst3.wav has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/video/play/data/text.avi Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,1 @@
+junk video file
\ No newline at end of file
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/video/play/data/xvidmp3.avi has changed
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/video/play/data/xvidonly.avi has changed
--- a/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/video/play/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/video/play/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -25,3 +25,15 @@
../group/char_mmf_videoplay.iby /epoc32/rom/include/char_mmf_videoplay.iby
../group/char_mmf_videoplay_excl_test.iby /epoc32/rom/include/char_mmf_videoplay_excl_test.iby
+
+// Data files for video player utility
+../data/longvideoplay.avi c:/char/mmf/data/longvideoplay.avi
+../data/xvidonly.avi c:/char/mmf/data/xvidonly.avi
+../data/aud_vid.avi c:/char/mmf/data/aud_vid.avi
+../data/invalidcodecavi.avi c:/char/mmf/data/invalidcodecavi.avi
+../data/jfif10_4.jpg c:/char/mmf/data/jfif10_4.jpg
+../data/maintst3.wav c:/char/mmf/data/maintst3.wav
+../data/Invalid c:/char/mmf/data/invalid
+../data/text.avi c:/char/mmf/data/text.avi
+../data/xvidmp3.avi c:/char/mmf/data/xvidmp3.avi
+
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/data/Invalid has changed
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/data/aud_vid.avi has changed
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/data/invalidcodecavi.avi has changed
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/data/jfif10_4.jpg has changed
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/data/longvideoplay.avi has changed
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/data/maintst3.wav has changed
--- a/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/data/text.avi Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-junk video file
\ No newline at end of file
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/data/xvidmp3.avi has changed
Binary file mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/data/xvidonly.avi has changed
--- a/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -55,15 +55,3 @@
// Data files for Audio Controller
-
-// Data files for video player utility
-../data/longvideoplay.avi c:/char/mmf/data/longvideoplay.avi
-../data/xvidonly.avi c:/char/mmf/data/xvidonly.avi
-../data/aud_vid.avi c:/char/mmf/data/aud_vid.avi
-../data/invalidcodecavi.avi c:/char/mmf/data/invalidcodecavi.avi
-../data/jfif10_4.jpg c:/char/mmf/data/jfif10_4.jpg
-../data/maintst3.wav c:/char/mmf/data/maintst3.wav
-../data/Invalid c:/char/mmf/data/invalid
-../data/text.avi c:/char/mmf/data/text.avi
-../data/xvidmp3.avi c:/char/mmf/data/xvidmp3.avi
-
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/OpenFileByHandle7805.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/OpenFileByHandle7805.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -59,7 +59,7 @@
TInt failCount = 1;
TBool completed = EFalse;
- iAllocTestStepResult = EPass; // TODO check?? assume pass
+ iAllocTestStepResult = EPass; // XXX check?? assume pass
TBool reachedEnd = EFalse; // Note: declare outside loop to help with debugging
aPlayer->UseSharedHeap(); //-Enable UseSharedHeap to test controller alloc failures
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/OpenFileByHandle7806.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/OpenFileByHandle7806.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -57,7 +57,7 @@
TInt failCount = 1;
TBool completed = EFalse;
- iAllocTestStepResult = EPass; // TODO check?? assume pass
+ iAllocTestStepResult = EPass; // XXX check?? assume pass
TBool reachedEnd = EFalse; // Note: declare outside loop to help with debugging
for(;;)
{
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/OpenFileByHandle7908.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/OpenFileByHandle7908.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -67,7 +67,7 @@
TInt failCount = 0;//total fail count for all the steps = sum of fail counts in each step
TInt stepFailCount; //fail count in each step
- TVerdict iAllocTestStepResult = EPass; // TODO check?? assume pass
+ TVerdict iAllocTestStepResult = EPass; // XXX check?? assume pass
err = PerformTestStep(1, stepFailCount);
failCount += stepFailCount;
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/TestConverter.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/TestConverter.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -177,7 +177,7 @@
INFO_PRINTF1( _L("Convert CMdaAudioConvertUtility"));
CActiveScheduler::Start();
- // TODO Improve test. e.g. check that a valid AU file is written
+ // XXX Improve test. e.g. check that a valid AU file is written
if(iError == KErrNone)
{
ret = EPass;
@@ -192,7 +192,7 @@
{
CActiveScheduler::Start();
- // TODO Improve test. e.g. check that a valid AU file is written
+ // XXX Improve test. e.g. check that a valid AU file is written
if(iError == KErrNone)
{
ret = EPass;
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/TestPlayerUtils.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/TestPlayerUtils.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1423,7 +1423,7 @@
INFO_PRINTF2( _L("Volume: Max Volume = %d"),iVolume);
//on device & emulator KMaxVolume have different values
- //if(iVolume != KMaxVolume) // TODO: how to cross ref. this appears to be random values at the moment
+ //if(iVolume != KMaxVolume) // XXX: how to cross ref. this appears to be random values at the moment
// {
// INFO_PRINTF3( _L("Expected volume: %d, received volume : %d"),
// KMaxVolume, iVolume);
@@ -2111,8 +2111,8 @@
// what code should/might look like.
//CMdaAudioType* type = aPlayer->TypeL();
- // CMdaAudioType class incomplete:
- // TODO check data returned is valid???
+ // CMdaAudioType class not complete:
+ // XXX check data returned is valid???
return ret;
}
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/TestRecorder.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/TestRecorder.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1303,7 +1303,7 @@
TUint sampleRate = recUtil->DestinationSampleRateL();
TUint bitRate = recUtil->DestinationBitRateL();
- // hack for GSM which returns zero as the bit rate because internally
+ //xxx work around for GSM which returns zero as the bit rate because internally
// BitsPerSample is zero
if (bitRate==0)
{
@@ -5698,7 +5698,7 @@
}
- //try cotinuing playing and get positions while playing if there is more time. TBD
+ //xxx try cotinuing playing and get positions while playing if there is more time.
INFO_PRINTF1(_L("finished with this test step"));
// test steps return a result
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+//Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -25,8 +25,6 @@
// Server for Capability testing
../mmpfiles/DSCapTestServer.mmp
../CapTestServer/group/CapTestServer.mmp
-../../SDevSound/SDSCapTestServer/group/SDSCapTestServer.mmp
-../../SDevSound/SDSCapTestServer/group/SDSMMDDTestServer.mmp
// TSI_WP5 files
@@ -43,6 +41,9 @@
// ACLNT scripts
../scripts/TSI_MMF_ACLNT_00.script c:/tsi_mmf_aclnt_00.script
../scripts/TSI_MMF_ACLNT_01.script c:/tsi_mmf_aclnt_01.script
+../scripts/TSI_MMF_ACLNT_01_POS_1.script c:/TSI_MMF_ACLNT_01_POS_1.script
+../scripts/TSI_MMF_ACLNT_01_POS_2.script c:/TSI_MMF_ACLNT_01_POS_2.script
+../scripts/TSI_MMF_ACLNT_01_NEG.script c:/TSI_MMF_ACLNT_01_NEG.script
../scripts/TSI_MMF_ACLNT_02.script c:/tsi_mmf_aclnt_02.script
../scripts/TSI_MMF_ACLNT_03.script c:/tsi_mmf_aclnt_03.script
../scripts/TSI_MMF_ACLNT_04.script c:/tsi_mmf_aclnt_04.script
@@ -51,6 +52,7 @@
../scripts/tsi_mmf_aclnt_00_not_ne.script c:/tsi_mmf_aclnt_00_not_ne.script
../scripts/tsi_mmf_aclnt_00_not_ne_1.script c:/tsi_mmf_aclnt_00_not_ne_1.script
../scripts/tsi_mmf_aclnt_00_not_ne_2.script c:/tsi_mmf_aclnt_00_not_ne_2.script
+../scripts/tsi_mmf_aclnt_00_not_ne_3.script c:/tsi_mmf_aclnt_00_not_ne_3.script
../scripts/TSI_MMF_ACLNT_00_PREEMPTION.script c:/tsi_mmf_aclnt_00_preemption.script
../scripts/TSI_MMF_ACLNT_01_PREEMPTION.script c:/tsi_mmf_aclnt_01_preemption.script
../scripts/TSI_MMF_ACLNT_03_PREEMPTION.script c:/tsi_mmf_aclnt_03_preemption.script
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/group/inttest_aclnt_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/group/inttest_aclnt_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -14,28 +14,37 @@
//*Files (scripts, data, etc.) To Copy...<src> <destination>
"\epoc32\release\armv5\udeb\tsi_mmfaclnt.dll"-"c:\sys\bin\tsi_mmfaclnt.dll"
+
"\epoc32\release\armv5\urel\tsi_mmfuseoldcodecaudiocontroller.dll"-"c:\sys\bin\tsi_mmfuseoldcodecaudiocontroller.dll"
+"\epoc32\localisation\101F7D39\rsc\101F7D39.rpp"-"c:\localisation\101F7D39\rsc\101F7D39.rpp"
+"\epoc32\localisation\group\101F7D39.info"-"c:\localisation\group\101F7D39.info"
+"\epoc32\data\z\resource\plugins\tsi_mmfuseoldcodecaudiocontroller.rsc"-"c:\resource\plugins\tsi_mmfuseoldcodecaudiocontroller.rsc"
+
"\epoc32\release\armv5\urel\dscaptestserver.exe"-"c:\sys\bin\dscaptestserver.exe"
//"\epoc32\release\armv5\urel\MmfDummyPolicyProxy.dll"-"c:\sys\bin\MmfDummyPolicyProxy.dll"
// script files
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_00.script"-"c:\TSI_MMF_ACLNT_00.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\tsi_mmf_aclnt_00_nona3f.script"-"c:\tsi_mmf_aclnt_00_nona3f.script"
+//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\tsi_mmf_aclnt_00_nona3f.script"-"c:\tsi_mmf_aclnt_00_nona3f.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\tsi_mmf_aclnt_00_not_ne.script"-"c:\tsi_mmf_aclnt_00_not_ne.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\tsi_mmf_aclnt_00_not_ne_1.script"-"c:\tsi_mmf_aclnt_00_not_ne_1.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\tsi_mmf_aclnt_00_not_ne_2.script"-"c:\tsi_mmf_aclnt_00_not_ne_2.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\tsi_mmf_aclnt_00_not_ne_3.script"-"c:\tsi_mmf_aclnt_00_not_ne_3.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_00_PREEMPTION.script"-"c:\TSI_MMF_ACLNT_00_PREEMPTION.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\tsi_mmf_aclnt_00_truepause.script"-"c:\tsi_mmf_aclnt_00_truepause.script"
+//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\tsi_mmf_aclnt_00_truepause.script"-"c:\tsi_mmf_aclnt_00_truepause.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_01.script"-"c:\TSI_MMF_ACLNT_01.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_01_POS_1.script"-"c:\TSI_MMF_ACLNT_01_POS_1.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_01_POS_2.script"-"c:\TSI_MMF_ACLNT_01_POS_2.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_01_NEG.script"-"c:\TSI_MMF_ACLNT_01_NEG.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_01_PREEMPTION.script"-"c:\TSI_MMF_ACLNT_01_PREEMPTION.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_02.script"-"c:\TSI_MMF_ACLNT_02.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_03.script"-"c:\TSI_MMF_ACLNT_03.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\tsi_mmf_aclnt_03_nona3f.script"-"c:\tsi_mmf_aclnt_03_nona3f.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_03_PREEMPTION.script"-"c:\TSI_MMF_ACLNT_03_PREEMPTION.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\tsi_mmf_aclnt_03_truepause.script"-"c:\tsi_mmf_aclnt_03_truepause.script"
+//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\tsi_mmf_aclnt_03_truepause.script"-"c:\tsi_mmf_aclnt_03_truepause.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_04.script"-"c:\TSI_MMF_ACLNT_04.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_ARN.script"-"c:\TSI_MMF_ACLNT_ARN.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_ARN_AudioMultiClient.script"-"c:\TSI_MMF_ACLNT_ARN_AudioMultiClient.script"
+//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_ARN.script"-"c:\TSI_MMF_ACLNT_ARN.script"
+//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_ARN_AudioMultiClient.script"-"c:\TSI_MMF_ACLNT_ARN_AudioMultiClient.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_DRM.script"-"c:\TSI_MMF_ACLNT_DRM.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_FS.script"-"c:\TSI_MMF_ACLNT_FS.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\scripts\TSI_MMF_ACLNT_OF.script"-"c:\TSI_MMF_ACLNT_OF.script"
@@ -64,6 +73,7 @@
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\data\PCMU16BE.wav"-"c:\aclntitestdata\PCMU16BE.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\data\PCMU16.wav"-"c:\aclntitestdata\PCMU16.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\data\mainTst.wav"-"c:\aclntitestdata\mainTst.wav"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\data\mainTst.ogg"-"c:\aclntitestdata\mainTst.ogg"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\data\small.wav"-"c:\aclntitestdata\small.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\data\small.au"-"c:\aclntitestdata\small.au"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\ACLNT\data\test.wav"-"c:\aclntitestdata\test.wav"
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/scripts/TSI_MMF_ACLNT_01.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/scripts/TSI_MMF_ACLNT_01.script Mon Aug 23 18:56:36 2010 +0100
@@ -134,364 +134,4 @@
//! @SYMTestCaseID MM-MMF-ACLNT-I-5011-HP
RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5011-HP \audio.ini
-TEST_COMPLETE
-
-#DEF036641
-# record to an existing IMAD .wav file
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5013-HP
-
-RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5013-HP \audio.ini
-TEST_COMPLETE
-
-#DEF036640
-# record to an existing .wav file with a different sample rate
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5014-HP
-
-RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5014-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test
-# Set and enquire gain.
-RUN_UTILS CopyFile c:\AclntITestData\explo.wav c:\AclntITestData\explo.$$$
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5015-HP
-
-RUN_TEST_STEP -1, ACLNT, MM-MMF-ACLNT-I-5015-HP \audio.ini
-TEST_COMPLETE
-
-#INC038043 Play a file with a different sample rate/number of channels
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5016-HP
-
-RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5016-HP \audio.ini
-TEST_COMPLETE
-
-#DEF039308 - No integration test to test playback of recorded raw file
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5017-HP
-
-RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5017-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
-# Open a descriptor based clip and record
-//! @SYMTestCaseID MM-MMF-ACLNT-I-6001-HP
-
-RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6001-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
-# Open a descriptor based clip and record
-//! @SYMTestCaseID MM-MMF-ACLNT-I-6002-HP
-
-RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6002-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
-# Open a descriptor based clip and record
-//! @SYMTestCaseID MM-MMF-ACLNT-I-6003-HP
-
-RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6003-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
-# Open a descriptor based clip and record
-//! @SYMTestCaseID MM-MMF-ACLNT-I-6004-HP
-
-RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6004-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
-# Open a descriptor based clip and record
-//! @SYMTestCaseID MM-MMF-ACLNT-I-6005-HP
-
-RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6005-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
-# Open a descriptor based clip and record
-//! @SYMTestCaseID MM-MMF-ACLNT-I-6006-HP
-
-RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6006-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
-# Open a descriptor based clip and record
-//! @SYMTestCaseID MM-MMF-ACLNT-I-6007-HP
-
-RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6007-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
-# Open a descriptor based clip and record
-//! @SYMTestCaseID MM-MMF-ACLNT-I-6008-HP
-
-RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6008-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
-# Open a descriptor based clip and record
-//! @SYMTestCaseID MM-MMF-ACLNT-I-6009-HP
-
-RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6009-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.7
-# Open a URL
-//! @SYMTestCaseID MM-MMF-ACLNT-I-0054-LP
-
-#RUN_TEST_STEP 10000, ACLNT, MM-MMF-ACLNT-I-0054-LP \audio.ini
-#TEST_COMPLETE
-
-#Req. under test REQ172.1.28.14
-# Set and enquire position
-//! @SYMTestCaseID MM-MMF-ACLNT-I-0055-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0055-LP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.13
-# enquire duration
-//! @SYMTestCaseID MM-MMF-ACLNT-I-0056-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0056-LP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.19
-# set meta information
-//! @SYMTestCaseID MM-MMF-ACLNT-I-0057-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0057-LP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.22 REQ172.1.28.23
-# Set and enquire balance
-//! @SYMTestCaseID MM-MMF-ACLNT-I-0059-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0059-LP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.10
-# Set maximum length of file in bytes and record
-//! @SYMTestCaseID MM-MMF-ACLNT-I-0060-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0060-LP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.2 REQ172.1.2.1
-# Query recordable formats
-//! @SYMTestCaseID MM-MMF-ACLNT-I-0061-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0061-LP \audio.ini
-TEST_COMPLETE
-
-
-#Sierra REQ2870 Audio Bitrate
-# Query audio bitrate
-//! @SYMTestCaseID MM-MMF-ACLNT-I-0062-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0062-LP \audio.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-ACLNT-I-0063-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0063-LP \audio.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-ACLNT-I-0064-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0064-LP \audio.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-ACLNT-I-0065-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0065-LP \audio.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-ACLNT-I-0066-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0066-LP \audio.ini
-TEST_COMPLETE
-
-################ NEGATIVE TESTS ###############
-
-#Req. under test REQ172.1.28.5 REQ172.1.28.8
-# Record audio to unsupported file.
-//! @SYMTestCaseID MM-MMF-ACLNT-I-1200-CP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1200-CP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
-# Record utility - Delete object before record operation has completed.
-//! @SYMTestCaseID MM-MMF-ACLNT-I-1201-HP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1201-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.16 REQ172.1.28.17 REQ172.1.28.18
-# set gain to invalid gain value
-//! @SYMTestCaseID MM-MMF-ACLNT-I-1204-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1204-LP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.16 REQ172.1.28.17 REQ172.1.28.18
-# set gain to invalid gain value
-//! @SYMTestCaseID MM-MMF-ACLNT-I-1208-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1208-LP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.14
-# Set invalid position
-//! @SYMTestCaseID MM-MMF-ACLNT-I-1205-HP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1205-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.14
-# Set invalid position
-//! @SYMTestCaseID MM-MMF-ACLNT-I-1209-HP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1209-HP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.22 REQ172.1.28.23
-# Set invalid balance
-//! @SYMTestCaseID MM-MMF-ACLNT-I-1206-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1206-LP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.22 REQ172.1.28.23
-# Set invalid balance
-//! @SYMTestCaseID MM-MMF-ACLNT-I-1210-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1210-LP \audio.ini
-TEST_COMPLETE
-
-#Req. under test REQ172.1.28.10
-# Set invalid maximum length of file in bytes and record
-//! @SYMTestCaseID MM-MMF-ACLNT-I-1207-LP
-
-RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1207-LP \audio.ini
-TEST_COMPLETE
-
-
-
-
-
-
-
-
-
-//These tests have been written to prove CMdaAudioRecorderUtility when only one
-//controller has been identified (recorder or playback) INC25475
-//They use the wav format and the standard audio controller; but require the
-//wav interface (101F53C0.rss) to be edited to remove support for playback/record.
-//When conducting tests 5100-5105, remove the DEcode format interface.
-//When conducting tests 5110-5115, remove the ENcode format interface.
-
-//Due to the need to edit the wav format resource file, only one block of tests can be run
-//at a time 5100-5105 or 5110-5115.
-
-//Also, CMdaAudioRecorderUtility is written to try the record controller as the playback
-//controller if a playback controller has not been specified; this must be disabled.
-//Edit the methods CMMFMdaAudioRecorderUtility::DoOpenFile and DoOpenDes() as follows.
-//
-// if(aPlaybackControllerUid == KNullUid)
-// {
-// PlaybackControllerUidSupplied = EFalse;
-// aPlaybackControllerUid = aControllerUid;
-
-// add
-// -->> TUid tmpid = {0x9999};
-// -->> aPlaybackControllerUid = tmpid;
-// }
-
-
-//These tests confirm operation where no playback controller has been identified
-
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5100-HP
-
-//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5100-HP \audio.ini
-//TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5101-HP
-
-//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5101-HP \audio.ini
-//TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5102-HP
-
-//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5102-HP \audio.ini
-//TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5103-HP
-
-//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5103-HP \audio.ini
-//TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5104-HP
-
-//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5104-HP \audio.ini
-//TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5105-HP
-
-//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5105-HP \audio.ini
-//TEST_COMPLETE
-
-
-
-//These tests confirm operation where no record controller has been identified
-
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5110-HP
-
-//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5110-HP \audio.ini
-//TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5111-HP
-
-//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5111-HP \audio.ini
-//TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5112-HP
-
-//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5112-HP \audio.ini
-//TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5113-HP
-
-//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5113-HP \audio.ini
-//TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5114-HP
-
-//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5114-HP \audio.ini
-//TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-I-5115-HP
-
-//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5115-HP \audio.ini
-//TEST_COMPLETE
-
-//This test for DEF039893 Call GetBalance when SetBalance has not been set
-//! @SYMTestCaseID MM-MMF-ACLNT-I-6050-LP
-
-RUN_TEST_STEP -1, ACLNT, MM-MMF-ACLNT-I-6050-LP \audio.ini
-TEST_COMPLETE
-
-//This test for DEF039850 An MMF format plugin with empty header tag results in any file being recognized
-//! @SYMTestCaseID MM-MMF-ACLNT-I-6051-LP
-
-RUN_TEST_STEP -1, ACLNT, MM-MMF-ACLNT-I-6051-LP \audio.ini
-TEST_COMPLETE
-
-//CR1566
-//!@SYMTestCaseID MM-MMF-ACLNT-I-5018-HP
-//!@SYMTestCaseDesc Record-Stop-Record audio
-//!@SYMREQ
-//!@SYMPREQ
-//!@SYMTestPriority
-//!@SYMTestActions 1. Open a WAV file for recording
-//! 2. Start recording
-//! 3. After 2 seconds stop recording
-//! 4. Start recording again
-//!@SYMTestExpectedResults Check transitions correspond to the performed operations
-RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5018-HP \audio.ini
TEST_COMPLETE
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/scripts/TSI_MMF_ACLNT_01_NEG.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,202 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+LOAD_SUITE TSI_MMFACLNT.DLL
+#PAUSE_AT_END
+
+# wait for ring.wav to finish playing
+delay 1000
+
+################ NEGATIVE TESTS ###############
+
+#Req. under test REQ172.1.28.5 REQ172.1.28.8
+# Record audio to unsupported file.
+//! @SYMTestCaseID MM-MMF-ACLNT-I-1200-CP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1200-CP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
+# Record utility - Delete object before record operation has completed.
+//! @SYMTestCaseID MM-MMF-ACLNT-I-1201-HP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1201-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.16 REQ172.1.28.17 REQ172.1.28.18
+# set gain to invalid gain value
+//! @SYMTestCaseID MM-MMF-ACLNT-I-1204-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1204-LP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.16 REQ172.1.28.17 REQ172.1.28.18
+# set gain to invalid gain value
+//! @SYMTestCaseID MM-MMF-ACLNT-I-1208-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1208-LP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.14
+# Set invalid position
+//! @SYMTestCaseID MM-MMF-ACLNT-I-1205-HP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1205-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.14
+# Set invalid position
+//! @SYMTestCaseID MM-MMF-ACLNT-I-1209-HP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1209-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.22 REQ172.1.28.23
+# Set invalid balance
+//! @SYMTestCaseID MM-MMF-ACLNT-I-1206-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1206-LP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.22 REQ172.1.28.23
+# Set invalid balance
+//! @SYMTestCaseID MM-MMF-ACLNT-I-1210-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1210-LP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.10
+# Set invalid maximum length of file in bytes and record
+//! @SYMTestCaseID MM-MMF-ACLNT-I-1207-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-1207-LP \audio.ini
+TEST_COMPLETE
+
+//These tests have been written to prove CMdaAudioRecorderUtility when only one
+//controller has been identified (recorder or playback) INC25475
+//They use the wav format and the standard audio controller; but require the
+//wav interface (101F53C0.rss) to be edited to remove support for playback/record.
+//When conducting tests 5100-5105, remove the DEcode format interface.
+//When conducting tests 5110-5115, remove the ENcode format interface.
+
+//Due to the need to edit the wav format resource file, only one block of tests can be run
+//at a time 5100-5105 or 5110-5115.
+
+//Also, CMdaAudioRecorderUtility is written to try the record controller as the playback
+//controller if a playback controller has not been specified; this must be disabled.
+//Edit the methods CMMFMdaAudioRecorderUtility::DoOpenFile and DoOpenDes() as follows.
+//
+// if(aPlaybackControllerUid == KNullUid)
+// {
+// PlaybackControllerUidSupplied = EFalse;
+// aPlaybackControllerUid = aControllerUid;
+
+// add
+// -->> TUid tmpid = {0x9999};
+// -->> aPlaybackControllerUid = tmpid;
+// }
+
+
+//These tests confirm operation where no playback controller has been identified
+
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5100-HP
+
+//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5100-HP \audio.ini
+//TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5101-HP
+
+//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5101-HP \audio.ini
+//TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5102-HP
+
+//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5102-HP \audio.ini
+//TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5103-HP
+
+//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5103-HP \audio.ini
+//TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5104-HP
+
+//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5104-HP \audio.ini
+//TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5105-HP
+
+//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5105-HP \audio.ini
+//TEST_COMPLETE
+
+
+
+//These tests confirm operation where no record controller has been identified
+
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5110-HP
+
+//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5110-HP \audio.ini
+//TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5111-HP
+
+//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5111-HP \audio.ini
+//TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5112-HP
+
+//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5112-HP \audio.ini
+//TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5113-HP
+
+//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5113-HP \audio.ini
+//TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5114-HP
+
+//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5114-HP \audio.ini
+//TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5115-HP
+
+//RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5115-HP \audio.ini
+//TEST_COMPLETE
+
+//This test for DEF039893 Call GetBalance when SetBalance has not been set
+//! @SYMTestCaseID MM-MMF-ACLNT-I-6050-LP
+
+RUN_TEST_STEP -1, ACLNT, MM-MMF-ACLNT-I-6050-LP \audio.ini
+TEST_COMPLETE
+
+//This test for DEF039850 An MMF format plugin with empty header tag results in any file being recognized
+//! @SYMTestCaseID MM-MMF-ACLNT-I-6051-LP
+
+RUN_TEST_STEP -1, ACLNT, MM-MMF-ACLNT-I-6051-LP \audio.ini
+TEST_COMPLETE
+
+//CR1566
+//!@SYMTestCaseID MM-MMF-ACLNT-I-5018-HP
+//!@SYMTestCaseDesc Record-Stop-Record audio
+//!@SYMREQ
+//!@SYMPREQ
+//!@SYMTestPriority
+//!@SYMTestActions 1. Open a WAV file for recording
+//! 2. Start recording
+//! 3. After 2 seconds stop recording
+//! 4. Start recording again
+//!@SYMTestExpectedResults Check transitions correspond to the performed operations
+RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5018-HP \audio.ini
+TEST_COMPLETE
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/scripts/TSI_MMF_ACLNT_01_POS_1.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,112 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+LOAD_SUITE TSI_MMFACLNT.DLL
+#PAUSE_AT_END
+
+# wait for ring.wav to finish playing
+delay 1000
+
+###################### POSITIVE TEST ###############
+
+#DEF036641
+# record to an existing IMAD .wav file
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5013-HP
+
+RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5013-HP \audio.ini
+TEST_COMPLETE
+
+#DEF036640
+# record to an existing .wav file with a different sample rate
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5014-HP
+
+RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5014-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test
+# Set and enquire gain.
+RUN_UTILS CopyFile c:\AclntITestData\explo.wav c:\AclntITestData\explo.$$$
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5015-HP
+
+RUN_TEST_STEP -1, ACLNT, MM-MMF-ACLNT-I-5015-HP \audio.ini
+TEST_COMPLETE
+
+#INC038043 Play a file with a different sample rate/number of channels
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5016-HP
+
+RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5016-HP \audio.ini
+TEST_COMPLETE
+
+#DEF039308 - No integration test to test playback of recorded raw file
+//! @SYMTestCaseID MM-MMF-ACLNT-I-5017-HP
+
+RUN_TEST_STEP 30000, ACLNT, MM-MMF-ACLNT-I-5017-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
+# Open a descriptor based clip and record
+//! @SYMTestCaseID MM-MMF-ACLNT-I-6001-HP
+
+RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6001-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
+# Open a descriptor based clip and record
+//! @SYMTestCaseID MM-MMF-ACLNT-I-6002-HP
+
+RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6002-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
+# Open a descriptor based clip and record
+//! @SYMTestCaseID MM-MMF-ACLNT-I-6003-HP
+
+RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6003-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
+# Open a descriptor based clip and record
+//! @SYMTestCaseID MM-MMF-ACLNT-I-6004-HP
+
+RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6004-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
+# Open a descriptor based clip and record
+//! @SYMTestCaseID MM-MMF-ACLNT-I-6005-HP
+
+RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6005-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
+# Open a descriptor based clip and record
+//! @SYMTestCaseID MM-MMF-ACLNT-I-6006-HP
+
+RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6006-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
+# Open a descriptor based clip and record
+//! @SYMTestCaseID MM-MMF-ACLNT-I-6007-HP
+
+RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6007-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.5 REQ172.1.28.8 REQ172.1.28.9
+# Open a descriptor based clip and record
+//! @SYMTestCaseID MM-MMF-ACLNT-I-6008-HP
+
+RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6008-HP \audio.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/scripts/TSI_MMF_ACLNT_01_POS_2.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,99 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+LOAD_SUITE TSI_MMFACLNT.DLL
+#PAUSE_AT_END
+
+# wait for ring.wav to finish playing
+delay 1000
+
+###################### POSITIVE TEST ###############
+
+
+RUN_TEST_STEP 60000, ACLNT, MM-MMF-ACLNT-I-6009-HP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.7
+# Open a URL
+//! @SYMTestCaseID MM-MMF-ACLNT-I-0054-LP
+
+#RUN_TEST_STEP 10000, ACLNT, MM-MMF-ACLNT-I-0054-LP \audio.ini
+#TEST_COMPLETE
+
+#Req. under test REQ172.1.28.14
+# Set and enquire position
+//! @SYMTestCaseID MM-MMF-ACLNT-I-0055-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0055-LP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.13
+# enquire duration
+//! @SYMTestCaseID MM-MMF-ACLNT-I-0056-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0056-LP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.19
+# set meta information
+//! @SYMTestCaseID MM-MMF-ACLNT-I-0057-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0057-LP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.22 REQ172.1.28.23
+# Set and enquire balance
+//! @SYMTestCaseID MM-MMF-ACLNT-I-0059-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0059-LP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.10
+# Set maximum length of file in bytes and record
+//! @SYMTestCaseID MM-MMF-ACLNT-I-0060-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0060-LP \audio.ini
+TEST_COMPLETE
+
+#Req. under test REQ172.1.28.2 REQ172.1.2.1
+# Query recordable formats
+//! @SYMTestCaseID MM-MMF-ACLNT-I-0061-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0061-LP \audio.ini
+TEST_COMPLETE
+
+
+#Sierra REQ2870 Audio Bitrate
+# Query audio bitrate
+//! @SYMTestCaseID MM-MMF-ACLNT-I-0062-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0062-LP \audio.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-ACLNT-I-0063-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0063-LP \audio.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-ACLNT-I-0064-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0064-LP \audio.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-ACLNT-I-0065-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0065-LP \audio.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-ACLNT-I-0066-LP
+
+RUN_TEST_STEP 300000, ACLNT, MM-MMF-ACLNT-I-0066-LP \audio.ini
+TEST_COMPLETE
\ No newline at end of file
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/scripts/tsi_mmf_aclnt_00_not_ne_1.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/scripts/tsi_mmf_aclnt_00_not_ne_1.script Mon Aug 23 18:56:36 2010 +0100
@@ -43,22 +43,4 @@
TEST_COMPLETE
RUN_TEST_STEP 500000,ACLNT, MM-MMF-ACLNT-I-0082-HP \audio.ini
-TEST_COMPLETE
-
-RUN_TEST_STEP 180000,ACLNT, MM-MMF-ACLNT-I-0083-HP \audio.ini
-TEST_COMPLETE
-
-RUN_TEST_STEP 180000,ACLNT, MM-MMF-ACLNT-I-0084-HP \audio.ini
-TEST_COMPLETE
-
-RUN_TEST_STEP 180000,ACLNT, MM-MMF-ACLNT-I-0087-HP \audio.ini
-TEST_COMPLETE
-
-RUN_TEST_STEP 2000000,ACLNT, MM-MMF-ACLNT-I-0088-HP \audio.ini
-TEST_COMPLETE
-
-RUN_TEST_STEP 180000,ACLNT, MM-MMF-ACLNT-I-0086-HP \audio.ini
-TEST_COMPLETE
-
-RUN_TEST_STEP 180000,ACLNT, MM-MMF-ACLNT-I-0085-HP \audio.ini
TEST_COMPLETE
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/scripts/tsi_mmf_aclnt_00_not_ne_3.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,37 @@
+// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+LOAD_SUITE TSI_MMFACLNT.DLL
+delay 1000
+
+#For CR1424 For player test(AudioController)
+
+RUN_TEST_STEP 180000,ACLNT, MM-MMF-ACLNT-I-0083-HP \audio.ini
+TEST_COMPLETE
+
+RUN_TEST_STEP 180000,ACLNT, MM-MMF-ACLNT-I-0084-HP \audio.ini
+TEST_COMPLETE
+
+RUN_TEST_STEP 180000,ACLNT, MM-MMF-ACLNT-I-0087-HP \audio.ini
+TEST_COMPLETE
+
+RUN_TEST_STEP 2000000,ACLNT, MM-MMF-ACLNT-I-0088-HP \audio.ini
+TEST_COMPLETE
+
+RUN_TEST_STEP 180000,ACLNT, MM-MMF-ACLNT-I-0086-HP \audio.ini
+TEST_COMPLETE
+
+RUN_TEST_STEP 180000,ACLNT, MM-MMF-ACLNT-I-0085-HP \audio.ini
+TEST_COMPLETE
\ No newline at end of file
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/Ctlfrm/TSI_MmfCtlfrmNeg.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/Ctlfrm/TSI_MmfCtlfrmNeg.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -278,7 +278,7 @@
TVerdict RTestMmfCtlfrmI0513::DoTestStepL()
{
- // *** TODO : we may have problems here. the only controller we have is the
+ //XXX : we may have problems here. the only controller we have is the
// Audio Controller and this does not yet support removal of sources/sinks,
// whether it's playing or not...
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/Ctlfrm/group/inttest_ctlfrm_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/Ctlfrm/group/inttest_ctlfrm_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -13,13 +13,40 @@
// Description:
//*Files (scripts, data, etc.) To Copy...<src> <destination>
+"\epoc32\release\armv5\udeb\tsi_mmfctlfrm.dll"-"c:\sys\bin\tsi_mmfctlfrm.dll"
+
+"\epoc32\release\armv5\udeb\tsi_mmfcustomcommands.dll"-"c:\sys\bin\tsi_mmfcustomcommands.dll"
+
"\epoc32\release\armv5\urel\tsi_mmfcontroller.dll"-"c:\sys\bin\tsi_mmfcontroller.dll"
+"\epoc32\localisation\101f7bf9\rsc\101f7bf9.rpp"-"c:\localisation\101f7bf9\rsc\101f7bf9.rpp"
+"\epoc32\localisation\group\101f7bf9.info"-"c:\localisation\group\101f7bf9.info"
+"\epoc32\data\z\resource\plugins\tsi_mmfcontroller.rsc"-"c:\resource\plugins\tsi_mmfcontroller.rsc"
+
"\epoc32\release\armv5\urel\tsi_mmfcontroller2.dll"-"c:\sys\bin\tsi_mmfcontroller2.dll"
-"\epoc32\release\armv5\urel\tsi_mmfctlfrm.dll"-"c:\sys\bin\tsi_mmfctlfrm.dll"
-"\epoc32\release\armv5\urel\tsi_mmfcustomcommands.dll"-"c:\sys\bin\tsi_mmfcustomcommands.dll"
+"\epoc32\localisation\101f7bfb\rsc\101f7bfb.rpp"-"c:\localisation\101f7bfb\rsc\101f7bfb.rpp"
+"\epoc32\localisation\group\101f7bfb.info"-"c:\localisation\group\101f7bfb.info"
+"\epoc32\data\z\resource\plugins\tsi_mmfcontroller2.rsc"-"c:\resource\plugins\tsi_mmfcontroller2.rsc"
+
"\epoc32\release\armv5\urel\tsi_mmfdatasink.dll"-"c:\sys\bin\tsi_mmfdatasink.dll"
+"\epoc32\localisation\101f7bfd\rsc\101f7bfd.rpp"-"c:\localisation\101f7bfd\rsc\101f7bfd.rpp"
+"\epoc32\localisation\group\101f7bfd.info"-"c:\localisation\group\101f7bfd.info"
+"\epoc32\data\z\resource\plugins\tsi_mmfdatasink.rsc"-"c:\resource\plugins\tsi_mmfdatasink.rsc"
+
"\epoc32\release\armv5\urel\tsi_mmfdatasource.dll"-"c:\sys\bin\tsi_mmfdatasource.dll"
+"\epoc32\localisation\101f7bff\rsc\101f7bff.rpp"-"c:\localisation\101f7bff\rsc\101f7bff.rpp"
+"\epoc32\localisation\group\101f7bff.info"-"c:\localisation\group\101f7bff.info"
+"\epoc32\data\z\resource\plugins\tsi_mmfdatasource.rsc"-"c:\resource\plugins\tsi_mmfdatasource.rsc"
+
"\epoc32\release\armv5\urel\tsi_mmfformat.dll"-"c:\sys\bin\tsi_mmfformat.dll"
+"\epoc32\localisation\101ffa10\rsc\101ffa10.rpp"-"c:\localisation\101ffa10\rsc\101ffa10.rpp"
+"\epoc32\localisation\group\101ffa10.info"-"c:\localisation\group\101ffa10.info"
+"\epoc32\data\z\resource\plugins\tsi_mmfformat.rsc"-"c:\resource\plugins\tsi_mmfformat.rsc"
+
+"\epoc32\release\armv5\urel\custommmfaudiocontroller.dll"-"c:\sys\bin\custommmfaudiocontroller.dll"
+"\epoc32\localisation\101f7d29\rsc\101f7d29.rpp"-"c:\localisation\101f7d29\rsc\101f7d29.rpp"
+"\epoc32\localisation\group\101f7d29.info"-"c:\localisation\group\101f7d29.info"
+"\epoc32\data\z\resource\plugins\custommmfaudiocontroller.rsc"-"c:\resource\plugins\custommmfaudiocontroller.rsc"
+
//"\epoc32\release\armv5\urel\tsi_mmfrecog.dll"-"c:\sys\bin\tsi_mmfrecog.dll"
// script files
@@ -36,4 +63,4 @@
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\Ctlfrm\data\test.wav"-"c:\tsimmfctlfrmdata\test.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\Ctlfrm\data\test2.wav"-"c:\tsimmfctlfrmdata\test2.wav"
//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\Ctlfrm\data\Test.abc"-"c:\tsimmfctlfrmdata\Test.abc"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\Ctlfrm\data\Test.xyz"-"c:\tsimmfctlfrmdata\Test.xyz"
\ No newline at end of file
+//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\Ctlfrm\data\Test.xyz"-"c:\tsimmfctlfrmdata\Test.xyz"
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/SDevSound/group/IntTest_SDevsound_data.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/SDevSound/group/IntTest_SDevsound_data.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -1,4 +1,6 @@
"\epoc32\release\armv5\urel\tsi_mmf_sdevsound.dll"-"c:\sys\bin\tsi_mmf_sdevsound.dll"
+"\epoc32\release\armv5\urel\sdsmmddtestserver.exe"-"c:\sys\bin\sdsmmddtestserver.exe"
+"\epoc32\release\armv5\urel\sdscaptestserver.exe"-"c:\sys\bin\sdscaptestserver.exe"
// script files
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SDevSound\scriptFiles\TSI_MMF_SDEVSOUND_01.script"-"c:\TSI_MMF_SDEVSOUND_01.script"
@@ -7,8 +9,9 @@
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SDevSound\scriptFiles\TSI_MMF_SDEVSOUND_MMDDCAP.script"-"c:\TSI_MMF_SDEVSOUND_MMDDCAP.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SDevSound\scriptFiles\TSI_MMF_SDEVSOUND_NOCAP.script"-"c:\TSI_MMF_SDEVSOUND_NOCAP.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SDevSound\scriptFiles\TSI_MMF_SDEVSOUND_UECAP.script"-"c:\TSI_MMF_SDEVSOUND_UECAP.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SDevSound\scriptFiles\sdevsound_audio.ini"-"c:\sdevsound_audio.ini"
// Data files
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SDevSound\data\8bitmPcm.wav"-"c:\sdevsoundinttestdata\8bitmPcm.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SDevSound\data\mainTst.wav"-"c:\sdevsoundinttestdata\mainTst.wav"
-//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SDevSound\data\PCM_08_16_m.raw"-"c:\sdevsoundinttestdata\PCM_08_16_m.raw"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SDevSound\data\PCM_08_16_m.raw"-"c:\sdevsoundinttestdata\PCM_08_16_m.raw"
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/SDevSound/scriptFiles/TSI_MMF_SDEVSOUND_01.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/SDevSound/scriptFiles/TSI_MMF_SDEVSOUND_01.script Mon Aug 23 18:56:36 2010 +0100
@@ -26,7 +26,7 @@
//!@SYMTestPriority 2
//!@SYMTestActions audioRec[0] call OpenFileL and RecordL. audioRec[0] has MultimediaDD & UserEnvironment capability.
//!@SYMTestExpectedResults Check that the callback was called correctly and with no errors.
-RUN_TEST_STEP 440000 TSI_MMF_SDEVSOUND MM-MMF-SDEVSOUND-I-0023-HP \audio.ini
+RUN_TEST_STEP 440000 TSI_MMF_SDEVSOUND MM-MMF-SDEVSOUND-I-0023-HP \sdevsound_audio.ini
TEST_COMPLETE
//!@SYMTestCaseID MM-MMF-SDEVSOUND-I-0037-HP
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/SDevSound/scriptFiles/TSI_MMF_SDEVSOUND_MMDDCAP.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/SDevSound/scriptFiles/TSI_MMF_SDEVSOUND_MMDDCAP.script Mon Aug 23 18:56:36 2010 +0100
@@ -25,5 +25,5 @@
//!@SYMTestPriority 2
//!@SYMTestActions audioRec[0] call OpenFileL and RecordL. audioRec[0] has MultimediaDD capability.
//!@SYMTestExpectedResults Check whether KErrPermissionDenied is returned.
-RUN_TEST_STEP -1 TSI_MMF_SDEVSOUND MM-MMF-SDEVSOUND-I-0021-HP \audio.ini
+RUN_TEST_STEP -1 TSI_MMF_SDEVSOUND MM-MMF-SDEVSOUND-I-0021-HP \sdevsound_audio.ini
TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/SDevSound/scriptFiles/TSI_MMF_SDEVSOUND_NOCAP.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/SDevSound/scriptFiles/TSI_MMF_SDEVSOUND_NOCAP.script Mon Aug 23 18:56:36 2010 +0100
@@ -61,7 +61,7 @@
//!@SYMTestPriority 2
//!@SYMTestActions audioUtil[0] call PlayFileL. audioUtil[0] has no MultimediaDD capability
//!@SYMTestExpectedResults Check that the callback was called correctly and with no errors.
-RUN_TEST_STEP -1 TSI_MMF_SDEVSOUND MM-MMF-SDEVSOUND-I-0011-HP \audio.ini
+RUN_TEST_STEP -1 TSI_MMF_SDEVSOUND MM-MMF-SDEVSOUND-I-0011-HP \sdevsound_audio.ini
TEST_COMPLETE
//!@SYMTestCaseID MM-MMF-SDEVSOUND-I-0013-HP
@@ -70,7 +70,7 @@
//!@SYMTestPriority 2
//!@SYMTestActions audioRec[0] call OpenFileL and RecordL. audioRec[0] has no UserEnv capability (NONE capability).
//!@SYMTestExpectedResults Check whether KErrPermissionDenied is returned. (Earlier returned no errors as recording behaviour has changed)
-RUN_TEST_STEP -1 TSI_MMF_SDEVSOUND MM-MMF-SDEVSOUND-I-0013-HP \audio.ini
+RUN_TEST_STEP -1 TSI_MMF_SDEVSOUND MM-MMF-SDEVSOUND-I-0013-HP \sdevsound_audio.ini
TEST_COMPLETE
//!@SYMTestCaseID MM-MMF-SDEVSOUND-I-0035-HP
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/SDevSound/scriptFiles/TSI_MMF_SDEVSOUND_UECAP.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/SDevSound/scriptFiles/TSI_MMF_SDEVSOUND_UECAP.script Mon Aug 23 18:56:36 2010 +0100
@@ -25,5 +25,5 @@
//!@SYMTestPriority 2
//!@SYMTestActions audioRec[0] call OpenFileL and RecordL. audioRec[0] has UserEnvironment capability.
//!@SYMTestExpectedResults Check that the callback was called correctly and with no errors.
-RUN_TEST_STEP -1 TSI_MMF_SDEVSOUND MM-MMF-SDEVSOUND-I-0022-HP \audio.ini
+RUN_TEST_STEP -1 TSI_MMF_SDEVSOUND MM-MMF-SDEVSOUND-I-0022-HP \sdevsound_audio.ini
TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/SDevSound/scriptFiles/sdevsound_audio.ini Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,177 @@
+[SectionOne]
+sectionNum= 1
+playerAudioFile = \AclntITestData\mainTst.wav
+playerAudioFile2 = \AclntITestData\mainTst2.wav
+sequenceFile= \AclntITestData\test.sqn
+PCM8 = \AclntITestData\8bitmPcm.wav
+PCM8-6144bytes = \AclntITestData\8bitmPcm-6144bytes.wav
+PCM8output = \AclntITestData\8bitmPcmOutput.wav
+ALAW = \AclntITestData\8bitmAlaw.wav
+PCM16 = \AclntITestData\16bitmPcm.wav
+PCMU8 = \AclntITestData\8bitmUPCM.wav
+PCMU16BE = \AclntITestData\PCMU16BE.wav
+PCMU16 = \AclntITestData\PCMU16.wav
+MULAW = \AclntITestData\8bitmuLaw.wav
+IMAD = \AclntITestData\IMAD.wav
+IMAS = \AclntITestData\IMAS.wav
+GSM610 = \AclntITestData\Gsm610.wav
+cropAudioFile = \AclntITestData\CropMe.wav
+Pcm8Mono44khz = \AclntITestData\pcm8mono44khz.wav
+Pcm16Mono44khz = \AclntITestData\pcm16mono44khz.wav
+PCMU8_22254Hz_ALF = \AclntITestData\alf-noproblem.wav
+Pcm16Mono48khz = \AclntITestData\pcm16mono48khz.wav
+100khzSRate1KhzTone = \AclntITestData\100khzSRate1KhzTone.wav
+7.33khzSRate1KhzTone = \AclntITestData\7.33khzSRate1KhzTone.wav
+Sequence1 = \AclntITestData\sequence1.sqn
+Sequence2 = \AclntITestData\sequence2.sqn
+PCM16WrongExtension1 = \AclntITestData\16bitmPcm.xxx
+PCM16WrongExtension2 = \AclntITestData\explo.$$$
+Pcm16Mono12khz = \AclntITestData\pcm16mono12khz.wav
+Pcm16Mono24khz = \AclntITestData\pcm16mono24khz.wav
+inputTextFile = \AclntITestData\textInput.wav
+
+[SectionTwo]
+sectionNum = 2
+playerAudioFile = \AclntITestData\small.wav
+
+[SectionThree]
+OneSampleFile = \AclntITestData\OneSample.wav
+outputAudioFile = \AclntITestData\ouput.wav
+outputAudioFileRaw = \AclntITestData\ouput.raw
+outputTextFile = \AclntITestData\textOutput.wav
+playerAudioFile = \AclntITestData\mainTst.wav
+cropAudioFile = \AclntITestData\CropMe.wav
+
+[SectionFour]
+auAudioFile = \AclntITestData\Gsm610.wav
+wavAudioFile = \AclntITestData\mainTest.wav
+configAudio = c:\AclntITestData\testOut.wav
+configAudio2 = c:\AclntTestData\testOut2.wav
+configAudio3 = c:\AclntTestData\testOut3.wav
+configAudio4 = c:\AclntTestData\testOut4.wav
+configAudio5 = c:\AclntTestData\testOut5.wav
+configAudio6 = c:\AclntTestData\testOut6.wav
+configAudio7 = c:\AclntTestData\testOut7.wav
+configAudio8 = c:\AclntTestData\testOut8.wav
+configAudio9 = c:\AclntTestData\testOut9.wav
+configAudio10 = c:\AclntTestData\testOut10.wav
+configAudio11 = c:\AclntTestData\testOut.au
+configAudio12 = c:\AclntITestData\testOut2.wav
+
+
+PCM16_out = c:\AclntITestData\16bitmPcm_out.wav
+PCM8_out = c:\AclntITestData\8bitmPcm_out.wav
+
+PCM16_out_au = c:\AclntITestData\16bitPcm_out.au
+PCM8_out_au = c:\AclntITestData\8bitPcm_out.au
+
+[SectionFive]
+playerAudioFile = \AclntITestData\unsupported.wav
+outputAudioFile = \AclntITestData\output5.wav
+
+[SectionSix]
+playerAudioFile = \AclntITestData\noexist.wav
+outputAudioFile = c:\AclntITestData\output6.wav
+
+[SectionSeven]
+toneSequence = \AclntITestData\test.sqn
+
+[SectionEight]
+playerAudioFile = \AclntITestData\small.wav
+playerAudioFileAU = \AclntITestData\small.au
+
+[SectionNine]
+PCM8bitMonoWav = \AclntITestData\PCM8BitMono.wav
+PCM8bitStereoWav = \AclntITestData\PCM8BitStereo.wav
+PCM8bitMonoAu = \AclntITestData\PCM8BitMono.au
+PCM8bitStereoAu = \AclntITestData\PCM8BitStereo.au
+bitrate64 = 64000
+bitrate128 = 128000
+bitrate256 = 256000
+WAV128 = \AclntITestData\PCM16BitMono.wav
+WAV256 = \AclntITestData\PCM16BitStereo.wav
+AU128 = \AclntITestData\PCM16BitMono.au
+AU256 = \AclntITestData\PCM16BitStereo.au
+
+[SectionTen]
+PCM8 = \sdevsoundinttestdata\8bitmPcm.wav
+outputAudioFile = \sdevsoundinttestdata\ouput.wav
+
+[SectionDRM]
+AudioContent = \AclntITestData\Audio.content
+AudioContentRights = \AclntITestData\Audio.contentrights
+
+;Deprecated - Phase 1
+DRMWavFile = \AclntITestData\drmwavfile.drm
+DRMWavMime = audio/wav
+TestConvertFile = \AclntITestData\testout.wav
+
+[SectionARN]
+playerAudioFile1 = \AclntITestData\mainTst.wav
+playerAudioFile2 = \AclntITestData\mainTst2.wav
+playerAudioFile3 = \AclntITestData\mainTst3.wav
+
+[SectionOgg]
+playerAudioFile = \AclntITestData\mainTst.ogg
+playerAudioFile2 = \AclntITestData\mainTst2.ogg
+cropAudioFile = \AclntITestData\CropMe.ogg
+
+[SectionOggSmall]
+playerAudioFile = \AclntITestData\small.ogg
+
+[SectionOggRec]
+outputAudioFile = \AclntITestData\ouput.ogg
+playerAudioFile = \AclntITestData\small.ogg
+cropAudioFile = \AclntITestData\CropMe.ogg
+
+[SectionOggRecState]
+outputAudioFile = c:\AclntITestData\output6.ogg
+
+[SectionOggAPR]
+playerAudioFile1 = \AclntITestData\mainTst.ogg
+playerAudioFile2 = \AclntITestData\mainTst2.ogg
+playerAudioFile3 = \AclntITestData\mainTst3.ogg
+
+[SectionOggDRM]
+AudioContent = \AclntITestData\AudioOgg.content
+AudioContentRights = \AclntITestData\AudioOgg.contentrights
+
+[SectionRepeatCount]
+numOfRepeat = 2
+newRepeatValue = 4
+maxRepeatValue = 15
+
+[SectionSilence]
+silence = 0
+[SectionTruePause]
+Sequence = \AclntITestData\sequence2.sqn
+Volume = 77
+Balance = 77
+Duration = 17000000
+Pause = 2
+
+[SectionTruePauseAOS]
+RawFile = \AclntITestData\test.raw
+OggFile = \AclntITestData\maintst.ogg
+Pause = 1
+Volume = 77
+Balance = 77
+
+[SectionPlayTrue]
+FilenameWAV = \aclntitestdata\main.wav
+FilenameSQN = \aclntitestdata\sequence1.sqn
+FilenamePCM8 = \AclntITestData\8bitmPcm.wav
+FilenamePCM16 = \AclntITestData\16bitmPcm.wav
+FilenamePCMU8 = \AclntITestData\8bitmUPCM.wav
+FilenamePCMU16 = \AclntITestData\PCMU16.wav
+FilenameAlaw = \AclntITestData\8bitmAlaw.wav
+FilenameMulaw = \AclntITestData\8bitmuLaw.wav
+FilenameIMAD = \aclntitestdata\imad2.wav
+FilenameGSM610 = \AclntITestData\Gsm610.wav
+FilenameOGG = \aclntitestdata\maintst.ogg
+FilenamePCMU16BE = \AclntITestData\PCMU16BE.wav
+Volume = 77
+Balance = 77
+Duration1 = 2
+DurationMiliSec = 700
+
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/SecureDRM/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/SecureDRM/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -25,7 +25,7 @@
../data/audiorights2.xml c:/securedrm/audiorights2.xml
../data/small.wav c:/securedrm/small.wav
../scripts/securedrm_testdata.ini c:/securedrm_testdata.ini
-../scripts/TSI_MMF_SECUREDRM_TESTDATA.script c:/tsi_mmf_securedrm_testdata.script
+../scripts/te_tsi_mmf_securedrm_testdata.script c:/te_tsi_mmf_securedrm_testdata.script
// SecureDRM scripts
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/SecureDRM/group/inttest_securedrm_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/SecureDRM/group/inttest_securedrm_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -15,9 +15,19 @@
"\epoc32\release\armv5\urel\tsi_mmfaclnt.dll"-"c:\sys\bin\tsi_mmfaclnt.dll"
"\epoc32\release\armv5\urel\RTAUtils.exe"-"c:\sys\bin\RTAUtils.exe"
+"\epoc32\release\armv5\urel\rtaserver.exe"-"c:\sys\bin\rtaserver.exe"
+"\epoc32\release\armv5\urel\rtaarchive.dll"-"c:\sys\bin\rtaarchive.dll"
+"\epoc32\release\armv5\urel\rtaclient.dll"-"c:\sys\bin\rtaclient.dll"
+"\epoc32\release\armv5\urel\rtaparser.dll"-"c:\sys\bin\rtaparser.dll"
+"\epoc32\release\armv5\urel\rtavirtualfile.dll"-"c:\sys\bin\rtavirtualfile.dll"
+"\epoc32\release\armv5\urel\caf.dll"-"c:\sys\bin\caf.dll"
+"\epoc32\release\armv5\urel\cafutils.dll"-"c:\sys\bin\cafutils.dll"
+"\epoc32\release\armv5\urel\apgrfx.dll"-"c:\sys\bin\apgrfx.dll"
+"\epoc32\release\armv5\urel\apmime.dll"-"c:\sys\bin\apmime.dll"
+
// script files
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SecureDRM\scripts\TSI_MMF_SECUREDRM_TESTDATA.script"-"c:\TSI_MMF_SECUREDRM_TESTDATA.script"
+
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SecureDRM\scripts\TSI_MMF_SECUREDRM_AUDIO.script"-"c:\TSI_MMF_SECUREDRM_AUDIO.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SecureDRM\scripts\TSI_MMF_SECUREDRM_AUDIO_MMDDCAP.script"-"c:\TSI_MMF_SECUREDRM_AUDIO_MMDDCAP.script"
@@ -30,3 +40,6 @@
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SecureDRM\data\audiocontent2.xml"-"c:\securedrm\audiocontent2.xml"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SecureDRM\data\audiorights2.xml"-"c:\securedrm\audiorights2.xml"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SecureDRM\data\small.wav"-"c:\securedrm\small.wav"
+
+//script file for secure drm test data
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\SecureDRM\scripts\te_tsi_mmf_securedrm_testdata.script"-"c:\testdata\scripts\te_tsi_mmf_securedrm_testdata.script"
\ No newline at end of file
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/SecureDRM/scripts/TSI_MMF_SECUREDRM_TESTDATA.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// <<UNUSED>>
-//
-//
-
-# Run using TestExecute as a non-automated utility to create
-# DRM protected content data files:
-#
-# %EPOCROOT%Epoc32\RELEASE\WINSCW\UDEB\testexecute \tsi_mmf_securedrm_testdata.script
-#
-# The output data files are then used as input by the automated TestFramework scripts.
-#
-# Results can be found in %EPOCROOT%Epoc32\winscw\c\Logs\TestExecute
-
-LOAD_SUITE RTAUtils
-
-RUN_TEST_STEP 1000 RTAUtils CreateDrmArchive \securedrm_testdata.ini CreateDrmArchiveAudio
-RUN_TEST_STEP 1000 RTAUtils ImportDrmArchive \securedrm_testdata.ini ImportDrmArchiveAudio
-
-
-
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/SecureDRM/scripts/te_tsi_mmf_securedrm_testdata.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,33 @@
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// <<UNUSED>>
+//
+//
+
+# Run using TestExecute as a non-automated utility to create
+# DRM protected content data files:
+#
+# %EPOCROOT%Epoc32\RELEASE\WINSCW\UDEB\testexecute \tsi_mmf_securedrm_testdata.script
+#
+# The output data files are then used as input by the automated TestFramework scripts.
+#
+# Results can be found in %EPOCROOT%Epoc32\winscw\c\Logs\TestExecute
+
+LOAD_SUITE RTAUtils
+
+RUN_TEST_STEP 1000 RTAUtils CreateDrmArchive \securedrm_testdata.ini CreateDrmArchiveAudio
+RUN_TEST_STEP 1000 RTAUtils ImportDrmArchive \securedrm_testdata.ini ImportDrmArchiveAudio
+
+
+
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/devsound/group/integration_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/devsound/group/integration_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -17,7 +17,6 @@
"\epoc32\release\armv5\udeb\tsi_mmf_devsound.dll"-"c:\sys\bin\tsi_mmf_devsound.dll"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\devsound\scripts\tsi_mmf_devsound_debug.script"-"c:\tsi_mmf_devsound_debug.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\devsound\scripts\tsi_mmf_devsound_alloc.script"-"c:\tsi_mmf_devsound_alloc.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\devsound\scripts\tsi_mmf_devsound.ini"-"c:\mm\tsi_mmf_devsound.ini"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfintegrationtest\devsound\data\small.ogg"-"c:\tsi_mmf_devsound\small.ogg"
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/group/IntTest_Mmf.iby Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/group/IntTest_Mmf.iby Mon Aug 23 18:56:36 2010 +0100
@@ -20,7 +20,8 @@
#include <sdevsound_test.iby>
//ini
-data=EPOCROOT##epoc32\data\c\audio.ini \audio.ini
+data=EPOCROOT##epoc32\data\c\audio.ini \audio.ini
+data=EPOCROOT##epoc32\data\c\sdevsound_audio.ini \sdevsound_audio.ini
data=EPOCROOT##epoc32\data\c\securedrm_testdata.ini \securedrm_testdata.ini
data=EPOCROOT##epoc32\data\c\securedrm_audio.ini \securedrm_audio.ini
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclnt/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/vclnt/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -35,7 +35,7 @@
../data/textInput.dummy c:/vclntitestdata/textinput.dummy
//iby files
-../group/tsu_mmf_vclnt.iby /epoc32/rom/include/tsu_mmf_vclnt.iby
-../group/tsu_mmf_vclnt_excl_test.iby /epoc32/rom/include/tsu_mmf_vclnt_excl_test.iby
+../group/tsi_mmf_vclnt.iby /epoc32/rom/include/tsi_mmf_vclnt.iby
+../group/tsi_mmf_vclnt_excl_test.iby /epoc32/rom/include/tsi_mmf_vclnt_excl_test.iby
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/vclnt/group/tsi_mmf_vclnt.iby Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,38 @@
+// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef TSI_MMF_VCLNT_IBY
+#define TSI_MMF_VCLNT_IBY
+#include <tsi_mmf_vclnt_excl_test.iby>
+
+
+data=EPOCROOT##epoc32\data\c\TSI_MMF_VCLNT_WM.script \TSI_MMF_VCLNT_WM.script
+data=EPOCROOT##epoc32\data\c\TSI_MMF_VCLNT_OF.script \TSI_MMF_VCLNT_OF.script
+data=EPOCROOT##epoc32\data\c\TSI_MMF_VCLNT_OF_ALLOC.script \TSI_MMF_VCLNT_OF_ALLOC.script
+data=EPOCROOT##epoc32\data\c\video.ini \video.ini
+
+// Test files
+data=EPOCROOT##epoc32\data\c\vclntitestdata\longvideo.dummy \vclntitestdata\longvideo.dummy
+data=EPOCROOT##epoc32\data\c\vclntitestdata\shortvideo.dummy \vclntitestdata\shortvideo.dummy
+data=EPOCROOT##epoc32\data\c\vclntitestdata\drmvideo.drm \vclntitestdata\drmvideo.drm
+data=EPOCROOT##epoc32\data\c\vclntitestdata\textoutput.dummy \vclntitestdata\textoutput.dummy
+data=EPOCROOT##epoc32\data\c\vclntitestdata\textInput.dummy \vclntitestdata\textinput.dummy
+
+// SYMBIAN_CAF_V2
+data=EPOCROOT##epoc32\data\c\VclntITestData\Video.contentrights \VclntITestData\Video.contentrights
+data=EPOCROOT##epoc32\data\c\VclntITestData\Video.content \VclntITestData\Video.content
+
+#endif // TSI_MMF_VCLNT_IBY
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/vclnt/group/tsi_mmf_vclnt_data.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,30 @@
+;
+; Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of the License "Symbian Foundation License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;
+
+//ini
+"\epoc32\data\c\video.ini" - "c:\video.ini"
+
+// scripts
+"\epoc32\data\c\TSI_MMF_VCLNT_WM.script" - "c:\TSI_MMF_VCLNT_WM.script"
+"\epoc32\data\c\TSI_MMF_VCLNT_OF.script" - "c:\TSI_MMF_VCLNT_OF.script"
+"\epoc32\data\c\TSI_MMF_VCLNT_OF_ALLOC.script" - "c:\TSI_MMF_VCLNT_OF_ALLOC.script"
+
+// data files
+"\epoc32\data\c\VclntITestData\longvideo.dummy" - "c:\VclntITestData\longvideo.dummy"
+"\epoc32\data\c\VclntITestData\shortvideo.dummy" - "c:\VclntITestData\shortvideo.dummy"
+"\epoc32\data\c\VclntITestData\drmvideo.drm" - "c:\VclntITestData\drmvideo.drm"
+"\epoc32\data\c\VclntITestData\textInput.dummy" - "c:\VclntITestData\textInput.dummy"
+"\epoc32\data\c\VclntITestData\textOutput.dummy" - "c:\VclntITestData\textOutput.dummy"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/vclnt/group/tsi_mmf_vclnt_excl_test.iby Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,29 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef TSI_MMF_VCLNT_EXCL_TEST_IBY
+#define TSI_MMF_VCLNT_EXCL_TEST_IBY
+
+file=ABI_DIR\BUILD_DIR\TSI_MMFVCLNT.DLL System\Libs\TSI_MMFVCLNT.DLL
+
+// plugins for VCLNT
+#ifndef TSU_MMF_VCLNT_EXCL_TEST_IBY
+file=ABI_DIR\BUILD_DIR\TS_CMMFVideoTestCustomCommands.dll System\Libs\TS_CMMFVideoTestCustomCommands.dll
+ECOM_PLUGIN(TS_VideoInput.dll,101f7f8c.rsc)
+ECOM_PLUGIN(TS_VideoOutput.dll,101f7f8d.rsc)
+#endif
+
+#endif // TSI_MMF_VCLNT_EXCL_TEST_IBY
+
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclnt/group/tsu_mmf_vclnt.iby Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef TSU_MMF_VCLNT_IBY
-#define TSU_MMF_VCLNT_IBY
-#include <tsu_mmf_vclnt_excl_test.iby>
-
-
-data=EPOCROOT##epoc32\data\c\TSI_MMF_VCLNT_WM.script \TSI_MMF_VCLNT_WM.script
-data=EPOCROOT##epoc32\data\c\TSI_MMF_VCLNT_OF.script \TSI_MMF_VCLNT_OF.script
-data=EPOCROOT##epoc32\data\c\TSI_MMF_VCLNT_OF_ALLOC.script \TSI_MMF_VCLNT_OF_ALLOC.script
-data=EPOCROOT##epoc32\data\c\video.ini \video.ini
-
-// Test files
-data=EPOCROOT##epoc32\data\c\vclntitestdata\longvideo.dummy \vclntitestdata\longvideo.dummy
-data=EPOCROOT##epoc32\data\c\vclntitestdata\shortvideo.dummy \vclntitestdata\shortvideo.dummy
-data=EPOCROOT##epoc32\data\c\vclntitestdata\drmvideo.drm \vclntitestdata\drmvideo.drm
-data=EPOCROOT##epoc32\data\c\vclntitestdata\textoutput.dummy \vclntitestdata\textoutput.dummy
-data=EPOCROOT##epoc32\data\c\vclntitestdata\textInput.dummy \vclntitestdata\textinput.dummy
-
-// SYMBIAN_CAF_V2
-data=EPOCROOT##epoc32\data\c\VclntITestData\Video.contentrights \VclntITestData\Video.contentrights
-data=EPOCROOT##epoc32\data\c\VclntITestData\Video.content \VclntITestData\Video.content
-
-#endif // TSU_MMF_VCLNT_IBY
-
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclnt/group/tsu_mmf_vclnt_data.pkg Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-;
-; Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of the License "Symbian Foundation License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-
-//ini
-"\epoc32\data\c\video.ini" - "c:\video.ini"
-
-// scripts
-"\epoc32\data\c\TSI_MMF_VCLNT_WM.script" - "c:\TSI_MMF_VCLNT_WM.script"
-"\epoc32\data\c\TSI_MMF_VCLNT_OF.script" - "c:\TSI_MMF_VCLNT_OF.script"
-"\epoc32\data\c\TSI_MMF_VCLNT_OF_ALLOC.script" - "c:\TSI_MMF_VCLNT_OF_ALLOC.script"
-
-// data files
-"\epoc32\data\c\VclntITestData\longvideo.dummy" - "c:\VclntITestData\longvideo.dummy"
-"\epoc32\data\c\VclntITestData\shortvideo.dummy" - "c:\VclntITestData\shortvideo.dummy"
-"\epoc32\data\c\VclntITestData\drmvideo.drm" - "c:\VclntITestData\drmvideo.drm"
-"\epoc32\data\c\VclntITestData\textInput.wav" - "c:\VclntITestData\textInput.wav"
-"\epoc32\data\c\VclntITestData\textOutput.wav" - "c:\VclntITestData\textOutput.wav"
-
-// SYMBIAN_CAF_V2
-"\epoc32\data\c\VclntITestData\Video.contentrights" - "c:\VclntITestData\Video.contentrights"
-"\epoc32\data\c\VclntITestData\Video.content" - "c:\VclntITestData\Video.content"
-
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclnt/group/tsu_mmf_vclnt_excl_test.iby Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef TSU_MMF_VCLNT_EXCL_TEST_IBY
-#define TSU_MMF_VCLNT_EXCL_TEST_IBY
-
-file=ABI_DIR\BUILD_DIR\TSI_MMFVCLNT.DLL System\Libs\TSI_MMFVCLNT.DLL
-
-// plugins for VCLNT
-
-file=ABI_DIR\BUILD_DIR\TS_CMMFVideoTestCustomCommands.dll System\Libs\TS_CMMFVideoTestCustomCommands.dll
-ECOM_PLUGIN(TS_VideoInput.dll,101f7f8c.rsc)
-ECOM_PLUGIN(TS_VideoOutput.dll,101f7f8d.rsc)
-ECOM_PLUGIN(TS_VideoTestFormat.dll,101f7f89.rsc)
-
-#endif // TSU_MMF_VCLNT_EXCL_TEST_IBY
-
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/group/tsi_mmf_vclntavi.iby Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/group/tsi_mmf_vclntavi.iby Mon Aug 23 18:56:36 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/group/tsi_mmf_vclntavi_data.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/group/tsi_mmf_vclntavi_data.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -16,6 +16,7 @@
//ini
"\epoc32\data\c\vclntavi\video_avi.ini" - "c:\vclntavi\video_avi.ini"
+"\epoc32\data\c\vclntavi\video_avi_bc.ini" - "c:\vclntavi\video_avi_bc.ini"
//scripts
"\epoc32\data\c\vclntavi\tsi_mmf_vclntavi_play.script" - "c:\tsi_mmf_vclntavi_play.script"
@@ -40,12 +41,14 @@
"\epoc32\data\c\vclntavi\tsi_mmf_vclntavi_alloc_bc.script" - "c:\tsi_mmf_vclntavi_alloc_bc.script"
"\epoc32\data\c\vclntavi\tsi_mmf_vclntavi_apr_bc.script" - "c:\tsi_mmf_vclntavi_apr_bc.script"
"\epoc32\data\c\vclntavi\tsi_mmf_vclntavi_apr_alloc_bc.script" - "c:\tsi_mmf_vclntavi_apr_alloc_bc.script"
-"\epoc32\data\c\vclntavi\tsi_mmf_vclntavi_play_secdisp_bc.script" - "c:\tsi_mmf_vclntavi_play_secdisp_bc.script"
+// For winscw use only
+// "\epoc32\data\c\vclntavi\tsi_mmf_vclntavi_play_secdisp_bc.script" - "c:\tsi_mmf_vclntavi_play_secdisp_bc.script"
// Old BC controller
"\epoc32\data\c\vclntavi\tsi_mmf_vclntavi_surf_noGCE.script" - "c:\tsi_mmf_vclntavi_surf_noGCE.script"
"\epoc32\data\c\vclntavi\tsi_mmf_vclntavi_subtitles.script" - "c:\tsi_mmf_vclntavi_subtitles.script"
-"\epoc32\data\c\vclntavi\tsi_mmf_vclntavi_subtitles_udeb.script" - "c:\tsi_mmf_vclntavi_subtitles_udeb.script"
+// For winscw use only
+// "\epoc32\data\c\vclntavi\tsi_mmf_vclntavi_subtitles_udeb.script" - "c:\tsi_mmf_vclntavi_subtitles_udeb.script"
"\epoc32\data\c\vclntavi\tsi_mmf_vclntavi_subtitles_urel.script" - "c:\tsi_mmf_vclntavi_subtitles_urel.script"
"\epoc32\data\c\vclntavi\tsi_mmf_vclntavi_subtitles_alloc.script" - "c:\tsi_mmf_vclntavi_subtitles_alloc.script"
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/group/tsi_mmf_vclntavi_excl_test.iby Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/group/tsi_mmf_vclntavi_excl_test.iby Mon Aug 23 18:56:36 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -22,13 +22,6 @@
#ifdef SYMBIAN_GRAPHICS_USE_GCE
#include <vclntavi.iby>
#endif
-// include regardless if using gce or not
-#ifndef SAMPLEGRAPHICSURFACE_DLL
-file=ABI_DIR\BUILD_DIR\samplegraphicsurface.dll sys\bin\samplegraphicsurface.dll
-ECOM_PLUGIN(10285C4A.dll, 10285C4A.rsc)
-#define SAMPLEGRAPHICSURFACE_DLL
-#endif // SAMPLEGRAPHICSURFACE_DLL
-
//data files
//exported using copydatatocf.bat and usbldr.pm, so removed from iby file
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/scripts/tsi_mmf_vclntavi_play.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/scripts/tsi_mmf_vclntavi_play.script Mon Aug 23 18:56:36 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -29,6 +29,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0001-CP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 10000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0002-CP
@@ -39,6 +40,7 @@
//!@SYMTestExpectedResults KErrNotSupported
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0002-CP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0003-CP
@@ -49,6 +51,7 @@
//!@SYMTestExpectedResults KErrNotSupported
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0003-CP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0004-HP
@@ -59,6 +62,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0004-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 10000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0005-HP
@@ -69,6 +73,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0005-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0007-HP
@@ -79,6 +84,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0007-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0008-HP
@@ -90,6 +96,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0008-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0009-HP
@@ -100,6 +107,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0009-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0010-HP
@@ -111,6 +119,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0010-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0011-HP
@@ -121,6 +130,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0011-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0012-HP
@@ -132,6 +142,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0012-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0013-HP
@@ -142,6 +153,7 @@
//!@SYMTestExpectedResults KErrNotSupported
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0013-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0014-HP
@@ -152,6 +164,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0014-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0015-HP
@@ -162,6 +175,7 @@
//!@SYMTestExpectedResults KErrNotSupported
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0015-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0016-HP
@@ -172,6 +186,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0016-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0017-HP
@@ -182,6 +197,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0017-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0018-HP
@@ -192,6 +208,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0018-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0019-HP
@@ -202,6 +219,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0019-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0020-HP
@@ -212,6 +230,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0020-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0021-HP
@@ -222,6 +241,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0021-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0022-HP
@@ -232,6 +252,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0022-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0030-HP
@@ -242,6 +263,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0030-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0032-HP
@@ -252,6 +274,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0032-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0034-HP
@@ -262,6 +285,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0034-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-0036-HP
@@ -272,6 +296,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0036-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
/////////////////////////////// NEGATIVE TESTS /////////////////////////////////////
@@ -284,6 +309,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1001-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-1002-HP
@@ -294,6 +320,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1002-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 10000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-1003-HP
@@ -304,6 +331,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1003-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-1004-HP
@@ -314,6 +342,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1004-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-1005-HP
@@ -325,6 +354,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1005-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-1006-HP
@@ -336,6 +366,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1006-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-1007-HP
@@ -347,6 +378,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1007-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-1008-HP
@@ -358,6 +390,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1008-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-1009-HP
@@ -368,6 +401,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1009-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-1010-HP
@@ -378,6 +412,7 @@
//!@SYMTestExpectedResults KErrCorrupt
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1010-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-1011-HP
@@ -388,6 +423,7 @@
//!@SYMTestExpectedResults KErrCorrupt
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1011-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-1012-HP
@@ -398,6 +434,7 @@
//!@SYMTestExpectedResults KErrNotSupported
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1012-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
+DELAY 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-1013-HP
@@ -408,4 +445,4 @@
//!@SYMTestExpectedResults KErrNotFound
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1013-HP c:\vclntavi\video_avi.ini
TEST_COMPLETE
-
+DELAY 5000
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/scripts/tsi_mmf_vclntavi_play_bc.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/scripts/tsi_mmf_vclntavi_play_bc.script Mon Aug 23 18:56:36 2010 +0100
@@ -30,6 +30,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9001-CP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9002-CP
@@ -40,6 +41,7 @@
//!@SYMTestExpectedResults KErrNotSupported
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9002-CP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9003-CP
@@ -50,6 +52,7 @@
//!@SYMTestExpectedResults KErrNotSupported
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9003-CP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9004-HP
@@ -60,6 +63,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9004-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9005-HP
@@ -70,6 +74,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9005-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9006-HP
@@ -80,6 +85,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9006-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9007-HP
@@ -90,6 +96,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9007-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9008-HP
@@ -101,6 +108,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9008-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9009-HP
@@ -111,6 +119,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9009-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9010-HP
@@ -122,6 +131,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9010-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9011-HP
@@ -132,6 +142,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9011-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9012-HP
@@ -143,6 +154,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9012-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9013-HP
@@ -153,6 +165,7 @@
//!@SYMTestExpectedResults KErrNotSupported
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9013-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9014-HP
@@ -163,6 +176,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9014-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9015-HP
@@ -173,6 +187,7 @@
//!@SYMTestExpectedResults KErrNotSupported
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9015-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9016-HP
@@ -183,6 +198,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9016-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9017-HP
@@ -193,6 +209,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9017-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9018-HP
@@ -203,6 +220,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9018-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9019-HP
@@ -213,6 +231,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0019-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9020-HP
@@ -223,6 +242,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0020-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9021-HP
@@ -233,6 +253,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0021-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9022-HP
@@ -243,6 +264,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-0022-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
/////////////////////////////// NEGATIVE TESTS /////////////////////////////////////
@@ -255,6 +277,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9101-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9102-HP
@@ -265,6 +288,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9102-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9103-HP
@@ -275,6 +299,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9103-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9104-HP
@@ -285,6 +310,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-1004-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9105-HP
@@ -296,6 +322,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9105-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9106-HP
@@ -307,6 +334,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9106-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9107-HP
@@ -318,6 +346,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9107-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9108-HP
@@ -329,6 +358,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9108-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9109-HP
@@ -339,6 +369,7 @@
//!@SYMTestExpectedResults KErrNone
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9109-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9110-HP
@@ -349,6 +380,7 @@
//!@SYMTestExpectedResults KErrCorrupt
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9110-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9111-HP
@@ -359,6 +391,7 @@
//!@SYMTestExpectedResults KErrCorrupt
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9111-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9112-HP
@@ -369,6 +402,7 @@
//!@SYMTestExpectedResults KErrNotSupported
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9112-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
//
//!@SYMTestCaseID MM-MMF-VCLNTAVI-I-9113-HP
@@ -379,3 +413,4 @@
//!@SYMTestExpectedResults KErrNotFound
RUN_TEST_STEP 200000 TSI_MMF_VCLNTAVI MM-MMF-VCLNTAVI-I-9113-HP c:\vclntavi\video_avi_bc.ini
TEST_COMPLETE
+Delay 5000
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/src/testvideoplayer.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/src/testvideoplayer.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1819,7 +1819,7 @@
TInt failCount = 1;
TBool completed = EFalse;
- iAllocTestStepResult = EPass; // TODO check?? assume pass
+ iAllocTestStepResult = EPass; // XXX check?? assume pass
TBool reachedEnd = EFalse; // Note: declare outside loop to help with debugging
for(;;)
{
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/src/testvideorecorder.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/src/testvideorecorder.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1628,7 +1628,7 @@
TInt failCount = 1;
TBool completed = EFalse;
- iAllocTestStepResult = EPass; // TODO check?? assume pass
+ iAllocTestStepResult = EPass; // XXX check?? assume pass
TBool reachedEnd = EFalse; // Note: declare outside loop to help with debugging
for(;;)
{
--- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/src/tsi_mmf_vclntavi_stepbase.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/src/tsi_mmf_vclntavi_stepbase.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -491,7 +491,7 @@
iWindow->SetRequiredDisplayMode(EColor16MA); // Need to use alpha.
iWindow->SetSizeErr(iScreen->SizeInPixels());
- // TODO: This will not be needed when surfaces are displayed above the window background colour.
+ // XXX: This will not be needed when surfaces are displayed above the window background colour.
iWindow->SetBackgroundColor(TRgb(0x000000, 0)); // use transparent black as the background colour.
iWindow->BeginRedraw();
iWindow->EndRedraw();
--- a/mmlibs/mmfw/tsrc/mmfunittest/AFMT/TSU_MMF_AFMT.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/AFMT/TSU_MMF_AFMT.h Mon Aug 23 18:56:36 2010 +0100
@@ -191,7 +191,7 @@
void CreateEncodeObjectL(TBool aIsFile, const TDesC& aFilename, TInt aUid);
//from MAsyncEventHandler
- virtual TInt SendEventToClient(const TMMFEvent& /*aEvent*/) {return KErrNone;}//FIXME - can we do better here?
+ virtual TInt SendEventToClient(const TMMFEvent& /*aEvent*/) {return KErrNone;}//XXX - can we do better here?
protected:
--- a/mmlibs/mmfw/tsrc/mmfunittest/AFMT/TSU_MMF_AFMT_TestSteps.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/AFMT/TSU_MMF_AFMT_TestSteps.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1566,7 +1566,7 @@
User::Leave(KErrCorrupt); //should never get here
}
- // pretty sure the process is incomplete but we do not care since
+ // pretty sure the process is not completed but we do not care since
// we are interested in writing one good buffer of data to the sink
CleanupStack::Pop(dstBuffer);
--- a/mmlibs/mmfw/tsrc/mmfunittest/AFMT/TestDataSource/TSU_MMF_AFMT_TestDataSource.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/AFMT/TestDataSource/TSU_MMF_AFMT_TestDataSource.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -91,7 +91,7 @@
return NULL;
}
- //[TBD] optimal source buffer size creation may depend on the sink buffer & vice versa
+ //XXX optimal source buffer size creation may depend on the sink buffer & vice versa
CMMFBuffer* MMFTestDataSource::CreateSourceBufferL(TMediaId aMediaId, CMMFBuffer& /*aSinkBuffer*/, TBool &aReference)
{
return CreateSourceBufferL(aMediaId, aReference);
--- a/mmlibs/mmfw/tsrc/mmfunittest/AFMT/TestDataSource/TSU_MMF_AFMT_TestDataSource.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/AFMT/TestDataSource/TSU_MMF_AFMT_TestDataSource.h Mon Aug 23 18:56:36 2010 +0100
@@ -55,7 +55,7 @@
virtual TBool CanCreateSourceBuffer();
virtual CMMFBuffer* CreateSourceBufferL(TMediaId /*aMediaId*/, TBool &aReference);
- //[TBD] optimal source buffer size creation may depend on the sink buffer & vice versa
+ //XXX optimal source buffer size creation may depend on the sink buffer & vice versa
virtual CMMFBuffer* CreateSourceBufferL(TMediaId aMediaId, CMMFBuffer& /*aSinkBuffer*/, TBool &aReference);
virtual TInt SourceThreadLogon(MAsyncEventHandler& /*aEventHandler*/);
--- a/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepActrlPlay.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepActrlPlay.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -187,7 +187,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -287,7 +287,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -436,7 +436,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -600,7 +600,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -768,7 +768,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1041,7 +1041,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
--- a/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepActrlRecord.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepActrlRecord.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -225,7 +225,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -364,7 +364,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -579,7 +579,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -700,7 +700,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -829,7 +829,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -999,7 +999,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1338,7 +1338,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1425,7 +1425,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1659,7 +1659,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
--- a/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepController.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepController.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -212,7 +212,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -367,7 +367,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -524,7 +524,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -585,7 +585,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
--- a/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepsGetSet.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepsGetSet.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -132,7 +132,7 @@
}
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is an error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -274,7 +274,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -383,7 +383,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -474,7 +474,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -575,7 +575,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -682,7 +682,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -820,7 +820,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -923,7 +923,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1001,7 +1001,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1131,7 +1131,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1228,7 +1228,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1322,7 +1322,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1456,7 +1456,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1595,7 +1595,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1737,7 +1737,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1866,7 +1866,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -1958,7 +1958,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -2045,7 +2045,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -2159,7 +2159,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -2348,7 +2348,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -2480,7 +2480,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -2584,7 +2584,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -2721,7 +2721,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
@@ -2850,7 +2850,7 @@
//[ ensure the controller is unloaded so that it does
// not interfere with the following test ]
- // There is a bug in this code and the stop followed by reset
+ // There is error in this code and the stop followed by reset
// ensure the controller resources are released.
iController.Stop();
iController.Reset();
--- a/mmlibs/mmfw/tsrc/mmfunittest/Actrl/group/unittest_actrl_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/Actrl/group/unittest_actrl_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -30,6 +30,22 @@
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\Five11khz.au"-"c:\mm\mmf\testfiles\actrl\five11khz.au"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\Five.wav"-"c:\mm\mmf\testfiles\actrl\five.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\16bitmPcm.wav"-"c:\mm\mmf\testfiles\actrl\16bitmpcm.wav"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\11KHzADPCMMono1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\11khzadpcmmono1khztone.wav"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\11KHzPCM16Mono1KHzTone.raw"-"c:\mm\mmf\testfiles\actrl\11khzpcm16mono1khztone.raw"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\11KHzPCM16Stereo1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\11khzpcm16stereo1khztone.wav"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\22KHzALawMono1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\22khzalawmono1khztone.wav"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\22KHzALAWStereo1KHzTone.raw"-"c:\mm\mmf\testfiles\actrl\22khzalawstereo1khztone.raw"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\22KHzPCM16Mono1KHzTone.au"-"c:\mm\mmf\testfiles\actrl\22khzpcm16mono1khztone.au"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\22KHzPCM16Stereo1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\22khzpcm16stereo1khztone.wav"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\22KHzPCM8Mono1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\22khzpcm8mono1khztone.wav"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\44KHzPCM16Stereo1KHzTone.au"-"c:\mm\mmf\testfiles\actrl\44khzpcm16stereo1khztone.au"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\44KHzPCM16Stereo1KHzTone.raw"-"c:\mm\mmf\testfiles\actrl\44khzpcm16stereo1khztone.raw"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\44KHzPCM16Stereo1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\44khzpcm16stereo1khztone.wav"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\8KHzGSM610Mono1KHzTone.raw"-"c:\mm\mmf\testfiles\actrl\8khzgsm610mono1khztone.raw"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\8KHzGSM610Mono1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\8khzgsm610mono1khztone.wav"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\8KHzPCM16Mono1KHzTone.au"-"c:\mm\mmf\testfiles\actrl\8khzpcm16mono1khztone.au"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\8KHzPCM16Stereo1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\8khzpcm16stereo1khztone.wav"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\mainTst.wav"-"c:\mm\mmf\testfiles\actrl\maintst.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\Reference\11KHzADPCMMonoWAVTo8KHzPCM16Mono.raw"-"c:\mm\mmf\testfiles\actrl\11khzadpcmmonowavto8khzpcm16mono.raw"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\Reference\11KHzPCM16MonoRAWTo8KHzGSM610Mono.wav"-"c:\mm\mmf\testfiles\actrl\11khzpcm16monorawto8khzgsm610mono.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\Reference\11KHzPCM16StereoWAVTo8KHzMuLAWMono.wav"-"c:\mm\mmf\testfiles\actrl\11khzpcm16stereowavto8khzmulawmono.wav"
@@ -46,22 +62,5 @@
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\Reference\11KHzPCMU8MonoAUTo8KHzPCM16Mono.wav"-"c:\mm\mmf\testfiles\actrl\11khzpcmu8monoauto8khzpcm16mono.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\Reference\11KHzPCM16StereoWAVTo11KHzADPCMMono.wav"-"c:\mm\mmf\testfiles\actrl\11khzpcm16stereowavto11khzadpcmmono.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\Reference\11KHzPCM16StereoWAVTo11KHzADPCMMono.raw"-"c:\mm\mmf\testfiles\actrl\11khzpcm16stereowavto11khzadpcmmono.raw"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\Reference\NoReferenceFile"-"c:\mm\mmf\testfiles\actrl/noreferencefile"
-
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\11KHzADPCMMono1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\11khzadpcmmono1khztone.wav"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\11KHzPCM16Mono1KHzTone.raw"-"c:\mm\mmf\testfiles\actrl\11khzpcm16mono1khztone.raw"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\11KHzPCM16Stereo1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\11khzpcm16stereo1khztone.wav"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\22KHzALawMono1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\22khzalawmono1khztone.wav"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\22KHzALAWStereo1KHzTone.raw"-"c:\mm\mmf\testfiles\actrl\22khzalawstereo1khztone.raw"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\22KHzPCM16Mono1KHzTone.au"-"c:\mm\mmf\testfiles\actrl\22khzpcm16mono1khztone.au"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\22KHzPCM16Stereo1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\22khzpcm16stereo1khztone.wav"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\22KHzPCM8Mono1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\22khzpcm8mono1khztone.wav"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\44KHzPCM16Stereo1KHzTone.au"-"c:\mm\mmf\testfiles\actrl\44khzpcm16stereo1khztone.au"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\44KHzPCM16Stereo1KHzTone.raw"-"c:\mm\mmf\testfiles\actrl\44khzpcm16stereo1khztone.raw"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\44KHzPCM16Stereo1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\44khzpcm16stereo1khztone.wav"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\8KHzGSM610Mono1KHzTone.raw"-"c:\mm\mmf\testfiles\actrl\8khzgsm610mono1khztone.raw"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\8KHzGSM610Mono1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\8khzgsm610mono1khztone.wav"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\8KHzPCM16Mono1KHzTone.au"-"c:\mm\mmf\testfiles\actrl\8khzpcm16mono1khztone.au"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\8KHzPCM16Stereo1KHzTone.wav"-"c:\mm\mmf\testfiles\actrl\8khzpcm16stereo1khztone.wav"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\mainTst.wav"-"c:\mm\mmf\testfiles\actrl\maintst.wav"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Actrl\data\Reference\NoReferenceFile"-"c:\mm\mmf\testfiles\actrl\NoReferenceFile"
--- a/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/TestInterface/TSU_MMF_DEVSOUND_TestInterface.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/TestInterface/TSU_MMF_DEVSOUND_TestInterface.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -195,7 +195,7 @@
void CMMF_TSU_DEVSOUND_TestInterfaceMux::DoCancel()
{
- // TODO - do we need to send a cancel message to the DeMux plugin?
+ // XXX - do we need to send a cancel message to the DeMux plugin?
if (iClientStatus->Int() == KRequestPending)
{
User::RequestComplete(iClientStatus, KErrCancel);
--- a/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/TestInterface1/TSU_MMF_DEVSOUND_TestInterface1.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/TestInterface1/TSU_MMF_DEVSOUND_TestInterface1.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -196,7 +196,7 @@
void CMMF_TSU_DEVSOUND_TestInterface1Mux::DoCancel()
{
- // TODO - do we need to send a cancel message to the DeMux plugin?
+ // XXX - do we need to send a cancel message to the DeMux plugin?
if (iClientStatus->Int() == KRequestPending)
{
User::RequestComplete(iClientStatus, KErrCancel);
--- a/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/group/TSU_MMF_DEVSOUND_SUITE.iby Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/group/TSU_MMF_DEVSOUND_SUITE.iby Mon Aug 23 18:56:36 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -31,7 +31,10 @@
#ifndef SYMBIAN_MULTIMEDIA_A3FDEVSOUND
data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_devsound_suite_nona3f.script \tsu_mmf_devsound_suite_nona3f.script
#else
-data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_devsound_suite_truepause.script \tsu_mmf_devsound_suite_truepause.script
+data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_devsound_suite_truepause.script \tsu_mmf_devsound_suite_truepause.script
+data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_devsound_suite_truepause_ogg.script \tsu_mmf_devsound_suite_truepause_ogg.script
+data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_devsound_suite_truepause_preemption.script \tsu_mmf_devsound_suite_truepause_preemption.script
+data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_devsound_suite_truepause_neg.script \tsu_mmf_devsound_suite_truepause_neg.script
#endif
data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_devsound_suite_manual.script \tsu_mmf_devsound_suite_manual.script
data=EPOCROOT##epoc32\data\c\tsu_mmf_devsound_play_tone.ini \tsu_mmf_devsound_play_tone.ini
--- a/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -32,6 +32,9 @@
#ifdef SYMBIAN_MULTIMEDIA_A3FDEVSOUND
../scripts/tsu_mmf_devsound_suite_truepause.script c:/mm/tsu_mmf_devsound_suite_truepause.script
+../scripts/tsu_mmf_devsound_suite_truepause_ogg.script c:/mm/tsu_mmf_devsound_suite_truepause_ogg.script
+../scripts/tsu_mmf_devsound_suite_truepause_preemption.script c:/mm/tsu_mmf_devsound_suite_truepause_preemption.script
+../scripts/tsu_mmf_devsound_suite_truepause_neg.script c:/mm/tsu_mmf_devsound_suite_truepause_neg.script
#else
../scripts/tsu_mmf_devsound_suite_nona3f.script c:/mm/tsu_mmf_devsound_suite_nona3f.script
#endif
--- a/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/scripts/tsu_mmf_devsound_suite_truepause.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/scripts/tsu_mmf_devsound_suite_truepause.script Mon Aug 23 18:56:36 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -49,82 +49,6 @@
RUN_TEST_STEP 60000, TSU_MMF_DEVSOUND_SUITE, MM-MMF-DEVSOUND-U-0081-HP, c:\tsu_mmf_truepause_devsound.ini
TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-DEVSOUND-U-0082-HP
-//! @SYMREQ REQ11453
-//! REQ11455
-//! @SYMPREQ 1540
-//! @SYMTestCaseDec Resume Audio Playback Rejection - Rejection scenario is between 2 instances that play audio
-//! @SYMTestPriority Normal
-//! @SYMTestType Normal Usecase
-//! @SYMTestActions 1. Create a DevSound instance.
-//! 2. Open files to be played by DevSound instances.
-//! 3. Create a CPeriodic instance.
-//! 4. Create a second DevSound instance to play audio using low priority settings.
-//! 5. Initialise the first devsound instance to play audio and set its priority using a high value.
-//! 5.1 Wait for InitializeComplete(KErrNone) callback response.
-//! 6. Call PlayInitL() method for first DevSound instance and star timer events each 2 seconds.
-//! 7. Wait for BufferToBeFilled(..) callback of first DevSound instance to fill the buffer with data.
-//! To continue receiving BTBF callbacks, is mandatory to call PlayData() method.
-//! 8. On timer event call Pause() method.
-//! 9. Wait for another timer event set the second devsound's priority to the lowest value, call IsResumeSupported() then Resume().
-//! @SYMTestExpectedResults Second DevSound instance PlayError() callback shall return aError = KErrInUse, KErrDied or KErrAccessDenied
-//! First DevSound IsResumeSupported() will return ETrue.
-//! First DevSound Resume()(will return KErrNone) is supported for PCM.
-//!
-PRINT Resume Audio Playback Rejection - Rejection scenario is between 2 instances that play audio
-RUN_TEST_STEP 60000, TSU_MMF_DEVSOUND_SUITE, MM-MMF-DEVSOUND-U-0082-HP, c:\tsu_mmf_truepause_devsound.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVSOUND-U-0083-HP
-//! @SYMREQ REQ11453
-//! REQ11455
-//! @SYMPREQ 1540
-//! @SYMTestCaseDec Resume Audio Playback Pre-emption - Pre-emption scenario is between 2 instances that play audio
-//! @SYMTestPriority Normal
-//! @SYMTestType Normal Usecase
-//! @SYMTestActions 1. Create a DevSound instance.
-//! 2. Open files to be played by DevSound instances.
-//! 3. Create a CPeriodic instance.
-//! 4. Create a second DevSound instance to play audio using high priority settings.
-//! 5. Initialise the first devsound instance to play audio and set its priority using a low value.
-//! 6. Call PlayInitL() method for first DevSound instance and star timer events each 2 seconds.
-//! 7. Wait for BufferToBeFilled(..) callback of first DevSound instance to fill the buffer with data.
-//! To continue receiving BTBF callbacks, is mandatory to call PlayData() method.
-//! 8. On timer event call Pause() method.
-//! 9. Wait for another timer event set the second devsound's priority to the highest value, call IsResumeSupported() then Resume().
-//! @SYMTestExpectedResults First DevSound instance PlayError() callback shall return aError = KErrInUse, KErrDied or KErrAccessDenied.
-//! First DevSound IsResumeSupported() will return ETrue.
-//! First DevSound Resume must return with KErrNotReady.
-//!
-PRINT Resume Audio Playback Pre-emption - Pre-emption scenario is between 2 instances that play audio
-RUN_TEST_STEP 60000, TSU_MMF_DEVSOUND_SUITE, MM-MMF-DEVSOUND-U-0083-HP, c:\tsu_mmf_truepause_devsound.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVSOUND-U-0084-HP
-//! @SYMREQ REQ11453
-//! REQ11455
-//! @SYMPREQ 1540
-//! @SYMTestCaseDec Resume Audio Playback - When stop() is called after pause(), BufferToBeFilled() callback does not receive anymore.
-//! @SYMTestPriority Normal
-//! @SYMTestType Alternative Usecase
-//! @SYMTestActions 1. Create a DevSound instance.
-//! 2. Open files to be played by DevSound instance (must be PCM).
-//! 3. Create a CPeriodic instance.
-//! 4. Initialise a DevSound instance to play audio.
-//! 4.1 Wait for InitializeComplete(KErrNone) callback response.
-//! 5. Call PlayInitL() method for DevSound instance and star timer events each 2 seconds.
-//! 6. Wait for BufferToBeFilled(..) callback of DevSound instance to fill the buffer with data. To continue receiving BTBF callbacks, is mandatory to call PlayData() method.
-//! 7. On timer event call Pause() method.
-//! 8. Wait for another timer event call Stop() method.
-//! 9. Wait for last timer event, then call IsResumeSupported() and Resume().
-//! @SYMTestExpectedResults After call Stop() method, BufferToBeFilled() must never occurr.
-//! DevSound IsResumeSupported() will return ETrue.
-//! DevSound Resume must return with KErrNotReady.
-//!
-PRINT Resume Audio Playback - When stop() is called after pause(), BufferToBeFilled() callback does not receive anymore.
-RUN_TEST_STEP 60000, TSU_MMF_DEVSOUND_SUITE, MM-MMF-DEVSOUND-U-0084-HP, c:\tsu_mmf_truepause_devsound.ini
-TEST_COMPLETE
-
//! @SYMTestCaseID MM-MMF-DEVSOUND-U-0085-HP
//! @SYMREQ REQ11453
//! REQ11455
@@ -309,31 +233,6 @@
RUN_TEST_STEP 60000, TSU_MMF_DEVSOUND_SUITE, MM-MMF-DEVSOUND-U-0089-HP, c:\tsu_mmf_truepause_devsound.ini
TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-DEVSOUND-U-0090-HP
-//! @SYMREQ REQ11453
-//! REQ11455
-//! @SYMPREQ 1540
-//! @SYMTestCaseDec Resume Record audio - Pause and resume for non PCM.
-//! @SYMTestPriority Normal
-//! @SYMTestType Exception Usecase
-//! @SYMTestActions 1. Create a Devsound instance.
-//! 2. Create a CPeriodic instance.
-//! 3. Open the audio files to be recorded and initialize the Devsound instance to record audio(non PCM).
-//! 3.1 Wait for InitializeComplete(KErrNone) callback response.
-//! 4. Start the CPeriodic instance.
-//! 5. Call RecodInitL() to start the recording process.
-//! 6. Wait for BufferToBeEmptied(..) callback to retrieve the buffered data from DevSound. To continue receiving BTBE callbacks, is mandatory to call RecordData() method.
-//! 7. On the CPeriodic timer event, use Pause() to temporarily stop the record process.
-//! 7.1 Continue RecordData()/BufferToBeEmptied() loop until last buffer flag is set.
-//! 8. After last buffer is received, call IsResumeSupported() and Resume().
-//! 10. Close file session.
-//! @SYMTestExpectedResults IsResumeSupported() will return EFalse.
-//! Resume()(will return KErrNotSupported) is supported for non PCM.
-//! Output is recorded at c:\mm\mmf\testfiles\truepause_devsound_test_data\record_3.ogg
-PRINT Resume Record audio - Pause and resume for non PCM.
-RUN_TEST_STEP 60000, TSU_MMF_DEVSOUND_SUITE, MM-MMF-DEVSOUND-U-0090-HP, c:\tsu_mmf_truepause_devsound.ini
-TEST_COMPLETE
-
//! @SYMTestCaseID MM-MMF-DEVSOUND-U-0091-HP
//! @SYMREQ REQ11453
//! REQ11455
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/scripts/tsu_mmf_devsound_suite_truepause_neg.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,51 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+PRINT
+PRINT
+PRINT IMPORTANT NOTE: THIS SCRIPT SHOULD ONLY BE RUN IN A3F. SCRIPT CREATED AS PART OF CR1566.
+PRINT
+PRINT
+
+
+LOAD_SUITE TSU_MMF_DEVSOUND_SUITE.dll
+
+delay 1000
+
+//! @SYMTestCaseID MM-MMF-DEVSOUND-U-0084-HP
+//! @SYMREQ REQ11453
+//! REQ11455
+//! @SYMPREQ 1540
+//! @SYMTestCaseDec Resume Audio Playback - When stop() is called after pause(), BufferToBeFilled() callback does not receive anymore.
+//! @SYMTestPriority Normal
+//! @SYMTestType Alternative Usecase
+//! @SYMTestActions 1. Create a DevSound instance.
+//! 2. Open files to be played by DevSound instance (must be PCM).
+//! 3. Create a CPeriodic instance.
+//! 4. Initialise a DevSound instance to play audio.
+//! 4.1 Wait for InitializeComplete(KErrNone) callback response.
+//! 5. Call PlayInitL() method for DevSound instance and star timer events each 2 seconds.
+//! 6. Wait for BufferToBeFilled(..) callback of DevSound instance to fill the buffer with data. To continue receiving BTBF callbacks, is mandatory to call PlayData() method.
+//! 7. On timer event call Pause() method.
+//! 8. Wait for another timer event call Stop() method.
+//! 9. Wait for last timer event, then call IsResumeSupported() and Resume().
+//! @SYMTestExpectedResults After call Stop() method, BufferToBeFilled() must never occurr.
+//! DevSound IsResumeSupported() will return ETrue.
+//! DevSound Resume must return with KErrNotReady.
+//!
+PRINT Resume Audio Playback - When stop() is called after pause(), BufferToBeFilled() callback does not receive anymore.
+RUN_TEST_STEP 60000, TSU_MMF_DEVSOUND_SUITE, MM-MMF-DEVSOUND-U-0084-HP, c:\tsu_mmf_truepause_devsound.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/scripts/tsu_mmf_devsound_suite_truepause_ogg.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,51 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+PRINT
+PRINT
+PRINT IMPORTANT NOTE: THIS SCRIPT SHOULD ONLY BE RUN IN A3F. SCRIPT CREATED AS PART OF CR1566.
+PRINT
+PRINT
+
+
+LOAD_SUITE TSU_MMF_DEVSOUND_SUITE.dll
+
+delay 1000
+
+//! @SYMTestCaseID MM-MMF-DEVSOUND-U-0090-HP
+//! @SYMREQ REQ11453
+//! REQ11455
+//! @SYMPREQ 1540
+//! @SYMTestCaseDec Resume Record audio - Pause and resume for non PCM.
+//! @SYMTestPriority Normal
+//! @SYMTestType Exception Usecase
+//! @SYMTestActions 1. Create a Devsound instance.
+//! 2. Create a CPeriodic instance.
+//! 3. Open the audio files to be recorded and initialize the Devsound instance to record audio(non PCM).
+//! 3.1 Wait for InitializeComplete(KErrNone) callback response.
+//! 4. Start the CPeriodic instance.
+//! 5. Call RecodInitL() to start the recording process.
+//! 6. Wait for BufferToBeEmptied(..) callback to retrieve the buffered data from DevSound. To continue receiving BTBE callbacks, is mandatory to call RecordData() method.
+//! 7. On the CPeriodic timer event, use Pause() to temporarily stop the record process.
+//! 7.1 Continue RecordData()/BufferToBeEmptied() loop until last buffer flag is set.
+//! 8. After last buffer is received, call IsResumeSupported() and Resume().
+//! 10. Close file session.
+//! @SYMTestExpectedResults IsResumeSupported() will return EFalse.
+//! Resume()(will return KErrNotSupported) is supported for non PCM.
+//! Output is recorded at c:\mm\mmf\testfiles\truepause_devsound_test_data\record_3.ogg
+PRINT Resume Record audio - Pause and resume for non PCM.
+RUN_TEST_STEP 60000, TSU_MMF_DEVSOUND_SUITE, MM-MMF-DEVSOUND-U-0090-HP, c:\tsu_mmf_truepause_devsound.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/scripts/tsu_mmf_devsound_suite_truepause_preemption.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,77 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+PRINT
+PRINT
+PRINT IMPORTANT NOTE: THIS SCRIPT SHOULD ONLY BE RUN IN A3F. SCRIPT CREATED AS PART OF CR1566.
+PRINT
+PRINT
+
+
+LOAD_SUITE TSU_MMF_DEVSOUND_SUITE.dll
+
+delay 1000
+
+//! @SYMTestCaseID MM-MMF-DEVSOUND-U-0082-HP
+//! @SYMREQ REQ11453
+//! REQ11455
+//! @SYMPREQ 1540
+//! @SYMTestCaseDec Resume Audio Playback Rejection - Rejection scenario is between 2 instances that play audio
+//! @SYMTestPriority Normal
+//! @SYMTestType Normal Usecase
+//! @SYMTestActions 1. Create a DevSound instance.
+//! 2. Open files to be played by DevSound instances.
+//! 3. Create a CPeriodic instance.
+//! 4. Create a second DevSound instance to play audio using low priority settings.
+//! 5. Initialise the first devsound instance to play audio and set its priority using a high value.
+//! 5.1 Wait for InitializeComplete(KErrNone) callback response.
+//! 6. Call PlayInitL() method for first DevSound instance and star timer events each 2 seconds.
+//! 7. Wait for BufferToBeFilled(..) callback of first DevSound instance to fill the buffer with data.
+//! To continue receiving BTBF callbacks, is mandatory to call PlayData() method.
+//! 8. On timer event call Pause() method.
+//! 9. Wait for another timer event set the second devsound's priority to the lowest value, call IsResumeSupported() then Resume().
+//! @SYMTestExpectedResults Second DevSound instance PlayError() callback shall return aError = KErrInUse, KErrDied or KErrAccessDenied
+//! First DevSound IsResumeSupported() will return ETrue.
+//! First DevSound Resume()(will return KErrNone) is supported for PCM.
+//!
+PRINT Resume Audio Playback Rejection - Rejection scenario is between 2 instances that play audio
+RUN_TEST_STEP 60000, TSU_MMF_DEVSOUND_SUITE, MM-MMF-DEVSOUND-U-0082-HP, c:\tsu_mmf_truepause_devsound.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVSOUND-U-0083-HP
+//! @SYMREQ REQ11453
+//! REQ11455
+//! @SYMPREQ 1540
+//! @SYMTestCaseDec Resume Audio Playback Pre-emption - Pre-emption scenario is between 2 instances that play audio
+//! @SYMTestPriority Normal
+//! @SYMTestType Normal Usecase
+//! @SYMTestActions 1. Create a DevSound instance.
+//! 2. Open files to be played by DevSound instances.
+//! 3. Create a CPeriodic instance.
+//! 4. Create a second DevSound instance to play audio using high priority settings.
+//! 5. Initialise the first devsound instance to play audio and set its priority using a low value.
+//! 6. Call PlayInitL() method for first DevSound instance and star timer events each 2 seconds.
+//! 7. Wait for BufferToBeFilled(..) callback of first DevSound instance to fill the buffer with data.
+//! To continue receiving BTBF callbacks, is mandatory to call PlayData() method.
+//! 8. On timer event call Pause() method.
+//! 9. Wait for another timer event set the second devsound's priority to the highest value, call IsResumeSupported() then Resume().
+//! @SYMTestExpectedResults First DevSound instance PlayError() callback shall return aError = KErrInUse, KErrDied or KErrAccessDenied.
+//! First DevSound IsResumeSupported() will return ETrue.
+//! First DevSound Resume must return with KErrNotReady.
+//!
+PRINT Resume Audio Playback Pre-emption - Pre-emption scenario is between 2 instances that play audio
+RUN_TEST_STEP 60000, TSU_MMF_DEVSOUND_SUITE, MM-MMF-DEVSOUND-U-0083-HP, c:\tsu_mmf_truepause_devsound.ini
+TEST_COMPLETE
\ No newline at end of file
--- a/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/src/TSU_MMF_DEVSOUND_STEP.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/src/TSU_MMF_DEVSOUND_STEP.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+ // Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -8662,111 +8662,125 @@
INFO_PRINTF1(_L("Calling CMMFDevSound::IsResumeSupported"));
TBool isResumeSupported = iMMFDevSound->IsResumeSupported();
#ifdef SYMBIAN_MULTIMEDIA_A3FDEVSOUND
- if(isResumeSupported)
- {
- TInt err;
-
- if(iInitAfterPauseClause)
- {
- INFO_PRINTF1(_L("Calling CMMFDevSound::PlayInitL"));
+
+ TInt err;
+
+ if(iInitAfterPauseClause)
+ {
+ INFO_PRINTF1(_L("Calling CMMFDevSound::PlayInitL"));
+ TRAP(err,iMMFDevSound->PlayInitL());
+ }
+ else
+ {
+ if (!isResumeSupported)
+ {
+ INFO_PRINTF1(_L("Resume Not Supported - Calling CMMFDevSound::PlayInitL"));
TRAP(err,iMMFDevSound->PlayInitL());
- }
- else
- {
+ }
+ else //resume is supported
+ {
INFO_PRINTF1(_L("Calling CMMFDevSound::Resume"));
err=iMMFDevSound->Resume();
- }
- if (err == iErrExpected)
- {
- INFO_PRINTF2(_L("CMMFDevSound::Resume returned %d as expected"), err);
- if(iCompletePlayBack)
- {
- iDevSoundState = EStatePlaying;
- iTimer->Cancel();
- if(iVolumeBalanceClause)
- {
- INFO_PRINTF1(_L("Call iMMFDevSound::Volume for verifying."));
- if (iVolume == iMMFDevSound->Volume())
- {
- INFO_PRINTF1(_L("CMMFDevSound::Volume returned equal previous set value as expected"));
- }
- else
- {
- ERR_PRINTF2(_L("CMMFDevSound::Volume returned different set value = %d"), iVolume);
- StopTest (KErrGeneral);
- break;
- }
- // Check the low-level a3f volume. Should have been applied by now
- MTestSetVolIf *volIf = static_cast<MTestSetVolIf*>(iMMFDevSound->CustomInterface(KUidTestSetVolIf));
- if (volIf)
- {
- TInt vol = volIf->Vol(iMMFDevSound->MaxVolume());
- if (vol == iVolume)
- {
- INFO_PRINTF1(_L("Low-level volume returned equal previous set value as expected"));
- }
- else
- {
- ERR_PRINTF3(_L("Low-level volume returned different set value = %d (expect %d)"), vol, iVolume);
- StopTest (KErrGeneral);
- break;
- }
- }
-
- INFO_PRINTF1(_L("Call iMMFDevSound::GetPlayBalanceL for verifying."));
- TInt getLSpeakerBalance = 0;
- TInt getRSpeakerBalance = 0;
- TRAP(err,iMMFDevSound->GetPlayBalanceL(getLSpeakerBalance, getRSpeakerBalance));
- if (err != KErrNone)
- {
- ERR_PRINTF2(_L("Getting balance failed ! Left with error = %d"), err);
- StopTest(err);
- break;
- }
- if ((iLSpeakerBalance == getLSpeakerBalance) && (iRSpeakerBalance == getRSpeakerBalance))
- {
- INFO_PRINTF1(_L("Balance configuration returned previous set values as expected"));
- }
- else
- {
- ERR_PRINTF3(_L("Configuration of DevSound object does not match with set balance! LSpeakerBalance = %d RSpeakerBalance = %d"),
- getLSpeakerBalance, getRSpeakerBalance);
- StopTest(KErrGeneral);
- break;
- }
- }
- if (iConfigClause)
- {
- if(iCapabilitiesSet.iRate == iMMFDevSound->Config().iRate &&
- iCapabilitiesSet.iChannels == iMMFDevSound->Config().iChannels)
- {
- INFO_PRINTF1(_L("CMMFDevSound::Config does not change as expected"));
- }
- else
- {
- ERR_PRINTF1(_L("CMMFDevSound::Config returned different set value"));
- StopTest (KErrGeneral);
- }
- }
- }
- else
- {
- StopTest();
- }
- }
- else
- {
- ERR_PRINTF2(_L("CMMFDevSound::Resume failed with %d"), err);
- ERR_PRINTF2(_L("Expected error %d"), iErrExpected);
- StopTest(KErrGeneral , EFail);
- }
- }
- else
- {
- ERR_PRINTF1(_L("Devsound is expected to support resume"));
- ERR_PRINTF3(_L("Received value is %d when the expected value is %d"), isResumeSupported, ETrue);
- StopTest(KErrNotSupported,EFail);
- }
+ }
+ }
+ if (err == iErrExpected)
+ {
+ if (!isResumeSupported)
+ {
+ INFO_PRINTF2(_L("CMMFDevSound::PlayInitL returned %d as expected"), err);
+ }
+ else //resume is supported
+ {
+ INFO_PRINTF2(_L("CMMFDevSound::Resume returned %d as expected"), err);
+ }
+ if(iCompletePlayBack)
+ {
+ iDevSoundState = EStatePlaying;
+ iTimer->Cancel();
+ if(iVolumeBalanceClause)
+ {
+ INFO_PRINTF1(_L("Call iMMFDevSound::Volume for verifying."));
+ if (iVolume == iMMFDevSound->Volume())
+ {
+ INFO_PRINTF1(_L("CMMFDevSound::Volume returned equal previous set value as expected"));
+ }
+ else
+ {
+ ERR_PRINTF2(_L("CMMFDevSound::Volume returned different set value = %d"), iVolume);
+ StopTest (KErrGeneral);
+ break;
+ }
+ // Check the low-level a3f volume. Should have been applied by now
+ MTestSetVolIf *volIf = static_cast<MTestSetVolIf*>(iMMFDevSound->CustomInterface(KUidTestSetVolIf));
+ if (volIf)
+ {
+ TInt vol = volIf->Vol(iMMFDevSound->MaxVolume());
+ if (vol == iVolume)
+ {
+ INFO_PRINTF1(_L("Low-level volume returned equal previous set value as expected"));
+ }
+ else
+ {
+ ERR_PRINTF3(_L("Low-level volume returned different set value = %d (expect %d)"), vol, iVolume);
+ StopTest (KErrGeneral);
+ break;
+ }
+ }
+
+ INFO_PRINTF1(_L("Call iMMFDevSound::GetPlayBalanceL for verifying."));
+ TInt getLSpeakerBalance = 0;
+ TInt getRSpeakerBalance = 0;
+ TRAP(err,iMMFDevSound->GetPlayBalanceL(getLSpeakerBalance, getRSpeakerBalance));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("Getting balance failed ! Left with error = %d"), err);
+ StopTest(err);
+ break;
+ }
+ if ((iLSpeakerBalance == getLSpeakerBalance) && (iRSpeakerBalance == getRSpeakerBalance))
+ {
+ INFO_PRINTF1(_L("Balance configuration returned previous set values as expected"));
+ }
+ else
+ {
+ ERR_PRINTF3(_L("Configuration of DevSound object does not match with set balance! LSpeakerBalance = %d RSpeakerBalance = %d"),
+ getLSpeakerBalance, getRSpeakerBalance);
+ StopTest(KErrGeneral);
+ break;
+ }
+ }
+ if (iConfigClause)
+ {
+ if(iCapabilitiesSet.iRate == iMMFDevSound->Config().iRate &&
+ iCapabilitiesSet.iChannels == iMMFDevSound->Config().iChannels)
+ {
+ INFO_PRINTF1(_L("CMMFDevSound::Config does not change as expected"));
+ }
+ else
+ {
+ ERR_PRINTF1(_L("CMMFDevSound::Config returned different set value"));
+ StopTest (KErrGeneral);
+ }
+ }
+ }
+ else
+ {
+ StopTest();
+ }
+ }
+ else
+ if (!isResumeSupported)
+ {
+ ERR_PRINTF2(_L("CMMFDevSound::PlayInitL failed with %d"), err);
+ ERR_PRINTF2(_L("Expected error %d"), iErrExpected);
+ StopTest(KErrGeneral , EFail);
+ }
+ else //resume is supported
+ {
+ ERR_PRINTF2(_L("CMMFDevSound::Resume failed with %d"), err);
+ ERR_PRINTF2(_L("Expected error %d"), iErrExpected);
+ StopTest(KErrGeneral , EFail);
+ }
#else
if(!isResumeSupported)
{
@@ -9016,30 +9030,49 @@
{
INFO_PRINTF1(_L("Checking if resume is supported before receiving last buffer"));
TBool isResumeSupported = iMMFDevSound->IsResumeSupported();
- if(isResumeSupported)
- {
- INFO_PRINTF1(_L("Calling CMMFDevSound::Resume"));
- iMMFDevSound->RecordData();
- TInt err = iMMFDevSound->Resume();
- if (err == KErrNone)
- {
- INFO_PRINTF2(_L("CMMFDevSound::Resume returned %d as expected"), err);
- iDevSoundState = EStateRecording;
- isSecondTimeRecording = ETrue;
- }
- else
- {
- ERR_PRINTF2(_L("CMMFDevSound::Resume before last buffer flag failed with %d"), err);
- ERR_PRINTF2(_L("Expected value %d"), KErrNone);
- StopTest(err, EFail);
- }
- }
- else
- {
- ERR_PRINTF1(_L("Devsound is expected to support resume"));
- ERR_PRINTF3(_L("Received value is %d when the expected value is %d"), isResumeSupported, ETrue);
- StopTest(KErrNotSupported,EFail);
- }
+ TInt err = KErrNone;
+ if (!isResumeSupported)
+ {
+ INFO_PRINTF1(_L("Resume Not Supported - Calling CMMFDevSound::RecordInitL()"));
+ iMMFDevSound->RecordData();
+ TRAP(err,iMMFDevSound->RecordInitL());
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Calling CMMFDevSound::Resume"));
+ iMMFDevSound->RecordData();
+ err = iMMFDevSound->Resume();
+ }
+ if (err == KErrNone)
+ {
+ if (!isResumeSupported)
+ {
+ INFO_PRINTF2(_L("CMMFDevSound::RecordInitL returned %d as expected"), err);
+ iDevSoundState = EStateRecording;
+ isSecondTimeRecording = ETrue;
+ }
+ else
+ {
+ INFO_PRINTF2(_L("CMMFDevSound::Resume returned %d as expected"), err);
+ iDevSoundState = EStateRecording;
+ isSecondTimeRecording = ETrue;
+ }
+ }
+ else
+ {
+ if (!isResumeSupported)
+ {
+ ERR_PRINTF2(_L("CMMFDevSound::RecordInitL before last buffer flag failed with %d"), err);
+ ERR_PRINTF2(_L("Expected value %d"), KErrNone);
+ StopTest(err, EFail);
+ }
+ else
+ {
+ ERR_PRINTF2(_L("CMMFDevSound::Resume before last buffer flag failed with %d"), err);
+ ERR_PRINTF2(_L("Expected value %d"), KErrNone);
+ StopTest(err, EFail);
+ }
+ }
isSecondTimeRecording = ETrue;
}
}
@@ -9068,11 +9101,15 @@
{
if(iGainBalanceClause)
{
+ if (iGain > iMMFDevSound->MaxGain())
+ {
+ iGain = iMMFDevSound->MaxGain();
+ }
INFO_PRINTF2(_L("Setting DevSound gain = %d"), iGain);
iMMFDevSound->SetGain(iGain);
if (iGain != iMMFDevSound->Gain())
{
- ERR_PRINTF2(_L("CMMFDevSound::Gain returned different set value = %d"), iGain);
+ ERR_PRINTF3(_L("CMMFDevSound::Gain returned different set value = %d, expected value = %d"), iGain, iMMFDevSound->Gain());
StopTest (KErrGeneral);
break;
}
@@ -9125,112 +9162,135 @@
TBool isResumeSupported = iMMFDevSound->IsResumeSupported();
if(iPCMFormatClause)
{
- if(isResumeSupported)
- {
- if (iRecordDataPriorToResume)
- {
- INFO_PRINTF1(_L("Calling CMMFDevSound::RecordData()"));
- iMMFDevSound->RecordData();
- }
- TInt err = KErrNone;
- if(iInitAfterPauseClause)
- {
- INFO_PRINTF1(_L("Calling CMMFDevSound::RecordInit()"));
- iMMFDevSound->RecordInitL();
- }
- else
- {
- INFO_PRINTF1(_L("Calling CMMFDevSound::Resume()"));
- err = iMMFDevSound->Resume();
- }
- if(iResumeAfterResume)
- {
- INFO_PRINTF1(_L("Calling CMMFDevSound::Resume()"));
- err = iMMFDevSound->Resume();
- }
- if (iTestStepName != _L("MM-MMF-DEVSOUND-U-0088-HP"))
- {
- INFO_PRINTF1(_L("Calling CMMFDevSound::RecordData()"));
- iMMFDevSound->RecordData();
- }
- if (err == KErrNone)
- {
- INFO_PRINTF2(_L("CMMFDevSound::Resume returned %d as expected"), err);
- iDevSoundState = EStateRecording;
- iFollowingResume = ETrue;
- isSecondTimeRecording = ETrue;
- if (iRecordDataFollowingResume)
- {
- INFO_PRINTF1(_L("Calling CMMFDevSound::RecordData()"));
- iMMFDevSound->RecordData();
- }
- if (iCheckForNoDataAfterResume)
- {
- INFO_PRINTF1(_L("Wait for a while and check we get no extra buffer requests"));
- iTimer->Cancel(); // just in case cancel current timeout
- StartTimer(2000000); // wait for 2s
- }
- if(iGainBalanceClause)
- {
- INFO_PRINTF1(_L("Call iMMFDevSound::Gain for verifying."));
- if (iGain == iMMFDevSound->Gain())
- {
- INFO_PRINTF1(_L("CMMFDevSound::Gain returned equal previous set value as expected"));
- }
- else
- {
- ERR_PRINTF2(_L("CMMFDevSound::Gain returned different set value = %d"), iGain);
- StopTest (KErrGeneral);
- break;
- }
- INFO_PRINTF1(_L("Call GetRecordBalanceL for verifying."));
- TInt getLRecordBalance = 0;
- TInt getRRecordBalance = 0;
- TRAP(err,iMMFDevSound->GetRecordBalanceL(getLRecordBalance, getRRecordBalance));
- if (err != KErrNone)
- {
- ERR_PRINTF2(_L("Getting balance failed ! Left with error = %d"), err);
- StopTest(err);
- break;
- }
- if ((iLRecordBalance == getLRecordBalance) && (iRRecordBalance == getRRecordBalance))
- {
- INFO_PRINTF1(_L("Balance configuration returned previous set values as expected"));
- }
- else
- {
- ERR_PRINTF3(_L("Configuration of DevSound object does not match with set balance! LRecordBalance = %d RRecordBalance = %d"),
- getLRecordBalance, getRRecordBalance);
- StopTest(KErrGeneral);
- }
- }
- if (iConfigClause)
- {
- if(iCapabilitiesSet.iRate == iMMFDevSound->Config().iRate &&
- iCapabilitiesSet.iChannels == iMMFDevSound->Config().iChannels)
- {
- INFO_PRINTF1(_L("CMMFDevSound::Config returned as expected"));
- }
- else
- {
- ERR_PRINTF1(_L("CMMFDevSound::Config returned different set value"));
- StopTest (KErrGeneral);
- }
- }
- }
- else
- {
- ERR_PRINTF2(_L("CMMFDevSound::Resume failed with %d"), err);
- ERR_PRINTF2(_L("Expected error %d"), KErrNone);
- StopTest(err, EFail);
- }
- }
- else
- {
- ERR_PRINTF1(_L("Devsound::IsResumeSupported did not return as expected"));
- ERR_PRINTF3(_L("Received value is %d when the expected value is %d"), isResumeSupported, ETrue);
- StopTest(KErrGeneral,EFail);
- }
+ if (iRecordDataPriorToResume)
+ {
+ INFO_PRINTF1(_L("Calling CMMFDevSound::RecordData()"));
+ iMMFDevSound->RecordData();
+ }
+ TInt err = KErrNone;
+ if(iInitAfterPauseClause)
+ {
+ INFO_PRINTF1(_L("Calling CMMFDevSound::RecordInit()"));
+ iMMFDevSound->RecordInitL();
+ }
+ else
+ {
+ if (!isResumeSupported)
+ {
+ INFO_PRINTF1(_L("Resume Not Supported - Calling CMMFDevSound::RecordInitL()"));
+ TRAP(err,iMMFDevSound->RecordInitL());
+ }
+ else //resume is supported
+ {
+ INFO_PRINTF1(_L("Calling CMMFDevSound::Resume()"));
+ err = iMMFDevSound->Resume();
+ }
+ }
+ if(iResumeAfterResume)
+ {
+ if (!isResumeSupported)
+ {
+ INFO_PRINTF1(_L("Resume Not Supported - Calling CMMFDevSound::RecordInitL()"));
+ TRAP(err,iMMFDevSound->RecordInitL());
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Calling CMMFDevSound::Resume()"));
+ err = iMMFDevSound->Resume();
+ }
+ }
+ if (iTestStepName != _L("MM-MMF-DEVSOUND-U-0088-HP"))
+ {
+ INFO_PRINTF1(_L("Calling CMMFDevSound::RecordData()"));
+ iMMFDevSound->RecordData();
+ }
+ if (err == KErrNone)
+ {
+ if (!isResumeSupported)
+ {
+ INFO_PRINTF2(_L("CMMFDevSound::RecordInitL returned %d as expected"), err);
+ }
+ else
+ {
+ INFO_PRINTF2(_L("CMMFDevSound::Resume returned %d as expected"), err);
+ }
+ iDevSoundState = EStateRecording;
+ iFollowingResume = ETrue;
+ isSecondTimeRecording = ETrue;
+ if (iRecordDataFollowingResume)
+ {
+ INFO_PRINTF1(_L("Calling CMMFDevSound::RecordData()"));
+ iMMFDevSound->RecordData();
+ }
+ if (iCheckForNoDataAfterResume)
+ {
+ INFO_PRINTF1(_L("Wait for a while and check we get no extra buffer requests"));
+ iTimer->Cancel(); // just in case cancel current timeout
+ StartTimer(2000000); // wait for 2s
+ }
+ if(iGainBalanceClause)
+ {
+ INFO_PRINTF1(_L("Call iMMFDevSound::Gain for verifying."));
+ if (iGain == iMMFDevSound->Gain())
+ {
+ INFO_PRINTF1(_L("CMMFDevSound::Gain returned equal previous set value as expected"));
+ }
+ else
+ {
+ ERR_PRINTF2(_L("CMMFDevSound::Gain returned different set value = %d"), iGain);
+ StopTest (KErrGeneral);
+ break;
+ }
+ INFO_PRINTF1(_L("Call GetRecordBalanceL for verifying."));
+ TInt getLRecordBalance = 0;
+ TInt getRRecordBalance = 0;
+ TRAP(err,iMMFDevSound->GetRecordBalanceL(getLRecordBalance, getRRecordBalance));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("Getting balance failed ! Left with error = %d"), err);
+ StopTest(err);
+ break;
+ }
+ if ((iLRecordBalance == getLRecordBalance) && (iRRecordBalance == getRRecordBalance))
+ {
+ INFO_PRINTF1(_L("Balance configuration returned previous set values as expected"));
+ }
+ else
+ {
+ ERR_PRINTF3(_L("Configuration of DevSound object does not match with set balance! LRecordBalance = %d RRecordBalance = %d"),
+ getLRecordBalance, getRRecordBalance);
+ StopTest(KErrGeneral);
+ }
+ }
+ if (iConfigClause)
+ {
+ if(iCapabilitiesSet.iRate == iMMFDevSound->Config().iRate &&
+ iCapabilitiesSet.iChannels == iMMFDevSound->Config().iChannels)
+ {
+ INFO_PRINTF1(_L("CMMFDevSound::Config returned as expected"));
+ }
+ else
+ {
+ ERR_PRINTF1(_L("CMMFDevSound::Config returned different set value"));
+ StopTest (KErrGeneral);
+ }
+ }
+ }
+ else
+ {
+ if (!isResumeSupported)
+ {
+ ERR_PRINTF2(_L("CMMFDevSound::RecordInitL failed with %d"), err);
+ ERR_PRINTF2(_L("Expected error %d"), KErrNone);
+ StopTest(err , EFail);
+ }
+ else //resume is supported
+ {
+ ERR_PRINTF2(_L("CMMFDevSound::Resume failed with %d"), err);
+ ERR_PRINTF2(_L("Expected error %d"), KErrNone);
+ StopTest(err, EFail);
+ }
+ }
}
else
{
@@ -9541,71 +9601,62 @@
}
INFO_PRINTF1(_L("Checking if resume is supported"));
TBool isResumeSupported = iMMFDevSound->IsResumeSupported();
- if(isResumeSupported)
- {
- INFO_PRINTF2(_L("CMMFDevSound::IsResumeSupported returned %d as expected"),isResumeSupported);
- INFO_PRINTF1(_L("Calling CMMFDevSound::Resume"));
- TInt expectedErr = KErrNotSupported;
- if(iPlayToneType == EPlayToneSequence)
- {
- expectedErr = KErrNone;
- }
- TInt err = iMMFDevSound->Resume();
- if(err == expectedErr)
- {
- if(iPlayToneType != EPlayToneSequence)
- {
- StopTest();
- }
- INFO_PRINTF2(_L("CMMFDevSound::Resume returned = %d as expected"), err);
- if(iVolumeBalanceClause)
- {
- INFO_PRINTF1(_L("Call iMMFDevSound::Volume for verifying."));
- if (iVolume == iMMFDevSound->Volume())
- {
- INFO_PRINTF1(_L("CMMFDevSound::Volume returned equal previous set value as expected"));
- }
- else
- {
- ERR_PRINTF2(_L("CMMFDevSound::Volume returned different set value = %d"), iVolume);
- StopTest (KErrGeneral);
- break;
- }
- INFO_PRINTF1(_L("Call iMMFDevSound::GetPlayBalanceL for verifying."));
- TInt getLSpeakerBalance = 0;
- TInt getRSpeakerBalance = 0;
- TRAP(err,iMMFDevSound->GetPlayBalanceL(getLSpeakerBalance, getRSpeakerBalance));
- if (err != KErrNone)
- {
- ERR_PRINTF2(_L("Getting balance failed ! Left with error = %d"), err);
- StopTest(err);
- break;
- }
- if ((iLSpeakerBalance == getLSpeakerBalance) && (iRSpeakerBalance == getRSpeakerBalance))
- {
- INFO_PRINTF1(_L("Balance configuration returned previous set values as expected"));
- }
- else
- {
- ERR_PRINTF3(_L("Configuration of DevSound object does not match with set balance! LSpeakerBalance = %d RSpeakerBalance = %d"),
- getLSpeakerBalance, getRSpeakerBalance);
- StopTest(KErrGeneral);
- break;
- }
- }
- }
- else
- {
- ERR_PRINTF3(_L("CMMFDevSound::Resume returned with error = %d, when the expected error is = %d"), err, expectedErr);
- StopTest (KErrGeneral, EFail);
- }
- }
- else
- {
- ERR_PRINTF1(_L("CMMFDevSound did not support resume"));
- ERR_PRINTF3(_L("Received value is %d when the expected value is %d"), isResumeSupported, ETrue);
- StopTest(KErrGeneral,EFail);
- }
+ INFO_PRINTF2(_L("CMMFDevSound::IsResumeSupported returned %d as expected"),isResumeSupported);
+ INFO_PRINTF1(_L("Calling CMMFDevSound::Resume"));
+ TInt expectedErr = KErrNotSupported;
+ if(iPlayToneType == EPlayToneSequence)
+ {
+ expectedErr = KErrNone;
+ }
+ TInt err = iMMFDevSound->Resume();
+ if(err == expectedErr)
+ {
+ if(iPlayToneType != EPlayToneSequence)
+ {
+ StopTest();
+ }
+ INFO_PRINTF2(_L("CMMFDevSound::Resume returned = %d as expected"), err);
+ if(iVolumeBalanceClause)
+ {
+ INFO_PRINTF1(_L("Call iMMFDevSound::Volume for verifying."));
+ if (iVolume == iMMFDevSound->Volume())
+ {
+ INFO_PRINTF1(_L("CMMFDevSound::Volume returned equal previous set value as expected"));
+ }
+ else
+ {
+ ERR_PRINTF2(_L("CMMFDevSound::Volume returned different set value = %d"), iVolume);
+ StopTest (KErrGeneral);
+ break;
+ }
+ INFO_PRINTF1(_L("Call iMMFDevSound::GetPlayBalanceL for verifying."));
+ TInt getLSpeakerBalance = 0;
+ TInt getRSpeakerBalance = 0;
+ TRAP(err,iMMFDevSound->GetPlayBalanceL(getLSpeakerBalance, getRSpeakerBalance));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("Getting balance failed ! Left with error = %d"), err);
+ StopTest(err);
+ break;
+ }
+ if ((iLSpeakerBalance == getLSpeakerBalance) && (iRSpeakerBalance == getRSpeakerBalance))
+ {
+ INFO_PRINTF1(_L("Balance configuration returned previous set values as expected"));
+ }
+ else
+ {
+ ERR_PRINTF3(_L("Configuration of DevSound object does not match with set balance! LSpeakerBalance = %d RSpeakerBalance = %d"),
+ getLSpeakerBalance, getRSpeakerBalance);
+ StopTest(KErrGeneral);
+ break;
+ }
+ }
+ }
+ else
+ {
+ ERR_PRINTF3(_L("CMMFDevSound::Resume returned with error = %d, when the expected error is = %d"), err, expectedErr);
+ StopTest (KErrGeneral, EFail);
+ }
}
else
{
@@ -11182,7 +11233,7 @@
{
iBuffer->SetLastBuffer (ETrue);
}
- INFO_PRINTF1(_L("CMMFDevSound::PlayData")); //todo tidy up
+ INFO_PRINTF1(_L("CMMFDevSound::PlayData")); //XXX tidy up
iMMFDevSound->PlayData();
}
else if ((aDevSoundEvent == EEventTimerComplete) && (aError == KErrNone))
@@ -11218,7 +11269,18 @@
//Stage 4 DevSound halted correctly, resuming playback
INFO_PRINTF1(_L("Stage 4: No calls to BufferToBeFilled during paused stage, resuming playback to ensure it completes properly"));
iDevSoundState = EStatePlaying;
- iMMFDevSound->Resume();
+ INFO_PRINTF1(_L("Calling CMMFDevSound::IsResumeSupported"));
+ TBool isResumeSupported = iMMFDevSound->IsResumeSupported();
+ if (!isResumeSupported)
+ {
+ INFO_PRINTF1(_L("Resume Not Supported - Calling CMMFDevSound::PlayInitL"));
+ iMMFDevSound->PlayInitL();
+ }
+ else // resume is supported
+ {
+ INFO_PRINTF1(_L("Calling CMMFDevSound::Resume"));
+ iMMFDevSound->Resume();
+ }
}
else
{
--- a/mmlibs/mmfw/tsrc/mmfunittest/GEF/scripts/TSU_MMF_GEF_01.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/GEF/scripts/TSU_MMF_GEF_01.script Mon Aug 23 18:56:36 2010 +0100
@@ -21,8 +21,8 @@
//! @SYMTestCaseID MM-MMF-GEF-U-001
-RUN_TEST_STEP 30000, TSU_MMF_GEF, MM-MMF-GEF-U-001
-TEST_COMPLETE
+//RUN_TEST_STEP 30000, TSU_MMF_GEF, MM-MMF-GEF-U-001
+//TEST_COMPLETE
//! @SYMTestCaseID MM-MMF-GEF-U-002
@@ -31,11 +31,11 @@
//! @SYMTestCaseID MM-MMF-GEF-U-003
-RUN_TEST_STEP 30000, TSU_MMF_GEF, MM-MMF-GEF-U-003
-TEST_COMPLETE
+//RUN_TEST_STEP 30000, TSU_MMF_GEF, MM-MMF-GEF-U-003
+//TEST_COMPLETE
//! @SYMTestCaseID MM-MMF-GEF-U-004
-RUN_TEST_STEP 30000, TSU_MMF_GEF, MM-MMF-GEF-U-004
-TEST_COMPLETE
+//RUN_TEST_STEP 30000, TSU_MMF_GEF, MM-MMF-GEF-U-004
+//TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/MidiClnt/MidiTestCntrl/Ts_cmmfmiditestcontroller.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/MidiClnt/MidiTestCntrl/Ts_cmmfmiditestcontroller.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -148,7 +148,8 @@
{
}
-void CMMFMidiTestController::ResetL() //FIXME - replacement for RemoveSourceSink()
+
+void CMMFMidiTestController::ResetL() //XXX - replacement for RemoveSourceSink()
{
}
--- a/mmlibs/mmfw/tsrc/mmfunittest/MidiClnt/MidiTestCntrl/Ts_cmmfmiditestcontroller.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/MidiClnt/MidiTestCntrl/Ts_cmmfmiditestcontroller.h Mon Aug 23 18:56:36 2010 +0100
@@ -48,7 +48,7 @@
virtual void RemoveDataSourceL(MDataSource& aDataSource);
virtual void RemoveDataSinkL(MDataSink& aDataSink);
virtual void RemoveSourceSinkL();
- virtual void ResetL();//FIXME - replacement for RemoveSourceSink()
+ virtual void ResetL();//XXX - replacement for RemoveSourceSink()
virtual void PrimeL();
virtual void PlayL();
virtual void PauseL();
--- a/mmlibs/mmfw/tsrc/mmfunittest/MidiClnt/TSU_MMFMIDICLNT.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/MidiClnt/TSU_MMFMIDICLNT.h Mon Aug 23 18:56:36 2010 +0100
@@ -40,7 +40,7 @@
#include <midiclientutility.h>
#include <mmf/common/mmfcontrollerframework.h>
-// Uncomment this line for Jetstream project
+// Uncomment this line for Jet-stream project
//#define JETSTREAM_TESTS 1
class CTestSuite ;
--- a/mmlibs/mmfw/tsrc/mmfunittest/MidiClnt/TestMidiClientUtility.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/MidiClnt/TestMidiClientUtility.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -962,7 +962,7 @@
break;
case ETestBeatsHighOutOfRange:
expErr = KErrArgument;
- //microBeatsPerMinute = 1000001*1000000; FIXME overflow warning
+ //microBeatsPerMinute = 1000001*1000000; XXX overflow warning
microBeatsPerMinute = 1000001;
break;
default:
@@ -1342,8 +1342,8 @@
return EInconclusive;
}
- //TRAPD(err, TDesC8 mimeType = aMidi->MimeTypeL());//FIXME: TDesC8 mimeType has to be define above
- TRAPD(err, aMidi->MimeTypeL());//FIXME: TDesC8 mimeType has to be define above
+ //TRAPD(err, TDesC8 mimeType = aMidi->MimeTypeL());//XXX: TDesC8 mimeType has to be define above
+ TRAPD(err, aMidi->MimeTypeL());//XXX: TDesC8 mimeType has to be define above
if (expErr != err)
{
ERR_PRINTF3(_L("MimeTypeL gave error %d (expected %d)"),err, expErr);
@@ -1772,7 +1772,7 @@
break;
case ETestUnsupported:
- // TODO : values defined as unsupported?
+ // XXX : values defined as unsupported?
mipEntry1.iChannel = 0;
mipEntry1.iMIPValue = 0;
mipEntry2.iChannel = 0;
@@ -1783,7 +1783,7 @@
break;
case ETestCorrupt:
- // TODO : values defined as corrupt?
+ // XXX : values defined as corrupt?
mipEntry1.iChannel = -1;
mipEntry1.iMIPValue = -1;
mipEntry2.iChannel = -1;
@@ -3055,7 +3055,7 @@
// we modify the test spec to go with this?
case ETestOutOfRange:
expErr = KErrArgument;
- //repeats = 9999; // ** TBD : max. range of repeats?
+ //repeats = 9999; // ** XXX : max. range of repeats?
repeats = -1;
silentTime = 1000000;
break;
@@ -4005,7 +4005,7 @@
const TDesC8* ptrInstrument = &KNullDesC8;
const TDesC8* ptrBadInstrument = &KNullDesC8;
- // TODO::When we have a MIDI instrument / controller load the instrument
+ // XXX::When we have a MIDI instrument / controller load the instrument
// into the descriptor here.
// expected results
--- a/mmlibs/mmfw/tsrc/mmfunittest/MidiClnt/TestStepMidiClntAllocFailNew.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/MidiClnt/TestStepMidiClntAllocFailNew.h Mon Aug 23 18:56:36 2010 +0100
@@ -20,7 +20,7 @@
/**
*
- * FIXME
+ * XXX
*
* @lib ""
*
--- a/mmlibs/mmfw/tsrc/mmfunittest/MmpFiles/TSU_MMF_VCLNT_01.mmp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,127 +0,0 @@
-// Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// using relative paths for sourcepath and user includes
-//
-//
-
-TARGET tsu_mmf_vclnt_01.dll
-CAPABILITY ALL -TCB
-TARGETTYPE dll
-//UID to be renamed
-UID 0x1000008d 0x101F7D2C
-VENDORID 0x70000001
-
-MACRO _TYPHOON_TEST2_
-
-SOURCEPATH ../VCLNT/TSU_MMF_VCLNT_01
-SOURCE TestSuiteUnitMMFVidClient.cpp
-SOURCE TestStepUnitMMFVidClient.cpp
-SOURCE TestStepVidPlayerNew.cpp
-SOURCE TestStepVidPlayerNewPriorPref.cpp
-SOURCE TestStepVidPlayerOpen.cpp
-SOURCE TestStepVidPlayerOpenFileCtrlUid.cpp
-SOURCE TestStepAllocFailVidPlayer.cpp
-SOURCE TestStepVidPlayerManip.cpp
-SOURCE TestStepVidRecorderNew.cpp
-SOURCE TestStepVidRecorderOpen.cpp
-SOURCE TestStepAllocFailVidRecorderNew.cpp
-SOURCE TestStepAllocFailVidRecorderOpen.cpp
-SOURCE TestStepVidRecorderManip.cpp
-SOURCE TestStepVidPlayerDrm.cpp
-source teststepvidplayerarn.cpp
-SOURCE TestStepVidRecordError.cpp
-#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-SOURCE teststepvidplayersubtitle.cpp
-#endif // SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-
-#ifdef SYMBIAN_BUILD_GCE
-source ../../../../src/Client/Video/mmfclientvideoplayer2.cpp
-source ../../../../src/Client/Video/mediaclientvideodisplaybody.cpp
-source ../../../../src/Client/Video/mediaclientextdisplayinterface.cpp
-source ../../../../src/Client/Video/mediaclientextdisplayhandler.cpp
-source ../../../../src/Client/Video/mediaclientwseventobserver.cpp
-source ../../../../src/Client/Video/mediaclientpolicyserverclient.cpp
-source ../../../../src/Client/Video/mediaclientpolicyserversession.cpp
-source teststepvidplayereventhandler.cpp
-#endif
-#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-SOURCE ../../../../src/Client/Video/mmfsubtitleutility.cpp
-#endif // SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-
-source ../../../../src/Client/Video/mmfclientvideoplayer.cpp
-source ../../../../src/Client/Video/mmfclientvideoplayerbody.cpp
-source ../../../../src/Client/Video/mmfclientvideorecorder.cpp
-source ../../../../src/Client/Video/mmfclientvideorecorderbody.cpp
-source ../../../../src/Client/Video/Mmfclientvideocallback.cpp
-
-USERINCLUDE ../VCLNT/TSU_MMF_VCLNT_01
-USERINCLUDE ../VCLNT/TSU_MMF_VCLNT_APP
-USERINCLUDE ../VCLNT
-USERINCLUDE ../../../inc
-USERINCLUDE ../../../src/Client/Utility
-USERINCLUDE ../VCLNT/TS_CMMFVideoTestController
-USERINCLUDE ../VCLNT/ts_cmmfvideotestcustomcommands
-USERINCLUDE ../../../inc/mmf/plugin
-
-USERINCLUDE ../../../src/Client/Video
-
-APP_LAYER_SYSTEMINCLUDE_SYMBIAN // Application layer macro required to link against Techview headers
-
-USERINCLUDE ../../../inc/mmf/ControllerFramework
-USERINCLUDE ../../../inc/mmf/common
-USERINCLUDE ../../../inc/mmf/server
-
-LIBRARY ecom.lib
-LIBRARY ecam.lib
-LIBRARY euser.lib
-LIBRARY efsrv.lib
-LIBRARY fbscli.lib
-LIBRARY testframeworkclient.lib
-LIBRARY mediaclientutility.lib
-LIBRARY mediaclient.lib
-LIBRARY mediaclientaudiostream.lib
-LIBRARY mediaclientaudio.lib
-
-LIBRARY mmcommon.lib
-
-//
-// from the video client
-// add the test libs for the 'dummy' controller
-//
-library mmfcontrollerframework.lib
-library mmfstandardcustomcommands.lib
-
-library ws32.lib
-library eikcore.lib
-LIBRARY apgrfx.lib
-LIBRARY apparc.lib
-LIBRARY hal.lib
-LIBRARY bafl.lib
-LIBRARY cone.lib
-LIBRARY centralrepository.lib
-
-#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-DEFFILE tsu_mmf_vclnt_01_gce2.def
-#else
-
-#ifdef SYMBIAN_BUILD_GCE
-DEFFILE tsu_mmf_vclnt_01_gce.def
-#else
-DEFFILE TSU_MMF_VCLNT_01.DEF
-#endif //SYMBIAN_BUILD_GCE
-#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-
-NOSTRICTDEF
-
-SMPSAFE
--- a/mmlibs/mmfw/tsrc/mmfunittest/MmpFiles/TSU_MMF_VCLNT_APP.mmp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-TARGET vclntapptest.exe
-TARGETTYPE exe
-
-
-CAPABILITY ALL -TCB
-UID 0x100039CE 0x101F7C13
-VENDORID 0x70000001
-SOURCEPATH ../VCLNT/TSU_MMF_VCLNT_APP
-SOURCE VclntAppTest.cpp
-
-USERINCLUDE ../VCLNT/TSU_MMF_VCLNT_01
-USERINCLUDE ../VCLNT/TSU_MMF_VCLNT_APP
-USERINCLUDE ../VCLNT/TS_CMMFVideoTestController
-USERINCLUDE ../../../src/Client/Video
-USERINCLUDE ../../../src/Client/Utility
-
-APP_LAYER_SYSTEMINCLUDE_SYMBIAN // Application layer macro required to link against Techview headers
-
-START RESOURCE VclntAppTest.rss
-HEADER
-targetpath /resource/apps
-lang sc
-end
-
-LIBRARY euser.lib
-LIBRARY apparc.lib
-LIBRARY cone.lib
-LIBRARY efsrv.lib
-LIBRARY eikcore.lib
-LIBRARY eikdlg.lib
-LIBRARY ws32.lib
-LIBRARY mediaclientvideo.lib
-LIBRARY testframeworkclient.lib
-LIBRARY mmfcontrollerframework.lib
-LIBRARY ecom.lib
-
-#ifdef SYMBIAN_BUILD_GCE
-LIBRARY gceavailable.lib
-#endif
-
-sourcepath ../VCLNT/TSU_MMF_VCLNT_APP
-START RESOURCE VclntAppTest_reg.rss
-TARGETPATH /private/10003a3f/apps
-END
-
-SMPSAFE
--- a/mmlibs/mmfw/tsrc/mmfunittest/MmpFiles/TS_CMMFVideoTestController.mmp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// using relative paths for sourcepath and user includes
-//
-//
-
-target ts_cmmfvideotestcontroller.dll
-CAPABILITY ALL -TCB
-targettype plugin
-UID 0x10009d8d 0x101f7D2D
-VENDORID 0x70000001
-
-SOURCEPATH ../VCLNT/TS_CMMFVideoTestController
-SOURCE Ts_cmmfvideotestcontroller.cpp
-
-#ifdef SYMBIAN_BUILD_GCE
-#ifdef WINSCW
-source ../gceavailable_winscw.cpp
-#endif
-
-#if defined(EABI) || defined(X86GCC)
-source ../gceavailable_nongce.cpp
-#endif
-#endif // SYMBIAN_BUILD_GCE
-
-USERINCLUDE ../VCLNT
-USERINCLUDE ../VCLNT/TS_CMMFVideoTestController
-USERINCLUDE ../VCLNT/ts_cmmfvideotestcustomcommands
-USERINCLUDE ../VCLNT/TSU_MMF_VCLNT_01
-USERINCLUDE ../../../inc/mmf/ControllerFramework
-USERINCLUDE ../../../inc/mmf
-USERINCLUDE ../../../inc/mmf/common
-USERINCLUDE ../../../inc/mmf/server
-USERINCLUDE ../../../inc/mmf/PLUGIN
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-start resource 101f7D2D.rss
-target ts_cmmfvideotestcontroller.rsc
-end
-
-LIBRARY euser.lib
-LIBRARY mmfcontrollerframework.lib
-LIBRARY ts_cmmfvideotestcustomcommands.lib
-LIBRARY mmfstandardcustomcommands.lib
-LIBRARY fbscli.lib
-LIBRARY bafl.lib
-LIBRARY surfacemanager.lib
-#ifdef EABI
-library ecom.lib
-#endif
-#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-library ws32.lib
-#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-
-SMPSAFE
--- a/mmlibs/mmfw/tsrc/mmfunittest/MmpFiles/TS_CMMFVideoTestCustomCommands.mmp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-target ts_cmmfvideotestcustomcommands.dll
-CAPABILITY ALL -TCB
-targettype DLL
-UID 0x1000008d 0x101f7D2E
-VENDORID 0x70000001
-
-SOURCEPATH ../VCLNT/ts_cmmfvideotestcustomcommands
-source TS_CMMFVideoTestCustomCommands.cpp
-
-USERINCLUDE ../VCLNT
-USERINCLUDE ../VCLNT/ts_cmmfvideotestcustomcommands
-USERINCLUDE ../VCLNT/TSU_MMF_VCLNT_01
-USERINCLUDE ../../../inc/mmf
-USERINCLUDE ../../../inc/mmf/ControllerFramework
-USERINCLUDE ../../../inc/mmf/common
-USERINCLUDE ../../../inc/mmf/server
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-LIBRARY euser.lib
-LIBRARY mmfcontrollerframework.lib
-LIBRARY ecom.lib
-
-//nostrictdef
-//exportunfrozen
-
-
-
-
-SMPSAFE
--- a/mmlibs/mmfw/tsrc/mmfunittest/MmpFiles/TS_VideoInput.mmp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-target ts_videoinput.dll
-CAPABILITY ALL -TCB
-targettype plugin
-
-// ECom Dll recognition UID followed by the unique UID for this dll
-UID 0x10009D8D 0x101F7F8C
-VENDORID 0x70000001
-
-SOURCEPATH ../VCLNT/TS_VideoInput
-SOURCE MmfVideoInput.cpp
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-start resource 101F7F8C.rss
-target ts_videoinput.rsc
-end
-
-LIBRARY euser.lib
-LIBRARY mmfserverbaseclasses.lib
-LIBRARY ecom.lib
-LIBRARY mmfcontrollerframework.lib
-
-SMPSAFE
--- a/mmlibs/mmfw/tsrc/mmfunittest/MmpFiles/TS_VideoOutput.mmp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-target ts_videooutput.dll
-CAPABILITY ALL -TCB
-targettype plugin
-
-// ECom Dll recognition UID followed by the unique UID for this dll
-UID 0x10009D8D 0x101F7F8D
-VENDORID 0x70000001
-
-SOURCEPATH ../VCLNT/TS_VideoOutput
-SOURCE MmfVideoOutput.cpp
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-start resource 101F7F8D.rss
-target ts_videooutput.rsc
-end
-
-LIBRARY euser.lib
-LIBRARY mmfserverbaseclasses.lib
-LIBRARY mmfcontrollerframework.lib
-LIBRARY ecom.lib
-
-SMPSAFE
--- a/mmlibs/mmfw/tsrc/mmfunittest/MmpFiles/customaviplayercontroller.mmp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-target customaviplayercontroller.dll
-CAPABILITY ALL -TCB
-targettype plugin
-
-// ECom Dll recognition UID followed by the unique UID for this dll
-UID 0x10009D8D 0x102834B2
-VENDORID 0x70000001
-
-SOURCEPATH ../../../../../mmplugins/mmfwplugins/src/Plugin/Controller/Video/AviPlayController
-SOURCE aviplaycontroller.cpp
-SOURCE avireader.cpp
-#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-SOURCE srtreader.cpp
-#endif
-
-SOURCEPATH ../avictrl/testplugins/aviplaycontroller
-SOURCE customaviplaycontroller.cpp
-SOURCE customaviplaycontrollerexports.cpp
-
-#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-USERINCLUDE ../../../../../mmplugins/mmfwplugins/src/Plugin/Controller/Video/AviPlayController/devsubtitle
-#endif
-
-USERINCLUDE ../../../../../mmplugins/mmfwplugins/src/Plugin/Controller/Video/AviPlayController
-USERINCLUDE ../avictrl
-USERINCLUDE ../avictrl/testplugins/aviplaycontroller
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-/*#ifdef __OMAP__
-
-// Delete the HwDevice once we have OMAP Server implementation
-// Interfacing with HwDevice implementation begins
-USERINCLUDE /GenericGatewayComponent/raw/RawHwDevice
-USERINCLUDE /GenericGatewayComponent/raw/RawGwc
-USERINCLUDE /GenericGatewayComponent/Gwc
-USERINCLUDE /GenericGatewayComponent/BridgeAbstractionLayer
-// Interfacing with HwDevice implementation ends
-#endif //__OMAP__*/
-
-
-start resource 102834B2.rss
-target customaviplayercontroller.rsc
-end
-
-LIBRARY euser.lib
-LIBRARY ecom.lib
-LIBRARY mmfserverbaseclasses.lib
-LIBRARY mmfdevsound.lib
-LIBRARY devvideo.lib
-LIBRARY mmfcontrollerframework.lib
-LIBRARY mmfstandardcustomcommands.lib
-LIBRARY fbscli.lib
-LIBRARY bitgdi.lib
-
-#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-LIBRARY bafl.lib
-LIBRARY efsrv.lib
-LIBRARY devsubtitle.lib
-#endif
-
-SMPSAFE
--- a/mmlibs/mmfw/tsrc/mmfunittest/MmpFiles/ts_cmmfvideotestcontroller_gce.mmp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// using relative paths for sourcepath and user includes
-//
-//
-
-target ts_cmmfvideotestcontroller_gce.dll
-CAPABILITY ALL -TCB
-targettype plugin
-UID 0x10009d8d 0x101f7D2D
-VENDORID 0x70000001
-
-SOURCEPATH ../VCLNT/TS_CMMFVideoTestController
-SOURCE Ts_cmmfvideotestcontroller.cpp
-
-#ifdef WINSCW
-source ../gceavailable_winscw.cpp
-#endif
-
-#ifdef EABI
-source ../gceavailable_gce.cpp
-#endif
-
-
-USERINCLUDE ../VCLNT
-USERINCLUDE ../VCLNT/TS_CMMFVideoTestController
-USERINCLUDE ../VCLNT/ts_cmmfvideotestcustomcommands
-USERINCLUDE ../VCLNT/TSU_MMF_VCLNT_01
-USERINCLUDE ../../../inc/mmf/ControllerFramework
-USERINCLUDE ../../../inc/mmf
-USERINCLUDE ../../../inc/mmf/common
-USERINCLUDE ../../../inc/mmf/server
-USERINCLUDE ../../../inc/mmf/PLUGIN
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-start resource 101f7d2d_gce.rss
-target ts_cmmfvideotestcontroller_gce.rsc
-end
-
-LIBRARY euser.lib
-LIBRARY mmfcontrollerframework.lib
-LIBRARY ts_cmmfvideotestcustomcommands.lib
-LIBRARY mmfstandardcustomcommands.lib
-LIBRARY fbscli.lib
-LIBRARY bafl.lib surfacemanager.lib
-#ifdef EABI
-library ecom.lib
-#endif
-
-#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-library ws32.lib
-#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-
-SMPSAFE
--- a/mmlibs/mmfw/tsrc/mmfunittest/MmpFiles/tsu_mmf_avictrl_01.mmp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// tsu_mmf_avictrl_01.dll
-//
-//
-
-
-TARGET tsu_mmf_avictrl_01.dll
-CAPABILITY ALL -TCB
-TARGETTYPE dll
-
-UID 0x1000008d 0x102737F7
-VENDORID 0x70000001
-
-SOURCEPATH ../avictrl
-SOURCE tsu_mmf_avictrl_testsuite.cpp
-SOURCE tsu_mmf_avictrl_teststep.cpp
-SOURCE tsu_mmf_avictrlplay.cpp
-SOURCE tsu_mmf_avictrlrecord.cpp
-
-USERINCLUDE ../avictrl
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-LIBRARY euser.lib
-LIBRARY testframeworkclient.lib
-LIBRARY mmfcontrollerframework.lib
-LIBRARY mmfstandardcustomcommands.lib
-LIBRARY efsrv.lib
-LIBRARY ecom.lib
-LIBRARY hal.lib
-LIBRARY devvideo.lib
-LIBRARY mmfdevsound.lib
-#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-LIBRARY ws32.lib
-#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-
-#ifdef EABI
-NOEXPORTLIBRARY
-#endif
-
-DEFFILE TSU_MMF_AVICTRL_01.DEF
-
-SMPSAFE
Binary file mmlibs/mmfw/tsrc/mmfunittest/Recogniser/Data/common/readme.rtf has changed
--- a/mmlibs/mmfw/tsrc/mmfunittest/Recogniser/group/unittest_recogniser_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/Recogniser/group/unittest_recogniser_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -94,87 +94,87 @@
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_Be_With_You.wma"-"c:\recog\valid_be_with_you.wma"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\WMAWidWrngExt.wxt"-"c:\recog\wmawidwrngext.wxt"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt.wma"-"c:\recog\corrupt.wma"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_Apertura.mp4"-"c:\recog\valid_apertura.mp4
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\VIDMP4WidWrngExt.wxt"-"c:\recog\vidmp4widwrngext.wxt
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt_vid.mp4"-"c:\recog\corrupt_vid.mp4
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt_Mpeg2.mpg"-"c:\recog\corrupt_mpeg2.mpg
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_Goodneighbour.wmv"-"c:\recog\valid_goodneighbour.wmv
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\WMVWidWrngExt.wxt"-"c:\recog\wmvwidwrngext.wxt
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt.wmv"-"c:\recog\corrupt.wmv
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_Aud_sample.3gp"-"c:\recog\valid_aud_sample.3gp
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\A3gpWidWrngExt.wxt"-"c:\recog\a3gpwidwrngext.wxt
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\corrupt_aud.3gp"-"c:\recog\corrupt_aud.3gp
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sample.aac"-"c:\recog\valid_sample.aac
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\AACWidWrngExt.wxt"-"c:\recog\aacwidwrngext.wxt
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\corrupt.aac"-"c:\recog\corrupt.aac
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_test.mp3"-"c:\recog\valid_test.mp3
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\MP3WidWrngExt.wxt"-"c:\recog\mp3widwrngext.wxt
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\corrupt.mp3"-"c:\recog\corrupt.mp3
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\MKVWidWrngExt.wxt"-"c:\recog\mkvwidwrngext.wxt
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt.mkv"-"c:\recog\corrupt.mkv
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\ASFWidWrngExt.wxt"-"c:\recog\asfwidwrngext.wxt
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt.asf"-"c:\recog\corrupt.asf
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\corrupt.wxt"-"c:\recog\corrupt.wxt
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_3gpWidOutExt"-"c:\recog\valid_3gpwidoutext
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_MP3WidOutExt"-"c:\recog\valid_mp3widoutext
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_CrptOGGWidOutExt"-"c:\recog\valid_crptoggwidoutext
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_chand_sifarish.rm"-"c:\recog\valid_chand_sifarish.rm
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\RMWidWrngExt.wxt"-"c:\recog\rmwidwrngext.wxt
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt.rm"-"c:\recog\corrupt.rm
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\RAWidWrngExt.wxt"-"c:\recog\rawidwrngext.wxt
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\corrupt.ra"-"c:\recog\corrupt.ra
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_niceday.asf"-"c:\recog\valid_niceday.asf
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_aacid3.aac"-"c:\recog\valid_aacid3.aac
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_rmvideo.rm"-"c:\recog\valid_rmvideo.rm
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_80X140.RM"-"c:\recog\valid_80x140.rm
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp1.sdp"-"c:\recog\valid_sdp1.sdp
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp2.sdp"-"c:\recog\valid_sdp2.sdp
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp3.SDP"-"c:\recog\valid_sdp3.sdp
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp4.sdp"-"c:\recog\valid_sdp4.sdp
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp5.sdp"-"c:\recog\valid_sdp5.sdp
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp6.sdp"-"c:\recog\valid_sdp6.sdp
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp7.sdp"-"c:\recog\valid_sdp7.sdp
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp8.sdp"-"c:\recog\valid_sdp8.sdp
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Valid_3GPP2.3g2"-"c:\recog\valid_3gpp2.3g2
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Valid_3GPP2.wxt"-"c:\recog\valid_3gpp2.wxt
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt_3GPP2.3g2"-"c:\recog\corrupt_3gpp2.3g2
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Valid_3GPP2_BadBrand.3g2"-"c:\recog\valid_3gpp2_badbrand.3g2
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_unicode.txt"-"c:\recog\valid_unicode.txt
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_Apertura.mp4"-"c:\recog\valid_apertura.mp4"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\VIDMP4WidWrngExt.wxt"-"c:\recog\vidmp4widwrngext.wxt"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt_vid.mp4"-"c:\recog\corrupt_vid.mp4"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt_Mpeg2.mpg"-"c:\recog\corrupt_mpeg2.mpg"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_Goodneighbour.wmv"-"c:\recog\valid_goodneighbour.wmv"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\WMVWidWrngExt.wxt"-"c:\recog\wmvwidwrngext.wxt"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt.wmv"-"c:\recog\corrupt.wmv"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_Aud_sample.3gp"-"c:\recog\valid_aud_sample.3gp"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\A3gpWidWrngExt.wxt"-"c:\recog\a3gpwidwrngext.wxt"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\corrupt_aud.3gp"-"c:\recog\corrupt_aud.3gp"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sample.aac"-"c:\recog\valid_sample.aac"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\AACWidWrngExt.wxt"-"c:\recog\aacwidwrngext.wxt"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\corrupt.aac"-"c:\recog\corrupt.aac"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_test.mp3"-"c:\recog\valid_test.mp3"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\MP3WidWrngExt.wxt"-"c:\recog\mp3widwrngext.wxt"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\corrupt.mp3"-"c:\recog\corrupt.mp3"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\MKVWidWrngExt.wxt"-"c:\recog\mkvwidwrngext.wxt"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt.mkv"-"c:\recog\corrupt.mkv"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\ASFWidWrngExt.wxt"-"c:\recog\asfwidwrngext.wxt"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt.asf"-"c:\recog\corrupt.asf"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\corrupt.wxt"-"c:\recog\corrupt.wxt"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_3gpWidOutExt"-"c:\recog\valid_3gpwidoutext"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_MP3WidOutExt"-"c:\recog\valid_mp3widoutext"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_CrptOGGWidOutExt"-"c:\recog\valid_crptoggwidoutext"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_chand_sifarish.rm"-"c:\recog\valid_chand_sifarish.rm"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\RMWidWrngExt.wxt"-"c:\recog\rmwidwrngext.wxt"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt.rm"-"c:\recog\corrupt.rm"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\RAWidWrngExt.wxt"-"c:\recog\rawidwrngext.wxt"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\corrupt.ra"-"c:\recog\corrupt.ra"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_niceday.asf"-"c:\recog\valid_niceday.asf"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_aacid3.aac"-"c:\recog\valid_aacid3.aac"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_rmvideo.rm"-"c:\recog\valid_rmvideo.rm"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_80X140.RM"-"c:\recog\valid_80x140.rm"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp1.sdp"-"c:\recog\valid_sdp1.sdp"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp2.sdp"-"c:\recog\valid_sdp2.sdp"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp3.SDP"-"c:\recog\valid_sdp3.sdp"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp4.sdp"-"c:\recog\valid_sdp4.sdp"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp5.sdp"-"c:\recog\valid_sdp5.sdp"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp6.sdp"-"c:\recog\valid_sdp6.sdp"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp7.sdp"-"c:\recog\valid_sdp7.sdp"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_sdp8.sdp"-"c:\recog\valid_sdp8.sdp"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Valid_3GPP2.3g2"-"c:\recog\valid_3gpp2.3g2"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Valid_3GPP2.wxt"-"c:\recog\valid_3gpp2.wxt"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Corrupt_3GPP2.3g2"-"c:\recog\corrupt_3gpp2.3g2"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\Valid_3GPP2_BadBrand.3g2"-"c:\recog\valid_3gpp2_badbrand.3g2"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\valid_unicode.txt"-"c:\recog\valid_unicode.txt"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\_lmnand_miniboot.bin"-"c:\recog\common\_lmnand_miniboot.bin
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\HATCSS.msi"-"c:\recog\common\hatcss.msi
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\Image.JPG"-"c:\recog\common\image.jpg
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\pdf.pdf"-"c:\recog\common\pdf.pdf
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\readme.rtf"-"c:\recog\common\readme.rtf
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\whois.exe"-"c:\recog\common\whois.exe
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\3.ebm"-"c:\recog\common\3.ebm
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\4.notebm"-"c:\recog\common\4.notebm
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\a.dtd"-"c:\recog\common\a.dtd
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\a.wbxml"-"c:\recog\common\a.wbxml
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\a.wml"-"c:\recog\common\a.wml
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\a.wmlc"-"c:\recog\common\a.wmlc
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\a.wmls"-"c:\recog\common\a.wmls
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\a.wmlsc"-"c:\recog\common\a.wmlsc
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\agenda"-"c:\recog\common\agenda
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\agenda-emb"-"c:\recog\common\agenda-emb
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\badcert.cer"-"c:\recog\common\badcert.cer
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\Base64.VCF"-"c:\recog\common\base64.vcf
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\Begin3.VCS"-"c:\recog\common\begin3.vcs
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\CALLMANAGER.APP"-"c:\recog\common\callmanager.app
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\copyfile.txt"-"c:\recog\common\copyfile.txt
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\dsaprivate1.key"-"c:\recog\common\dsaprivate1.key
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\FullVersionTest.jad"-"c:\recog\common\fullversiontest.jad
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\FullVersionTest.jar"-"c:\recog\common\fullversiontest.jar
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\InstTest.jad"-"c:\recog\common\insttest.jad
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\legacy.sis"-"c:\recog\common\legacy.sis
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\roudedkeybag.der"-"c:\recog\common\roudedkeybag.der
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\pkcs12.p12"-"c:\recog\common\pkcs12.p12
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\sample1.html"-"c:\recog\common\sample1.html
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\sample2.htm"-"c:\recog\common\sample2.htm
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\sample3.xhtml"-"c:\recog\common\sample3.xhtml
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\sample4.xml"-"c:\recog\common\sample4.xml
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\symbian_key.pk8"-"c:\recog\common\symbian_key.pk8
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\tcaf.ini"-"c:\recog\common\tcaf.ini
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\test.drm"-"c:\recog\common\test.drm
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\test.drm.bin"-"c:\recog\common\test.drm.bin
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\testdoc.tsym"-"c:\recog\common\testdoc.tsym
\ No newline at end of file
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\_lmnand_miniboot.bin"-"c:\recog\common\_lmnand_miniboot.bin"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\HATCSS.msi"-"c:\recog\common\hatcss.msi"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\Image.JPG"-"c:\recog\common\image.jpg"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\pdf.pdf"-"c:\recog\common\pdf.pdf"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\readme.rtf"-"c:\recog\common\readme.rtf"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\whois.exe"-"c:\recog\common\whois.exe"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\3.ebm"-"c:\recog\common\3.ebm"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\4.notebm"-"c:\recog\common\4.notebm"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\a.dtd"-"c:\recog\common\a.dtd"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\a.wbxml"-"c:\recog\common\a.wbxml"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\a.wml"-"c:\recog\common\a.wml"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\a.wmlc"-"c:\recog\common\a.wmlc"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\a.wmls"-"c:\recog\common\a.wmls"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\a.wmlsc"-"c:\recog\common\a.wmlsc"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\agenda"-"c:\recog\common\agenda"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\agenda-emb"-"c:\recog\common\agenda-emb"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\badcert.cer"-"c:\recog\common\badcert.cer"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\Base64.VCF"-"c:\recog\common\base64.vcf"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\Begin3.VCS"-"c:\recog\common\begin3.vcs"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\CALLMANAGER.APP"-"c:\recog\common\callmanager.app"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\copyfile.txt"-"c:\recog\common\copyfile.txt"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\dsaprivate1.key"-"c:\recog\common\dsaprivate1.key"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\FullVersionTest.jad"-"c:\recog\common\fullversiontest.jad"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\FullVersionTest.jar"-"c:\recog\common\fullversiontest.jar"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\InstTest.jad"-"c:\recog\common\insttest.jad"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\legacy.sis"-"c:\recog\common\legacy.sis"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\roudedkeybag.der"-"c:\recog\common\roudedkeybag.der"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\pkcs12.p12"-"c:\recog\common\pkcs12.p12"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\sample1.html"-"c:\recog\common\sample1.html"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\sample2.htm"-"c:\recog\common\sample2.htm"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\sample3.xhtml"-"c:\recog\common\sample3.xhtml"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\sample4.xml"-"c:\recog\common\sample4.xml"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\symbian_key.pk8"-"c:\recog\common\symbian_key.pk8"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\tcaf.ini"-"c:\recog\common\tcaf.ini"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\test.drm"-"c:\recog\common\test.drm"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\test.drm.bin"-"c:\recog\common\test.drm.bin"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\Recogniser\Data\common\testdoc.tsym"-"c:\recog\common\testdoc.tsym"
\ No newline at end of file
--- a/mmlibs/mmfw/tsrc/mmfunittest/SwCodecDevices/TSU_MMF_ACOD_BASE.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/SwCodecDevices/TSU_MMF_ACOD_BASE.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -139,7 +139,7 @@
aFilename.Append(KPCM16ToPCM16BComparisonFile);
break;
- //[< Fix Me GK ]
+ //xxx GK
//case KMMFUidHwDevicePCM16toPCMU16B ://KMMFUidHwDevicePCM16toPCMU16B:
// aFilename.Copy(KComparisonFilesDir);
// aFilename.Append(KPCM16ToPCMU16BComparisonFile);
--- a/mmlibs/mmfw/tsrc/mmfunittest/SwCodecDevices/TSU_MMF_SWCODECDEVICES.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/SwCodecDevices/TSU_MMF_SWCODECDEVICES.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -136,7 +136,7 @@
const TInt srcBufferSize = theEncode.SourceBufferSize();
const TInt sinkBufferSize = theEncode.SinkBufferSize();
const TInt codedBufferSize = 76*4* KNumFramesInABuffer; // number of coded buffers * size of coded buffer 63*2
- iNumCodedFrames = KNumFramesInABuffer; // claculate these constants soon <TODO GK>
+ iNumCodedFrames = KNumFramesInABuffer; //XXX claculate these constants soon <GK>
iScratchData = CMMFDescriptorBuffer::NewL( codedBufferSize);
@@ -845,7 +845,7 @@
const TInt srcBufferSize = theCodec.SourceBufferSize();
const TInt sinkBufferSize = theCodec.SinkBufferSize();
const TInt codedBufferSize = 76*4* KNumFramesInABuffer; // number of coded buffers * size of coded buffer 63*2
- iNumCodedFrames = KNumFramesInABuffer; // claculate these constants soon <TODO GK>
+ iNumCodedFrames = KNumFramesInABuffer; //XXX claculate these constants soon <GK>
iScratchData = CMMFDescriptorBuffer::NewL( codedBufferSize);
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/inc/TS_Codes.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,110 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+// Standard EPOC32 includes required by this header file
+#include <e32base.h>
+#include <e32std.h>
+
+
+#ifndef TS_CODES_H
+#define TS_CODES_H
+
+
+//-----------------------------//
+// Test custom command function definitions //
+//-----------------------------//
+enum TMMFTestCustomCommands
+ {
+ EMMFTestCustomCommandSetFrameRate = 1,
+ EMMFTestCustomCommandGetFrameRate,
+ EMMFTestCustomCommandGeneralSynchronous,
+ EMMFTestCustomCommandGeneralSynchronousWithReturn,
+ EMMFTestCustomCommandGeneralAsynchronous,
+ EMMFTestCustomCommandGeneralAsynchronousWithReturn,
+ EMMFTestCustomCommandRequestGeneralEvent,
+ EMMFTestCustomCommandSimulateReloading,
+ EMMFTestCustomCommandCheckUrl,
+ EMMFTestCustomCommandSimulateSurfaceCreated,
+ EMMFTestCustomCommandSimulateParaChanged,
+ EMMFTestCustomCommandSimulateRemoveSurface,
+ EMMFTestCustomCommandSetSubtitleDisplayCheck,
+ EMMFTestCustomCommandGetSubtitleCallCount,
+ EMMFTestCustomCommandSimulateCrpReadyEvent,
+ EMMFTestCustomCommandSetLanguageNotAvail,
+ };
+
+_LIT8(KFirstParameter,"first");
+_LIT8(KSecondParameter,"second");
+_LIT8(KReturnParameter,"third");
+
+//URL Test
+_LIT(KTestURL, "http://symbian.com/clock.dummy");
+const TInt KTestIap = 5;
+
+// These are Codes which are passed to and from functions via the Controller Framework.
+
+const TInt KGetAudioQuality = 1;
+const TInt KSetAudionQuality = 2;
+const TInt KDummyFunc1 = 3;
+const TInt KDummyFunc1Return = -4;
+const TInt KDummyFunc2 = 5;
+const TInt KDummyFunc2Return = -6;
+const TInt KLogFunction = 7;
+const TInt KFuncComplete = 0;
+const TInt KModeFunction = 8;
+const TInt KLogIntFunction = 9;
+const TInt KLogInt2Function = 10;
+const TInt KLogRealFunction = 11;
+const TInt KLogTimeInterMicroFunction = 12;
+const TInt KLogTFourCCFunction = 13;
+const TInt KLogFunction2 = 14;
+const TInt KTestSetError = 15;
+const TInt KTestCustomCommandSuccess = -4444;
+const TInt KTestCustomCommandFailure = -5555;
+const TInt KTestGeneralError = -7777;
+
+const TInt KPlayStartTime = 1000000;
+const TInt KPlayEndTime = 2000000;
+const TInt KTestFrameRate = 25;
+
+//-----------------------------//
+// Enums for EMMFTestCustomCommandGetSubtitleCallCount //
+//-----------------------------//
+enum TMMFTestGetSubtitleCountType
+ {
+ EMMFTestEnableSubtitleCallCount = 1,
+ EMMFTestDisableSubtitleCallCount,
+ EMMFTestAddSubtitleConfigCallCount,
+ EMMFTestRemoveSubtitleConfigCallCount,
+ EMMFTestGetCrpParamCallCount,
+ EMMFTestCrpReadyEventCount,
+ EMMFTestUpdateSubtitleConfigCallCount
+ };
+
+//-----------------------------//
+// Leave Codes (Failure Tests) //
+//-----------------------------//
+
+const TInt KOpenFailure = 201;
+const TInt KAddDataSourceFailure = 202;
+const TInt KAddDataSinkFailure = 203;
+const TInt KRemoveDataSourceFailure = 204;
+const TInt KRemoveDataSinkFailure = 205;
+const TInt KPrimeFailure = 206;
+const TInt KFailureCode1 = 210;
+const TInt KFailureCode2 = 211;
+
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/inc/TestStepAllocFailVidPlayer.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,209 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains testing steps for the Unit
+// test of the MMF Video Clients.
+// Tests exercise all exposed memeber functions
+//
+//
+
+
+#ifndef __TEST_STEP_ALLOCFAIL_VID_PLAYER__
+#define __TEST_STEP_ALLOCFAIL_VID_PLAYER__
+
+
+/**
+ *
+ * Initialise
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepOOMVidPlayerNew : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepOOMVidPlayerNew* NewL(TBool aUseSurface = EFalse);
+ CTestStepOOMVidPlayerNew(TBool aUseSurface);
+ ~CTestStepOOMVidPlayerNew();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Open File
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepOOMVidPlayerOpenFile : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepOOMVidPlayerOpenFile* NewL(TBool aUseFileHandle,
+ TInt aSurfaceMode = CTestStepUnitMMFVidClient::ENotSurfaceMode);
+ CTestStepOOMVidPlayerOpenFile(TBool aUseFileHandle, TInt aSurfaceMode);
+ ~CTestStepOOMVidPlayerOpenFile();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+private:
+ void OpenFileAndStartSchedulerL();
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iUseFileHandle;
+ };
+
+/**
+ *
+ * Open Desc
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepOOMVidPlayerOpenDesc : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepOOMVidPlayerOpenDesc* NewL(TInt aSurfaceMode = CTestStepUnitMMFVidClient::ENotSurfaceMode);
+ CTestStepOOMVidPlayerOpenDesc(TInt aSurfaceMode);
+ ~CTestStepOOMVidPlayerOpenDesc();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+private:
+ void OpenDescAndStartSchedulerL();
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ HBufC8* iBuf;
+ };
+
+/**
+ *
+ * Open Url
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepOOMVidPlayerOpenUrl : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepOOMVidPlayerOpenUrl* NewL(TInt aSurfaceMode = CTestStepUnitMMFVidClient::ENotSurfaceMode);
+ CTestStepOOMVidPlayerOpenUrl(TInt aSurfaceMode);
+ ~CTestStepOOMVidPlayerOpenUrl();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+private:
+ void OpenUrlAndStartSchedulerL();
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Open File Specific Controller Uid
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepOOMVidPlayerOpenFileCtrlUid : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepOOMVidPlayerOpenFileCtrlUid* NewL();
+ CTestStepOOMVidPlayerOpenFileCtrlUid();
+ ~CTestStepOOMVidPlayerOpenFileCtrlUid();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+private:
+ void OpenFileAndStartSchedulerL();
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+#endif //(__TEST_STEP_ALLOCFAIL_VID_PLAYER__)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/inc/TestStepUnitMMFVidClient.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,160 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#if (!defined __UNIT_MMF_VID_CLNT_TESTSTEP_H__)
+#define __UNIT_MMF_VID_CLNT_TESTSTEP_H__
+
+// EPOC includes
+#include <e32base.h>
+//#include <eikenv.h>
+#include <videoplayer.h>
+
+#ifdef SYMBIAN_BUILD_GCE
+#include <videoplayer2.h>
+#endif
+
+
+const TInt KUidTestVideoController = 0x101F88D9;
+
+/**
+ *
+ * CActiveListener provides the asynchronous operation
+ * of an active object
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ *
+ */
+class CActiveListener : public CActive
+ {
+public:
+ CActiveListener() : CActive(CActive::EPriorityIdle) { CActiveScheduler::Add(this); }
+ void InitialiseActiveListener() { iStatus = KRequestPending; SetActive(); }
+ // From CActive
+ virtual void RunL() { CActiveScheduler::Stop(); }
+ virtual void DoCancel() {};
+ };
+
+class CTestSuite;
+class CTestSuiteUnitMMFVidClient;
+class CVideoPlayerUtility;
+class CVideoRecorderUtility;
+
+/**
+ *
+ * CTestStepUnitMMFVidClient, which is the base class for all
+ * the UnitMMFVidClient suite test steps.
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepUnitMMFVidClient : public CTestStep
+ {
+public:
+ enum TTestMode
+ {
+ ENotSurfaceMode,
+ ENotSurfaceModeSupported,
+ ESurfaceMode,
+ ESurfaceModeNotSupported,
+ };
+ CTestStepUnitMMFVidClient();
+ ~CTestStepUnitMMFVidClient();
+
+ virtual enum TVerdict DoTestStepPreambleL(void);
+ virtual enum TVerdict DoTestStepPostambleL(void);
+
+ // accessors
+ void SetUnitMMFVidClientSuite(CTestSuiteUnitMMFVidClient* aSuite);
+ inline CTestSuiteUnitMMFVidClient* UnitMMFVidClientSuite() const;
+
+protected:
+ virtual void OpenAndStartSchedulerL(TBool aUseFileHandle = EFalse);
+
+ virtual void OpenAndStartSchedulerL(const TMMSource& aSource);
+
+ virtual void PlayAndStartSchedulerL();
+ virtual void RecOpenAndStartSchedulerL(TBool aUseFileHandle = EFalse);
+ virtual void RecordAndStartScheduler();
+ virtual void RecorderPrepareAndStartScheduler();
+ virtual void PlayerPrepareAndStartScheduler();
+ TBool PlayerStateOpening();
+ TBool PlayerStatePaused();
+ TBool PlayerStateStopped();
+ TBool PlayerStatePlaying();
+#ifdef SYMBIAN_BUILD_GCE
+ void SurfaceSupported();
+ TBool SurfaceCreated();
+#endif
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+ TInt SubtitleCrpDataCount();
+ TBool CheckSubtitleData(TInt aWindowId, TInt aCrpId, const TRect& aCrpRect);
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+ TBool RecorderStateOpening();
+ TBool RecorderStatePaused();
+ TBool RecorderStateStopped();
+ TBool RecorderStateRecording();
+
+ TInt GetPlayerPriority(TMMFPrioritySettings&);
+ TInt GetRecorderPriority(TMMFPrioritySettings&);
+ TInt GetPlayerClipRect(TRect& aRect);
+ TInt GetPlayerWindowRect(TRect& aRect);
+ TInt GetPlayerController(RMMFController*& aController);
+ TInt GetRecorderController(RMMFController*& aController);
+ TInt GetInitScreenNumber();
+ TVerdict ControllerCalled(const TDesC8& aText, TBool aExpected = ETrue);
+ TVerdict ControllerCalled2(const TDesC8& aText, TBool aExpected = ETrue);
+ TVerdict DoControllerCalled(TInt aFunction, const TDesC8& aText, TBool aExpected = ETrue);
+
+ void InitWservL();
+ void DeInitWserv();
+ void InitEikonL();
+ void DeInitEikon();
+
+private:
+ // pointer to suite which owns this test
+ CTestSuiteUnitMMFVidClient* iUnitMMFVidClientSuite;
+ CActiveScheduler* iScheduler ;
+
+
+protected:
+ CVideoPlayerUtility* iPlayer;
+#ifdef SYMBIAN_BUILD_GCE
+ CVideoPlayerUtility2* iPlayer2;
+#endif
+ CVideoRecorderUtility* iRecorder;
+ TPtrC iFileName;
+ TPtrC8 iMimeType;
+ TPtrC* iRes;
+
+ RFs iFs;
+ RFile iFile;
+
+ CWsScreenDevice* iScreen;
+ RWindow* iWindow;
+ RWsSession iWs;
+ RWindowGroup iRootWindow;
+
+ //CEikonEnv* iEikEnv;
+
+ TBool iSurfaceSupported;
+ TBool iSurfaceMode;
+ TBool iVpu2;
+ };
+
+#endif //__UNIT_MMF_VID_CLNT_TESTSTEP_H__
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/inc/TestStepVidPlayer.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,2176 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains testing steps for the Unit
+// test of the MMF Video Clients.
+// Tests exercise all exposed member functions.
+//
+//
+
+
+#ifndef TEST_STEP_VID_PLAYER
+#define TEST_STEP_VID_PLAYER
+
+//#include <eikenv.h>
+//#include <eikappui.h>
+//#include "VclntAppTest.h"
+#include <mmf/common/mmfaudio.h>
+
+#include <mdaaudiooutputstream.h>
+
+#ifdef SYMBIAN_BUILD_GCE
+#include <mmf/common/mmfvideosurfacecustomcommands.h>
+#include <mmf/devvideo/devvideovideosurfacecustominterface.h>
+#endif // SYMBIAN_BUILD_GCE
+
+
+_LIT (KTestAppFullPath, "Z:\\Sys\\bin\\VclntAppTest.exe");
+
+/**
+ *
+ * Initialise
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerNew : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerNew* NewL(TBool aUseSurface = EFalse);
+ CTestStepVidPlayerNew(TBool aUseSurface);
+ ~CTestStepVidPlayerNew();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Initialise Priority Preference
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerNewPriorPref : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerNewPriorPref* NewL(TBool aUseSurface = EFalse);
+ CTestStepVidPlayerNewPriorPref(TBool aUseSurface);
+ ~CTestStepVidPlayerNewPriorPref();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TMMFPrioritySettings iPrioritySettings;
+ };
+
+/**
+ *
+ * Open File
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerOpenFile : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ enum TTest
+ {
+ EFileName,
+ EFileHandle,
+ EFileSource,
+ EFileHandleSource,
+ };
+
+public:
+ static CTestStepVidPlayerOpenFile* NewL(const TDesC& aTestName, const TTest aTest);
+ CTestStepVidPlayerOpenFile(const TDesC& aTestName, const TTest aTest);
+ ~CTestStepVidPlayerOpenFile();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TTest iTest;
+ };
+
+/**
+ *
+ * Open Desc
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerOpenDesc : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerOpenDesc* NewL(TInt aUseSurface = CTestStepUnitMMFVidClient::ENotSurfaceMode);
+ CTestStepVidPlayerOpenDesc(TInt aUseSurface);
+ ~CTestStepVidPlayerOpenDesc();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ void OpenDescAndStartSchedulerL();
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ HBufC8* iBuf;
+ };
+
+/**
+ *
+ * Open Url
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerOpenUrl : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerOpenUrl* NewL(TInt aUseSurface = CTestStepUnitMMFVidClient::ENotSurfaceMode);
+ CTestStepVidPlayerOpenUrl(TInt aUseSurface);
+ ~CTestStepVidPlayerOpenUrl();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ void OpenUrlAndStartSchedulerL();
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Open Url via uri tag
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerOpenviaUriTag : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerOpenviaUriTag* NewL();
+ CTestStepVidPlayerOpenviaUriTag();
+ ~CTestStepVidPlayerOpenviaUriTag();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ void OpenUrlAndStartSchedulerL();
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Open Url while media client video uses try next controller
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerOpenTryNextCtrl : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerOpenTryNextCtrl* NewL();
+ CTestStepVidPlayerOpenTryNextCtrl();
+ ~CTestStepVidPlayerOpenTryNextCtrl();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ void OpenUrlAndStartSchedulerL();
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Open File Specific Controller Uid
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerOpenFileCtrlUid : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ enum TOpenMethod
+ {
+ EFileName,
+ EFileHandle,
+ EDescriptor,
+ EUrl,
+ };
+ static CTestStepVidPlayerOpenFileCtrlUid* NewL(TInt aUseFileHandle,
+ TInt aSurfaceMode = CTestStepUnitMMFVidClient::ENotSurfaceMode);
+ CTestStepVidPlayerOpenFileCtrlUid(TInt aUseFileHandle, TInt aSurfaceMode);
+ ~CTestStepVidPlayerOpenFileCtrlUid();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ void OpenFileAndStartSchedulerL();
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TInt iUseFileHandle;
+ TInt iSurfaceMode;
+ RBuf8 iBuf;
+ };
+
+/**
+ *
+ * Close
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerClose : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerClose* NewL();
+ CTestStepVidPlayerClose();
+ ~CTestStepVidPlayerClose();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Play
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerPlay : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerPlay* NewL();
+ CTestStepVidPlayerPlay();
+ ~CTestStepVidPlayerPlay();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+/**
+ *
+ * Stop
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerStop : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerStop* NewL();
+ CTestStepVidPlayerStop();
+ ~CTestStepVidPlayerStop();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Pause
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerPause : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerPause* NewL();
+ CTestStepVidPlayerPause();
+ ~CTestStepVidPlayerPause();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+private:
+ void OpenAndStartSchedulerL();
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get/Set Priority
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerPriority : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it here?
+ {
+public:
+ static CTestStepVidPlayerPriority* NewL();
+ CTestStepVidPlayerPriority();
+ ~CTestStepVidPlayerPriority();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Set Display Window
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ */
+class CTestStepVidPlayerSetDisplayWindow : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerSetDisplayWindow* NewL(TBool aUseSurface,
+ TInt aStatus = CTestStepUnitMMFVidClient::ENotSurfaceMode);
+ CTestStepVidPlayerSetDisplayWindow(TBool aUseSurface, TInt aStatus);
+ ~CTestStepVidPlayerSetDisplayWindow();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Player Restart
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerRestart : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerRestart* NewL();
+ CTestStepVidPlayerRestart();
+ ~CTestStepVidPlayerRestart();
+ TVerdict DoTestStepPreambleL();
+ TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+ virtual void Close();
+
+ // from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get Frame
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerGetFrame : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerGetFrame* NewL(TBool aUseIntentAPI);
+
+ ~CTestStepVidPlayerGetFrame();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+protected:
+ CTestStepVidPlayerGetFrame(TBool aUseIntentAPI);
+
+private:
+ TBool iUseIntentAPI;
+ TInt iError;
+ TInt iError2;
+ TMMFEvent iEvent;
+ CFbsBitmap iFrame;
+ };
+
+/**
+ *
+ * Get Frame Rate
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerGetFrameRate : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerGetFrameRate* NewL();
+ CTestStepVidPlayerGetFrameRate();
+ ~CTestStepVidPlayerGetFrameRate();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get Video frame size
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerGetVFrameSize : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerGetVFrameSize* NewL();
+ CTestStepVidPlayerGetVFrameSize();
+ ~CTestStepVidPlayerGetVFrameSize();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get Video bit rate
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerGetVBitRate : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerGetVBitRate* NewL();
+ CTestStepVidPlayerGetVBitRate();
+ ~CTestStepVidPlayerGetVBitRate();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get Audio bit rate
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerGetABitRate : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerGetABitRate* NewL();
+ CTestStepVidPlayerGetABitRate();
+ ~CTestStepVidPlayerGetABitRate();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get Audio enabled
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerAudEnabled : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerAudEnabled* NewL();
+ CTestStepVidPlayerAudEnabled();
+ ~CTestStepVidPlayerAudEnabled();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get position in the clip
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerClipPosition : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerClipPosition* NewL();
+ CTestStepVidPlayerClipPosition();
+ ~CTestStepVidPlayerClipPosition();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get duration of the clip
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerDuration : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerDuration* NewL();
+ CTestStepVidPlayerDuration();
+ ~CTestStepVidPlayerDuration();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get video type
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerVideoType : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerVideoType* NewL();
+ CTestStepVidPlayerVideoType();
+ ~CTestStepVidPlayerVideoType();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get audio type
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerAudioType : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerAudioType* NewL();
+ CTestStepVidPlayerAudioType();
+ ~CTestStepVidPlayerAudioType();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Volume functions
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerVol : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerVol* NewL();
+ CTestStepVidPlayerVol();
+ ~CTestStepVidPlayerVol();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Set/Get balance functions
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerBalance : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerBalance* NewL();
+ CTestStepVidPlayerBalance();
+ ~CTestStepVidPlayerBalance();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Metadata functions
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerMeta : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerMeta* NewL();
+ CTestStepVidPlayerMeta();
+ ~CTestStepVidPlayerMeta();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+
+
+
+/**
+ *
+ * PlayWindow
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerPlayWindow : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerPlayWindow* NewL();
+ CTestStepVidPlayerPlayWindow();
+ ~CTestStepVidPlayerPlayWindow();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+/**
+ *
+ * GetImplementationInfo
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerGetImplementationInfo : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerGetImplementationInfo* NewL();
+ CTestStepVidPlayerGetImplementationInfo();
+ ~CTestStepVidPlayerGetImplementationInfo();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+/**
+ *
+ * RefreshFrame
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerRefreshFrame : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerRefreshFrame* NewL();
+ CTestStepVidPlayerRefreshFrame();
+ ~CTestStepVidPlayerRefreshFrame();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+/**
+ *
+ * SendCustomCommandSync
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerSendCustomCommandSync : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerSendCustomCommandSync* NewL();
+ CTestStepVidPlayerSendCustomCommandSync();
+ ~CTestStepVidPlayerSendCustomCommandSync();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+/**
+ *
+ * SendCustomCommandAsync
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerSendCustomCommandAsync : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerSendCustomCommandAsync* NewL();
+ CTestStepVidPlayerSendCustomCommandAsync();
+ ~CTestStepVidPlayerSendCustomCommandAsync();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+ class CAsyncObserver : public CActive
+ {
+ public:
+ CAsyncObserver() : CActive(EPriorityStandard) {CActiveScheduler::Add(this);}
+ void RunL()
+ {
+ CActiveScheduler::Stop();
+ }
+ void DoCancel(){;}
+ TRequestStatus& ActiveStatus(){SetActive();return iStatus;}
+ };
+
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ CAsyncObserver* iAsyncObserver;
+ TMMFMessageDestinationPckg iDestinationPckg;
+ };
+
+/**
+ *
+ * CTestStepVidPlayerGeneralEvent
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerGeneralEvent : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerGeneralEvent* NewL();
+ CTestStepVidPlayerGeneralEvent();
+ ~CTestStepVidPlayerGeneralEvent();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TBool iCorrectEventReceived;
+ TBool iEventReceived;
+ TInt iError;
+ };
+
+/**
+ *
+ * CTestStepVidPlayerReloadingTest
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerReloadingTest : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver,
+ public MVideoLoadingObserver
+ {
+public:
+ static CTestStepVidPlayerReloadingTest* NewL();
+ CTestStepVidPlayerReloadingTest();
+ ~CTestStepVidPlayerReloadingTest();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+ //from MVideoLoadingObserver
+ virtual void MvloLoadingStarted();
+ virtual void MvloLoadingComplete();
+
+private:
+ TBool iCorrectEventReceived;
+ TBool iEventReceived;
+ TBool iLoadingComplete;
+ TBool iLoadingStarted;
+ TInt iError;
+ };
+
+/**
+ *
+ * Test Get/SetRotation methods
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerRotation : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerRotation* NewL();
+ CTestStepVidPlayerRotation();
+ ~CTestStepVidPlayerRotation();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+
+/**
+ *
+ * Test Get/SetScaleFactor methods
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerScale : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerScale* NewL();
+ CTestStepVidPlayerScale();
+ ~CTestStepVidPlayerScale();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+/**
+ *
+ * Test Get/SetCropRegion methods
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerCropRegion : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerCropRegion* NewL();
+ CTestStepVidPlayerCropRegion();
+ ~CTestStepVidPlayerCropRegion();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+/**
+ *
+ * PlayPause
+ *
+ * INC041303 - PSS - PlaybackComplete problem in MMF Framework
+ * This checks to see whether we get the MvpuoPlayComplete() callback
+ * in the paused state: It relies on the test controller
+ * doing nothing much when it gets a Pause command.
+ *
+ */
+class CTestStepVidPlayerPlayPause : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerPlayPause* NewL();
+ CTestStepVidPlayerPlayPause();
+ ~CTestStepVidPlayerPlayPause();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+/**
+ *
+ * Open and play a protected video clip from file using PLAY intent.
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerDrm : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ enum TState
+ {
+ EOpen,
+ EPrepare,
+ EPlay,
+ EStop
+ };
+
+ enum TTest
+ {
+ EProtectedPlayIntent,
+ EProtectedUnknownIntent,
+ EProtectedPlayNoRights
+ };
+
+ enum TSource
+ {
+ EFileSource,
+ EFileHandleSource
+ };
+
+public:
+ static CTestStepVidPlayerDrm* NewL(const TDesC& aTestName, TSource aSource, TTest aTest);
+ static CTestStepVidPlayerDrm* NewAllocTestL(const TDesC& aTestName, TSource aSource, TTest aTest);
+ ~CTestStepVidPlayerDrm();
+ TVerdict DoTestStepPreambleL();
+ TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ CTestStepVidPlayerDrm(const TDesC& aTestName, TSource aSource, TTest aTest, TBool aDoAllocTest);
+ TVerdict GetConfig();
+ TInt OpenFile();
+ void CheckVerdict(const TDesC& aName);
+ void RunStepL();
+ void NextState();
+
+ TVerdict DoTestStepAllocL();
+
+private:
+ TInt iError;
+ TState iState;
+ TTest iTest;
+ TSource iSource;
+ RFile iFile;
+ RFs iFs;
+
+ TBool iDoAllocTest;
+ };
+
+/**
+ *
+ * Player stop and start Direct Screen Access
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerStopStartDSA : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerStopStartDSA* NewL(TInt aSurfaceMode = CTestStepUnitMMFVidClient::ENotSurfaceMode);
+ CTestStepVidPlayerStopStartDSA(TInt aSurfaceMode);
+ ~CTestStepVidPlayerStopStartDSA();
+ TVerdict DoTestStepPreambleL();
+ TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+ virtual void Close();
+
+ // from MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ };
+
+/**
+ *
+ * Test case for DEF081389,DEF082497,DEF085513
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerOpenDurationCustomCommand : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerOpenDurationCustomCommand* NewL();
+ CTestStepVidPlayerOpenDurationCustomCommand();
+ ~CTestStepVidPlayerOpenDurationCustomCommand ();
+ TVerdict DoTestStepPreambleL();
+ TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+private:
+ void OpenUrlAndStartSchedulerL();
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+
+/**
+ *
+ * CheckImplementationInfo
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidPlayerCheckImplementationInfo : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerCheckImplementationInfo* NewL();
+ CTestStepVidPlayerCheckImplementationInfo();
+ ~CTestStepVidPlayerCheckImplementationInfo();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+/**
+ *
+ * Test case for DEF092672
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ *
+ */
+class CTestStepVideoInterruptionByAudio : public CTestStepUnitMMFVidClient,
+ public MMdaAudioOutputStreamCallback,
+ public MVideoPlayerUtilityObserver
+ {
+ enum TEvents
+ {
+ EAudioOpenComplete,
+ EAudioPlayComplete,
+ EVideoOpenComplete,
+ EVideoPrepareComplete,
+ EVideoFrameReady,
+ EVideoPlayComplete
+ };
+public:
+ static CTestStepVideoInterruptionByAudio* NewL();
+ virtual TVerdict DoTestStepPreambleL();
+ virtual TVerdict DoTestStepPostambleL();
+ TVerdict DoTestStepL();
+ void Tester(TEvents aEvent, TInt aError);
+
+ //MMdaAudioOutputStreamCallback
+ virtual void MaoscOpenComplete(TInt aError);
+ virtual void MaoscBufferCopied(TInt aError, const TDesC8& aBuffer);
+ virtual void MaoscPlayComplete(TInt aError);
+
+ //MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame,TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+ void OnTimer();
+ void FailTest();
+protected:
+ CTestStepVideoInterruptionByAudio();
+protected:
+ CMdaAudioOutputStream* iAudStreamA;
+ CVideoPlayerUtility* iPlayer;
+ RBuf8 iBuffer;
+ TBool iVidGotKErrInUse; //if video got KErrInUse in MvpuoPlayComplete()
+ TTime iPlayStartTime;
+ TTime iPlayEndTime;
+ TTimeIntervalMicroSeconds iPlayTime;
+ class CTestTimer : public CTimer
+ {
+ public:
+ static CTestTimer* NewL(CTestStepVideoInterruptionByAudio& aTestStep)
+ {
+ CTestTimer* self = new(ELeave)CTestTimer(aTestStep);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop();
+ return self;
+ }
+ CTestTimer(CTestStepVideoInterruptionByAudio& aTestStep):CTimer(EPriorityLow),iContainer(aTestStep)
+ {
+ CActiveScheduler::Add(this);
+ }
+ protected:
+ void RunL()
+ {
+ iContainer.OnTimer();
+ }
+ private:
+ CTestStepVideoInterruptionByAudio& iContainer;
+ };
+ CTestTimer* iTestTimer;
+ };
+/**
+ * Observer class to identify and pass events to the test step class
+ *
+ * @class MTestArnCallback
+ *
+ */
+class CTestGenericArnCallback;
+class MTestArnCallback
+ {
+public:
+ virtual void MarncResourceAvailableTest(TUid aNotificationEventId, const TDesC8& aNotificationData, CTestGenericArnCallback & aGenericArnCallback) = 0;
+ };
+
+/**
+ * Support class to identify, which client has obtained ARN - when multiple clients have registered for ARN
+ *
+ * @class CTestGenericArnCallback
+ *
+ */
+class CTestGenericArnCallback : public CBase, public MMMFAudioResourceNotificationCallback
+ {
+public:
+ static CTestGenericArnCallback* NewL(MTestArnCallback& aCallback);
+ //MMMFAudioResourceNotificationCallback
+ virtual void MarncResourceAvailable(TUid aNotificationEventId, const TDesC8& aNotificationData);
+protected:
+ CTestGenericArnCallback(MTestArnCallback& aCallback);
+private :
+ MTestArnCallback& iCallback;
+ };
+
+class CTestGenericAosCallback;
+class MTestAosCallback
+ {
+public:
+ virtual void MaoscOpenCompleteTest(TInt aError,CTestGenericAosCallback& aGenericAosCallback) = 0;
+ virtual void MaoscBufferCopiedTest(TInt aError, const TDesC8& aBuffer,CTestGenericAosCallback& aGenericAosCallback) = 0;
+ virtual void MaoscPlayCompleteTest(TInt aError,CTestGenericAosCallback& aGenericAosCallback) = 0;
+ };
+
+class CTestGenericAosCallback : public MMdaAudioOutputStreamCallback
+ {
+public:
+ static CTestGenericAosCallback* NewL(MTestAosCallback& aCallback);
+ //MMdaAudioOutputStreamCallback
+ virtual void MaoscOpenComplete(TInt aError);
+ virtual void MaoscBufferCopied(TInt aError, const TDesC8& aBuffer);
+ virtual void MaoscPlayComplete(TInt aError);
+protected:
+ CTestGenericAosCallback(MTestAosCallback& aCallback);
+private:
+ MTestAosCallback& iCallback;
+ };
+
+/**
+ * Check audio resource notification ARN functionality
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ */
+class CTestStepVidPlayerARN : public CTestStep,
+ public MVideoPlayerUtilityObserver,
+ public MTestArnCallback,
+ public MTestAosCallback
+ {
+public:
+ enum TClient //enumeration of clients
+ {
+ ETestStep,//represents test step
+ EAudioStreamA, //audio stream A (low priority)
+ EAudioStreamB, //audio stream B (high priority)
+ EVideo //video player
+ };
+
+ enum TTestEvent //enumeration of events
+ {
+ ETestStart,
+ EAudioOpenComplete,
+ EAudioBufferCopied,
+ EAudioPlayComplete,
+ EArnAvailable, //audio resource available
+ EVideoOpenComplete,
+ EVideoPrepareComplete,
+ EVideoFrameReady,
+ EVideoPlayComplete,
+ };
+ /*
+ * Represents a transition set. This contains Client, event and error.
+ */
+ class CTransitionInput: public CBase
+ {
+ public:
+ CTransitionInput():iMatched(EFalse),iIgnoreError(EFalse)
+ {
+ }
+ CTransitionInput(TClient aClient, TTestEvent aEvent, TInt aError):
+ iClient(aClient), iEvent(aEvent), iError(aError)
+ {
+ }
+ void SetData(TClient aClient, TTestEvent aEvent, TInt aError)
+ {
+ iClient = aClient;
+ iEvent = aEvent;
+ iError = aError;
+ }
+
+ TClient iClient;
+ TTestEvent iEvent;
+ TInt iError;
+
+ TBool iMatched; //whether match is donne for client, event, error.
+ TBool iIgnoreError;
+ };
+
+public:
+ ~CTestStepVidPlayerARN();
+ virtual TVerdict DoTestStepPreambleL();
+ virtual TVerdict DoTestStepPostambleL();
+
+ //MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame,TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+ //MTestArnCallback
+ virtual void MarncResourceAvailableTest(TUid aNotificationEventId, const TDesC8& aNotificationData, CTestGenericArnCallback & aGenericArnCallback) = 0;
+
+ //MTestAosCallback
+ virtual void MaoscOpenCompleteTest(TInt aError,CTestGenericAosCallback& aGenericAosCallback);
+ virtual void MaoscBufferCopiedTest(TInt aError, const TDesC8& aBuffer,CTestGenericAosCallback& aGenericAosCallback);
+ virtual void MaoscPlayCompleteTest(TInt aError,CTestGenericAosCallback& aGenericAosCallback);
+
+ virtual void EndTest() = 0;
+ void FailTest();
+
+ virtual TBool JumpStateIfRequired(TClient aClient, TTestEvent aEvent, TInt aError,TInt& aState) = 0;
+ virtual TBool NextState(TInt& aState) = 0;
+ virtual TInt AnalyseInput(TClient aClient, TTestEvent aEvent, TInt aError); //-1 endtest; 0 continue in current state; 1 new state
+ virtual void OnStateEntry() = 0; //on entering new state
+ virtual void Fsm(TClient aClient, TTestEvent aEvent, TInt aError);
+protected:
+ CTestStepVidPlayerARN();
+ void InitWservL();
+ void DeInitWserv();
+
+protected:
+ RBuf8 iBuffer;
+ CMdaAudioOutputStream* iAudStreamA;
+ CMdaAudioOutputStream* iAudStreamB;
+ CVideoPlayerUtility* iPlayer;
+ TPtrC iFileName;
+ CTestGenericArnCallback* iAudClientAArnCallback; //ARN callback for audio clientA
+ CTestGenericArnCallback* iAudClientBArnCallback; //ARN callback for audio clientB
+ CTestGenericArnCallback* iVidClientArnCallback; //ARN callback for video client
+
+ CTestGenericAosCallback* iAudStreamACallback; //Audio output stream callback for - audio stream A
+ CTestGenericAosCallback* iAudStreamBCallback; //Audio output stream callback for - audio stream B
+
+ class CTestTimer : public CTimer
+ {
+ public:
+ static CTestTimer* NewL(CTestStepVidPlayerARN& aTestStepVidPlayer)
+ {
+ CTestTimer* self = new(ELeave)CTestTimer(aTestStepVidPlayer);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop();
+ return self;
+ }
+ CTestTimer(CTestStepVidPlayerARN& aTestStepVidPlayer):CTimer(EPriorityStandard),iContainer(aTestStepVidPlayer)
+ {
+ CActiveScheduler::Add(this);
+ }
+ protected:
+ void RunL()
+ {
+ iContainer.EndTest();
+ }
+ private:
+ CTestStepVidPlayerARN& iContainer;
+ };
+ CTestTimer* iTestTimer;
+ CActiveScheduler* iActiveScheduler;
+ CWsScreenDevice* iScreen;
+ RWindow* iWindow;
+ RWsSession iWs;
+ RWindowGroup iRootWindow;
+
+ TFixedArray<CTransitionInput*, 15> ipTransitionSet; //for maximum 15 states
+ TFixedArray<TInt, 15> iExpInputCnt; //expected input events count
+ TFixedArray<TInt, 15> iRxInputCnt; //received input events count
+ TInt iCurrentState;
+ TBool iVideoOpen;
+ };
+
+
+class CTestStepVidPlayerARN0700 : public CTestStepVidPlayerARN
+ {
+ enum TState
+ {
+ EPreStart,
+ EStart, //starting state; on-state-entry, open the video
+ EVideoOpen, //video opened; on-state-entry, prepare video
+ EVideoPrepare,//video prepared;
+ // on-state-entry, register video for Arn and play; then open stream-B
+ EVideoPlayingAudBOpen,//video registered and playing and audio stream-B opened;
+ // on-state-entry write to audio stream-B
+ EVideoInterrupted, //audio component of video interrupted on starting audio stream-B;
+ // on-state-entry do nothing.
+ ETestEnd //on-state-entry end the test with pass.
+ };
+public:
+ static CTestStepVidPlayerARN0700* NewL();
+ ~CTestStepVidPlayerARN0700();
+ void InitTransitionSetL();
+ virtual TVerdict DoTestStepPreambleL();
+ virtual TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //MTestArnCallback
+ virtual void MarncResourceAvailableTest(TUid aNotificationEventId, const TDesC8& aNotificationData, CTestGenericArnCallback & aGenericArnCallback);
+
+ virtual void EndTest();
+ TBool JumpStateIfRequired(TClient aClient, TTestEvent aEvent, TInt aError,TInt& aState);
+ TBool NextState(TInt& aState);
+ void OnStateEntry(); //on entering new state
+protected:
+ CTestStepVidPlayerARN0700();
+ };
+
+class CTestStepVidPlayerARN0701 : public CTestStepVidPlayerARN
+ {
+ //states
+ enum TState
+ {
+ EPreStart,
+ EStart, //starting state; on-state-entry, open the video
+ EVideoOpen, //video opened; on-state-entry, prepare video
+ EVideoPrepare,//video prepared; on-state-entry, register video for Arn and open audio stream-B
+ EVideoRegisterAudBOpen,//video registered and audio stream-B opened;
+ //on-state-entry play video;cancel Audio registration on Video; and write to audio stream-B
+ //video play interrupted on starting audio stream-B
+ EVideoInterrupted, //video play interrupted state; on-state-entry don't do anything
+ EFailureOnNotification //failure as video gets notification
+ };
+public:
+ static CTestStepVidPlayerARN0701* NewL();
+ ~CTestStepVidPlayerARN0701();
+ void InitTransitionSetL();
+ virtual TVerdict DoTestStepPreambleL();
+ virtual TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //MTestArnCallback
+ virtual void MarncResourceAvailableTest(TUid aNotificationEventId, const TDesC8& aNotificationData, CTestGenericArnCallback & aGenericArnCallback);
+
+ virtual void EndTest();
+
+ TBool JumpStateIfRequired(TClient aClient, TTestEvent aEvent, TInt aError,TInt& aState);
+ TBool NextState(TInt& aState);
+ void OnStateEntry(); //on entering new state
+protected:
+ CTestStepVidPlayerARN0701();
+private:
+ TBool iTestSimulationComplete;
+ };
+
+class CTestStepVidPlayerARN0702 : public CTestStepVidPlayerARN
+ {
+ enum TState
+ {
+ EPreStart,
+ EStart, //starting state; on-state-entry, open the video
+ EVideoOpen, //video opened; on-state-entry, prepare video
+ EVideoPrepare,//video prepared;
+ //on-state-entry,open and register audio streams A and B
+ EAudABOpenRegister,//audio streams A and B opened and registered.
+ //on-state-entry play video and start streams A and B
+ EVideoAudAThrownoff, //video and stream A were thrownoff by stream B;
+ //on-state-entry register for notification on Video.
+ EVideoNotified, //video got audio resource notification; on-state-entry Video->WillResumePlay()
+ EFailureOnAudioANotification
+ };
+public:
+ static CTestStepVidPlayerARN0702* NewL();
+ void InitTransitionSetL();
+ ~CTestStepVidPlayerARN0702();
+ virtual TVerdict DoTestStepPreambleL();
+ virtual TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //MTestArnCallback
+ virtual void MarncResourceAvailableTest(TUid aNotificationEventId, const TDesC8& aNotificationData, CTestGenericArnCallback & aGenericArnCallback);
+
+ virtual void EndTest();
+
+ TBool JumpStateIfRequired(TClient aClient, TTestEvent aEvent, TInt aError,TInt& aState);
+ TBool NextState(TInt& aState);
+ void OnStateEntry(); //on entering new state
+protected:
+ CTestStepVidPlayerARN0702();
+private:
+ TBool iAudStreamANotified;
+ };
+
+class CTestStepVidPlayerARN0703 : public CTestStepVidPlayerARN
+ {
+ //states
+ enum TState
+ {
+ EPreStart,
+ EStart, //starting state; on-state-entry, open the video
+ EVideoOpen, //video opened; on-state-entry, prepare video
+ EVideoPrepare,//video prepared; on-state-entry, register video for audio resource
+ };
+public:
+ static CTestStepVidPlayerARN0703* NewL();
+ void InitTransitionSetL();
+ ~CTestStepVidPlayerARN0703();
+ virtual TVerdict DoTestStepPreambleL();
+ virtual TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //MTestArnCallback
+ virtual void MarncResourceAvailableTest(TUid aNotificationEventId, const TDesC8& aNotificationData, CTestGenericArnCallback & aGenericArnCallback);
+
+ virtual void EndTest();
+
+ TBool JumpStateIfRequired(TClient aClient, TTestEvent aEvent, TInt aError,TInt& aState);
+ TBool NextState(TInt& aState);
+ void OnStateEntry(); //on entering new state
+protected:
+ CTestStepVidPlayerARN0703();
+ };
+
+/**
+ *
+ * Try to getting the audio type which is not there in the provided file.
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ */
+class CTestStepVidOnlyPlayerNoAudioType : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidOnlyPlayerNoAudioType* NewL();
+ CTestStepVidOnlyPlayerNoAudioType();
+ ~CTestStepVidOnlyPlayerNoAudioType();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+NONSHARABLE_CLASS(CTestStepINC122181) : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepINC122181* NewL();
+
+ ~CTestStepINC122181();
+ TVerdict DoTestStepPreambleL();
+ TVerdict DoTestStepPostambleL();
+ TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ CTestStepINC122181();
+
+private:
+ TInt iError;
+ TInt iError2;
+
+ };
+
+#ifdef SYMBIAN_BUILD_GCE
+//
+// graphics surface use test cases
+//
+/**
+ *
+ * AddDisplayWindowL
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ */
+class CTestStepVidPlayerAddDisplayWindow : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerAddDisplayWindow* NewL(TBool aSimplifiedVer, TInt aError, TBool aSameWindow = ETrue);
+ CTestStepVidPlayerAddDisplayWindow(TBool aSimplifiedVer, TInt aError, TBool aSameWindow);
+ ~CTestStepVidPlayerAddDisplayWindow();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+ void OnTimer();
+private:
+ class CTestTimer : public CTimer
+ {
+ public:
+ static CTestTimer* NewL(CTestStepVidPlayerAddDisplayWindow& aTestStepVidPlayer);
+ CTestTimer(CTestStepVidPlayerAddDisplayWindow& aTestStepVidPlayer):CTimer(EPriorityStandard),iContainer(aTestStepVidPlayer)
+ {
+ CActiveScheduler::Add(this);
+ }
+ protected:
+ void RunL()
+ {
+ iContainer.OnTimer();
+ }
+ private:
+ CTestStepVidPlayerAddDisplayWindow& iContainer;
+ };
+
+ TBool TestSetVideoExtentL();
+ TBool TestSetGetRotationL();
+ TBool TestSetGetWindowClipRectL();
+ TBool TestSetGetScaleFactorL();
+ TBool TestSetGetCropRegionL();
+ TInt SendCustomCommandSync(TMMFMessageDestinationPckg aDestPckg, TInt aFunction);
+private:
+ CTestTimer* iTestTimer;
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iSimplifiedVer;
+ TBool iSameWindow;
+ TInt iExpectedError;
+ TInt iDisplayId;
+ TBool iSurfaceCreated;
+ TBool iDisplayUpdated;
+ };
+
+/**
+ *
+ * Set Init Screen Number
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ */
+class CTestStepVidPlayerSetInitScreenNumber : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerSetInitScreenNumber* NewL(TBool aUseSurface);
+ CTestStepVidPlayerSetInitScreenNumber(TBool aUseSurface);
+ ~CTestStepVidPlayerSetInitScreenNumber();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * RemoveDisplayWindowL
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ */
+class CTestStepVidPlayerRemoveDisplayWindow : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerRemoveDisplayWindow* NewL(TBool aPositive);
+ CTestStepVidPlayerRemoveDisplayWindow(TBool aPositive);
+ ~CTestStepVidPlayerRemoveDisplayWindow();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iPositive;
+ };
+
+class CTestStepVidPlayerSetWindowClipRect : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerSetWindowClipRect* NewL(TInt aExpected);
+ CTestStepVidPlayerSetWindowClipRect(TInt aExpected);
+ ~CTestStepVidPlayerSetWindowClipRect();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TInt iExpected;
+ };
+
+class CTestStepVidPlayerSetVideoExtent : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerSetVideoExtent* NewL(TInt aExpected);
+ CTestStepVidPlayerSetVideoExtent(TInt aExpected);
+ ~CTestStepVidPlayerSetVideoExtent();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TInt iExpected;
+ };
+
+/**
+ *
+ * Send events for replace sequence 1 - Create Surface, Parameter Changed, Remove Surface, Create Surface
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ */
+class CTestStepVidPlayerReplaceSurfaceSequence1 : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerReplaceSurfaceSequence1* NewL();
+ CTestStepVidPlayerReplaceSurfaceSequence1();
+ ~CTestStepVidPlayerReplaceSurfaceSequence1();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+ void OnTimer();
+private:
+ class CTestTimer : public CTimer
+ {
+ public:
+ static CTestTimer* NewL(CTestStepVidPlayerReplaceSurfaceSequence1& aTestStepVidPlayer);
+ CTestTimer(CTestStepVidPlayerReplaceSurfaceSequence1& aTestStepVidPlayer):CTimer(EPriorityStandard),iContainer(aTestStepVidPlayer)
+ {
+ CActiveScheduler::Add(this);
+ }
+ protected:
+ void RunL()
+ {
+ iContainer.OnTimer();
+ }
+ private:
+ CTestStepVidPlayerReplaceSurfaceSequence1& iContainer;
+ };
+ CTestTimer* iTestTimer;
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Send events for replace sequence 2 - Create Surface, Parameter Changed, Create Surface
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ */
+class CTestStepVidPlayerReplaceSurfaceSequence2 : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerReplaceSurfaceSequence2* NewL();
+ CTestStepVidPlayerReplaceSurfaceSequence2();
+ ~CTestStepVidPlayerReplaceSurfaceSequence2();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+ void OnTimer();
+private:
+ class CTestTimer : public CTimer
+ {
+ public:
+ static CTestTimer* NewL(CTestStepVidPlayerReplaceSurfaceSequence2& aTestStepVidPlayer);
+ CTestTimer(CTestStepVidPlayerReplaceSurfaceSequence2& aTestStepVidPlayer):CTimer(EPriorityStandard),iContainer(aTestStepVidPlayer)
+ {
+ CActiveScheduler::Add(this);
+ }
+ protected:
+ void RunL()
+ {
+ iContainer.OnTimer();
+ }
+ private:
+ CTestStepVidPlayerReplaceSurfaceSequence2& iContainer;
+ };
+ CTestTimer* iTestTimer;
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+class CTestStepVidPlayerAutoScale : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerAutoScale* NewL(const TDesC& aTestName);
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+private:
+ CTestStepVidPlayerAutoScale(const TDesC& aTestName);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+#endif // SYMBIAN_BUILD_GCE
+
+#endif // TEST_STEP_VID_PLAYER
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/inc/TestStepVidRecorder.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,1185 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains testing steps for the Unit
+// test of the MMF Video Clients.
+// Tests exercise all exposed memeber functions
+//
+//
+
+
+#ifndef __TEST_STEP_VID_RECORDER__
+#define __TEST_STEP_VID_RECORDER__
+
+ #include <ecam.h>
+ #include <mdaaudiosampleplayer.h>
+
+/**
+ *
+ * Test New Recorder utility
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderNew : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it really usefull?
+ {
+public:
+ static CTestStepVidRecorderNew* NewL();
+ CTestStepVidRecorderNew();
+ ~CTestStepVidRecorderNew();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+protected:
+ TInt iError;
+ };
+
+
+class CTestStepAllocFailVidRecorderNew : public CTestStepVidRecorderNew
+ {
+public:
+ CTestStepAllocFailVidRecorderNew();
+ static CTestStepAllocFailVidRecorderNew* NewL();
+ virtual TVerdict DoTestStepL();
+ };
+
+/**
+ *
+ * Initialise Priority Preference
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderNewPriorPref : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderNewPriorPref* NewL();
+ CTestStepVidRecorderNewPriorPref();
+ ~CTestStepVidRecorderNewPriorPref();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TMMFPrioritySettings iPrioritySettings;
+ };
+
+/**
+ *
+ * Open File
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderOpenFile :public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderOpenFile* NewL(TBool aUseFileHandle);
+ CTestStepVidRecorderOpenFile(TBool aUseFileHandle);
+ ~CTestStepVidRecorderOpenFile();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+protected:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iUseFileHandle;
+ };
+
+class CTestStepAllocFailVidRecorderOpenFile : public CTestStepVidRecorderOpenFile
+ {
+public:
+ static CTestStepAllocFailVidRecorderOpenFile* NewL(TBool aUseFileHandle);
+ virtual TVerdict DoTestStepL();
+
+protected:
+ CTestStepAllocFailVidRecorderOpenFile(TBool aUseFileHandle);
+ };
+
+
+
+/**
+ *
+ * Open Desc
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderOpenDesc : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderOpenDesc* NewL();
+ CTestStepVidRecorderOpenDesc();
+ ~CTestStepVidRecorderOpenDesc();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+protected:
+ void OpenDescAndStartSchedulerL();
+
+ TInt iError;
+ TMMFEvent iEvent;
+ HBufC8* iBuf;
+ };
+
+class CTestStepAllocFailVidRecorderOpenDesc : public CTestStepVidRecorderOpenDesc
+ {
+public:
+ CTestStepAllocFailVidRecorderOpenDesc();
+ static CTestStepAllocFailVidRecorderOpenDesc* NewL();
+ virtual TVerdict DoTestStepL();
+ };
+
+/**
+ *
+ * Open Url
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderOpenUrl : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderOpenUrl* NewL();
+ CTestStepVidRecorderOpenUrl();
+ ~CTestStepVidRecorderOpenUrl();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+protected:
+ void OpenUrlAndStartSchedulerL();
+
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+
+class CTestStepAllocFailVidRecorderOpenUrl : public CTestStepVidRecorderOpenUrl
+ {
+public:
+ CTestStepAllocFailVidRecorderOpenUrl();
+ static CTestStepAllocFailVidRecorderOpenUrl* NewL();
+ virtual TVerdict DoTestStepL();
+ };
+
+/**
+ *
+ * Open File Specific Controller Uid
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderOpenFileCtrlUid : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderOpenFileCtrlUid* NewL(TBool aUseFileHandle);
+ CTestStepVidRecorderOpenFileCtrlUid(TBool aUseFileHandle);
+ ~CTestStepVidRecorderOpenFileCtrlUid();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+protected:
+ void OpenFileAndStartSchedulerL();
+
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iUseFileHandle;
+ };
+
+class CTestStepAllocFailVidRecorderOpenFileCtrlUid : public CTestStepVidRecorderOpenFileCtrlUid
+ {
+public:
+ CTestStepAllocFailVidRecorderOpenFileCtrlUid(TBool aUseFileHandle);
+ static CTestStepAllocFailVidRecorderOpenFileCtrlUid* NewL(TBool aUseFileHandle);
+ virtual TVerdict DoTestStepL();
+ };
+
+/**
+ *
+ * Prepare
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderPrepare : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ {
+public:
+ static CTestStepVidRecorderPrepare* NewL();
+ CTestStepVidRecorderPrepare();
+ ~CTestStepVidRecorderPrepare();
+ TVerdict DoTestStepPreambleL();
+ TVerdict DoTestStepPostambleL();
+ TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+
+/**
+ *
+ * Close
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderClose : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderClose* NewL();
+ CTestStepVidRecorderClose();
+ ~CTestStepVidRecorderClose();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+protected:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+
+
+/**
+ *
+ * Play
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderRecord : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderRecord* NewL();
+ CTestStepVidRecorderRecord();
+ ~CTestStepVidRecorderRecord();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasRecorded;
+ };
+
+/**
+ *
+ * Stop
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderStop :public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderStop* NewL();
+ CTestStepVidRecorderStop();
+ ~CTestStepVidRecorderStop();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Pause
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderPause : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderPause* NewL();
+ CTestStepVidRecorderPause();
+ ~CTestStepVidRecorderPause();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get/Set Priority
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderPriority : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderPriority* NewL();
+ CTestStepVidRecorderPriority();
+ ~CTestStepVidRecorderPriority();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get/Set Vid Frame Rate
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderVFrameRate : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderVFrameRate* NewL();
+ CTestStepVidRecorderVFrameRate();
+ ~CTestStepVidRecorderVFrameRate();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& /*aEvent*/);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get/Set Video frame size
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderVFrameSize : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderVFrameSize* NewL();
+ CTestStepVidRecorderVFrameSize();
+ ~CTestStepVidRecorderVFrameSize();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& /*aEvent*/);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get/Set Video bit rate
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderVBitRate : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderVBitRate* NewL();
+ CTestStepVidRecorderVBitRate();
+ ~CTestStepVidRecorderVBitRate();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& /*aEvent*/);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get/Set Audio bit rate
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderABitRate : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderABitRate* NewL();
+ CTestStepVidRecorderABitRate();
+ ~CTestStepVidRecorderABitRate();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& /*aEvent*/);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get/Set Audio enabled
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderAudEnabled : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderAudEnabled* NewL();
+ CTestStepVidRecorderAudEnabled();
+ ~CTestStepVidRecorderAudEnabled();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& /*aEvent*/);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+
+/**
+ *
+ * Get record time available
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderRecordTime : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderRecordTime* NewL();
+ CTestStepVidRecorderRecordTime();
+ ~CTestStepVidRecorderRecordTime();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& /*aEvent*/);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Get duration of the clip
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderDuration : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderDuration* NewL();
+ CTestStepVidRecorderDuration();
+ ~CTestStepVidRecorderDuration();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& /*aEvent*/);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Set Max Clip Size
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderMaxClipSize : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderMaxClipSize* NewL();
+ CTestStepVidRecorderMaxClipSize();
+ ~CTestStepVidRecorderMaxClipSize();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& /*aEvent*/);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Gain functions
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderGain : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderGain* NewL();
+ CTestStepVidRecorderGain();
+ ~CTestStepVidRecorderGain();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& /*aEvent*/);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Metadata functions
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderMeta : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderMeta* NewL();
+ CTestStepVidRecorderMeta();
+ ~CTestStepVidRecorderMeta();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& /*aEvent*/);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Set/Get audio codecs
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderAudioType : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderAudioType* NewL();
+ CTestStepVidRecorderAudioType();
+ ~CTestStepVidRecorderAudioType();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& /*aEvent*/);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Set video codecs
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderVideoType : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ //public MMMFControllerEventMonitorObserver // is it usefull here?
+ {
+public:
+ static CTestStepVidRecorderVideoType* NewL();
+ CTestStepVidRecorderVideoType();
+ ~CTestStepVidRecorderVideoType();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+ //from MMMFControllerEventMonitorObserver
+ //virtual void HandleEvent(const TMMFEvent& /*aEvent*/);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * Video recorder HandleEvent test
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderHandleEvent : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ {
+public:
+ static CTestStepVidRecorderHandleEvent* NewL();
+ CTestStepVidRecorderHandleEvent();
+ ~CTestStepVidRecorderHandleEvent();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ };
+
+/**
+ *
+ * GetImplementationInfo
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderGetImplementationInfo : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ {
+public:
+ static CTestStepVidRecorderGetImplementationInfo* NewL();
+ CTestStepVidRecorderGetImplementationInfo();
+ ~CTestStepVidRecorderGetImplementationInfo();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+/**
+ *
+ * SendCustomCommandSync
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderSendCustomCommandSync : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ {
+public:
+ static CTestStepVidRecorderSendCustomCommandSync* NewL();
+ CTestStepVidRecorderSendCustomCommandSync();
+ ~CTestStepVidRecorderSendCustomCommandSync();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+/**
+ *
+ * SendCustomCommandAsync
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderSendCustomCommandAsync : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ {
+public:
+ static CTestStepVidRecorderSendCustomCommandAsync* NewL();
+ CTestStepVidRecorderSendCustomCommandAsync();
+ ~CTestStepVidRecorderSendCustomCommandAsync();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+
+ class CAsyncObserver : public CActive
+ {
+ public:
+ CAsyncObserver() : CActive(EPriorityStandard) {CActiveScheduler::Add(this);}
+ void RunL()
+ {
+ CActiveScheduler::Stop();
+ }
+ void DoCancel(){;}
+ TRequestStatus& ActiveStatus(){SetActive();return iStatus;}
+ };
+
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ CAsyncObserver* iAsyncObserver;
+ TMMFMessageDestinationPckg iDestinationPckg;
+ };
+
+/**
+ *
+ * CTestStepVidRecorderGeneralEvent
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderGeneralEvent : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ {
+public:
+ static CTestStepVidRecorderGeneralEvent* NewL();
+ CTestStepVidRecorderGeneralEvent();
+ ~CTestStepVidRecorderGeneralEvent();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+
+private:
+ TBool iCorrectEventReceived;
+ TBool iEventReceived;
+ TInt iError;
+ };
+
+
+/**
+ *
+ * CheckImplementationInfo
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestStepVidRecorderCheckImplementationInfo : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver
+ {
+public:
+ static CTestStepVidRecorderCheckImplementationInfo* NewL();
+ CTestStepVidRecorderCheckImplementationInfo();
+ ~CTestStepVidRecorderCheckImplementationInfo();
+ enum TVerdict DoTestStepPreambleL();
+ enum TVerdict DoTestStepPostambleL();
+ virtual TVerdict DoTestStepL();
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+
+private:
+ TInt iError;
+ TMMFEvent iEvent;
+ TBool iHasPlayed;
+ };
+
+
+/*
+ */
+NONSHARABLE_CLASS(CTimedRecording) : public CTimer
+ {
+public:
+ // First phase Construction
+ CTimedRecording();
+ // Destruction
+ ~CTimedRecording();
+
+public:
+ // Static construction
+ static CTimedRecording* NewLC( TInt aTicksRequested, TInt aTicksInterval );
+ static CTimedRecording* NewL( TInt aTicksRequested, TInt aTicksInterval );
+
+public:
+ void IssueRequest(CVideoRecorderUtility* aRecorder, CMdaAudioPlayerUtility* aAudioPlayer);
+
+ void DoCancel();
+
+ void RunL();
+
+private:
+ // Second phase construction
+ void ConstructL( TInt aTicksRequested, TInt aSeconds );
+
+protected:
+ TInt iTicksRequested; // Total number of ticks CTimedRecording
+ TInt iSeconds; // Number of seconds between each tick.
+ TInt iTicksDone; // Number of ticks done so far.
+ CVideoRecorderUtility* iRecorder;
+ CMdaAudioPlayerUtility* iAudioPlayer;
+ };
+
+
+/*
+ */
+class CTestStepVidRecordError : public CTestStepUnitMMFVidClient,
+ public MVideoRecorderUtilityObserver,
+ public MCameraObserver2,
+ public MMdaAudioPlayerCallback
+ {
+public:
+ static CTestStepVidRecordError* NewL();
+ CTestStepVidRecordError();
+ ~CTestStepVidRecordError();
+ virtual TVerdict DoTestStepL();
+
+ // From CTestStepUnitMMFVidClient
+ void RecOpenAndStartSchedulerL();
+ enum TVerdict DoTestStepPreambleL(void);
+ enum TVerdict DoTestStepPostambleL(void);
+
+ //from MVideoRecorderUtilityObserver
+ virtual void MvruoOpenComplete(TInt aError);
+ virtual void MvruoPrepareComplete(TInt aError);
+ virtual void MvruoRecordComplete(TInt aError);
+ virtual void MvruoEvent(const TMMFEvent& aEvent);
+
+ // From MCameraObserver2
+ void HandleEvent(const TECAMEvent& aEvent);
+ void ViewFinderReady(MCameraBuffer& aCameraBuffer,TInt aError);
+ void ImageBufferReady(MCameraBuffer& aCameraBuffer,TInt aError);
+ void VideoBufferReady(MCameraBuffer& aCameraBuffer,TInt aError);
+
+ // From MMdaAudioPlayerCallback
+ void MapcInitComplete(TInt aError, const TTimeIntervalMicroSeconds &aDuration);
+ void MapcPlayComplete(TInt aError);
+
+
+protected:
+ void CreateDependencyFileL();
+ void RemoveDependencyFileL();
+
+protected:
+ CCamera* iCamera;
+ TInt iError;
+ CTimedRecording *iTimedRecording;
+ TPtrC iFileNamePlay;
+ CMdaAudioPlayerUtility *iAudioPlayer;
+
+ TTimeIntervalMicroSeconds iDuration;
+ };
+
+#endif //(__TEST_STEP_VID_RECORDER__)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/inc/TestSuiteUnitMMFVidClient.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,53 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#if (!defined __TEST_SUITE_MMF_VID_CLNT_H_)
+#define __TEST_SUITE_MMF_VID_CLNT_H_
+
+#include <testframework.h>
+
+/**
+ *
+ * CTestSuiteUnitMMFVidClient, which is the base class for
+ * the UnitMMFVidClient suite.
+ *
+ * @lib "TSU_MMF_VCLNT_01.lib"
+ *
+ * @xxxx
+ *
+ */
+class CTestSuiteUnitMMFVidClient : public CTestSuite
+ {
+public:
+ void InitialiseL();
+ virtual ~CTestSuiteUnitMMFVidClient();
+ void AddTestStepL( CTestStepUnitMMFVidClient * aTestStep );
+ TPtrC GetVersion() const;
+
+#ifdef __WINS__
+protected:
+ TBool WaitUntilWindowServerReadyL();
+ void InitWservL();
+ void DeInitWserv();
+protected:
+ CWsScreenDevice* iScreen;
+ RWindow* iWindow;
+ RWsSession iWs;
+ RWindowGroup iRootWindow;
+#endif // __WINS__
+ };
+
+
+#endif //__TEST_SUITE_MMF_VID_CLNT_H_
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/inc/teststepvidplayereventhandler.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,233 @@
+// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef TESTSTEPVIDPLAYEREVENTHANDLER_H
+#define TESTSTEPVIDPLAYEREVENTHANDLER_H
+
+#include <e32hashtab.h>
+#include <surfaceeventhandler.h>
+#include <testframework.h>
+#include "TestStepUnitMMFVidClient.h"
+
+NONSHARABLE_CLASS(CTestStepVidPlayerAddDisplay) :
+ public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver,
+ public MMMFSurfaceEventHandler
+ {
+public:
+ static CTestStepVidPlayerAddDisplay* NewL(const TDesC& aTestStepName);
+ ~CTestStepVidPlayerAddDisplay();
+
+ virtual TVerdict DoTestStepPreambleL();
+ virtual TVerdict DoTestStepL();
+ virtual TVerdict DoTestStepPostambleL();
+
+ // MMMFSurfaceEventHandler
+ virtual void MmsehSurfaceCreated(TInt aDisplayId, const TSurfaceId& aId, const TRect& aCropRect, TVideoAspectRatio aAspectRatio);
+ virtual void MmsehSurfaceParametersChanged(const TSurfaceId& aId, const TRect& aCropRect, TVideoAspectRatio aAspectRatio);
+ virtual void MmsehRemoveSurface(const TSurfaceId& aId);
+
+ // MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap& aFrame,TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent& aEvent);
+
+ void AddWindowsL(RArray<TInt>& aDisplays);
+ void AddDisplaysL(RArray<TInt>& aDisplays);
+ void ParseDisplaysL(TDesC& aList, RArray<TInt>& aDisplays);
+ void ParseEventsL(TDesC& aList, RArray<TPtrC>& aEvents);
+
+ RWindow* WindowForDisplayL(TInt aDisplay);
+ RWindowGroup* RootWindowForDisplayL(TInt aDisplay);
+ CWsScreenDevice* ScreenForDisplayL(TInt aDisplay);
+
+protected:
+ CTestStepVidPlayerAddDisplay(const TDesC& aTestStepName);
+
+ TInt SendCustomCommandAsync(TMMFMessageDestinationPckg aDestPckg, TInt aFunction);
+
+protected:
+ RHashMap<TInt, RWindow> iWindows;
+ RHashMap<TInt, RWindowGroup> iRootWindows;
+ RHashMap<TInt, CWsScreenDevice*> iScreens;
+ RArray<TInt> iDisplayIds;
+ };
+
+NONSHARABLE_CLASS(CTestStepVidPlayerEvent) :
+ public CTestStepVidPlayerAddDisplay
+ {
+public:
+ static CTestStepVidPlayerEvent* NewL(const TDesC& aTestStepName);
+ ~CTestStepVidPlayerEvent();
+
+ virtual void MvpuoOpenComplete(TInt aError);
+
+ // MMMFSurfaceEventHandler
+ virtual void MmsehSurfaceCreated(TInt aDisplayId, const TSurfaceId& aId, const TRect& aCropRect, TVideoAspectRatio aAspectRatio);
+ virtual void MmsehSurfaceParametersChanged(const TSurfaceId& aId, const TRect& aCropRect, TVideoAspectRatio aAspectRatio);
+ virtual void MmsehRemoveSurface(const TSurfaceId& aId);
+
+ virtual TVerdict DoTestStepL();
+
+protected:
+ void CheckAndIssueEvent(const TDesC& aEvent);
+ TInt SimulateNextEvent();
+
+private:
+ CTestStepVidPlayerEvent(const TDesC& aTestStepName);
+
+private:
+ RArray<TPtrC> iSimulatedEvents;
+ RArray<TPtrC> iExpectedEvents;
+ TInt iCurrentSimulatedEvent;
+ TInt iCurrentExpectedEvent;
+ };
+
+NONSHARABLE_CLASS(CTestStepVidPlayer1106) :
+ public CTestStepVidPlayerAddDisplay
+ {
+public:
+ static CTestStepVidPlayer1106* NewL();
+ ~CTestStepVidPlayer1106();
+
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MmsehSurfaceCreated(TInt aDisplayId, const TSurfaceId& aId, const TRect& aCropRect, TVideoAspectRatio aAspectRatio);
+
+ virtual TVerdict DoTestStepL();
+
+private:
+ CTestStepVidPlayer1106();
+ void OnTimer();
+private:
+ class CTestTimer : public CTimer
+ {
+ public:
+ static CTestTimer* NewL(CTestStepVidPlayer1106& aTestStepVidPlayer);
+ CTestTimer(CTestStepVidPlayer1106& aTestStepVidPlayer):CTimer(EPriorityStandard),iContainer(aTestStepVidPlayer)
+ {
+ CActiveScheduler::Add(this);
+ }
+ protected:
+ void RunL()
+ {
+ iContainer.OnTimer();
+ }
+ private:
+ CTestStepVidPlayer1106& iContainer;
+ };
+ CTestTimer* iTestTimer;
+
+private:
+ TBool iDisplayAdded;
+ TBool iSurfaceCreated;
+ };
+
+NONSHARABLE_CLASS(CTestStepVidPlayer1107) :
+ public CTestStepVidPlayerAddDisplay
+ {
+public:
+ static CTestStepVidPlayer1107* NewL();
+ ~CTestStepVidPlayer1107();
+
+ virtual void MvpuoOpenComplete(TInt aError);
+
+private:
+ CTestStepVidPlayer1107();
+ };
+
+NONSHARABLE_CLASS(CTestStepVidPlayer1108) :
+ public CTestStepVidPlayerAddDisplay
+ {
+public:
+ static CTestStepVidPlayer1108* NewL();
+ ~CTestStepVidPlayer1108();
+
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MmsehSurfaceCreated(TInt aDisplayId, const TSurfaceId& aId, const TRect& aCropRect, TVideoAspectRatio aAspectRatio);
+
+private:
+ CTestStepVidPlayer1108();
+ };
+
+NONSHARABLE_CLASS(CTestStepVidPlayer1110) :
+ public CTestStepVidPlayerAddDisplay
+ {
+public:
+ static CTestStepVidPlayer1110* NewL();
+ ~CTestStepVidPlayer1110();
+
+ virtual void MvpuoOpenComplete(TInt aError);
+
+private:
+ CTestStepVidPlayer1110();
+ };
+
+NONSHARABLE_CLASS(CTestStepVidPlayer1111) :
+ public CTestStepVidPlayerAddDisplay
+ {
+public:
+ static CTestStepVidPlayer1111* NewL();
+ ~CTestStepVidPlayer1111();
+
+ virtual void MvpuoOpenComplete(TInt aError);
+
+private:
+ CTestStepVidPlayer1111();
+ };
+
+NONSHARABLE_CLASS(CTestStepVidPlayer1200) :
+ public CTestStepVidPlayerAddDisplay
+ {
+public:
+ static CTestStepVidPlayer1200* NewL();
+ ~CTestStepVidPlayer1200();
+
+ virtual void MvpuoOpenComplete(TInt aError);
+
+private:
+ CTestStepVidPlayer1200();
+ };
+
+NONSHARABLE_CLASS(CTestStepVidPlayer1201) :
+ public CTestStepVidPlayerAddDisplay
+ {
+public:
+ static CTestStepVidPlayer1201* NewL();
+ ~CTestStepVidPlayer1201();
+
+ virtual void MvpuoOpenComplete(TInt aError);
+
+private:
+ CTestStepVidPlayer1201();
+ };
+
+NONSHARABLE_CLASS(CTestStepVidPlayer1202) :
+ public CTestStepVidPlayerAddDisplay
+ {
+public:
+ static CTestStepVidPlayer1202* NewL();
+ ~CTestStepVidPlayer1202();
+
+ virtual TVerdict DoTestStepL();
+
+private:
+ CTestStepVidPlayer1202();
+ };
+
+
+#endif // TESTSTEPVIDPLAYEREVENTHANDLER_H
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/inc/teststepvidplayersubtitle.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,273 @@
+// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains testing steps for the subtitle Unit
+// test of the MMF Video Clients.
+//
+//
+
+
+#ifndef TESTSTEPVIDPLAYERSUBTITLE_H
+#define TESTSTEPVIDPLAYERSUBTITLE_H
+
+#include <mmf/common/mmfvideosubtitlecustomcommands.h>
+#include "TestStepUnitMMFVidClient.h"
+#include "TS_Codes.h"
+
+/*
+Subtitle availability test
+MM-MMF-VCLNT-U-1300-CP
+*/
+class CTestStepVidPlayerSubtitleAvailable : public CTestStepUnitMMFVidClient,
+ public MVideoPlayerUtilityObserver
+ {
+public:
+ static CTestStepVidPlayerSubtitleAvailable* NewL(const TDesC& aTestName);
+ TVerdict DoTestStepPreambleL();
+ TVerdict DoTestStepL();
+ TVerdict DoTestStepPostambleL();
+
+ void CheckSubtitleCallCountL(TMMFTestGetSubtitleCountType aType, TInt aCount);
+ TInt SetSubtitleDisplayCheck(TMMFSubtitleWindowConfig& aConfig);
+
+ //from MVideoPlayerUtilityObserver
+ void MvpuoOpenComplete(TInt aError);
+ void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError);
+ void MvpuoPlayComplete(TInt aError);
+ void MvpuoPrepareComplete(TInt aError);
+ void MvpuoEvent(const TMMFEvent& aEvent);
+
+protected:
+ CTestStepVidPlayerSubtitleAvailable(const TDesC& aTestName);
+
+protected:
+ TInt iError;
+ TMMFMessageDestinationPckg iDestPckg;
+ };
+
+/*
+Subtitle enable and disable test
+MM-MMF-VCLNT-U-1301-CP
+*/
+class CTestStepVidPlayerSubtitleEnableDisable : public CTestStepVidPlayerSubtitleAvailable
+ {
+public:
+ static CTestStepVidPlayerSubtitleEnableDisable* NewL(const TDesC& aTestName);
+ TVerdict DoTestStepL();
+
+protected:
+ CTestStepVidPlayerSubtitleEnableDisable(const TDesC& aTestName);
+ };
+
+/*
+RedrawSubtitle test
+MM-MMF-VCLNT-U-1302-HP
+*/
+class CTestStepVidPlayerSubtitleRedraw : public CTestStepVidPlayerSubtitleAvailable
+ {
+public:
+ static CTestStepVidPlayerSubtitleRedraw* NewL(const TDesC& aTestName);
+ TVerdict DoTestStepL();
+
+protected:
+ CTestStepVidPlayerSubtitleRedraw(const TDesC& aTestName);
+ };
+
+/*
+RedrawSubtitle when CRP ready is not received
+MM-MMF-VCLNT-U-1303-HP
+*/
+class CTestStepVidPlayerSubtitleRedrawNotReady : public CTestStepVidPlayerSubtitleAvailable
+ {
+public:
+ static CTestStepVidPlayerSubtitleRedrawNotReady* NewL(const TDesC& aTestName);
+ TVerdict DoTestStepL();
+
+protected:
+ CTestStepVidPlayerSubtitleRedrawNotReady(const TDesC& aTestName);
+ };
+
+/*
+Enable and disable subtitle with multiple window
+MM-MMF-VCLNT-U-1304-HP
+*/
+class CTestStepVidPlayerSubtitleMultiWindow : public CTestStepVidPlayerSubtitleAvailable
+ {
+public:
+ static CTestStepVidPlayerSubtitleMultiWindow* NewL(const TDesC& aTestName);
+ TVerdict DoTestStepL();
+ TVerdict DoTestStepPostambleL();
+
+protected:
+ CTestStepVidPlayerSubtitleMultiWindow(const TDesC& aTestName);
+
+ void InitWindowsL(TBool aWindowTwoOnly = EFalse);
+
+protected:
+ CWsScreenDevice* iScreen2;
+ CWsScreenDevice* iScreen3;
+
+ RWindowGroup iRootWindow2;
+ RWindowGroup iRootWindow3;
+
+ RWindow* iWindow2;
+ RWindow* iWindow3;
+ };
+
+/*
+Enable subtitle and add and remove multiple windows
+MM-MMF-VCLNT-U-1305-HP
+*/
+class CTestStepVidPlayerSubtitleAddRemoveMultiWindow : public CTestStepVidPlayerSubtitleMultiWindow
+ {
+public:
+ static CTestStepVidPlayerSubtitleAddRemoveMultiWindow* NewL(const TDesC& aTestName);
+ TVerdict DoTestStepL();
+
+protected:
+ CTestStepVidPlayerSubtitleAddRemoveMultiWindow(const TDesC& aTestName);
+ };
+
+/*
+Enable subtitle with multiple windows and change rotation or clip rect setting
+MM-MMF-VCLNT-U-1306-MP and MM-MMF-VCLNT-U-1307-MP
+*/
+class CTestStepVidPlayerSubtitleMultiWindowSettingChange : public CTestStepVidPlayerSubtitleMultiWindow
+ {
+public:
+ static CTestStepVidPlayerSubtitleMultiWindowSettingChange* NewL(const TDesC& aTestName, TBool aTestRotation);
+ TVerdict DoTestStepL();
+
+protected:
+ CTestStepVidPlayerSubtitleMultiWindowSettingChange(const TDesC& aTestName, TBool aTestRotation);
+
+protected:
+ TBool iTestRotation;
+ };
+
+/*
+Subtitle language test
+MM-MMF-VCLNT-U-1308-HP
+*/
+class CTestStepVidPlayerSubtitleLanguage : public CTestStepVidPlayerSubtitleAvailable
+ {
+public:
+ static CTestStepVidPlayerSubtitleLanguage* NewL(const TDesC& aTestName);
+ TVerdict DoTestStepL();
+
+protected:
+ CTestStepVidPlayerSubtitleLanguage(const TDesC& aTestName);
+ };
+
+/*
+Enable subtitle with one window and change rotation or clip rect setting
+MM-MMF-VCLNT-U-1309-HP and MM-MMF-VCLNT-U-1310-HP
+*/
+class CTestStepVidPlayerSubtitleWindowSettingChange : public CTestStepVidPlayerSubtitleAvailable
+ {
+public:
+ static CTestStepVidPlayerSubtitleWindowSettingChange* NewL(const TDesC& aTestName, TBool aTestRotation);
+ TVerdict DoTestStepL();
+
+protected:
+ CTestStepVidPlayerSubtitleWindowSettingChange(const TDesC& aTestName, TBool aTestRotation);
+
+protected:
+ TBool iTestRotation;
+ };
+
+/*
+Subtitle enable negative tests
+MM-MMF-VCLNT-U-1350-CP, MM-MMF-VCLNT-U-1351-CP, MM-MMF-VCLNT-U-1352-MP, MM-MMF-VCLNT-U-1353-CP
+*/
+class CTestStepVidPlayerSubtitleEnableNeg : public CTestStepVidPlayerSubtitleAvailable
+ {
+public:
+ static CTestStepVidPlayerSubtitleEnableNeg* NewL(const TDesC& aTestName,
+ TBool aTestSubNotAvailble,
+ TBool aTestSourceNotOpen,
+ TBool aTestEnableTwice,
+ TBool aTestNoDisplayAdded,
+ TInt aExpectedErr);
+ TVerdict DoTestStepL();
+
+protected:
+ CTestStepVidPlayerSubtitleEnableNeg(const TDesC& aTestName,
+ TBool aTestSubNotAvailble,
+ TBool aTestSourceNotOpen,
+ TBool aTestEnableTwice,
+ TBool aTestNoDisplayAdded,
+ TInt aExpectedErr);
+
+protected:
+ TBool iTestSubNotAvailable;
+ TBool iTestSourceNotOpen;
+ TBool iTestEnableTwice;
+ TBool iTestNoDisplayAdded;
+ TInt iExpectedErr;
+ };
+
+/*
+Test Subtitle language with subtitle not enabled
+MM-MMF-VCLNT-U-1354-HP, MM-MMF-VCLNT-U-1355-HP, MM-MMF-VCLNT-U-1356-HP
+*/
+class CTestStepVidPlayerSubtitleLangNotEnable : public CTestStepVidPlayerSubtitleAvailable
+ {
+public:
+ static CTestStepVidPlayerSubtitleLangNotEnable* NewL(const TDesC& aTestName,
+ TBool aTestGetSupportedLang,
+ TBool aTestGetLang,
+ TBool aTestSetLang);
+ TVerdict DoTestStepL();
+
+protected:
+ CTestStepVidPlayerSubtitleLangNotEnable(const TDesC& aTestName,
+ TBool aTestGetSupportedLang,
+ TBool aTestGetLang,
+ TBool aTestSetLang);
+
+protected:
+ TBool iTestGetSupportedLang;
+ TBool iTestGetLang;
+ TBool iTestSetLang;
+ };
+
+/*
+Subtitle language not available test
+MM-MMF-VCLNT-U-1357-HP
+*/
+class CTestStepVidPlayerSubtitleLangNotAvail : public CTestStepVidPlayerSubtitleAvailable
+ {
+public:
+ static CTestStepVidPlayerSubtitleLangNotAvail* NewL(const TDesC& aTestName);
+ TVerdict DoTestStepL();
+
+protected:
+ CTestStepVidPlayerSubtitleLangNotAvail(const TDesC& aTestName);
+ };
+
+/*
+Test RedrawSubtitle when subtitle is not enabled
+MM-MMF-VCLNT-U-1358-LP
+*/
+class CTestStepVidPlayerSubtitleNotEnabledRedraw : public CTestStepVidPlayerSubtitleAvailable
+ {
+public:
+ static CTestStepVidPlayerSubtitleNotEnabledRedraw* NewL(const TDesC& aTestName);
+ TVerdict DoTestStepL();
+
+protected:
+ CTestStepVidPlayerSubtitleNotEnabledRedraw(const TDesC& aTestName);
+ };
+
+#endif // TESTSTEPVIDPLAYERSUBTITLE_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepAllocFailVidPlayer.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,1019 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+// EPOC includes
+#include <e32base.h>
+#include <e32hal.h>
+#include <e32test.h>
+#include <e32keys.h>
+#include <c32comm.h>
+#include <f32file.h>
+#include <etel.h>
+#include <etelmm.h>
+#include <hal.h>
+
+// Test system includes
+#include <testframework.h>
+
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfvideo.h>
+#include <mmf/server/mmfdes.h>
+#include <mmf/server/mmffile.h>
+
+#include <mmf/common/mmfcontroller.h>
+#include <videoplayer.h>
+#include <videorecorder.h>
+
+#ifdef SYMBIAN_BUILD_GCE
+#include <videoplayer2.h>
+#endif
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+
+// Specific includes for these test steps
+#include "TestStepAllocFailVidPlayer.h"
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepOOMVidPlayerNew.
+ *
+ *
+ * @return "CTestStepOOMVidPlayerNew*"
+ * The constructed CTestStepOOMVidPlayerNew
+
+ */
+CTestStepOOMVidPlayerNew* CTestStepOOMVidPlayerNew::NewL(TBool aUseSurface)
+ {
+ CTestStepOOMVidPlayerNew* self = new(ELeave) CTestStepOOMVidPlayerNew(aUseSurface);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+
+ */
+CTestStepOOMVidPlayerNew::CTestStepOOMVidPlayerNew(TBool aUseSurface)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iVpu2 = aUseSurface;
+ if (aUseSurface)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0900-CP");
+ }
+ else
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0100-CP");
+ }
+ }
+
+/**
+ *
+ * Test step destructor.
+
+ */
+CTestStepOOMVidPlayerNew::~CTestStepOOMVidPlayerNew()
+ {
+ }
+
+/**
+ * Implementation of the MVideoPlayererUtilityObserver interface functions
+ **/
+void CTestStepOOMVidPlayerNew::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepOOMVidPlayerNew::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepOOMVidPlayerNew::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepOOMVidPlayerNew::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepOOMVidPlayerNew::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+
+ */
+TVerdict CTestStepOOMVidPlayerNew::DoTestStepL()
+ {
+ // Printing to the console and log file
+ INFO_PRINTF2(_L("%S"),&iTestStepName);
+ if (!iVpu2)
+ {
+ INFO_PRINTF1(_L("this is an Out of Memory test of CVideoPlayerUtility object with NewL()"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this is an Out of Memory test of CVideoPlayerUtility2 object with NewL()"));
+ }
+
+ TInt err = KErrNone;
+ iError = KErrNone; //KErrTimedOut;
+
+ TInt failCount = 1;
+ TBool completed = EFalse;
+ TBool badResult = EFalse;
+ TBool reachedEnd = EFalse; // Note: declare outside loop to help with debugging
+
+ // N.B. we have to call HAL::Get in order to prevent a memory leak being detected
+ // between the __UHEAP markers below. This is because HAL::Get allocates some memory on the
+ // first call and is called in CVideoPlayerUtility::NewL (setting up direct screen access).
+ // There is no method to deallocate this memory so we allocate it outside of the __UHEAP markers.
+ if (!iVpu2)
+ {
+ TInt address = 0;
+ HAL::Get(HALData::EDisplayMemoryAddress, address);
+ }
+
+ for(;;)
+ {
+ InitWservL();
+
+ __UHEAP_SETFAIL(RHeap::EFailNext ,failCount);
+ __MM_HEAP_MARK;
+
+ if (!iVpu2)
+ {
+ TRect rect, clipRect;
+ TRAP( err, (iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal,
+ EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect)));
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ TRAP( err, (iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal,
+ EMdaPriorityPreferenceTimeAndQuality)));
+ }
+#endif
+ completed = EFalse;
+ if (err == KErrNone)
+ {
+ TAny *testAlloc = User::Alloc(1); // when this fails, we passed through all allocs within test
+ if (testAlloc==NULL)
+ {
+ reachedEnd = ETrue;
+ failCount--; // -= 1;
+ }
+ else
+ {
+ User::Free(testAlloc);
+ }
+
+ // see if valid result and break if wrong - might be premature result
+
+ if ( !PlayerStateStopped() )
+ {
+ badResult = ETrue;
+ }
+
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ completed = reachedEnd || badResult;
+ }
+ else if (err != KErrNoMemory) // bad error code
+ {
+ completed = ETrue;
+ }
+
+ __MM_HEAP_MARKEND;
+ __UHEAP_SETFAIL(RHeap::ENone ,0);
+
+ DeInitWserv();
+
+ if (completed)
+ {
+ break; // exit loop
+ }
+
+ failCount++;
+ }
+
+ //failCount -= 1; // Failcount of 1 equates to 0 successful allocs, etc.
+
+ if (err != KErrNone || badResult)
+ {
+ if (badResult)
+ {
+ INFO_PRINTF2(_L(" Bad result with %d memory allocations tested"), failCount);
+ }
+ else
+ {
+ INFO_PRINTF3(_L(" Error(%d) with %d memory allocations tested"), err, failCount);
+ }
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L(" Completed OK with %d memory allocations tested"), failCount);
+ iTestStepResult = EPass;
+ }
+
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepOOMVidPlayerOpenFile.
+ *
+ *
+ * @return "CTestStepOOMVidPlayerOpenFile*"
+ * The constructed CTestStepOOMVidPlayerOpenFile
+ *
+ */
+CTestStepOOMVidPlayerOpenFile* CTestStepOOMVidPlayerOpenFile::NewL(TBool aUseFileName, TInt aSurfaceMode)
+ {
+ CTestStepOOMVidPlayerOpenFile* self = new(ELeave) CTestStepOOMVidPlayerOpenFile(aUseFileName,aSurfaceMode);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepOOMVidPlayerOpenFile::CTestStepOOMVidPlayerOpenFile(TBool aUseFileHandle, TInt aSurfaceMode)
+ {
+ iTestStepResult = EPass;
+ iUseFileHandle = aUseFileHandle;
+ if (aSurfaceMode == CTestStepUnitMMFVidClient::ENotSurfaceMode)
+ {
+ iVpu2 = EFalse;
+ if (iUseFileHandle)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0111-CP");
+ }
+ else
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0101-CP");
+ }
+ }
+ else
+ {
+ iVpu2 = ETrue;
+ if (iUseFileHandle)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0904-CP");
+ }
+ else
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0901-CP");
+ }
+ }
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepOOMVidPlayerOpenFile::~CTestStepOOMVidPlayerOpenFile()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepOOMVidPlayerOpenFile::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepOOMVidPlayerOpenFile::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepOOMVidPlayerOpenFile::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepOOMVidPlayerOpenFile::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepOOMVidPlayerOpenFile::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepOOMVidPlayerOpenFile::DoTestStepPreambleL(void)
+ {
+ // Printing to the console and log file
+ INFO_PRINTF2(_L("%S"),&iTestStepName);
+ if (!iVpu2)
+ {
+ INFO_PRINTF1(_L("this is an Out of Memory test of CVideoPlayerUtility::OpenFileL()"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this is an Out of Memory test of CVideoPlayerUtility2::OpenFileL()"));
+ }
+ _LIT(KFileName, "c:\\mm\\mmf\\testfiles\\vclnt\\clock.dummy");
+ iFileName.Set(KFileName);
+
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ if (verdict==EPass)
+ {
+ InitWservL();
+
+ if (!iVpu2)
+ {
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ }
+#endif
+ if ( !PlayerStateStopped() )
+ {
+ return EInconclusive;
+ }
+ }
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepOOMVidPlayerOpenFile::DoTestStepPostambleL(void)
+ {
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepOOMVidPlayerOpenFile::OpenFileAndStartSchedulerL()
+ {
+ if (iUseFileHandle && !iVpu2)
+ {
+ iPlayer->OpenFileL(iFile);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else if (iUseFileHandle && iVpu2)
+ {
+ iPlayer2->OpenFileL(iFile);
+ }
+ else if (!iUseFileHandle && iVpu2)
+ {
+ iPlayer2->OpenFileL(iFileName);
+ }
+#endif
+ else
+ {
+ iPlayer->OpenFileL(iFileName);
+ }
+ CActiveScheduler::Start();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepOOMVidPlayerOpenFile::DoTestStepL()
+ {
+ TInt err = KErrNone;
+ iError = KErrNone; //KErrTimedOut;
+
+ TInt failCount = 1;
+ TBool completed = EFalse;
+ TBool badResult = EFalse;
+ TBool reachedEnd = EFalse; // Note: declare outside loop to help with debugging
+
+ // NB We can't call __MM_HEAP_MARKEND at the end of each step because
+ // something (CDirectScreenAccess ?) allocates memory during opening
+ // but at least we can check it gets cleaned up when the player is deleted
+ __MM_HEAP_MARK;
+
+ User::LeaveIfError(iFs.Connect());
+ User::LeaveIfError(iFs.ShareProtected());
+ User::LeaveIfError(iFile.Open(iFs, iFileName, EFileRead));
+
+ for(;;)
+ {
+ __UHEAP_SETFAIL(RHeap::EFailNext ,failCount);
+
+ TRAP( err, OpenFileAndStartSchedulerL() );
+
+ completed = EFalse;
+ if ((err == KErrNone) && (iError == KErrNone))
+ {
+ TAny *testAlloc = User::Alloc(1); // when this fails, we passed through all allocs within test
+ if (testAlloc==NULL)
+ {
+ reachedEnd = ETrue;
+ failCount--; // -= 1;
+ }
+ else
+ {
+ User::Free(testAlloc);
+ }
+
+ // see if valid result and break if wrong - might be premature result
+ //check possibly in another way if source is open
+
+ if (!PlayerStateStopped() )
+ {
+ badResult = ETrue;
+ }
+
+ if(iPlayer)
+ {
+ iPlayer->Close();
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ if(iPlayer2)
+ {
+ iPlayer2->Close();
+ }
+#endif
+ completed = reachedEnd || badResult;
+ }
+ else if (((err != KErrNone) && (err != KErrNoMemory)) ||
+ ((iError != KErrNone) && (iError != KErrNoMemory))) // bad error code
+ {
+ completed = ETrue;
+ }
+
+ __UHEAP_SETFAIL(RHeap::ENone ,0);
+
+ if (completed)
+ {
+ break; // exit loop
+ }
+
+ failCount++;
+ }
+
+
+ //failCount -= 1; // Failcount of 1 equates to 0 successful allocs, etc.
+ delete iPlayer;
+ iPlayer = NULL;
+
+ iFile.Close();
+ iFs.Close();
+
+ __MM_HEAP_MARKEND;
+ if (err != KErrNone || badResult)
+ {
+ if (badResult)
+ {
+ INFO_PRINTF2(_L(" Bad result with %d memory allocations tested"), failCount);
+ }
+ else
+ {
+ INFO_PRINTF3(_L(" Error(%d) with %d memory allocations tested"), err, failCount);
+ }
+ iTestStepResult = EFail;
+ }
+
+
+ if (err == KErrNone && !badResult)
+ {
+ INFO_PRINTF2(_L("Test Completed OK with %d memory allocations tested"), failCount);
+ }
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepOOMVidPlayerOpenDesc.
+ *
+ *
+ * @return "CTestStepOOMVidPlayerOpenDesc*"
+ * The constructed CTestStepOOMVidPlayerOpenDesc
+ */
+CTestStepOOMVidPlayerOpenDesc* CTestStepOOMVidPlayerOpenDesc::NewL(TInt aSurfaceMode)
+ {
+ CTestStepOOMVidPlayerOpenDesc* self = new(ELeave) CTestStepOOMVidPlayerOpenDesc(aSurfaceMode);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepOOMVidPlayerOpenDesc::CTestStepOOMVidPlayerOpenDesc(TInt aSurfaceMode)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ if (aSurfaceMode == CTestStepUnitMMFVidClient::ENotSurfaceMode)
+ {
+ iVpu2 = EFalse;
+ iTestStepName = _L("MM-MMF-VCLNT-U-0102-CP");
+ }
+ else
+ {
+ iVpu2 = ETrue;
+ iTestStepName = _L("MM-MMF-VCLNT-U-0902-CP");
+ }
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepOOMVidPlayerOpenDesc::~CTestStepOOMVidPlayerOpenDesc()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepOOMVidPlayerOpenDesc::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepOOMVidPlayerOpenDesc::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepOOMVidPlayerOpenDesc::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepOOMVidPlayerOpenDesc::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepOOMVidPlayerOpenDesc::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepOOMVidPlayerOpenDesc::DoTestStepPreambleL(void)
+ {
+ _LIT(KFileName, "c:\\mm\\mmf\\testfiles\\vclnt\\smallv.wav");
+
+ iFileName.Set(KFileName);
+
+ TInt fSize;
+ iFs.Connect();
+ if ( iFile.Open(iFs, iFileName, EFileRead) != KErrNone )
+ {
+ return EInconclusive;
+ }
+ iFile.Size(fSize);
+ // load the sound from the file to a Descriptor
+ iBuf = HBufC8::NewL( fSize );
+ TPtr8 des = iBuf->Des();
+ iFile.Read(des);
+
+ iFile.Close();
+ iFs.Close();
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepOOMVidPlayerOpenDesc::DoTestStepPostambleL(void)
+ {
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepOOMVidPlayerOpenDesc::OpenDescAndStartSchedulerL()
+ {
+ if (!iVpu2)
+ {
+ iPlayer->OpenDesL(iBuf->Des());
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->OpenDesL(iBuf->Des());
+ }
+#endif
+ CActiveScheduler::Start();
+}
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepOOMVidPlayerOpenDesc::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ // Printing to the console and log file
+ INFO_PRINTF2(_L("%S"),&iTestStepName);
+ if (!iVpu2)
+ {
+ INFO_PRINTF1(_L("this is an Out of Memory test of CVideoPlayerUtility::OpenDesL()"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this is an Out of Memory test of CVideoPlayerUtility2::OpenDesL()"));
+ }
+
+ iError = KErrNone; //KErrTimedOut;
+
+ InitWservL();
+
+ // N.B. we have to call HAL::Get in order to prevent a memory leak being detected
+ // between the __UHEAP markers below. This is because HAL::Get allocates some memory on the
+ // first call and is called in CVideoPlayerUtility::NewL (setting up direct screen access).
+ // There is no method to deallocate this memory so we allocate it outside of the __UHEAP markers.
+ TInt address = 0;
+ HAL::Get(HALData::EDisplayMemoryAddress, address);
+
+ __MM_HEAP_MARK;
+
+ if (!iVpu2)
+ {
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ }
+#endif
+ if (!PlayerStateStopped() )
+ {
+ return EInconclusive;
+ }
+
+ TRAP(err, OpenDescAndStartSchedulerL() );
+ if (err == KErrNotFound)
+ {
+ iTestStepResult = EInconclusive;
+ }
+ else if (err == KErrNotSupported)
+ {
+ iTestStepResult = EPass;
+ }
+ else if (err != KErrNone)
+ {
+ return EFail;
+ }
+
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ __MM_HEAP_MARKEND;
+
+ DeInitWserv();
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepOOMVidPlayerOpenUrl.
+ *
+ *
+ * @return "CTestStepOOMVidPlayerOpenUrl*"
+ * The constructed CTestStepOOMVidPlayerOpenUrl
+ */
+CTestStepOOMVidPlayerOpenUrl* CTestStepOOMVidPlayerOpenUrl::NewL(TInt aSurfaceMode)
+ {
+ CTestStepOOMVidPlayerOpenUrl* self = new(ELeave) CTestStepOOMVidPlayerOpenUrl(aSurfaceMode);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepOOMVidPlayerOpenUrl::CTestStepOOMVidPlayerOpenUrl(TInt aSurfaceMode)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ if (aSurfaceMode == CTestStepUnitMMFVidClient::ENotSurfaceMode)
+ {
+ iVpu2 = EFalse;
+ iTestStepName = _L("MM-MMF-VCLNT-U-0103-CP");
+ }
+ else
+ {
+ iVpu2 = ETrue;
+ iTestStepName = _L("MM-MMF-VCLNT-U-0903-CP");
+ }
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepOOMVidPlayerOpenUrl::~CTestStepOOMVidPlayerOpenUrl()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepOOMVidPlayerOpenUrl::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepOOMVidPlayerOpenUrl::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepOOMVidPlayerOpenUrl::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepOOMVidPlayerOpenUrl::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepOOMVidPlayerOpenUrl::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepOOMVidPlayerOpenUrl::DoTestStepPreambleL(void)
+ {
+ _LIT(KFileName, "c:\\mm\\mmf\\testfiles\\vclnt\\small2.wav");
+
+ iFileName.Set(KFileName);
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepOOMVidPlayerOpenUrl::DoTestStepPostambleL(void)
+ {
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepOOMVidPlayerOpenUrl::OpenUrlAndStartSchedulerL()
+ {
+ if (!iVpu2)
+ {
+ iPlayer->OpenUrlL(iFileName, KUseDefaultIap, _L8("audio/wav"));
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->OpenUrlL(iFileName, KUseDefaultIap, _L8("audio/wav"));
+ }
+#endif
+ CActiveScheduler::Start();
+}
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepOOMVidPlayerOpenUrl::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ // N.B. we have to call HAL::Get in order to prevent a memory leak being detected
+ // between the __UHEAP markers below. This is because HAL::Get allocates some memory on the
+ // first call and is called in CVideoPlayerUtility::NewL (setting up direct screen access).
+ // There is no method to deallocate this memory so we allocate it outside of the __UHEAP markers.
+ TInt address = 0;
+ HAL::Get(HALData::EDisplayMemoryAddress, address);
+
+ __MM_HEAP_MARK;
+ // Printing to the console and log file
+ INFO_PRINTF2(_L("%S"),&iTestStepName);
+ if (!iVpu2)
+ {
+ INFO_PRINTF1(_L("this is an Out of Memory test of CVideoPlayerUtility::OpenUrlL()"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this is an Out of Memory test of CVideoPlayerUtility2::OpenUrlL()"));
+ }
+
+ iError = KErrNone; //KErrTimedOut;
+
+ InitWservL();
+
+ if (!iVpu2)
+ {
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ }
+#endif
+ if ( !PlayerStateStopped() )
+ {
+ return EInconclusive;
+ }
+
+ TRAP(err, OpenUrlAndStartSchedulerL() );
+ if (err == KErrNotFound)
+ {
+ iTestStepResult = EInconclusive;
+ }
+ else if (err == KErrNotSupported)
+ {
+ iTestStepResult = EPass;
+ }
+ else if (err != KErrNone)
+ {
+ return EFail;
+ }
+
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ DeInitWserv();
+
+ __MM_HEAP_MARKEND;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepAllocFailVidRecorderNew.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,180 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// TestStepVidRecorderNew.cpp
+//
+//
+
+// EPOC includes
+#include <e32base.h>
+#include <e32test.h>
+#include <e32keys.h>
+#include <c32comm.h>
+#include <f32file.h>
+#include <etel.h>
+#include <etelmm.h>
+
+// Test system includes
+#include <testframework.h>
+
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfvideo.h>
+#include <mmf/server/mmfdes.h>
+#include <mmf/server/mmffile.h>
+
+#include <mmf/common/mmfcontroller.h>
+
+#include <videorecorder.h>
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+
+// Specific includes for these test steps
+#include "TestStepVidRecorder.h"
+
+// --------------------------------------------
+
+/**
+ *
+ * Static constructor for CTestStepAllocFailVidRecorderNew.
+ *
+ *
+ * @return "CTestStepAllocFailVidRecorderNew*"
+ * The constructed CTestStepAllocFailVidRecorderNew
+ *
+ * @xxxx
+ *
+ */
+CTestStepAllocFailVidRecorderNew* CTestStepAllocFailVidRecorderNew::NewL()
+ {
+ CTestStepAllocFailVidRecorderNew* self = new(ELeave) CTestStepAllocFailVidRecorderNew;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepAllocFailVidRecorderNew::CTestStepAllocFailVidRecorderNew()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0300-CP");
+ }
+
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepAllocFailVidRecorderNew::DoTestStepL()
+ {
+ __MM_HEAP_MARK;
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0300-CP"));
+ INFO_PRINTF1(_L("this alloc failuretest is iniatilising a CVideoRecorderUtility object with NewL()"));
+
+ TInt err = KErrNone;
+ iError = KErrNone; //KErrTimedOut;
+
+ TInt failCount = 1;
+ TBool completed = EFalse;
+ TBool badResult = EFalse;
+ TBool reachedEnd = EFalse; // Note: declare outside loop to help with debugging
+
+
+
+ for(;;)
+ {
+ InitWservL();
+
+ __UHEAP_SETFAIL(RHeap::EFailNext ,failCount);
+ __MM_HEAP_MARK;
+
+ TRAP(err,iRecorder = CVideoRecorderUtility::NewL(*this));
+
+ completed = EFalse;
+ if (err == KErrNone)
+ {
+ TAny *testAlloc = User::Alloc(1); // when this fails, we passed through all allocs within test
+ if (testAlloc==NULL)
+ {
+ reachedEnd = ETrue;
+ failCount--; // -= 1;
+ }
+ else
+ User::Free(testAlloc);
+ // see if valid result and break if wrong - might be premature result
+
+ if (iRecorder == NULL)
+ badResult = ETrue;
+ else
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ }
+
+ completed = reachedEnd || badResult;
+ }
+ else if (err != KErrNoMemory) // bad error code
+ completed = ETrue;
+
+ __MM_HEAP_MARKEND;
+ __UHEAP_SETFAIL(RHeap::ENone ,0);
+
+ DeInitWserv();
+
+ if (completed)
+ break; // exit loop
+
+ failCount++;
+ }
+
+
+
+ if (err != KErrNone || badResult)
+ {
+ if (badResult)
+ INFO_PRINTF2(_L(" Bad result with %d memory allocations tested"), failCount);
+ else
+ INFO_PRINTF3(_L(" Error(%d) with %d memory allocations tested"), err, failCount);
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L(" Completed OK with %d memory allocations tested"), failCount);
+ iTestStepResult = EPass;
+ }
+
+
+
+
+
+
+ // test steps return a result
+ return iTestStepResult;
+ }
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepAllocFailVidRecorderOpen.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,625 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// TestStepVidRecorderOpen.cpp
+//
+//
+
+// EPOC includes
+#include <e32base.h>
+#include <e32test.h>
+#include <e32keys.h>
+#include <c32comm.h>
+#include <f32file.h>
+#include <etel.h>
+#include <etelmm.h>
+#include <testframework.h>
+
+#include "CmmfVideoTestControllerUIDs.hrh"
+
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfvideo.h>
+#include <mmf/server/mmfdes.h>
+#include <mmf/server/mmffile.h>
+
+#include <mda/common/video.h>
+#include <mmf/common/mmfcontroller.h>
+#include <videoplayer.h>
+#include <videorecorder.h>
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+#include "TS_Codes.h"
+
+// Specific includes for these test steps
+#include "TestStepVidRecorder.h"
+
+_LIT(KTestFileName,"C:\\mm\\mmf\\testfiles\\vclnt\\test.dummy");
+//_LIT(KClockFileName,"C:\\mm\\mmf\\testfiles\\vclnt\\clock.dummy"); // EABI warning removal
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepAllocFailVidRecorderOpenFile.
+ *
+ *
+ * @return "CTestStepAllocFailVidRecorderOpenFile*"
+ * The constructed CTestStepAllocFailVidRecorderOpenFile
+ *
+ * @xxxx
+ *
+ */
+CTestStepAllocFailVidRecorderOpenFile* CTestStepAllocFailVidRecorderOpenFile::NewL(TBool aUseFileHandle)
+ {
+ CTestStepAllocFailVidRecorderOpenFile* self = new(ELeave) CTestStepAllocFailVidRecorderOpenFile(aUseFileHandle);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepAllocFailVidRecorderOpenFile::CTestStepAllocFailVidRecorderOpenFile(TBool aUseFileHandle)
+ : CTestStepVidRecorderOpenFile(aUseFileHandle)
+ {
+ iTestStepResult = EPass;
+ if (aUseFileHandle)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0311-CP");
+ }
+ else
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0301-CP");
+ }
+ }
+
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepAllocFailVidRecorderOpenFile::DoTestStepL()
+ {
+ __MM_HEAP_MARK;
+ // Printing to the console and log file
+ INFO_PRINTF2(_L("%S"), &iTestStepName);
+ INFO_PRINTF1(_L("this alloc failure test is openning a file with a CVideoRecorderUtility::OpenFileL()"));
+
+ TInt err = KErrNone;
+ iError = KErrNone; //KErrTimedOut;
+
+ TInt failCount = 1;
+ TBool completed = EFalse;
+ TBool badResult = EFalse;
+ TBool reachedEnd = EFalse; // Note: declare outside loop to help with debugging
+
+ // Don't record over clock.dummy
+ iFileName.Set(KTestFileName);
+
+ for(;;)
+ {
+ InitWservL();
+
+ __UHEAP_SETFAIL(RHeap::EFailNext ,failCount);
+ __MM_HEAP_MARK;
+
+ TRAP(err,iRecorder = CVideoRecorderUtility::NewL(*this));
+
+ if (iRecorder != NULL && !RecorderStateStopped() )
+ return EFail;
+
+ if(iRecorder != NULL)
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ completed = EFalse;
+ if ((err == KErrNotFound) || ( (err == KErrNotSupported || err == KErrNone) &&
+ (iError == KErrNotSupported || iError == KErrNone) ) )
+ { //possible pass - check memory alloc state
+ TAny *testAlloc = User::Alloc(1); // when this fails, we passed through all allocs within test
+ if (testAlloc==NULL)
+ {
+ reachedEnd = ETrue;
+ failCount--; // -= 1;
+ }
+ else
+ User::Free(testAlloc);
+ // see if valid result and break if wrong - might be premature result
+
+ if (iRecorder == NULL)
+ badResult = ETrue;
+
+ completed = reachedEnd || badResult;
+ }
+ else if (err != KErrNoMemory) // bad error code
+ completed = ETrue;
+
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ __MM_HEAP_MARKEND;
+ __UHEAP_SETFAIL(RHeap::ENone ,0);
+
+ DeInitWserv();
+
+ if (completed)
+ break; // exit loop
+
+ failCount++;
+ }
+
+
+
+ if (err != KErrNone || badResult)
+ {
+ if (badResult)
+ INFO_PRINTF2(_L(" Bad result with %d memory allocations tested"), failCount);
+ else
+ INFO_PRINTF3(_L(" Error(%d) with %d memory allocations tested"), err, failCount);
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L(" Completed OK with %d memory allocations tested"), failCount);
+ iTestStepResult = EPass;
+ }
+
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ __MM_HEAP_MARKEND;
+
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+//------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepAllocFailVidRecorderOpenFileCtrlUid.
+ *
+ *
+ * @return "CTestStepAllocFailVidRecorderOpenFileCtrlUid*"
+ * The constructed CTestStepAllocFailVidRecorderOpenFileCtrlUid
+ *
+ * @xxxx
+ *
+ */
+CTestStepAllocFailVidRecorderOpenFileCtrlUid* CTestStepAllocFailVidRecorderOpenFileCtrlUid::NewL(TBool aUseFileHandle)
+ {
+ CTestStepAllocFailVidRecorderOpenFileCtrlUid* self = new(ELeave) CTestStepAllocFailVidRecorderOpenFileCtrlUid(aUseFileHandle);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepAllocFailVidRecorderOpenFileCtrlUid::CTestStepAllocFailVidRecorderOpenFileCtrlUid(TBool aUseFileHandle)
+ : CTestStepVidRecorderOpenFileCtrlUid(aUseFileHandle)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ if (aUseFileHandle)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0312-CP");
+ }
+ else
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0304-CP");
+ }
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepAllocFailVidRecorderOpenFileCtrlUid::DoTestStepL()
+ {
+ __MM_HEAP_MARK;
+ // Printing to the console and log file
+ INFO_PRINTF2(_L("%S"), &iTestStepName);
+ INFO_PRINTF1(_L("this alloc failure test is openning a file with a specific Controller Uid: CVideoRecorderUtility::OpenFileL()"));
+
+ TInt err = KErrNone;
+ iError = KErrNone; //KErrTimedOut;
+
+ TInt failCount = 1;
+ TBool completed = EFalse;
+ TBool badResult = EFalse;
+ TBool reachedEnd = EFalse; // Note: declare outside loop to help with debugging
+
+ // Don't record over clock.dummy
+ iFileName.Set(KTestFileName);
+
+ for(;;)
+ {
+ InitWservL();
+
+ __UHEAP_SETFAIL(RHeap::EFailNext ,failCount);
+ __MM_HEAP_MARK;
+
+ TRAP(err,iRecorder = CVideoRecorderUtility::NewL(*this));
+
+
+ if (iRecorder != NULL && !RecorderStateStopped() )
+ return EFail;
+
+ if(iRecorder != NULL)
+ TRAP(err, RecOpenAndStartSchedulerL(iUseFileHandle) );
+
+
+ completed = EFalse;
+ if (err == KErrNotFound || err == KErrNone)
+ { //possible pass - check memory alloc state
+ TAny *testAlloc = User::Alloc(1); // when this fails, we passed through all allocs within test
+ if (testAlloc==NULL)
+ {
+ reachedEnd = ETrue;
+ failCount--; // -= 1;
+ }
+ else
+ User::Free(testAlloc);
+ // see if valid result and break if wrong - might be premature result
+
+ if (iRecorder == NULL)
+ badResult = ETrue;
+
+ completed = reachedEnd || badResult;
+ }
+ else if (err != KErrNoMemory) // bad error code
+ completed = ETrue;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ __MM_HEAP_MARKEND;
+ __UHEAP_SETFAIL(RHeap::ENone ,0);
+
+ DeInitWserv();
+
+ if (completed)
+ break; // exit loop
+
+ failCount++;
+ }
+
+
+ if (err != KErrNone || badResult)
+ {
+ if (badResult)
+ INFO_PRINTF2(_L(" Bad result with %d memory allocations tested"), failCount);
+ else
+ INFO_PRINTF3(_L(" Error(%d) with %d memory allocations tested"), err, failCount);
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L(" Completed OK with %d memory allocations tested"), failCount);
+ iTestStepResult = EPass;
+ }
+
+ __MM_HEAP_MARKEND;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepAllocFailVidRecorderOpenDesc.
+ *
+ *
+ * @return "CTestStepAllocFailVidRecorderOpenDesc*"
+ * The constructed CTestStepAllocFailVidRecorderOpenDesc
+ *
+ * @xxxx
+ *
+ */
+CTestStepAllocFailVidRecorderOpenDesc* CTestStepAllocFailVidRecorderOpenDesc::NewL()
+ {
+ CTestStepAllocFailVidRecorderOpenDesc* self = new(ELeave) CTestStepAllocFailVidRecorderOpenDesc;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepAllocFailVidRecorderOpenDesc::CTestStepAllocFailVidRecorderOpenDesc()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0302-CP");
+ iHeapSize = 128000;
+ }
+
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepAllocFailVidRecorderOpenDesc::DoTestStepL()
+ {
+ __MM_HEAP_MARK;
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0302-CP"));
+ INFO_PRINTF1(_L("this alloc failure test is openning a descriptor with a CVideoRecorderUtility::OpenDesL()"));
+
+ TInt err = KErrNone;
+ iError = KErrNone; //KErrTimedOut;
+
+ TInt failCount = 1;
+ TBool completed = EFalse;
+ TBool badResult = EFalse;
+ TBool reachedEnd = EFalse; // Note: declare outside loop to help with debugging
+
+ for(;;)
+ {
+ InitWservL();
+
+ __UHEAP_SETFAIL(RHeap::EFailNext ,failCount);
+ __MM_HEAP_MARK;
+
+ TRAP(err,iRecorder = CVideoRecorderUtility::NewL(*this));
+
+ if (iRecorder != NULL && !RecorderStateStopped() )
+ return EFail;
+
+ if(iRecorder != NULL)
+ TRAP(err, OpenDescAndStartSchedulerL() );
+
+ completed = EFalse;
+ if ((err == KErrNotFound) || ( (err == KErrNotSupported || err == KErrNone) &&
+ (iError == KErrNotSupported || iError == KErrNone) ) )
+ { //possible pass - check memory alloc state
+ TAny *testAlloc = User::Alloc(1); // when this fails, we passed through all allocs within test
+ if (testAlloc==NULL)
+ {
+ reachedEnd = ETrue;
+ failCount--; // -= 1;
+ }
+ else
+ User::Free(testAlloc);
+ // see if valid result and break if wrong - might be premature result
+
+ if (iRecorder == NULL)
+ badResult = ETrue;
+
+ completed = reachedEnd || badResult;
+ }
+ else if (err != KErrNoMemory) // bad error code
+ completed = ETrue;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+
+ __MM_HEAP_MARKEND;
+ __UHEAP_SETFAIL(RHeap::ENone ,0);
+
+ DeInitWserv();
+
+ if (completed)
+ break; // exit loop
+
+ failCount++;
+ }
+
+
+
+ if (err != KErrNone || badResult)
+ {
+ if (badResult)
+ INFO_PRINTF2(_L(" Bad result with %d memory allocations tested"), failCount);
+ else
+ INFO_PRINTF3(_L(" Error(%d) with %d memory allocations tested"), err, failCount);
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L(" Completed OK with %d memory allocations tested"), failCount);
+ iTestStepResult = EPass;
+ }
+
+
+ __MM_HEAP_MARKEND;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepAllocFailVidRecorderOpenUrl.
+ *
+ *
+ * @return "CTestStepAllocFailVidRecorderOpenUrl*"
+ * The constructed CTestStepAllocFailVidRecorderOpenUrl
+ *
+ * @xxxx
+ *
+ */
+CTestStepAllocFailVidRecorderOpenUrl* CTestStepAllocFailVidRecorderOpenUrl::NewL()
+ {
+ CTestStepAllocFailVidRecorderOpenUrl* self = new(ELeave) CTestStepAllocFailVidRecorderOpenUrl;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepAllocFailVidRecorderOpenUrl::CTestStepAllocFailVidRecorderOpenUrl()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0303-CP");
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepAllocFailVidRecorderOpenUrl::DoTestStepL()
+ {
+ __MM_HEAP_MARK;
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0303-CP"));
+ INFO_PRINTF1(_L("this alloc failure test is openning a file with a CVideoRecorderUtility::OpenUrlL()"));
+
+
+ TInt err = KErrNone;
+ iError = KErrNone; //KErrTimedOut;
+
+ TInt failCount = 1;
+ TBool completed = EFalse;
+ TBool badResult = EFalse;
+ TBool reachedEnd = EFalse; // Note: declare outside loop to help with debugging
+
+ for(;;)
+ {
+ InitWservL();
+
+ __UHEAP_SETFAIL(RHeap::EFailNext ,failCount);
+ __MM_HEAP_MARK;
+
+ TRAP(err,iRecorder = CVideoRecorderUtility::NewL(*this));
+
+ if (iRecorder != NULL && !RecorderStateStopped() )
+ return EFail;
+
+ if(iRecorder != NULL)
+ TRAP(err, OpenUrlAndStartSchedulerL() );
+
+ completed = EFalse;
+ if (err == KErrNotFound || err == KErrNone)
+ { //possible pass - check memory alloc state
+ TAny *testAlloc = User::Alloc(1); // when this fails, we passed through all allocs within test
+ if (testAlloc==NULL)
+ {
+ reachedEnd = ETrue;
+ failCount--; // -= 1;
+ }
+ else
+ User::Free(testAlloc);
+ // see if valid result and break if wrong - might be premature result
+
+ if (iRecorder == NULL)
+ badResult = ETrue;
+
+ completed = reachedEnd || badResult;
+ }
+ else if (err != KErrNoMemory) // bad error code
+ completed = ETrue;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+
+ __MM_HEAP_MARKEND;
+ __UHEAP_SETFAIL(RHeap::ENone ,0);
+
+ DeInitWserv();
+
+ if (completed)
+ break; // exit loop
+
+ failCount++;
+ }
+
+
+
+ if (err != KErrNone || badResult)
+ {
+ if (badResult)
+ INFO_PRINTF2(_L(" Bad result with %d memory allocations tested"), failCount);
+ else
+ INFO_PRINTF3(_L(" Error(%d) with %d memory allocations tested"), err, failCount);
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L(" Completed OK with %d memory allocations tested"), failCount);
+ iTestStepResult = EPass;
+ }
+
+
+
+
+ __MM_HEAP_MARKEND;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepUnitMMFVidClient.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,698 @@
+// Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+// Test system includes
+#include <testframework.h>
+
+#include "CmmfVideoTestControllerUIDs.hrh"
+
+#include <mda/common/video.h>
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfcontroller.h>
+
+#include <videoplayer.h>
+#include <videorecorder.h>
+
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+#include "VideoPlayerBody.h"
+#include "VideoRecorderBody.h"
+#include "TS_Codes.h"
+
+#ifdef SYMBIAN_BUILD_GCE
+#include "mediaclientvideodisplaybody.h"
+#endif // SYMBIAN_BUILD_GCE
+
+/**
+ *
+ * CTestStepUnitMMFVidClient constructor
+ *
+ * @xxxx
+ *
+ */
+CTestStepUnitMMFVidClient::CTestStepUnitMMFVidClient() :
+iScheduler( NULL )
+ {
+ iRes = &iFileName;
+ }
+
+/**
+ *
+ * CTestStepUnitMMFVidClient destructor
+ *
+ * @xxxx
+ *
+ */
+CTestStepUnitMMFVidClient::~CTestStepUnitMMFVidClient()
+ {
+ }
+
+
+ // accessors
+/**
+ *
+ * CTestStepUnitMMFVidClient accessor : set suite
+ *
+ * @param "CTestSuiteUnitMMFVidClient*"
+ * The test suite.
+ *
+ * @xxxx
+ *
+ */
+void CTestStepUnitMMFVidClient::SetUnitMMFVidClientSuite(CTestSuiteUnitMMFVidClient* aSuite)
+ {
+ iUnitMMFVidClientSuite = aSuite;
+ }
+
+/**
+ *
+ * CTestStepUnitMMFVidClient accessor : get suite
+ *
+ * @return "CTestSuiteUnitMMFVidClient*"
+ * The test suite.
+ *
+ * @xxxx
+ *
+ */
+CTestSuiteUnitMMFVidClient* CTestStepUnitMMFVidClient::UnitMMFVidClientSuite() const
+ {
+ return iUnitMMFVidClientSuite;
+ }
+
+/**
+DoTestStepPreambleL is the preamble function for test steps
+It creates an active scheduler and installs it. This is necessary
+since we are multithreading and each test step runs in a separate thread.
+@return TVerdict which is either EPass or Efail
+
+The function can leave if there is insufficient memeory
+
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+enum TVerdict CTestStepUnitMMFVidClient::DoTestStepPreambleL(void)
+ {
+ iScheduler = new(ELeave) CActiveScheduler;
+ CActiveScheduler::Install( iScheduler );
+ return EPass;
+ }
+
+/**
+The post amble step cleans up the allocated memory in the preamble
+@return TVerdict EPass or EFail
+@leaves can leave due to insufficient memory
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+
+enum TVerdict CTestStepUnitMMFVidClient::DoTestStepPostambleL(void)
+ {
+ iFile.Close();
+ iFs.Close();
+ delete iScheduler ;
+ iScheduler = NULL;
+ DeInitWserv();
+ return EPass;
+ }
+
+/**
+@helper functions
+@ open a file and starts the scheduler
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+void CTestStepUnitMMFVidClient::OpenAndStartSchedulerL(TBool aUseFileHandle)
+ {
+ if (aUseFileHandle)
+ {
+ User::LeaveIfError(iFs.Connect());
+ User::LeaveIfError(iFs.ShareProtected());
+ User::LeaveIfError(iFile.Open(iFs, iFileName, EFileRead));
+ if (!iVpu2)
+ {
+ iPlayer->OpenFileL(iFile);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->OpenFileL(iFile);
+ }
+#endif
+ }
+ else
+ {
+ if (!iVpu2)
+ {
+ iPlayer->OpenFileL(iFileName);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->OpenFileL(iFileName);
+ }
+#endif
+ }
+ CActiveScheduler::Start();
+ }
+
+/**
+@helper functions
+@ open a file using a TMMFileSource object and starts the scheduler
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+void CTestStepUnitMMFVidClient::OpenAndStartSchedulerL(const TMMSource& aSource)
+ {
+ if (!iVpu2)
+ {
+ iPlayer->OpenFileL(aSource);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->OpenFileL(aSource);
+ }
+#endif
+ CActiveScheduler::Start();
+ }
+
+/**
+@helper functions
+@ issues a play and starts the scheduler
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+void CTestStepUnitMMFVidClient::PlayAndStartSchedulerL()
+ {
+ if (!iVpu2)
+ {
+ iPlayer->Play();
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->Play();
+ }
+#endif
+ CActiveScheduler::Start();
+ }
+
+ /**
+@helper functions
+@ open a file and starts the scheduler
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+void CTestStepUnitMMFVidClient::RecOpenAndStartSchedulerL(TBool aUseFileHandle)
+ {
+ const TUid KVidTstControllerUid = {KMmfVideoTestControllerUid}; //(0x101F88D9) //{KMmfTestControllerUid}; //(0x101F88D8)
+ if (aUseFileHandle)
+ {
+ User::LeaveIfError(iFs.Connect());
+ User::LeaveIfError(iFs.ShareProtected());
+ User::LeaveIfError(iFile.Replace(iFs, iFileName,EFileWrite | EFileShareAny));
+ iRecorder->OpenFileL(iFile, NULL, KVidTstControllerUid, TUid::Uid(0x101F88DB) ); //KTstControllerUid );
+ }
+ else
+ {
+ iRecorder->OpenFileL(iFileName, NULL, KVidTstControllerUid, TUid::Uid(0x101F88DB) ); //KTstControllerUid );
+ }
+ CActiveScheduler::Start();
+ }
+
+/**
+@helper functions
+@ issues a play and starts the scheduler
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+void CTestStepUnitMMFVidClient::RecordAndStartScheduler()
+ {
+ iRecorder->Record();
+ CActiveScheduler::Start();
+ }
+
+/**
+@helper functions
+@ issues a prepare and starts the scheduler
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+void CTestStepUnitMMFVidClient::RecorderPrepareAndStartScheduler()
+ {
+ iRecorder->Prepare();
+ CActiveScheduler::Start();
+ }
+
+/**
+@helper functions
+@ issues a prepare and starts the scheduler
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+void CTestStepUnitMMFVidClient::PlayerPrepareAndStartScheduler()
+ {
+ if (!iVpu2)
+ {
+ iPlayer->Prepare();
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->Prepare();
+ }
+#endif
+ CActiveScheduler::Start();
+ }
+
+
+/**
+@return success or not
+@ gets the priority settings of the utility
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+TInt CTestStepUnitMMFVidClient::GetPlayerPriority(TMMFPrioritySettings& aPrioritySettings)
+ {
+ if (iPlayer && !iVpu2)
+ {
+ aPrioritySettings = iPlayer->iBody->iPrioritySettings;
+ return KErrNone;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ if (iPlayer2 && iVpu2)
+ {
+ aPrioritySettings = iPlayer2->iBody->iPrioritySettings;
+ return KErrNone;
+ }
+#endif
+
+ return KErrNotReady;
+ }
+
+
+/**
+@return success or not
+@ gets the state of the utility
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+TBool CTestStepUnitMMFVidClient::PlayerStateStopped()
+ {
+ TBool state = EFalse;
+ if (iPlayer && !iVpu2)
+ {
+ state = iPlayer->iBody->iState == CVideoPlayerUtility::EStopped;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ if (iPlayer2 )
+ {
+ state = iPlayer2->iBody->iState == CVideoPlayerUtility::EStopped;
+ }
+#endif
+ return state;
+ }
+
+TBool CTestStepUnitMMFVidClient::PlayerStateOpening()
+ {
+ TBool state = EFalse;
+ if (iPlayer && !iVpu2)
+ {
+ state = iPlayer->iBody->iState == CVideoPlayerUtility::EOpening;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ if (iPlayer2 )
+ {
+ state = iPlayer2->iBody->iState == CVideoPlayerUtility::EOpening;
+ }
+#endif
+ return state ;
+ }
+
+TBool CTestStepUnitMMFVidClient::PlayerStatePaused()
+ {
+ TBool state = EFalse;
+ if (iPlayer && !iVpu2)
+ {
+ state = iPlayer->iBody->iState == CVideoPlayerUtility::EPaused;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ if (iPlayer2 )
+ {
+ state = iPlayer2->iBody->iState == CVideoPlayerUtility::EPaused;
+ }
+#endif
+ return state;
+ }
+
+TBool CTestStepUnitMMFVidClient::PlayerStatePlaying()
+ {
+ TBool state = EFalse;
+ if (iPlayer && !iVpu2)
+ {
+ state = iPlayer->iBody->iState == CVideoPlayerUtility::EPlaying;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ if (iPlayer2 )
+ {
+ state = iPlayer2->iBody->iState == CVideoPlayerUtility::EPlaying;
+ }
+#endif
+ return state;
+ }
+
+#ifdef SYMBIAN_BUILD_GCE
+void CTestStepUnitMMFVidClient::SurfaceSupported()
+ {
+ if (iPlayer && !iVpu2)
+ {
+ iSurfaceSupported = iPlayer->iBody->iGraphicsSurfaceSupported;
+ }
+ if (iPlayer2 )
+ {
+ iSurfaceSupported = iPlayer2->iBody->iGraphicsSurfaceSupported;
+ }
+ }
+
+TBool CTestStepUnitMMFVidClient::SurfaceCreated()
+ {
+ TBool surfaceCreated = EFalse;
+ if (iPlayer && !iVpu2 && iPlayer->iBody->iActiveDisplays.Count() > 0)
+ {
+ surfaceCreated = iPlayer->iBody->iActiveDisplays[0]->IsSurfaceCreated();
+ }
+ if (iPlayer2 && iPlayer2->iBody->iActiveDisplays.Count() > 0)
+ {
+ surfaceCreated = iPlayer2->iBody->iActiveDisplays[0]->IsSurfaceCreated();
+ }
+
+ return surfaceCreated;
+ }
+
+#endif // SYMBIAN_BUILD_GCE
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+TInt CTestStepUnitMMFVidClient::SubtitleCrpDataCount()
+ {
+ TInt count(0);
+ if (iPlayer2 && iPlayer2->iBody && iPlayer2->iBody->iSubtitleUtility)
+ {
+ count = iPlayer2->iBody->iSubtitleUtility->iCrpDataArray.Count();
+ }
+ return count;
+ }
+
+// check that the given subtitle data are found in subtitle utility, return ETrue if found
+TBool CTestStepUnitMMFVidClient::CheckSubtitleData(TInt aWindowId, TInt aCrpId, const TRect& aCrpRect)
+ {
+ const RArray<CMMFSubtitleUtility::TCrpData>& crpDataArray = iPlayer2->iBody->iSubtitleUtility->iCrpDataArray;
+ TBool found = EFalse;
+ for (TInt i = crpDataArray.Count(); --i >= 0; )
+ {
+ const CMMFSubtitleUtility::TCrpData& data = crpDataArray[i];
+ if (data.iWindowId == aWindowId && data.iCrpRect == aCrpRect && data.iCrpId.Id() == aCrpId)
+ {
+ found = ETrue;
+ break;
+ }
+ }
+
+ if (!found)
+ {
+ ERR_PRINTF1(_L("Unexpected CrpData."));
+ }
+
+ return found;
+ }
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+TVerdict CTestStepUnitMMFVidClient::ControllerCalled(const TDesC8& aText, TBool aExpected)
+ {
+ return DoControllerCalled(KLogFunction, aText, aExpected);
+ }
+
+TVerdict CTestStepUnitMMFVidClient::ControllerCalled2(const TDesC8& aText, TBool aExpected)
+ {
+ return DoControllerCalled(KLogFunction2, aText, aExpected);
+ }
+
+TVerdict CTestStepUnitMMFVidClient::DoControllerCalled(TInt aFunction, const TDesC8& aText, TBool aExpected)
+ {
+ // Get the controller
+ TInt err = KErrNone;
+ RMMFController* controller = NULL;
+ err = GetPlayerController(controller);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error getting controller %d"), err);
+ return EInconclusive;
+ }
+
+ // Check that the correct functions were called in the controller
+ TBuf8<64> functionText;
+ TUid uid = { KMmfVideoTestControllerUid };
+ TMMFMessageDestination handleInfo(uid);
+ TMMFMessageDestinationPckg message(handleInfo);
+
+ TBuf<64> functionText16;
+ err = controller->CustomCommandSync(message, aFunction, KNullDesC8, KNullDesC8, functionText);
+ if (err == KErrNone )
+ {
+ functionText16.Copy(aText);
+
+ if (aExpected)
+ {
+ INFO_PRINTF2(_L("Expect %S"), &functionText16);
+ }
+ else
+ {
+ INFO_PRINTF2(_L("Should not have %S"), &functionText16);
+ }
+
+ if ((functionText.Compare(aText) == 0 && aExpected) ||
+ (functionText.Compare(aText) != 0 && !aExpected))
+ {
+ iTestStepResult = EPass;
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ return iTestStepResult;
+ }
+ }
+ return iTestStepResult;
+ }
+
+/**
+@return success or not
+@ gets the state of the utility
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+TBool CTestStepUnitMMFVidClient::RecorderStateStopped()
+ {
+ ASSERT(iRecorder);
+ return iRecorder->iBody->iState == CVideoRecorderUtility::EStopped;
+ }
+
+TBool CTestStepUnitMMFVidClient::RecorderStateOpening()
+ {
+ ASSERT(iRecorder);
+ return iRecorder->iBody->iState == CVideoRecorderUtility::EOpening;
+ }
+
+TBool CTestStepUnitMMFVidClient::RecorderStatePaused()
+ {
+ ASSERT(iRecorder);
+ return iRecorder->iBody->iState == CVideoRecorderUtility::EPaused;
+ }
+
+TBool CTestStepUnitMMFVidClient::RecorderStateRecording()
+ {
+ ASSERT(iRecorder);
+ return iRecorder->iBody->iState == CVideoRecorderUtility::ERecording;
+ }
+
+/**
+@return success or not
+@ gets the clip rectangle value of the utility
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+TInt CTestStepUnitMMFVidClient::GetPlayerClipRect(TRect& aRect)
+ {
+ if (iPlayer == NULL && !iVpu2)
+ {
+ return KErrNotReady;
+ }
+
+ if (!iVpu2)
+ {
+ aRect = iPlayer->iBody->iClipRect;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ if (iPlayer2 == NULL && iVpu2)
+ {
+ return KErrNotReady;
+ }
+
+ if (iVpu2)
+ {
+ aRect = (*(iPlayer2->iBody->iActiveDisplays[0]->iWindowsArrayPtr))[0].iClipRect;
+ }
+#endif
+ return KErrNone;
+ }
+
+/**
+@return success or not
+@ gets the video extent value of the utility
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+TInt CTestStepUnitMMFVidClient::GetPlayerWindowRect(TRect& aRect)
+ {
+ if (iPlayer == NULL && !iVpu2)
+ {
+ return KErrNotReady;
+ }
+
+ if (!iVpu2)
+ {
+ aRect = iPlayer->iBody->iWindowRect;
+ }
+
+#ifdef SYMBIAN_BUILD_GCE
+ if (iPlayer2 == NULL && iVpu2)
+ {
+ return KErrNotReady;
+ }
+
+ if (iVpu2)
+ {
+ aRect = (*(iPlayer2->iBody->iActiveDisplays[0]->iWindowsArrayPtr))[0].iVideoExtent;
+ }
+#endif
+ return KErrNone;
+ }
+
+/**
+@return success or not
+@ gets the init screen number of the utility
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+TInt CTestStepUnitMMFVidClient::GetInitScreenNumber()
+ {
+ TInt screenNumber = 0;
+ if (iPlayer && !iVpu2)
+ {
+ screenNumber = iPlayer->iBody->iScreenNumber;
+ }
+ return screenNumber;
+ }
+
+/**
+@return success or not
+@ gets the RMMFController of the utility
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+TInt CTestStepUnitMMFVidClient::GetPlayerController(RMMFController*& aController)
+ {
+ if (iPlayer == NULL && !iVpu2)
+ {
+ return KErrNotReady;
+ }
+
+ if (!iVpu2)
+ {
+ aController = &iPlayer->iBody->iController;
+ }
+
+#ifdef SYMBIAN_BUILD_GCE
+ if (iPlayer2 == NULL && iVpu2)
+ {
+ return KErrNotReady;
+ }
+
+ if (iVpu2)
+ {
+ aController = &iPlayer2->iBody->iController;
+ }
+#endif
+ return KErrNone;
+ }
+
+
+/**
+@return success or not
+@ gets the RMMFController of the utility
+@lib "TSU_MMF_VCLNT_01.lib"
+*/
+TInt CTestStepUnitMMFVidClient::GetRecorderController(RMMFController*& aController)
+ {
+ if (iRecorder == NULL)
+ {
+ return KErrNotReady;
+ }
+ else
+ {
+ aController = &iRecorder->iBody->iController;
+ return KErrNone;
+ }
+ }
+
+void CTestStepUnitMMFVidClient::InitWservL()
+ {
+ TInt err = iWs.Connect();
+ if (err != KErrNone)
+ {
+ // Access violation if ws is null
+ INFO_PRINTF1(_L("Cannot test, no window server available"));
+ User::Leave(err);
+ }
+ iScreen = new (ELeave) CWsScreenDevice(iWs); // make device for this session
+ User::LeaveIfError(iScreen->Construct()); // and complete its construction
+
+ iRootWindow = RWindowGroup(iWs);
+ User::LeaveIfError(iRootWindow.Construct((TUint32)this, ETrue));
+
+ iWindow = new(ELeave) RWindow(iWs);
+ User::LeaveIfError(((RWindow*)iWindow)->Construct(iRootWindow,((TUint32)(this)) + 1));
+ iWindow->SetRequiredDisplayMode(EColor16MAP);
+ iWindow->SetExtent(TPoint(0,0), TSize(400,200));
+ iWindow->SetVisible(ETrue);
+ iWindow->Activate();
+ iWs.Flush();
+ }
+
+void CTestStepUnitMMFVidClient::DeInitWserv()
+ {
+ if (iWindow)
+ {
+ iWindow->Close();
+ delete iWindow;
+ iWindow = NULL;
+ }
+ iRootWindow.Close();
+ delete iScreen;
+ iScreen = NULL;
+ iWs.Flush();
+ iWs.Close();
+ }
+
+void CTestStepUnitMMFVidClient::InitEikonL()
+ {
+/* iEikEnv = new(ELeave) CEikonEnv();
+ TRAPD(err, iEikEnv->ConstructL(ETrue)); // N.B. this call must be trapped otherwise it panics
+ User::LeaveIfError(err);
+*/ }
+
+void CTestStepUnitMMFVidClient::DeInitEikon()
+ {
+/* if (iEikEnv)
+ {
+ iEikEnv->DestroyEnvironment();
+ iEikEnv = NULL;
+ }
+*/ }
+
+// ----------------------------------
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepVidPlayerDrm.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,538 @@
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include <testframework.h>
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+
+// Specific includes for these test steps
+#include "TestStepVidPlayer.h"
+
+
+//
+// Literals
+//
+//_LIT(KConfigFile, "video.ini"); // config file for this test - TODO use script to load video.ini
+_LIT(KSectionDrm, "SectionDRM"); // video.ini section
+_LIT(KEntryFileRights, "VideoContent"); // video.ini filename entry
+_LIT(KEntryFileNoRights, "VideoContentNoRights"); // video.ini filename entry
+_LIT(KDefaultRightsUniqueId, "LongVideoId"); // unique Id for this content
+
+/**
+ *
+ * Static constructor for CTestStepVidPlayerDrm.
+ *
+ * @param The name of this test step.
+ *
+ * @return "CTestStepVidPlayerDrm*"
+ * The constructed CTestStepVidPlayerDrm object.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidPlayerDrm* CTestStepVidPlayerDrm::NewL(const TDesC& aTestName, TSource aSource, TTest aTest)
+ {
+ CTestStepVidPlayerDrm* self = new(ELeave) CTestStepVidPlayerDrm(aTestName, aSource, aTest, EFalse);
+ return self;
+ }
+
+
+CTestStepVidPlayerDrm* CTestStepVidPlayerDrm::NewAllocTestL(const TDesC& aTestName, TSource aSource, TTest aTest)
+ {
+ CTestStepVidPlayerDrm* self = new(ELeave) CTestStepVidPlayerDrm(aTestName, aSource, aTest, ETrue);
+ return self;
+ }
+
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @param The name of this test step.
+ *
+ */
+CTestStepVidPlayerDrm::CTestStepVidPlayerDrm(const TDesC& aTestName, TSource aSource, TTest aTest, TBool aDoAllocTest)
+ {
+ // This is the test case name that is used by the script file.
+ iTestStepName = aTestName;
+ iTest = aTest;
+ iSource = aSource;
+ iDoAllocTest = aDoAllocTest;
+ iError = KErrNone;
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidPlayerDrm::~CTestStepVidPlayerDrm()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerDrm::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+
+ INFO_PRINTF2(_L("Open complete, error code: %d"), aError);
+
+
+ switch (iTest)
+ {
+ case EProtectedPlayIntent:
+ if (iError == KErrNone)
+ {
+ iState = EPrepare;
+ NextState();
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ }
+ break;
+
+ case EProtectedUnknownIntent:
+ if (iError == KErrCANoRights || iError == KErrCANoPermission)
+ {
+ iTestStepResult = EPass;
+ iState = EStop;
+ NextState();
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ }
+ break;
+
+ case EProtectedPlayNoRights:
+ if (iError == KErrCANoRights)
+ {
+ iState = EStop;
+ NextState();
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ }
+
+ break;
+
+ default:
+ ASSERT(EFalse);
+ break;
+ }
+
+
+ }
+
+void CTestStepVidPlayerDrm::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ INFO_PRINTF1(_L("MvpuoFrameReady callback"));
+ }
+
+void CTestStepVidPlayerDrm::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ INFO_PRINTF2(_L("Prepare complete %d"), aError);
+
+ if (iError == KErrNone)
+ {
+ iState = EPlay;
+ NextState();
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ }
+
+ }
+
+void CTestStepVidPlayerDrm::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ INFO_PRINTF2(_L("Play complete %d"), aError);
+
+ if (iError == KErrNone)
+ {
+ iTestStepResult = EPass;
+ iState = EStop;
+ NextState();
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ }
+
+ }
+
+void CTestStepVidPlayerDrm::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ INFO_PRINTF1(_L("MvpuoEvent callback"));
+ }
+
+TVerdict CTestStepVidPlayerDrm::GetConfig()
+ {
+ TVerdict verdict = EPass;
+
+ switch (iTest)
+ {
+ case EProtectedPlayNoRights:
+ if (!GetStringFromConfig(KSectionDrm, KEntryFileNoRights, iFileName))
+ {
+ INFO_PRINTF1(_L("File name not found in INI file."));
+ verdict = EInconclusive;
+ }
+ break;
+ default:
+ if (!GetStringFromConfig(KSectionDrm, KEntryFileRights, iFileName))
+ {
+ INFO_PRINTF1(_L("File name not found in INI file."));
+ verdict = EInconclusive;
+ }
+ break;
+ }
+
+ return verdict;
+ }
+
+TInt CTestStepVidPlayerDrm::OpenFile()
+ {
+ TRect rect, clipRect;
+ TRAPD(err, iPlayer = CVideoPlayerUtility::NewL(*this,
+ EMdaPriorityNormal,
+ EMdaPriorityPreferenceTimeAndQuality,
+ iWs,
+ *iScreen,
+ *iWindow,
+ rect,
+ clipRect));
+
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Unable to create video player, error %d"), err);
+ }
+ else
+ {
+ ContentAccess::TIntent intent;
+ switch (iTest)
+ {
+ case EProtectedPlayIntent:
+ intent = ContentAccess::EPlay;
+ break;
+ case EProtectedUnknownIntent:
+ intent = ContentAccess::EUnknown;
+ break;
+ case EProtectedPlayNoRights:
+ intent = ContentAccess::EPlay;
+ break;
+ default:
+ ASSERT(EFalse); // we shouldn't be here
+ intent = ContentAccess::EUnknown;
+ };
+
+ switch (iSource)
+ {
+ case EFileSource:
+ {
+ TMMFileSource tfs(iFileName, KDefaultRightsUniqueId, intent);
+ TRAP(err, iPlayer->OpenFileL(tfs));
+ break;
+ }
+ case EFileHandleSource:
+ {
+ TMMFileHandleSource tfhs(iFile, KDefaultRightsUniqueId, intent);
+ TRAP(err, iPlayer->OpenFileL(tfhs));
+ break;
+ }
+ }
+
+ if (err != KErrNone)
+ {
+ INFO_PRINTF3(_L("Unable to open file %S, error %d"), &iFileName, err);
+ }
+ else
+ {
+ INFO_PRINTF2(_L("Opened file %S"), &iFileName);
+ }
+ }
+
+ return err;
+ }
+
+
+void CTestStepVidPlayerDrm::CheckVerdict(const TDesC& aName)
+ {
+ if (iTestStepResult != EPass)
+ {
+ INFO_PRINTF3(_L("%S iError = %d"), &aName, iError);
+
+ // Stop the test run immediately on fail.
+ // Note: this causes a return from CActiveScheduler::Start()
+ // in DoTestStepL().
+ CActiveScheduler::Stop();
+ }
+ }
+
+/**
+ *
+ * Run the next test step as defined by the state machine.
+ *
+ * Test steps are usually asynchronous and the result is checked in the callback.
+ * In certain cases it may also be necessary to check a synchronous result.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+void CTestStepVidPlayerDrm::RunStepL()
+ {
+ iError = KErrNone;
+ User::LeaveIfError(OpenFile());
+ CActiveScheduler::Start();
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+
+/**
+ *
+ * Run the next test step as defined by the state machine.
+ *
+ * Test steps are usually asynchronous and the result is checked in the callback.
+ * In certain cases it may also be necessary to check a synchronous result.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+void CTestStepVidPlayerDrm::NextState()
+ {
+ switch (iState)
+ {
+ case EPrepare:
+ iPlayer->Prepare();
+ break;
+
+ case EPlay:
+ iPlayer->Play();
+ break;
+
+ case EStop:
+ // Note: this causes a return from CActiveScheduler::Start()
+ // in DoTestStepL().
+ CActiveScheduler::Stop();
+ break;
+ }
+
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidPlayerDrm::DoTestStepPreambleL(void)
+ {
+ // this installs the scheduler
+ TVerdict verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ if (verdict == EPass)
+ {
+ // Printing to the console and log file
+ INFO_PRINTF2(_L("%S"), &iTestStepName);
+ INFO_PRINTF1(_L("This test is opening a protected content file with CVideoPlayerUtility::OpenFileSourceL()"));
+
+ TRAPD(err , InitWservL());
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Unable to initialise window server, error %d"), err);
+ verdict = EInconclusive;
+ }
+ }
+
+ if (verdict == EPass)
+ {
+ verdict = GetConfig();
+ }
+
+ if (iSource == EFileHandleSource)
+ {
+ iFs.Connect();
+ iFs.ShareProtected();
+ User::LeaveIfError(iFile.Open(iFs, iFileName, EFileRead));
+ }
+
+ return verdict;
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidPlayerDrm::DoTestStepL()
+ {
+
+ if (iDoAllocTest)
+ {
+
+ return DoTestStepAllocL();
+ }
+ else
+ {
+ RunStepL();
+ }
+
+
+ INFO_PRINTF1(_L("Finished with this test step"));
+
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidPlayerDrm::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+
+ iFile.Close();
+ iFs.Close();
+
+ UnloadConfig(); // TODO use script to load video.ini
+
+ // Destroy the scheduler
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+
+TVerdict CTestStepVidPlayerDrm::DoTestStepAllocL()
+ {
+ INFO_PRINTF1(_L("Alloc test to open a protected video clip"));
+
+
+ iTestStepResult = EPass;
+
+ TInt failCount = 1;
+ TBool completed = EFalse;
+ TBool badResult = EFalse;
+ TBool reachedEnd = EFalse;
+ TInt error = KErrNone;
+
+ while (!completed)
+ {
+ INFO_PRINTF2(_L("fail count %d"), failCount);
+ __UHEAP_SETFAIL(RHeap::EFailNext, failCount);
+ __MM_HEAP_MARK;
+
+
+ TRAP(error, RunStepL());
+ ASSERT(error == KErrNone || iError == KErrNone);
+ if (error != KErrNone)
+ iError = error;
+
+ completed = EFalse;
+ if (iError == KErrNone)
+ {
+
+ TAny *testAlloc = User::Alloc(1); // when this fails, we passed through all allocs within test
+ if (testAlloc == NULL)
+ {
+ reachedEnd = ETrue;
+ failCount--;
+ }
+ else
+ {
+ User::Free(testAlloc);
+ testAlloc = NULL;
+ }
+
+
+
+ if (iTestStepResult != EPass)
+ {
+ badResult = ETrue;
+ }
+
+ completed = reachedEnd || badResult;
+ }
+ else if (iError != KErrNoMemory)
+ {
+ __UHEAP_SETFAIL(RHeap::ENone, 0);
+ ERR_PRINTF2(_L("Bad error code %d"), iError);
+ completed = ETrue;
+ badResult = EFail;
+ }
+
+ __MM_HEAP_MARKEND;
+ __UHEAP_SETFAIL(RHeap::ENone, 0);
+
+ failCount++;
+ }
+
+ if (iError != KErrNone || badResult)
+ {
+ if (badResult)
+ {
+ INFO_PRINTF3(_L("Bad result with %d memory allocations tested. The Error returned is %d."), failCount, iError);
+ }
+ else
+ {
+ INFO_PRINTF3(_L("Error(%d) with %d memory allocations tested."), failCount, iError);
+ }
+
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L("Completed OK with %d memory allocations tested.\n"), failCount);
+ iTestStepResult = EPass;
+ }
+
+ return iTestStepResult;
+ }
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepVidPlayerManip.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,8236 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+// EPOC includes
+#include <e32base.h>
+#include <e32test.h>
+#include <e32keys.h>
+#include <c32comm.h>
+#include <f32file.h>
+#include <etel.h>
+#include <etelmm.h>
+#include <badesca.h>
+// #include <techview/eikon.rsg>
+// #include <techview/eikcfdlg.h>
+// #include <mw/apgcli.h>
+// #include <mw/apacmdln.h>
+
+// Test system includes
+#include <testframework.h>
+
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfvideo.h>
+#include <mmf/server/mmfdes.h>
+#include <mmf/server/mmffile.h>
+
+#include <mmf/common/mmfcontroller.h>
+#include <videoplayer.h>
+#include <videorecorder.h>
+#include <caf/caf.h>
+
+#ifdef SYMBIAN_BUILD_GCE
+#include <videoplayer2.h>
+#endif
+
+#include "TS_Codes.h"
+
+
+_LIT(KVclntAppTestResultName, "C:\\VCLNT_APP_TEST_RESULT.txt");
+//_LIT(KVclntAppSemName, "VclntAppSem");
+_LIT8(KLitPass, "EPass");
+_LIT8(KLitFail, "EFail");
+_LIT8(KLitInconclusive, "EInconclusive");
+_LIT8(KLitTestSuiteError, "ETestSuiteError");
+
+
+
+using namespace ContentAccess;
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+
+// Specific includes for these test steps
+#include "TestStepVidPlayer.h"
+
+const TInt KFrameWidth = 100;
+const TInt KFrameHeight = 50;
+
+
+const TReal32 KScaleWidth1 = 1.5f;
+const TReal32 KScaleWidth2 = .75f;
+const TReal32 KScaleHeight1 = 1.65f;
+const TReal32 KScaleHeight2 = .3f;
+
+const TInt KCropRegionRectTop = 1;
+const TInt KCropRegionRectLeft =3;
+const TInt KCropRegionRectRight = 5;
+const TInt KCropRegionRectBottom = 7;
+
+
+_LIT(KClockFileName, "c:\\mm\\mmf\\testfiles\\vclnt\\clock.dummy");
+_LIT(KVideoTestControllerName, "CMMFVideoTestController");
+_LIT(KVidOnlyFile, "c:\\mm\\mmf\\testfiles\\vclnt\\xvidonly.avi");
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerPlay.
+ *
+ *
+ * @return "CTestStepVidPlayerPlay*"
+ * The constructed CTestStepVidPlayerPlay
+ */
+CTestStepVidPlayerPlay* CTestStepVidPlayerPlay::NewL()
+ {
+ CTestStepVidPlayerPlay* self = new(ELeave) CTestStepVidPlayerPlay;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerPlay::CTestStepVidPlayerPlay() : iHasPlayed(EFalse)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0020-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerPlay::~CTestStepVidPlayerPlay()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerPlay::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerPlay::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerPlay::MvpuoPlayComplete(TInt aError)
+ {
+ iHasPlayed = ETrue;
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerPlay::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerPlay::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerPlay::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is playing a video with a CVideoPlayerUtility::PlayL()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerPlay::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerPlay::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if ( !PlayerStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayAndStartSchedulerL() );
+ if ( err == KErrNone && iHasPlayed )
+ return EPass;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerStop.
+ *
+ *
+ * @return "CTestStepVidPlayerStop*"
+ * The constructed CTestStepVidPlayerStop
+ */
+CTestStepVidPlayerStop* CTestStepVidPlayerStop::NewL()
+ {
+ CTestStepVidPlayerStop* self = new(ELeave) CTestStepVidPlayerStop;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerStop::CTestStepVidPlayerStop()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0021-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerStop::~CTestStepVidPlayerStop()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerStop::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerStop::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerStop::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerStop::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerStop::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerStop::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test stops playing a video with CVideoPlayerUtility::StopL()"));
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerStop::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerStop::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EPass;
+
+ iError = KErrNone;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if ( !iPlayer || !PlayerStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ return EFail;
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone )
+ return EInconclusive;
+
+
+ err = iPlayer->Stop();
+
+ if (err != KErrNone)
+ return EFail;
+
+ if ( !iPlayer || !PlayerStateStopped() )
+ return EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerPause.
+ *
+ *
+ * @return "CTestStepVidPlayerPause*"
+ * The constructed CTestStepVidPlayerPause
+ */
+CTestStepVidPlayerPause* CTestStepVidPlayerPause::NewL()
+ {
+ CTestStepVidPlayerPause* self = new(ELeave) CTestStepVidPlayerPause;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerPause::CTestStepVidPlayerPause()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0022-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerPause::~CTestStepVidPlayerPause()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerPause::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerPause::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerPause::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerPause::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerPause::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerPause::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test pauses a playing video with a CVideoPlayerUtility::PauseL()"));
+
+ iError = KErrNone; //KErrTimedOut;
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerPause::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepVidPlayerPause::OpenAndStartSchedulerL()
+ {
+ iPlayer->OpenFileL(iFileName);
+ CActiveScheduler::Start();
+ }
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerPause::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EPass;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if ( !iPlayer || !PlayerStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ return EFail;
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone)
+ return EFail;
+
+ TRAP(err, PlayAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone )
+ return EInconclusive;
+
+ iPlayer->PauseL();
+
+ if ( !iPlayer || !PlayerStatePaused() )
+ iTestStepResult = EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerPriority.
+ *
+ *
+ * @return "CTestStepVidPlayerPriority*"
+ * The constructed CTestStepVidPlayerPriority
+ */
+CTestStepVidPlayerPriority* CTestStepVidPlayerPriority::NewL()
+ {
+ CTestStepVidPlayerPriority* self = new(ELeave) CTestStepVidPlayerPriority;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerPriority::CTestStepVidPlayerPriority()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0023-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerPriority::~CTestStepVidPlayerPriority()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerPriority::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerPriority::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerPriority::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerPriority::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerPriority::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerPriority::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test retrieves the priority setting with CVideoPlayerUtility::PriorityL()"));
+
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerPriority::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerPriority::DoTestStepL()
+ {
+ iTestStepResult = EFail;
+ TInt err;
+ err = KErrNone;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if ( !PlayerStateStopped())
+ {
+ INFO_PRINTF1(_L("Player not in stopped state"));
+ return EFail;
+ }
+
+ TInt priority;
+ TMdaPriorityPreference preference;
+
+ // Set/GetPriority test 0
+ // Testing before the controller is ready
+ iPlayer->SetPriorityL(EMdaPriorityMin, EMdaPriorityPreferenceNone);
+ iPlayer->PriorityL(priority, preference);
+ if ((priority != EMdaPriorityMin) && (preference != EMdaPriorityPreferenceNone))
+ {
+ INFO_PRINTF1(_L("Priority test failed"));
+ return EFail;
+ }
+
+ TRAP(err, OpenAndStartSchedulerL() );
+ if ( err != KErrNone || iError != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error calling OpenAndStartSchedulerL %d"), iError);
+ return EInconclusive;
+ }
+
+ // check that the values are still correct
+ iPlayer->PriorityL(priority, preference);
+ if ((priority != EMdaPriorityMin) && (preference != EMdaPriorityPreferenceNone))
+ {
+ INFO_PRINTF1(_L("Priority test failed"));
+ return EFail;
+ }
+
+ // Set/GetPriority test 1
+ iPlayer->SetPriorityL(EMdaPriorityMin, EMdaPriorityPreferenceNone);
+ iPlayer->PriorityL(priority, preference);
+ if ((priority != EMdaPriorityMin) && (preference != EMdaPriorityPreferenceNone))
+ {
+ INFO_PRINTF1(_L("Priority test failed"));
+ return EFail;
+ }
+
+ // Set/GetPriority test 2
+ iPlayer->SetPriorityL(EMdaPriorityNormal, EMdaPriorityPreferenceTime);
+ iPlayer->PriorityL(priority, preference);
+ if ((priority != EMdaPriorityNormal) && (preference != EMdaPriorityPreferenceTime))
+ {
+ INFO_PRINTF1(_L("Priority test failed"));
+ return EFail;
+ }
+
+ // Set/GetPriority test 3
+ iPlayer->SetPriorityL(EMdaPriorityMax, EMdaPriorityPreferenceQuality);
+ iPlayer->PriorityL(priority, preference);
+ if ((priority != EMdaPriorityMax) && (preference != EMdaPriorityPreferenceQuality))
+ {
+ INFO_PRINTF1(_L("Priority test failed"));
+ return EFail;
+ }
+
+ // Set/GetPriority test 4
+ iPlayer->SetPriorityL(EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ iPlayer->PriorityL(priority, preference);
+ if ((priority != EMdaPriorityNormal) && (preference != EMdaPriorityPreferenceTimeAndQuality))
+ {
+ INFO_PRINTF1(_L("Priority test failed"));
+ return EFail;
+ }
+
+ iTestStepResult = EPass;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerSetDisplayWindow.
+ *
+ *
+ * @return "CTestStepVidPlayerSetDisplayWindow*"
+ * The constructed CTestStepVidPlayerSetDisplayWindow
+ */
+CTestStepVidPlayerSetDisplayWindow* CTestStepVidPlayerSetDisplayWindow::NewL(TBool aUseSurface,TInt aStatus)
+ {
+ CTestStepVidPlayerSetDisplayWindow* self = new(ELeave) CTestStepVidPlayerSetDisplayWindow(aUseSurface, aStatus);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerSetDisplayWindow::CTestStepVidPlayerSetDisplayWindow(TBool aUseSurface, TInt aStatus)
+ {
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iVpu2 = aUseSurface;
+ if (aUseSurface && aStatus == CTestStepUnitMMFVidClient::ESurfaceMode)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0854-CP");
+ }
+ else if (!aUseSurface && aStatus == CTestStepUnitMMFVidClient::ENotSurfaceMode)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0025-HP");
+ }
+ else
+ {
+ iTestStepName = _L("unknown");
+ }
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerSetDisplayWindow::~CTestStepVidPlayerSetDisplayWindow()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerSetDisplayWindow::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerSetDisplayWindow::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerSetDisplayWindow::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerSetDisplayWindow::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerSetDisplayWindow::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerSetDisplayWindow::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ if (!iVpu2)
+ {
+ INFO_PRINTF1(_L("this test sets the display window with CVideoPlayerUtility::SetDisplayWindowL()"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this test sets the display window with CVideoPlayerUtility2::SetDisplayWindowL()"));
+ }
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerSetDisplayWindow::DoTestStepPostambleL(void)
+ {
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerSetDisplayWindow::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ TRect clipRect(0, 0, 80, 60);
+ TPoint screenPos(10, 10);
+ TRect screenRect(screenPos, clipRect.Size());
+ TRect refScreenRect, refClipRect;
+
+ InitWservL();
+
+ TRect rect;
+ if (!iVpu2)
+ {
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, rect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ }
+#endif
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("Failed NewL() or the state is not stopped."));
+ return EInconclusive;
+ }
+
+ TRAP(err, OpenAndStartSchedulerL());
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ return EInconclusive;
+ }
+
+ if (!iVpu2)
+ {
+ TRAP(err, iPlayer->SetDisplayWindowL(iWs, *iScreen, *iWindow, screenRect, clipRect));
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ TRAP(err, iPlayer2->SetDisplayWindowL(iWs, *iScreen, *iWindow, screenRect, clipRect));
+ }
+
+ if (iVpu2 && err != KErrNotSupported)
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ return EFail;
+ }
+#endif
+ if (!iVpu2)
+ {
+ if (err != KErrNone ||
+ GetPlayerWindowRect(refScreenRect) ||
+ GetPlayerClipRect(refClipRect) )
+ {
+ return EFail;
+ }
+
+ if (refClipRect != clipRect || refScreenRect != screenRect)
+ {
+ return EFail;
+ }
+
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+ if (!iSurfaceSupported)
+ {
+ iTestStepResult = ControllerCalled(_L8("SetDisplayWindowL called"));
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+
+ iTestStepResult = EPass;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+CTestStepVidPlayerRestart* CTestStepVidPlayerRestart::NewL()
+ {
+ CTestStepVidPlayerRestart* self = new(ELeave) CTestStepVidPlayerRestart();
+ return self;
+ }
+
+CTestStepVidPlayerRestart::CTestStepVidPlayerRestart()
+ {
+ iTestStepResult = EPass;
+ iTestStepName = _L("MM-MMF-VCLNT-U-0050-LP");
+ }
+
+CTestStepVidPlayerRestart::~CTestStepVidPlayerRestart()
+ {
+ }
+
+TVerdict CTestStepVidPlayerRestart::DoTestStepPreambleL()
+ {
+ TVerdict verdict = EFail;
+
+ InitWservL();
+
+ TRAPD(err, InitEikonL());
+ if (err == KErrNone)
+ {
+ iFileName.Set(KClockFileName);
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("Testing CVideoPlayerUtility::CBody::Restart"));
+ verdict = EPass;
+ }
+
+ return verdict;
+ }
+
+TVerdict CTestStepVidPlayerRestart::DoTestStepPostambleL()
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+
+ DeInitWserv();
+
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepVidPlayerRestart::Close()
+ {
+ CTestStepUnitMMFVidClient::Close();
+ // DeInitEikon has to be called outside of any TRAP handler
+ DeInitEikon();
+ }
+
+TVerdict CTestStepVidPlayerRestart::DoTestStepL()
+ {
+ iTestStepResult = EFail;
+
+ TInt err = KErrNone;
+
+ RFs fs;
+ err = fs.Connect();
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error connecting to fs session %d"), err);
+ return EInconclusive;
+ }
+
+ // Make sure the results file does not exist
+ err = fs.Delete(KVclntAppTestResultName);
+ if (err != KErrNone && err != KErrNotFound)
+ {
+ INFO_PRINTF2(_L("Error deleting results file %d"), err);
+ return EInconclusive;
+ }
+
+ // Prepare to run the vclnt test app
+ TBuf8<KMaxLenTestStepName> testStepName;
+ testStepName.Copy(iTestStepName);
+/* CApaCommandLine* cmdLine = CApaCommandLine::NewLC();
+ cmdLine->SetExecutableNameL(KTestAppFullPath);
+ cmdLine->SetTailEndL(testStepName);
+ RApaLsSession session;
+ err = session.Connect();
+ if (err != KErrNone)
+ {
+ INFO_PRINTF1(_L("Unable to connect to RApaLsSession"));
+ return EInconclusive;
+ }
+ // Start the app
+ INFO_PRINTF1(_L("Starting VCLNT test app..."));
+ err = session.StartApp(*cmdLine);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF1(_L("Unable to start vclnt test app"));
+ return EInconclusive;
+ }
+
+ // Wait for the app to finish
+ RSemaphore sem;
+ err = sem.CreateGlobal(KVclntAppSemName, 0);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error creating semaphore %d"), err);
+ return EInconclusive;
+ }
+ INFO_PRINTF1(_L("Waiting for VCLNT test app to finish..."));
+ sem.Wait();
+ sem.Close();
+ CleanupStack::PopAndDestroy(cmdLine);
+
+ INFO_PRINTF1(_L("App finished"));
+*/
+ // Get the test result from file created by the vclnt test app
+ RFile file;
+ err = file.Open(fs, KVclntAppTestResultName, EFileRead);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error opening results file %d"), err);
+ return EInconclusive;
+ }
+
+ TBuf8<32> resultsBuf;
+ err = file.Read(resultsBuf);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error reading results file %d"), err);
+ return EInconclusive;
+ }
+
+ // Convert the buffer to a valid result value
+ TBool recognizedResult = ETrue;
+ if (resultsBuf.Compare(KLitPass) == 0)
+ {
+ iTestStepResult = EPass;
+ }
+ else if (resultsBuf.Compare(KLitFail) == 0)
+ {
+ iTestStepResult = EFail;
+ }
+ else if (resultsBuf.Compare(KLitInconclusive) == 0)
+ {
+ iTestStepResult = EInconclusive;
+ }
+ else if (resultsBuf.Compare(KLitTestSuiteError) == 0)
+ {
+ iTestStepResult = ETestSuiteError;
+ }
+ else
+ {
+ // Result was not recognized
+ recognizedResult = EFalse;
+ iTestStepResult = EInconclusive;
+ }
+ file.Close();
+
+ if (recognizedResult) // if it's an unrecognized result, don't delete the result file
+ {
+ // Delete the test result file
+ err = fs.Delete(KVclntAppTestResultName);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Warning: Error deleting results file %d"), err);
+ }
+ }
+ fs.Close();
+
+ INFO_PRINTF1(_L("finished with this test step"));
+
+ return iTestStepResult;
+ }
+
+// from MVideoRecorderUtilityObserver
+void CTestStepVidPlayerRestart::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerRestart::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerRestart::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerRestart::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerRestart::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+//
+CTestStepVidPlayerStopStartDSA* CTestStepVidPlayerStopStartDSA::NewL(TInt aSurfaceMode)
+ {
+ CTestStepVidPlayerStopStartDSA* self = new(ELeave) CTestStepVidPlayerStopStartDSA(aSurfaceMode);
+ return self;
+ }
+
+CTestStepVidPlayerStopStartDSA::CTestStepVidPlayerStopStartDSA(TInt aSurfaceMode)
+ {
+ iTestStepResult = EPass;
+ if (aSurfaceMode == CTestStepUnitMMFVidClient::ENotSurfaceMode)
+ {
+ iVpu2 = EFalse;
+ iTestStepName = _L("MM-MMF-VCLNT-U-0051-LP");
+ }
+ else
+ {
+ iVpu2 = ETrue;
+ iTestStepName = _L("MM-MMF-VCLNT-U-0864-CP");
+ }
+ }
+
+CTestStepVidPlayerStopStartDSA::~CTestStepVidPlayerStopStartDSA()
+ {
+ }
+
+TVerdict CTestStepVidPlayerStopStartDSA::DoTestStepPreambleL()
+ {
+ TVerdict verdict = EFail;
+
+ InitWservL();
+
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ if (!iVpu2)
+ {
+ INFO_PRINTF1(_L("This test is stopping and restarting DirectScreenAccess of CVideoPlayerUtility"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("This is negative test (KErrNotSupported) for stopping and restarting DirectScreenAccess when using CVideoPlayerUtility2"));
+ }
+
+ return verdict;
+ }
+
+TVerdict CTestStepVidPlayerStopStartDSA::DoTestStepPostambleL()
+ {
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+
+ DeInitWserv();
+
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepVidPlayerStopStartDSA::Close()
+ {
+ CTestStepUnitMMFVidClient::Close();
+ }
+
+TVerdict CTestStepVidPlayerStopStartDSA::DoTestStepL()
+ {
+ TInt err = KErrNone;
+ TRect rect, clipRect;
+
+ if (!iVpu2)
+ {
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal,
+ EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal,
+ EMdaPriorityPreferenceTimeAndQuality);
+ }
+#endif
+
+ if ( !PlayerStateStopped() )
+ {
+ return EInconclusive;
+ }
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ {
+ return EInconclusive;
+ }
+ if (!iVpu2)
+ {
+ TRAP(err, iPlayer->StopDirectScreenAccessL());
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ TRAP(err, iPlayer2->StopDirectScreenAccessL());
+ }
+#endif
+ if (!iVpu2 && err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Failed to stop DirectScreenAccess, %d"), err);
+ return EFail;
+ }
+ if (iVpu2 && err != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("Expected KErrNotSuported. Got %d"), err);
+ return EFail;
+ }
+
+ if (!iVpu2)
+ {
+ TRAP(err, iPlayer->StartDirectScreenAccessL());
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ TRAP(err, iPlayer2->StartDirectScreenAccessL());
+ }
+#endif
+ if (!iVpu2 && err == KErrNone)
+ {
+ INFO_PRINTF1(_L("Restarted DirectScreenAccess"));
+ return EPass;
+ }
+ if (iVpu2 && err != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("Expected KErrNotSuported. Got %d"), err);
+ return EFail;
+ }
+ if (!iVpu2 && err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Failed to restart DirectScreenAccess, %d"), err);
+ iTestStepResult = EFail;
+ }
+
+ return iTestStepResult;
+ }
+
+// from MVideoPlayerUtilityObserver
+void CTestStepVidPlayerStopStartDSA::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerStopStartDSA::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerStopStartDSA::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerStopStartDSA::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerStopStartDSA::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerGetFrame.
+ *
+ *
+ * @return "CTestStepVidPlayerGetFrame*"
+ * The constructed CTestStepVidPlayerGetFrame
+ */
+CTestStepVidPlayerGetFrame* CTestStepVidPlayerGetFrame::NewL(TBool aUseIntentAPI)
+ {
+ CTestStepVidPlayerGetFrame* self = new(ELeave) CTestStepVidPlayerGetFrame(aUseIntentAPI);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerGetFrame::CTestStepVidPlayerGetFrame(TBool aUseIntentAPI) :
+ iUseIntentAPI(aUseIntentAPI)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ if (!iUseIntentAPI)
+ iTestStepName = _L("MM-MMF-VCLNT-U-0027-CP");
+ else
+ iTestStepName = _L("MM-MMF-VCLNT-U-0071-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerGetFrame::~CTestStepVidPlayerGetFrame()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerGetFrame::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerGetFrame::MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError)
+ {
+ if (aError!=KErrNone)
+ iError2 = aError;
+ else
+ {
+ if (aFrame.Handle() == NULL || aFrame.SizeInPixels() != TSize(KFrameWidth,KFrameHeight) )
+ iError2 = KErrArgument;
+ else
+ iError2 = KErrNone;
+ }
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerGetFrame::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerGetFrame::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerGetFrame::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerGetFrame::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test gets a frame with CVideoPlayerUtility::GetFrameL()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerGetFrame::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerGetFrame::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err;
+ err = KErrNone;
+ iError = KErrTimedOut; // Set error to something other than KErrNone
+ iError2 = KErrTimedOut; // Set error to something other than KErrNone
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer || !PlayerStateStopped())
+ return EInconclusive;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if ( err != KErrNone || iError != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error calling OpenAndStartSchedulerL %d"), iError);
+ return EInconclusive;
+ }
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if ( err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ // Call GetFrameL
+ if (iUseIntentAPI)
+ {
+ TRAP(err, iPlayer->GetFrameL(EColor16M, EPeek) );
+ }
+ else
+ {
+ TRAP(err, iPlayer->GetFrameL(EColor16M) );
+ }
+
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error calling GetFrameL %d"), err);
+ return EFail;
+ }
+
+ // Set error to something other than KErrNone
+ iError2 = KErrTimedOut;
+ CActiveScheduler::Start();
+
+ if (iError2 != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error in MvpuoFrameReady callback %d, or MvpuoFrameReady not called"), iError2);
+ return EFail;
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerGetFrameRate.
+ *
+ *
+ * @return "CTestStepVidPlayerGetFrameRate*"
+ * The constructed CTestStepVidPlayerGetFrameRate
+ */
+CTestStepVidPlayerGetFrameRate* CTestStepVidPlayerGetFrameRate::NewL()
+ {
+ CTestStepVidPlayerGetFrameRate* self = new(ELeave) CTestStepVidPlayerGetFrameRate;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerGetFrameRate::CTestStepVidPlayerGetFrameRate()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0028-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerGetFrameRate::~CTestStepVidPlayerGetFrameRate()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerGetFrameRate::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerGetFrameRate::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerGetFrameRate::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerGetFrameRate::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerGetFrameRate::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerGetFrameRate::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test get the frame rate with CVideoPlayerUtility::VideoFrameRateL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerGetFrameRate::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerGetFrameRate::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err;
+ err = KErrNone;
+ TReal32 frameRate;
+ TReal32 receivedFrameRate=0;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EFail;
+
+ if (!PlayerStateStopped())
+ return EFail;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone)
+ return EFail;
+
+
+ frameRate = 32;
+
+ TRAP(err, iPlayer->SetVideoFrameRateL(frameRate) );
+ if (err!=KErrNone)
+ return EFail;
+
+ TRAP(err, receivedFrameRate = iPlayer->VideoFrameRateL() );
+
+ if (err != KErrNone ||
+ frameRate != receivedFrameRate ) // or check with a known frame rate clip when there is a video controller and decoder available
+ iTestStepResult = EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerGetVFrameSize.
+ *
+ *
+ * @return "CTestStepVidPlayerGetVFrameSize*"
+ * The constructed CTestStepVidPlayerGetVFrameSize
+ */
+CTestStepVidPlayerGetVFrameSize* CTestStepVidPlayerGetVFrameSize::NewL()
+ {
+ CTestStepVidPlayerGetVFrameSize* self = new(ELeave) CTestStepVidPlayerGetVFrameSize;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerGetVFrameSize::CTestStepVidPlayerGetVFrameSize()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0029-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerGetVFrameSize::~CTestStepVidPlayerGetVFrameSize()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerGetVFrameSize::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerGetVFrameSize::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerGetVFrameSize::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerGetVFrameSize::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerGetVFrameSize::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerGetVFrameSize::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test gets the video frame size with CVideoPlayerUtility::VideoFrameSizeL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerGetVFrameSize::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerGetVFrameSize::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err;
+ err = KErrNone;
+ TSize frameSize;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EFail;
+
+ if (!PlayerStateStopped())
+ return EFail;
+
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, iPlayer->VideoFrameSizeL(frameSize) );
+
+ if (err != KErrNone ||
+ frameSize.iWidth < 0 ||
+ frameSize.iHeight < 0 ) // check with a known frame size clip when there is a video controller and decoder available
+ return EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerGetVBitRate.
+ *
+ *
+ * @return "CTestStepVidPlayerGetVBitRate*"
+ * The constructed CTestStepVidPlayerGetVBitRate
+ */
+CTestStepVidPlayerGetVBitRate* CTestStepVidPlayerGetVBitRate::NewL()
+ {
+ CTestStepVidPlayerGetVBitRate* self = new(ELeave) CTestStepVidPlayerGetVBitRate;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerGetVBitRate::CTestStepVidPlayerGetVBitRate()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0030-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerGetVBitRate::~CTestStepVidPlayerGetVBitRate()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerGetVBitRate::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerGetVBitRate::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerGetVBitRate::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerGetVBitRate::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerGetVBitRate::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerGetVBitRate::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test gets the video bit rate with CVideoPlayerUtility::VideoBitRateL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerGetVBitRate::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerGetVBitRate::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TInt bitRate = 0;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EFail;
+
+ if (!PlayerStateStopped())
+ return EFail;
+
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, bitRate = iPlayer->VideoBitRateL() );
+
+ if (err != KErrNone ||
+ bitRate < 0 ) // check with a known frame size clip when there is a video controller and decoder available
+ return EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerGetABitRate.
+ *
+ *
+ * @return "CTestStepVidPlayerGetABitRate*"
+ * The constructed CTestStepVidPlayerGetABitRate
+ */
+CTestStepVidPlayerGetABitRate* CTestStepVidPlayerGetABitRate::NewL()
+ {
+ CTestStepVidPlayerGetABitRate* self = new(ELeave) CTestStepVidPlayerGetABitRate;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerGetABitRate::CTestStepVidPlayerGetABitRate()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0031-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerGetABitRate::~CTestStepVidPlayerGetABitRate()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerGetABitRate::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerGetABitRate::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerGetABitRate::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerGetABitRate::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerGetABitRate::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerGetABitRate::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test gets the audio bit rate with CVideoPlayerUtility::AudioBitRateL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerGetABitRate::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerGetABitRate::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TInt bitRate = 0;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EInconclusive;
+
+ if (!PlayerStateStopped())
+ return EInconclusive;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, bitRate = iPlayer->AudioBitRateL() );
+
+ if (err != KErrNone ||
+ bitRate < 0 ) // check with a known frame size clip when there is a video controller and decoder available
+ return EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerAudEnabled.
+ *
+ *
+ * @return "CTestStepVidPlayerAudEnabled*"
+ * The constructed CTestStepVidPlayerAudEnabled
+ */
+CTestStepVidPlayerAudEnabled* CTestStepVidPlayerAudEnabled::NewL()
+ {
+ CTestStepVidPlayerAudEnabled* self = new(ELeave) CTestStepVidPlayerAudEnabled;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerAudEnabled::CTestStepVidPlayerAudEnabled()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0032-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerAudEnabled::~CTestStepVidPlayerAudEnabled()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerAudEnabled::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerAudEnabled::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerAudEnabled::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerAudEnabled::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerAudEnabled::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerAudEnabled::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test checks if the audio is enabled with CVideoPlayerUtility::AudioEnabledL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerAudEnabled::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerAudEnabled::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+// TBool audEnabled;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EFail;
+
+ if (!PlayerStateStopped())
+ return EFail;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+// TRAP(err, audEnabled = iPlayer->AudioEnabledL() );
+ TRAP(err, iPlayer->AudioEnabledL() ); // EABI warning removal
+
+ if (err != KErrNone )
+ return EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerClipPosition.
+ *
+ *
+ * @return "CTestStepVidPlayerClipPosition*"
+ * The constructed CTestStepVidPlayerClipPosition
+ */
+CTestStepVidPlayerClipPosition* CTestStepVidPlayerClipPosition::NewL()
+ {
+ CTestStepVidPlayerClipPosition* self = new(ELeave) CTestStepVidPlayerClipPosition;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerClipPosition::CTestStepVidPlayerClipPosition()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0033-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerClipPosition::~CTestStepVidPlayerClipPosition()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerClipPosition::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerClipPosition::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerClipPosition::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerClipPosition::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerClipPosition::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerClipPosition::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test sets the position in a video clip with CVideoPlayerUtility::SetPositionL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerClipPosition::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerClipPosition::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TTimeIntervalMicroSeconds pos = TTimeIntervalMicroSeconds(500000);
+ TTimeIntervalMicroSeconds refPos;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EFail;
+
+ if (!PlayerStateStopped())
+ return EFail;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, iPlayer->SetPositionL(pos) );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EInconclusive;
+ else
+ return EPass;
+#endif
+
+ if (err != KErrNone )
+ return EFail;
+
+ TRAP(err, refPos = iPlayer->PositionL() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported || refPos != pos)
+ return EFail;
+ else
+ return EPass;
+#endif
+
+ if (err != KErrNone || pos != refPos)
+ return EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerDuration.
+ *
+ *
+ * @return "CTestStepVidPlayerDuration*"
+ * The constructed CTestStepVidPlayerDuration
+ */
+CTestStepVidPlayerDuration* CTestStepVidPlayerDuration::NewL()
+ {
+ CTestStepVidPlayerDuration* self = new(ELeave) CTestStepVidPlayerDuration;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerDuration::CTestStepVidPlayerDuration()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0035-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerDuration::~CTestStepVidPlayerDuration()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerDuration::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerDuration::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerDuration::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerDuration::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerDuration::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerDuration::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test gets the duration of a video clip with CVideoPlayerUtility::DurationL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerDuration::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerDuration::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TTimeIntervalMicroSeconds dur;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EInconclusive;
+
+ if (!PlayerStateStopped())
+ return EInconclusive;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+ TRAP(err, dur = iPlayer->DurationL() );
+
+ if (err != KErrNone)
+ return EFail;
+
+ // check a known duration when codecs are available
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerVideoType.
+ *
+ *
+ * @return "CTestStepVidPlayerVideoType*"
+ * The constructed CTestStepVidPlayerVideoType
+ */
+CTestStepVidPlayerVideoType* CTestStepVidPlayerVideoType::NewL()
+ {
+ CTestStepVidPlayerVideoType* self = new(ELeave) CTestStepVidPlayerVideoType;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerVideoType::CTestStepVidPlayerVideoType()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0036-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerVideoType::~CTestStepVidPlayerVideoType()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerVideoType::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerVideoType::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerVideoType::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerVideoType::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerVideoType::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerVideoType::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test gets the video type of a video clip with CVideoPlayerUtility::VideoFormatMimeType()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerVideoType::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerVideoType::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TBuf8<256> type;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EInconclusive;
+
+ if (!PlayerStateStopped())
+ return EInconclusive;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+ TRAP(err, type = iPlayer->VideoFormatMimeType() );
+
+ if (err != KErrNone)
+ return EFail;
+
+ // check a known type when codecs are available
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerAudioType.
+ *
+ *
+ * @return "CTestStepVidPlayerAudioType*"
+ * The constructed CTestStepVidPlayerAudioType
+ */
+CTestStepVidPlayerAudioType* CTestStepVidPlayerAudioType::NewL()
+ {
+ CTestStepVidPlayerAudioType* self = new(ELeave) CTestStepVidPlayerAudioType;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerAudioType::CTestStepVidPlayerAudioType()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0037-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerAudioType::~CTestStepVidPlayerAudioType()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerAudioType::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerAudioType::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerAudioType::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerAudioType::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerAudioType::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerAudioType::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test gets the audio type of a video clip with CVideoPlayerUtility::AudioTypeL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerAudioType::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerAudioType::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TFourCC type;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EFail;
+
+ if (!PlayerStateStopped())
+ return EFail;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, type = iPlayer->AudioTypeL() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EFail;
+ else
+ return EPass;
+#else
+
+ if (err != KErrNone)
+ return EFail;
+#endif
+
+ // check a known audio type when codecs are available
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerVol.
+ *
+ *
+ * @return "CTestStepVidPlayerVol*"
+ * The constructed CTestStepVidPlayerVol
+ */
+CTestStepVidPlayerVol* CTestStepVidPlayerVol::NewL()
+ {
+ CTestStepVidPlayerVol* self = new(ELeave) CTestStepVidPlayerVol;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerVol::CTestStepVidPlayerVol()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0038-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerVol::~CTestStepVidPlayerVol()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerVol::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerVol::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerVol::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerVol::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerVol::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerVol::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this tests the volue functions with CVideoPlayerUtility::[Max|Set|]VolumeL()"));
+
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerVol::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerVol::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EFail;
+
+ if (!PlayerStateStopped())
+ return EFail;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TInt vol = 0;
+ TInt refVol = 0;
+
+ TRAP(err, vol = iPlayer->MaxVolume() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EFail;
+#else
+ if (err != KErrNone ||
+ vol < 0)
+ return EFail;
+#endif
+
+ TRAP(err, iPlayer->SetVolumeL(vol/2) );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EFail;
+#else
+ if (err != KErrNone)
+ return EFail;
+#endif
+
+ TRAP(err, refVol = iPlayer->Volume() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported || refVol != vol/2)
+ return EFail;
+ else
+ return EPass;
+#else
+ if (err != KErrNone ||
+ refVol != vol/2 )
+ return EFail;
+#endif
+
+
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerBalance.
+ *
+ *
+ * @return "CTestStepVidPlayerBalance*"
+ * The constructed CTestStepVidPlayerBalance
+ */
+CTestStepVidPlayerBalance* CTestStepVidPlayerBalance::NewL()
+ {
+ CTestStepVidPlayerBalance* self = new(ELeave) CTestStepVidPlayerBalance;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerBalance::CTestStepVidPlayerBalance()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0041-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerBalance::~CTestStepVidPlayerBalance()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerBalance::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerBalance::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerBalance::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerBalance::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerBalance::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerBalance::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this tests the balance functions with CVideoPlayerUtility::[Get|Set]Balance()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerBalance::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerBalance::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TInt refBal = 0; //KMMFBalanceCentre
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EInconclusive;
+
+ if (!PlayerStateStopped())
+ return EInconclusive;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+ // test 1
+ TRAP(err, iPlayer->SetBalanceL(refBal) );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EFail;
+#endif
+
+#ifndef _TYPHOON_TEST_
+ if (err != KErrNone)
+ return EFail;
+#endif
+
+ TRAP(err, refBal = iPlayer->Balance() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported || refBal != 0)
+ return EFail;
+#endif
+
+#ifndef _TYPHOON_TEST_
+ if (err != KErrNone )
+ // refBal != 0)
+ return EFail;
+#endif
+
+ // test 2
+ TRAP(err, iPlayer->SetBalanceL(-100) );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EFail;
+#endif
+
+#ifndef _TYPHOON_TEST_
+ if (err != KErrNone)
+ return EFail;
+#endif
+
+ TRAP(err, refBal = iPlayer->Balance() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported || refBal != -100)
+ return EFail;
+ else
+ return EPass;
+#endif
+
+ if (err != KErrNone )
+ // refVBal != -100 )
+ return EFail;
+
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerMeta.
+ *
+ *
+ * @return "CTestStepVidPlayerMeta*"
+ * The constructed CTestStepVidPlayerMeta
+ */
+CTestStepVidPlayerMeta* CTestStepVidPlayerMeta::NewL()
+ {
+ CTestStepVidPlayerMeta* self = new(ELeave) CTestStepVidPlayerMeta;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerMeta::CTestStepVidPlayerMeta()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0043-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerMeta::~CTestStepVidPlayerMeta()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerMeta::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerMeta::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerMeta::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerMeta::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerMeta::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerMeta::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this tests the metadata functions with CVideoPlayerUtility::[NumberOf]MetaDataEntr[y|ies]L()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerMeta::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerMeta::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+// TInt numOfMeta;
+// CMMFMetaDataEntry* meta;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EFail;
+
+ if (!PlayerStateStopped())
+ return EFail;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+// TRAP(err, numOfMeta = iPlayer->NumberOfMetaDataEntriesL() );
+ TRAP(err, iPlayer->NumberOfMetaDataEntriesL() ); // EABI warning removal
+
+ if (err != KErrNone)
+ return EFail;
+
+ // call that goes to the dummy controller
+ TRAP(err, iPlayer->MetaDataEntryL(1) )
+
+ if (err != KErrNone)
+ return EFail;
+
+ // awaits video codec implementation
+ //for (TInt i=0; i<numOfMeta; i++)
+ // {
+ // TRAP(err, meta = iPlayer->MetaDataEntryL(i) );
+ // if (err != KErrNone ||
+ // meta != NULL)
+ // return EFail;
+ // }
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerPlayWindow.
+ *
+ *
+ * @return "CTestStepVidPlayerPlayWindow*"
+ * The constructed CTestStepVidPlayerPlayWindow
+ */
+CTestStepVidPlayerPlayWindow* CTestStepVidPlayerPlayWindow::NewL()
+ {
+ CTestStepVidPlayerPlayWindow* self = new(ELeave) CTestStepVidPlayerPlayWindow;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerPlayWindow::CTestStepVidPlayerPlayWindow() : iHasPlayed(EFalse)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0060-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerPlayWindow::~CTestStepVidPlayerPlayWindow()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerPlayWindow::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerPlayWindow::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerPlayWindow::MvpuoPlayComplete(TInt aError)
+ {
+ iHasPlayed = ETrue;
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerPlayWindow::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerPlayWindow::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerPlayWindow::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is playing a video with a CVideoPlayerUtility::Play(StartTime,EndTime)"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerPlayWindow::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerPlayWindow::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if ( !PlayerStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+ iPlayer->Play(TTimeIntervalMicroSeconds(KPlayStartTime),
+ TTimeIntervalMicroSeconds(KPlayEndTime));
+ CActiveScheduler::Start();
+ if (iError == KErrNone && iHasPlayed )
+ return EPass;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerGetImplementationInfo.
+ *
+ *
+ * @return "CTestStepVidPlayerGetImplementationInfo*"
+ * The constructed CTestStepVidPlayerGetImplementationInfo
+ */
+CTestStepVidPlayerGetImplementationInfo* CTestStepVidPlayerGetImplementationInfo::NewL()
+ {
+ CTestStepVidPlayerGetImplementationInfo* self = new(ELeave) CTestStepVidPlayerGetImplementationInfo;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerGetImplementationInfo::CTestStepVidPlayerGetImplementationInfo() : iHasPlayed(EFalse)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0061-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerGetImplementationInfo::~CTestStepVidPlayerGetImplementationInfo()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerGetImplementationInfo::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerGetImplementationInfo::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerGetImplementationInfo::MvpuoPlayComplete(TInt aError)
+ {
+ iHasPlayed = ETrue;
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerGetImplementationInfo::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerGetImplementationInfo::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerGetImplementationInfo::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is playing a video with a CVideoPlayerUtility::ControllerImplementationInformationL()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerGetImplementationInfo::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerGetImplementationInfo::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if ( !PlayerStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ const CMMFControllerImplementationInformation* info = NULL;
+
+ TRAP(err, info = &iPlayer->ControllerImplementationInformationL());
+ if (err != KErrNone)
+ return EFail;
+
+ if (info->DisplayName().Compare(KVideoTestControllerName)==0)
+ {
+ const RMMFFormatImplInfoArray& playFormats = info->PlayFormats();
+ INFO_PRINTF1(_L("Play Format Support"));
+
+ TBuf<256> ext;
+ TBuf<256> mime;
+ TInt i,j;
+ if (playFormats.Count() >0 )
+ {
+ for (i = 0;i<playFormats.Count();i++)
+ {
+ INFO_PRINTF2(_L("supported format %d: "),i);
+ const CDesC8Array& extensions = playFormats[i]->SupportedFileExtensions();
+ for (j = 0;j < extensions.Count(); j++)
+ {
+
+ ext.Copy(extensions[j]);
+ INFO_PRINTF2(_L("extension: %S"), &ext);
+ }
+ const CDesC8Array& mimeTypes = playFormats[i]->SupportedMimeTypes();
+ for (j = 0;j < mimeTypes.Count(); j++)
+ {
+ mime.Copy(mimeTypes[j]);
+ INFO_PRINTF2(_L("mime type: %S"), &mime);
+ }
+
+ }
+
+
+
+ }
+ else
+ return EFail;
+
+
+ const RMMFFormatImplInfoArray& recordFormats = info->RecordFormats();
+ INFO_PRINTF1(_L("Record Format Support"));
+
+ if (recordFormats.Count() >0 )
+ {
+ TInt i,j;
+ for (i = 0;i<recordFormats.Count();i++)
+ {
+ INFO_PRINTF2(_L("supported format %d: "),i);
+ const CDesC8Array& extensions = recordFormats[i]->SupportedFileExtensions();
+ for (j = 0;j < extensions.Count(); j++)
+ {
+ ext.Copy(extensions[j]);
+ INFO_PRINTF2(_L("extension: %S"), &ext);
+ }
+ const CDesC8Array& mimeTypes = recordFormats[i]->SupportedMimeTypes();
+ for (j = 0;j < mimeTypes.Count(); j++)
+ {
+ mime.Copy(mimeTypes[j]);
+ INFO_PRINTF2(_L("mime type: %S"), &mime);
+ }
+
+ }
+ }
+ else
+ return EFail;
+
+
+ iTestStepResult = EPass;
+
+ }
+ else
+ iTestStepResult = EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerGeneralEvent.
+ *
+ *
+ * @return "CTestStepVidPlayerGeneralEvent*"
+ * The constructed CTestStepVidPlayerGeneralEvent
+ */
+CTestStepVidPlayerGeneralEvent* CTestStepVidPlayerGeneralEvent::NewL()
+ {
+ CTestStepVidPlayerGeneralEvent* self = new(ELeave) CTestStepVidPlayerGeneralEvent;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerGeneralEvent::CTestStepVidPlayerGeneralEvent()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0064-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerGeneralEvent::~CTestStepVidPlayerGeneralEvent()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerGeneralEvent::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerGeneralEvent::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerGeneralEvent::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerGeneralEvent::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerGeneralEvent::MvpuoEvent(const TMMFEvent& aEvent)
+ {
+ iEventReceived = ETrue;
+ if (aEvent.iEventType == KMMFEventCategoryVideoPlayerGeneralError &&
+ aEvent.iErrorCode == KTestGeneralError)
+ iCorrectEventReceived = ETrue;
+ else
+ iCorrectEventReceived = EFalse;
+ CActiveScheduler::Stop();
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerGeneralEvent::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is of receiving a general event from a controller"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerGeneralEvent::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerGeneralEvent::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err!=KErrNone)
+ return EInconclusive;
+
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+ // test without a return value
+ err = iPlayer->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandRequestGeneralEvent,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ return EInconclusive;
+
+ CActiveScheduler::Start();
+ iTestStepResult = EFail;
+
+ if (iEventReceived)
+ {
+ if (iCorrectEventReceived)
+ iTestStepResult = EPass;
+ else
+ INFO_PRINTF1(_L("incorrect event received"));
+ }
+ else
+ INFO_PRINTF1(_L("incorrect callback received"));
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerSendCustomCommandAsync.
+ *
+ *
+ * @return "CTestStepVidPlayerSendCustomCommandAsync*"
+ * The constructed CTestStepVidPlayerSendCustomCommandAsync
+ */
+CTestStepVidPlayerSendCustomCommandAsync* CTestStepVidPlayerSendCustomCommandAsync::NewL()
+ {
+ CTestStepVidPlayerSendCustomCommandAsync* self = new(ELeave) CTestStepVidPlayerSendCustomCommandAsync;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerSendCustomCommandAsync::CTestStepVidPlayerSendCustomCommandAsync() : iHasPlayed(EFalse)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0063-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerSendCustomCommandAsync::~CTestStepVidPlayerSendCustomCommandAsync()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerSendCustomCommandAsync::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerSendCustomCommandAsync::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerSendCustomCommandAsync::MvpuoPlayComplete(TInt aError)
+ {
+ iHasPlayed = ETrue;
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerSendCustomCommandAsync::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerSendCustomCommandAsync::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerSendCustomCommandAsync::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ iAsyncObserver = new (ELeave) CAsyncObserver;
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is a test of CVideoPlayerUtility::CustomCommandAsync()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerSendCustomCommandAsync::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ delete iAsyncObserver;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerSendCustomCommandAsync::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err!=KErrNone)
+ return EInconclusive;
+
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ iDestinationPckg = TMMFMessageDestinationPckg(uid);
+
+ // test without a return value
+ iPlayer->CustomCommandAsync(iDestinationPckg,
+ EMMFTestCustomCommandGeneralAsynchronous,
+ KFirstParameter,
+ KSecondParameter,
+ iAsyncObserver->ActiveStatus());
+
+ CActiveScheduler::Start();
+ if (iAsyncObserver->iStatus.Int() !=KTestCustomCommandSuccess)
+ return EFail;
+
+ TBuf8<256> buf;
+
+ iPlayer->CustomCommandAsync(iDestinationPckg,
+ EMMFTestCustomCommandGeneralAsynchronousWithReturn,
+ KFirstParameter,
+ KSecondParameter,
+ buf,
+ iAsyncObserver->ActiveStatus());
+
+ CActiveScheduler::Start();
+ if (iAsyncObserver->iStatus.Int() !=KTestCustomCommandSuccess)
+ return EFail;
+
+ if (buf.Compare(KReturnParameter)==0)
+ iTestStepResult = EPass;
+ else
+ iTestStepResult = EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerSendCustomCommandSync.
+ *
+ *
+ * @return "CTestStepVidPlayerSendCustomCommandSync*"
+ * The constructed CTestStepVidPlayerSendCustomCommandSync
+ */
+CTestStepVidPlayerSendCustomCommandSync* CTestStepVidPlayerSendCustomCommandSync::NewL()
+ {
+ CTestStepVidPlayerSendCustomCommandSync* self = new(ELeave) CTestStepVidPlayerSendCustomCommandSync;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerSendCustomCommandSync::CTestStepVidPlayerSendCustomCommandSync()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0062-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerSendCustomCommandSync::~CTestStepVidPlayerSendCustomCommandSync()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerSendCustomCommandSync::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerSendCustomCommandSync::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerSendCustomCommandSync::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerSendCustomCommandSync::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerSendCustomCommandSync::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerSendCustomCommandSync::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is a test of CVideoPlayerUtility::CustomCommandSync()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerSendCustomCommandSync::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerSendCustomCommandSync::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err!=KErrNone)
+ return EInconclusive;
+
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+ // test without a return value
+ err = iPlayer->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandGeneralSynchronous,
+ KFirstParameter,
+ KSecondParameter);
+
+ if (err!=KTestCustomCommandSuccess)
+ return EFail;
+
+ TBuf8<256> buf;
+
+ err = iPlayer->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandGeneralSynchronousWithReturn,
+ KFirstParameter,
+ KSecondParameter,
+ buf);
+
+ if (err!=KTestCustomCommandSuccess)
+ return EFail;
+
+ if (buf.Compare(KReturnParameter)==0)
+ iTestStepResult = EPass;
+ else
+ iTestStepResult = EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerReloadingTest.
+ *
+ *
+ * @return "CTestStepVidPlayerReloadingTest*"
+ * The constructed CTestStepVidPlayerReloadingTest
+ */
+CTestStepVidPlayerReloadingTest* CTestStepVidPlayerReloadingTest::NewL()
+ {
+ CTestStepVidPlayerReloadingTest* self = new(ELeave) CTestStepVidPlayerReloadingTest;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerReloadingTest::CTestStepVidPlayerReloadingTest()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0065-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerReloadingTest::~CTestStepVidPlayerReloadingTest()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerReloadingTest::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerReloadingTest::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerReloadingTest::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerReloadingTest::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerReloadingTest::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+void CTestStepVidPlayerReloadingTest::MvloLoadingStarted()
+ {
+ iLoadingStarted = ETrue;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerReloadingTest::MvloLoadingComplete()
+ {
+ iLoadingComplete = ETrue;
+ CActiveScheduler::Stop();
+ }
+
+
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerReloadingTest::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test simulates a video clip being reloaded/rebuffered"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerReloadingTest::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerReloadingTest::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err!=KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+ iPlayer->RegisterForVideoLoadingNotification(*this);
+
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+ // test without a return value
+ err = iPlayer->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandSimulateReloading,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ return EInconclusive;
+
+ CActiveScheduler::Start();
+
+ if (!iLoadingStarted)
+ return EFail;
+
+ TInt percentageComplete = 0;
+ TInt oldPercentageComplete =0;
+ while (percentageComplete!=100 && percentageComplete>=oldPercentageComplete)
+ {
+ oldPercentageComplete = percentageComplete;
+ iPlayer->GetVideoLoadingProgressL(percentageComplete);
+ INFO_PRINTF2(_L("Loading progress: %d"),percentageComplete);
+ User::After(100);
+ }
+
+
+ CActiveScheduler::Start();
+
+ if (iLoadingComplete && percentageComplete == 100)
+ iTestStepResult = EPass;
+ else
+ iTestStepResult = EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerRefreshFrame.
+ *
+ *
+ * @return "CTestStepVidPlayerRefreshFrame*"
+ * The constructed CTestStepVidPlayerRefreshFrame
+ */
+CTestStepVidPlayerRefreshFrame* CTestStepVidPlayerRefreshFrame::NewL()
+ {
+ CTestStepVidPlayerRefreshFrame* self = new(ELeave) CTestStepVidPlayerRefreshFrame;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerRefreshFrame::CTestStepVidPlayerRefreshFrame()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0066-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerRefreshFrame::~CTestStepVidPlayerRefreshFrame()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerRefreshFrame::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerRefreshFrame::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerRefreshFrame::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerRefreshFrame::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerRefreshFrame::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerRefreshFrame::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this requests the controller to redraw the current frame with CVideoPlayerUtility::RefreshFrameL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerRefreshFrame::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerRefreshFrame::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err;
+ err = KErrNone;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EFail;
+
+ if (!PlayerStateStopped())
+ return EFail;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, iPlayer->RefreshFrameL() );
+
+ if (err != KErrNone) // or check with a known frame rate clip when there is a video controller and decoder available
+ return EFail;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ * Static constructor for CTestStepVidPlayerRotation.
+ *
+ * @return "CTestStepVidPlayerRotation*"
+ * The constructed CTestStepVidPlayerRotation
+ */
+CTestStepVidPlayerRotation* CTestStepVidPlayerRotation::NewL()
+ {
+ CTestStepVidPlayerRotation* self = new(ELeave) CTestStepVidPlayerRotation;
+ return self;
+ }
+
+/**
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerRotation::CTestStepVidPlayerRotation()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+
+ iTestStepName = _L("MM-MMF-VCLNT-U-0067-HP");
+ }
+
+/**
+ * Test step destructor.
+ */
+CTestStepVidPlayerRotation::~CTestStepVidPlayerRotation()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerRotation::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerRotation::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerRotation::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerRotation::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerRotation::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerRotation::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this tests CVideoPlayerUtility::SetRotationL() and CVideoPlayerUtility::RotationL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerRotation::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerRotation::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err;
+ err = KErrNone;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EFail;
+
+ if (!PlayerStateStopped())
+ return EFail;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TInt rotation = EVideoRotationNone;
+
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+ if (iSurfaceSupported)
+ {
+ INFO_PRINTF1(_L("The controller supports the graphics surfaces"));
+ }
+
+ // EVideoRotationNone
+ TRAP(err, iPlayer->SetRotationL(EVideoRotationNone));
+
+ if (err!=KErrNone)
+ return EFail;
+
+
+ TRAP(err, rotation = iPlayer->RotationL());
+
+ if (err!=KErrNone || rotation != EVideoRotationNone)
+ return EFail;
+
+ // EVideoRotationClockwise90
+ TRAP(err, iPlayer->SetRotationL(EVideoRotationClockwise90));
+
+ if (err!=KErrNone)
+ return EFail;
+
+
+ TRAP(err, rotation = iPlayer->RotationL());
+
+ if (err!=KErrNone || rotation != EVideoRotationClockwise90)
+ return EFail;
+
+ // EVideoRotationClockwise180
+ TRAP(err, iPlayer->SetRotationL(EVideoRotationClockwise180));
+
+ if (err!=KErrNone)
+ return EFail;
+
+
+ TRAP(err, rotation = iPlayer->RotationL());
+
+ if (err!=KErrNone || rotation != EVideoRotationClockwise180)
+ return EFail;
+
+ // EVideoRotationClockwise270
+ TRAP(err, iPlayer->SetRotationL(EVideoRotationClockwise270));
+
+ if (err!=KErrNone)
+ return EFail;
+
+
+ TRAP(err, rotation = iPlayer->RotationL());
+
+ if (err!=KErrNone || rotation != EVideoRotationClockwise270)
+ return EFail;
+
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+ if (!iSurfaceSupported)
+ {
+ iTestStepResult = ControllerCalled(_L8("MvpcGetRotationL Called"));
+ }
+ else
+ {
+ iTestStepResult = ControllerCalled(_L8("MvpcGetRotationL Called"), EFalse);
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerScale.
+ *
+ *
+ * @return "CTestStepVidPlayerScale*"
+ * The constructed CTestStepVidPlayerScale
+ */
+CTestStepVidPlayerScale* CTestStepVidPlayerScale::NewL()
+ {
+ CTestStepVidPlayerScale* self = new(ELeave) CTestStepVidPlayerScale;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerScale::CTestStepVidPlayerScale()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0068-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerScale::~CTestStepVidPlayerScale()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerScale::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerScale::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerScale::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerScale::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerScale::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerScale::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this tests CVideoPlayerUtility::SetScaleFactorL() and CVideoPlayerUtility::GetScaleFactor"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerScale::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerScale::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err;
+ err = KErrNone;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EFail;
+
+ if (!PlayerStateStopped())
+ return EFail;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+
+ if (iSurfaceSupported)
+ {
+ INFO_PRINTF1(_L("The controller supports the graphics surfaces"));
+ }
+
+ TReal32 widthScaleFactor = 0.0f;
+ TReal32 heightScaleFactor = 0.0f;
+ TBool antiAliasFilter = EFalse;
+
+
+ TRAP(err, iPlayer->SetScaleFactorL(KScaleWidth1, KScaleHeight1, ETrue));
+
+ if (err!=KErrNone)
+ return EFail;
+
+
+ TRAP(err, iPlayer->GetScaleFactorL(widthScaleFactor,heightScaleFactor,antiAliasFilter));
+
+ if (err!=KErrNone ||
+ widthScaleFactor != KScaleWidth1 ||
+ heightScaleFactor != KScaleHeight1 ||
+ !antiAliasFilter)
+ return EFail;
+
+ TRAP(err, iPlayer->SetScaleFactorL(KScaleWidth2, KScaleHeight2, EFalse));
+
+ if (err!=KErrNone)
+ return EFail;
+
+
+ TRAP(err, iPlayer->GetScaleFactorL(widthScaleFactor,heightScaleFactor,antiAliasFilter));
+
+ if (err!=KErrNone ||
+ widthScaleFactor != KScaleWidth2 ||
+ heightScaleFactor != KScaleHeight2 ||
+ antiAliasFilter)
+ return EFail;
+
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+ if (!iSurfaceSupported)
+ {
+ iTestStepResult = ControllerCalled(_L8("MvpcGetScaleFactorL Called"));
+ }
+ else
+ {
+ iTestStepResult = ControllerCalled(_L8("MvpcGetScaleFactorL Called"), EFalse);
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerCropRegion.
+ *
+ *
+ * @return "CTestStepVidPlayerCropRegion*"
+ * The constructed CTestStepVidPlayerCropRegion
+ */
+CTestStepVidPlayerCropRegion* CTestStepVidPlayerCropRegion::NewL()
+ {
+ CTestStepVidPlayerCropRegion* self = new(ELeave) CTestStepVidPlayerCropRegion;
+ return self;
+ }
+
+/**
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerCropRegion::CTestStepVidPlayerCropRegion()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0069-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerCropRegion::~CTestStepVidPlayerCropRegion()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerCropRegion::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerCropRegion::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerCropRegion::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerCropRegion::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerCropRegion::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerCropRegion::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this tests CVideoPlayerUtility::SetCropRegionL() and CVideoPlayerUtility::GetCropRegionL()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerCropRegion::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerCropRegion::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err;
+ err = KErrNone;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer)
+ return EFail;
+
+ if (!PlayerStateStopped())
+ return EFail;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRect cropRegion(KCropRegionRectLeft, KCropRegionRectTop, KCropRegionRectRight, KCropRegionRectBottom);
+ TRect region;
+
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+ if (iSurfaceSupported)
+ {
+ INFO_PRINTF1(_L("The controller supports the graphics surfaces"));
+ }
+
+ // Crop Region
+ TRAP(err, iPlayer->SetCropRegionL(cropRegion));
+
+ if (err!=KErrNone)
+ return EFail;
+
+
+ TRAP(err, iPlayer->GetCropRegionL(region));
+
+ if (err!=KErrNone || cropRegion != region)
+ return EFail;
+
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+
+ if (!iSurfaceSupported)
+ {
+ iTestStepResult = ControllerCalled(_L8("MvpcGetCropRegionL Called"));
+ }
+ else
+ {
+ iTestStepResult = ControllerCalled(_L8("MvpcGetCropRegionL Called"), EFalse);
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerPlayPause.
+ *
+ *
+ * @return "CTestStepVidPlayerPlayPause*"
+ * The constructed CTestStepVidPlayerPlayPause
+ */
+CTestStepVidPlayerPlayPause* CTestStepVidPlayerPlayPause::NewL()
+ {
+ CTestStepVidPlayerPlayPause* self = new(ELeave) CTestStepVidPlayerPlayPause;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerPlayPause::CTestStepVidPlayerPlayPause() : iHasPlayed(EFalse)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0070-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerPlayPause::~CTestStepVidPlayerPlayPause()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerPlayPause::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerPlayPause::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerPlayPause::MvpuoPlayComplete(TInt aError)
+ {
+ iHasPlayed = ETrue;
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerPlayPause::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerPlayPause::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerPlayPause::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is playing and then pausing a video & waiting for a MvpuoPlayComplete() callback"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerPlayPause::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerPlayPause::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if ( !PlayerStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+ // play & then pause the controller...
+ // because the test controller effectively ignores pause
+ // we should get a play complete callback anyway...
+ iPlayer->Play(TTimeIntervalMicroSeconds(KPlayStartTime),
+ TTimeIntervalMicroSeconds(KPlayEndTime));
+ iPlayer->PauseL();
+
+ CActiveScheduler::Start();
+ if (iError == KErrNone && iHasPlayed )
+ return EPass;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerCheckImplementationInfo.
+ *
+ *
+ * @return "CTestStepVidPlayerCheckImplementationInfo*"
+ * The constructed CTestStepVidPlayerCheckImplementationInfo
+ */
+CTestStepVidPlayerCheckImplementationInfo* CTestStepVidPlayerCheckImplementationInfo::NewL()
+ {
+ CTestStepVidPlayerCheckImplementationInfo* self = new(ELeave) CTestStepVidPlayerCheckImplementationInfo;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerCheckImplementationInfo::CTestStepVidPlayerCheckImplementationInfo() : iHasPlayed(EFalse)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0254-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerCheckImplementationInfo::~CTestStepVidPlayerCheckImplementationInfo()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerCheckImplementationInfo::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerCheckImplementationInfo::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerCheckImplementationInfo::MvpuoPlayComplete(TInt aError)
+ {
+ iHasPlayed = ETrue;
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerCheckImplementationInfo::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerCheckImplementationInfo::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+TVerdict CTestStepVidPlayerCheckImplementationInfo::DoTestStepPreambleL(void)
+ {
+ // this installs the scheduler
+ TVerdict verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is playing a video with a CVideoPlayerUtility::ControllerImplementationInformationL()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+TVerdict CTestStepVidPlayerCheckImplementationInfo::DoTestStepPostambleL(void)
+ {
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerCheckImplementationInfo::DoTestStepL()
+ {
+ TInt err = KErrNone;
+ iTestStepResult = EFail;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if ( !PlayerStateStopped() )
+ {
+ return EInconclusive;
+ }
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ {
+ return EInconclusive;
+ }
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ return EInconclusive;
+ }
+
+ TRAP(err, &iPlayer->ControllerImplementationInformationL());
+ if (err != KErrNone)
+ {
+ return EFail;
+ }
+
+ iPlayer->Close();
+
+ TRAP(err, &iPlayer->ControllerImplementationInformationL());
+
+ // Checking for KErrNotReady because we dont have one more videocontroller
+ // to compare
+ if (err == KErrNotReady )
+ {
+ iTestStepResult = EPass;
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//While video is playing, interrupt audio component.
+//Video should stop completely
+CTestStepVideoInterruptionByAudio* CTestStepVideoInterruptionByAudio::NewL()
+ {
+ CTestStepVideoInterruptionByAudio* self = new(ELeave) CTestStepVideoInterruptionByAudio();
+ return self;
+ }
+
+CTestStepVideoInterruptionByAudio::CTestStepVideoInterruptionByAudio()
+ {
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0508-HP");
+ }
+
+TVerdict CTestStepVideoInterruptionByAudio::DoTestStepPreambleL()
+ {
+ // this installs the scheduler
+ TVerdict verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+ _LIT(KVideoFileName, "c:\\mm\\mmf\\testfiles\\vclnt\\AudVid.avi");
+ iFileName.Set(KVideoFileName);
+
+ //create audio stream A - high priority
+ iAudStreamA = CMdaAudioOutputStream::NewL(*this, EMdaPriorityMax, EMdaPriorityPreferenceNone);
+ InitWservL();
+ //create video - normal priority
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceNone,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ const TInt KAudioBufferSize = 1024 * 10; //10 KB
+ iBuffer.CreateMaxL(KAudioBufferSize);
+
+ iTestTimer = CTestTimer::NewL(*this);
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("This step interrupts audio component of video,while playing.Video should be stopped"));
+ iTestStepResult = EFail;
+ return verdict;
+ }
+
+TVerdict CTestStepVideoInterruptionByAudio::DoTestStepPostambleL()
+ {
+ //cleanup audio stream
+ delete iAudStreamA;
+ iAudStreamA = NULL;
+ //video
+ delete iPlayer;
+ iPlayer = NULL;
+
+ delete iTestTimer;
+ iTestTimer = NULL;
+
+ //window cleanup
+ DeInitWserv();
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+TVerdict CTestStepVideoInterruptionByAudio::DoTestStepL()
+ {
+ iAudStreamA->Open(NULL);
+ CActiveScheduler::Start();
+ return iTestStepResult;
+ }
+
+void CTestStepVideoInterruptionByAudio::Tester(TEvents aEvent, TInt aError)
+ {
+ TInt err = KErrNone;
+ switch(aEvent)
+ {
+ case EAudioOpenComplete:
+ if(aError != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error in opening audio stream:%d"),aError);
+ FailTest();
+ break;
+ }
+ TRAP(err,iPlayer->OpenFileL(iFileName));
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error: leave in iPlayer->OpenFileL(iFileName):%d"),aError);
+ FailTest();
+ break;
+ }
+ break;
+
+ case EVideoOpenComplete:
+ #ifndef SYMBIAN_MMF_MODEL_CONTROLLERS
+ if(aError == KErrNotSupported)
+ {
+ INFO_PRINTF1(_L("Feature not supported"));
+ iTestStepResult = EPass;
+ CActiveScheduler::Stop();
+ return;
+ }
+ #endif
+ if(aError != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error: in opening video:%d"),aError);
+ FailTest();
+ break;
+ }
+ iPlayer->Prepare();
+ break;
+
+ case EVideoPrepareComplete:
+ TRAP(err, iPlayTime = iPlayer->DurationL());
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error:leave in -iPlayer->DurationL():%d "),err);
+ FailTest();
+ break;
+ }
+ iPlayer->Play(); //play video
+ iTestTimer->After(iPlayTime.Int64() + 5000000); //give double play time to end test
+ TRAP(err,iAudStreamA->WriteL(iBuffer));//start high priority audio
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error:leave in - iAudStreamA->WriteL(iBuffer):%d"),err);
+ FailTest();
+ break;
+ }
+ break;
+
+ case EVideoPlayComplete:
+ INFO_PRINTF2(_L("Video play complete: %d"), aError);
+ if(aError == KErrNone)
+ {
+ INFO_PRINTF1(_L("Test failure:Video played till end without interruption"));
+ FailTest();
+ }
+ else if(aError == KErrInUse)
+ {
+ iVidGotKErrInUse = ETrue;
+ }
+ break;
+ }
+ }
+
+void CTestStepVideoInterruptionByAudio::MaoscOpenComplete(TInt aError)
+ {
+ Tester(EAudioOpenComplete, aError);
+ }
+
+void CTestStepVideoInterruptionByAudio::MaoscBufferCopied(TInt /* aError */, const TDesC8& /* aBuffer */)
+ {
+ }
+
+void CTestStepVideoInterruptionByAudio::MaoscPlayComplete(TInt aError)
+ {
+ Tester(EAudioPlayComplete, aError);
+ }
+
+void CTestStepVideoInterruptionByAudio::MvpuoOpenComplete(TInt aError)
+ {
+ Tester(EVideoOpenComplete, aError);
+ }
+
+void CTestStepVideoInterruptionByAudio::MvpuoPrepareComplete(TInt aError)
+ {
+ Tester(EVideoPrepareComplete, aError);
+ }
+
+void CTestStepVideoInterruptionByAudio::MvpuoFrameReady(CFbsBitmap& /* aFrame */, TInt /* aError */)
+ {
+ }
+
+void CTestStepVideoInterruptionByAudio::MvpuoPlayComplete(TInt aError)
+ {
+ Tester(EVideoPlayComplete, aError);
+ }
+
+void CTestStepVideoInterruptionByAudio::MvpuoEvent(const TMMFEvent& /* aEvent */)
+ {
+ }
+
+void CTestStepVideoInterruptionByAudio::OnTimer()
+ {
+ iPlayer->Close();
+ if(iVidGotKErrInUse == EFalse)
+ {
+ INFO_PRINTF1(_L("Audio component of video not interrupted by Audio stream"));
+ FailTest();
+ }
+ else
+ {
+ iTestStepResult = EPass;
+ CActiveScheduler::Stop();
+ }
+ }
+
+void CTestStepVideoInterruptionByAudio::FailTest()
+ {
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidOnlyPlayerNoAudioType.
+ *
+ *
+ * @return "CTestStepVidOnlyPlayerNoAudioType*"
+ * The constructed CTestStepVidOnlyPlayerNoAudioType
+ */
+CTestStepVidOnlyPlayerNoAudioType* CTestStepVidOnlyPlayerNoAudioType::NewL()
+ {
+ CTestStepVidOnlyPlayerNoAudioType* self = new(ELeave) CTestStepVidOnlyPlayerNoAudioType;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidOnlyPlayerNoAudioType::CTestStepVidOnlyPlayerNoAudioType()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0257-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidOnlyPlayerNoAudioType::~CTestStepVidOnlyPlayerNoAudioType()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidOnlyPlayerNoAudioType::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidOnlyPlayerNoAudioType::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidOnlyPlayerNoAudioType::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidOnlyPlayerNoAudioType::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidOnlyPlayerNoAudioType::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidOnlyPlayerNoAudioType::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ iFileName.Set(KVidOnlyFile);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test tries to get the audio type of a video only clip with CVideoPlayerUtility::AudioTypeL(), so expecting KErrNotSupported"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidOnlyPlayerNoAudioType::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidOnlyPlayerNoAudioType::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TFourCC type;
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ if (!iPlayer)
+ {
+ INFO_PRINTF1(_L("Left while creating video player utility object"));
+ return EFail;
+ }
+
+ if (!PlayerStateStopped())
+ {
+ INFO_PRINTF1(_L("Left when state is not expected one"));
+ return EFail;
+ }
+
+ TRAP(err, OpenAndStartSchedulerL() );
+ if (err != KErrNone || iError != KErrNone)
+ {
+ INFO_PRINTF3(_L("ERROR: Left when the file is not found. err:%d; iError: %d"), err, iError );
+ return EInconclusive;
+ }
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+ if (err != KErrNone || iError != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error:left when the prepare is not success:%d"),err);
+ return EInconclusive;
+ }
+
+ TRAP(err, type = iPlayer->AudioTypeL() );
+ //Typhoon fix, Audio is not supported
+ if (err != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("Error:left when the error returned is not the expected one:%d"),err);
+ return EFail;
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//
+// INC122181
+//
+
+CTestStepINC122181* CTestStepINC122181::NewL()
+ {
+ CTestStepINC122181* self = new(ELeave) CTestStepINC122181();
+ return self;
+ }
+
+CTestStepINC122181::CTestStepINC122181()
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-INC122181-CP");
+ }
+
+CTestStepINC122181::~CTestStepINC122181()
+ {
+ }
+
+void CTestStepINC122181::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepINC122181::MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError)
+ {
+ if (aError!=KErrNone)
+ iError2 = aError;
+ else
+ {
+ if (aFrame.Handle() == NULL || aFrame.SizeInPixels() != TSize(KFrameWidth,KFrameHeight) )
+ {
+ iError2 = KErrArgument;
+ }
+ else
+ {
+ iTestStepResult = EPass;
+ iError2 = KErrNone;
+ }
+ }
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepINC122181::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ }
+
+void CTestStepINC122181::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepINC122181::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+TVerdict CTestStepINC122181::DoTestStepPreambleL(void)
+ {
+ TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+
+ return verdict;
+ }
+
+TVerdict CTestStepINC122181::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+TVerdict CTestStepINC122181::DoTestStepL()
+ {
+ iError = KErrTimedOut; // Set error to something other than KErrNone
+ iError2 = KErrTimedOut; // Set error to something other than KErrNone
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer || !PlayerStateStopped())
+ return EInconclusive;
+
+ TRAPD(err, OpenAndStartSchedulerL() );
+
+ if ( err != KErrNone || iError != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error calling OpenAndStartSchedulerL %d"), iError);
+ return EInconclusive;
+ }
+
+ TRAP(err, PlayerPrepareAndStartScheduler() );
+
+ if ( err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, iPlayer->GetFrameL(EColor16M) );
+
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error calling GetFrameL %d"), err);
+ return EFail;
+ }
+
+ iPlayer->Play();
+
+ // Set error to something other than KErrNone
+ iError2 = KErrTimedOut;
+ CActiveScheduler::Start();
+
+ if (iError2 != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error in MvpuoFrameReady callback %d, or MvpuoFrameReady not called"), iError2);
+ return EFail;
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+#ifdef SYMBIAN_BUILD_GCE
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerAddDisplayWindow.
+ *
+ *
+ * @return "CTestStepVidPlayerAddDisplayWindow*"
+ * The constructed CTestStepVidPlayerAddDisplayWindow
+ *
+ */
+CTestStepVidPlayerAddDisplayWindow* CTestStepVidPlayerAddDisplayWindow::NewL(TBool aSimplifiedVer, TInt aError, TBool aSameWindow)
+ {
+ CTestStepVidPlayerAddDisplayWindow* self = new(ELeave) CTestStepVidPlayerAddDisplayWindow(aSimplifiedVer, aError, aSameWindow);
+ return self;
+ }
+
+/**
+ * Test timer constructor.
+ */
+CTestStepVidPlayerAddDisplayWindow::CTestTimer* CTestStepVidPlayerAddDisplayWindow::CTestTimer::NewL(CTestStepVidPlayerAddDisplayWindow& aTestStepVidPlayer)
+ {
+ CTestTimer* self = new(ELeave)CTestTimer(aTestStepVidPlayer);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop();
+ return self;
+ }
+
+/**
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerAddDisplayWindow::CTestStepVidPlayerAddDisplayWindow(TBool aSimplifiedVer, TInt aError, TBool aSameWindow)
+ {
+ iSimplifiedVer = aSimplifiedVer;
+ iExpectedError = aError;
+ iSameWindow = aSameWindow;
+ iVpu2 = ETrue;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ if (!aSimplifiedVer)
+ {
+ if (aError == KErrNone)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0815-CP");
+ }
+ else if (aError == KErrInUse && aSameWindow)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0856-CP");
+ }
+ else if (aError == KErrInUse && !aSameWindow)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0865-CP");
+ }
+ else if (aError == KErrNotReady)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0857-CP");
+ }
+ else if (aError == KErrArgument)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0860-CP");
+ }
+ else
+ {
+ iTestStepName = _L("unknown");
+ }
+ }
+ else
+ {
+ if (aError == KErrNone)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0816-CP");
+ }
+ else if (aError == KErrInUse)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0858-CP");
+ }
+ else if (aError == KErrNotReady)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0859-CP");
+ }
+ else
+ {
+ iTestStepName = _L("unknown");
+ }
+ }
+ }
+
+/**
+ * Test step destructor.
+ */
+CTestStepVidPlayerAddDisplayWindow::~CTestStepVidPlayerAddDisplayWindow()
+ {
+ }
+
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerAddDisplayWindow::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerAddDisplayWindow::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerAddDisplayWindow::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerAddDisplayWindow::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerAddDisplayWindow::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ INFO_PRINTF1(_L("MvpuoEvent received"));
+ }
+
+void CTestStepVidPlayerAddDisplayWindow::OnTimer()
+ {
+ CActiveScheduler::Stop();
+ }
+
+/**
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerAddDisplayWindow::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ if (!iSimplifiedVer)
+ {
+ if ( iExpectedError == KErrNone)
+ {
+ INFO_PRINTF1(_L("This test adds the display window with CVideoPlayerUtility2::AddDisplayWindowL()"));
+ }
+ if (iExpectedError == KErrInUse)
+ {
+ INFO_PRINTF1(_L("This is failure test for CVideoPlayerUtility2::AddDisplayWindowL() with KErrInUse"));
+ }
+ if (iExpectedError == KErrNotReady)
+ {
+ INFO_PRINTF1(_L("This is failure test for CVideoPlayerUtility2::AddDisplayWindowL() with KErrNotReady"));
+ }
+ if (iExpectedError == KErrArgument)
+ {
+ INFO_PRINTF1(_L("This is failure test for CVideoPlayerUtility2::AddDisplayWindowL() with KErrArgument"));
+ }
+ }
+ else
+ {
+ if (iExpectedError == KErrNone)
+ {
+ INFO_PRINTF1(_L("this test adds the display window with CVideoPlayerUtility2::AddDisplayWindowL() simplified version"));
+ }
+ if (iExpectedError == KErrInUse)
+ {
+ INFO_PRINTF1(_L("This is failure test for CVideoPlayerUtility2::AddDisplayWindowL() simplified version with KErrInUse"));
+ }
+ if (iExpectedError == KErrNotReady)
+ {
+ INFO_PRINTF1(_L("This is failure test for CVideoPlayerUtility2::AddDisplayWindowL() simplified version with KErrNotReady"));
+ }
+ }
+ return verdict;
+ }
+
+/**
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerAddDisplayWindow::DoTestStepPostambleL(void)
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ delete iTestTimer;
+ iTestTimer = NULL;
+
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ * Test set video extent after graphics surface created.
+ */
+TBool CTestStepVidPlayerAddDisplayWindow::TestSetVideoExtentL()
+ {
+ TInt err = KErrNone;
+ TBool result = ETrue;
+ INFO_PRINTF1(_L("Set video extent after surface created."));
+ TRect videoExtent(0,0,50,70);
+ TRect getVideoExtent;
+
+ TRAP(err, iPlayer2->SetVideoExtentL(*iWindow, videoExtent));
+ if (err != KErrNone || GetPlayerWindowRect(getVideoExtent) != KErrNone
+ || getVideoExtent != videoExtent)
+ {
+ ERR_PRINTF1(_L("Failed when calling CustomCommandSync()"));
+ result = EFalse;
+ }
+ return result;
+ }
+
+/**
+ * Test set window clipping region after graphics surface created.
+ */
+TBool CTestStepVidPlayerAddDisplayWindow::TestSetGetWindowClipRectL()
+ {
+ TInt err = KErrNone;
+ TBool result = ETrue;
+ INFO_PRINTF1(_L("Set window clip rectangle after surface created."));
+ TRect clipRect(0,0,50,70);
+ TRect getClipRect;
+
+ TRAP(err, iPlayer2->SetWindowClipRectL(*iWindow, clipRect));
+ if (err != KErrNone || GetPlayerClipRect(getClipRect) != KErrNone
+ || getClipRect != clipRect)
+ {
+ ERR_PRINTF1(_L("Failed when calling CustomCommandSync()"));
+ result = EFalse;
+ }
+ return result;
+ }
+
+/**
+ * Test set and get rotation after graphics surface created.
+ */
+TBool CTestStepVidPlayerAddDisplayWindow::TestSetGetRotationL()
+ {
+ TInt err = KErrNone;
+ TBool result = ETrue;
+ INFO_PRINTF1(_L("Set Rotation after surface created."));
+ TRAP(err, static_cast<CVideoPlayerUtility*>(iPlayer2)->SetRotationL(EVideoRotationClockwise90));
+ TRAPD(err1, iPlayer2->SetRotationL(*iWindow, EVideoRotationClockwise180));
+
+ if (err!=KErrNone || err1 != KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed to set rotation."));
+ result = EFalse;
+ }
+
+ TInt rotation0 = EVideoRotationNone;
+ TInt rotation1 = EVideoRotationNone;
+ TRAP(err, rotation0 = iPlayer2->RotationL(*iWindow));
+ TRAP(err1, rotation1 = static_cast<CVideoPlayerUtility*>(iPlayer2)->RotationL());
+
+ if (err!=KErrNone || err1 != KErrNone ||
+ rotation0 != EVideoRotationClockwise180 || rotation1 != EVideoRotationClockwise90)
+ {
+ ERR_PRINTF1(_L("Failed to get rotation"));
+ result = EFalse;
+ }
+ return result;
+ }
+
+/**
+ * Test set and get scale factor after graphics surface created.
+ */
+TBool CTestStepVidPlayerAddDisplayWindow::TestSetGetScaleFactorL()
+ {
+ TInt err = KErrNone;
+ TBool result = ETrue;
+ INFO_PRINTF1(_L("Set Scale Factor after surface created."));
+ TReal32 widthScaleFactor1 = 0.0f;
+ TReal32 heightScaleFactor1 = 0.0f;
+ TReal32 widthScaleFactor2 = 0.0f;
+ TReal32 heightScaleFactor2 = 0.0f;
+ TBool antiAliasFilter = EFalse;
+
+ TRAP(err, static_cast<CVideoPlayerUtility*>(iPlayer2)->SetScaleFactorL(KScaleWidth1, KScaleHeight1, ETrue));
+ TRAPD(err1, iPlayer2->SetScaleFactorL(*iWindow, KScaleWidth2, KScaleHeight2));
+
+ if (err!=KErrNone || err1 != KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed to set scale factor"));
+ result = EFalse;
+ }
+
+ TRAP(err, static_cast<CVideoPlayerUtility*>(iPlayer2)->GetScaleFactorL(widthScaleFactor1,heightScaleFactor1,antiAliasFilter));
+ TRAP(err1, iPlayer2->GetScaleFactorL(*iWindow, widthScaleFactor2,heightScaleFactor2));
+
+ if (err!=KErrNone || err1 != KErrNone || !antiAliasFilter ||
+ widthScaleFactor1 != KScaleWidth1 || heightScaleFactor1 != KScaleHeight1 ||
+ widthScaleFactor2 != KScaleWidth2 || heightScaleFactor2 != KScaleHeight2)
+ {
+ ERR_PRINTF1(_L("Failed to get scale factor"));
+ result = EFalse;
+ }
+ return result;
+ }
+
+/**
+ * Test set and get scale factor after graphics surface created.
+ */
+TBool CTestStepVidPlayerAddDisplayWindow::TestSetGetCropRegionL()
+ {
+ TInt err = KErrNone;
+ TBool result = ETrue;
+ INFO_PRINTF1(_L("Set crop region after surface created."));
+ TRect cropRegion0(KCropRegionRectLeft, KCropRegionRectTop, KCropRegionRectRight, KCropRegionRectBottom);
+ TRect region0;
+ TRAP(err, static_cast<CVideoPlayerUtility*>(iPlayer2)->SetCropRegionL(cropRegion0));
+
+ if (err!=KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed to set crop region"));
+ result = EFalse;
+ }
+
+ TRAP(err, static_cast<CVideoPlayerUtility*>(iPlayer2)->GetCropRegionL(region0));
+
+ if (err!=KErrNone || region0 != cropRegion0)
+ {
+ ERR_PRINTF1(_L("Failed to get crop region"));
+ result = EFalse;
+ }
+ return result;
+ }
+
+/**
+ * Send custom command to the client
+ */
+TInt CTestStepVidPlayerAddDisplayWindow::SendCustomCommandSync(TMMFMessageDestinationPckg aDestPckg, TInt aFunction)
+ {
+ TInt err = KErrNone;
+ err = iPlayer2->CustomCommandSync(aDestPckg,
+ aFunction,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed when calling CustomCommandSync()"));
+ return err;
+ }
+ iTestTimer->After(5000000);
+ CActiveScheduler::Start();
+ return err;
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ */
+TVerdict CTestStepVidPlayerAddDisplayWindow::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ TRect clipRect(0,0,60,80);
+ TRect clipRect2(0,0,600,800);
+ TPoint screenPos(10, 10);
+ TRect screenRect(screenPos, clipRect.Size());
+ TRect refScreenRect, refClipRect;
+
+ InitWservL();
+
+ iTestTimer = CTestTimer::NewL(*this);
+
+ TRect rect;
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("The state is not stopped"));
+ return EInconclusive;
+ }
+
+ if (!iSimplifiedVer && (iExpectedError == KErrNone || iExpectedError == KErrArgument))
+ {
+ TRAP(err, OpenAndStartSchedulerL());
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed to open file"));
+ return EInconclusive;
+ }
+
+ if (iExpectedError == KErrNone )
+ {
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow, screenRect, clipRect));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EFail;
+ }
+ }
+ else
+ {
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow, screenRect, clipRect2));
+ if (err != KErrArgument)
+ {
+ ERR_PRINTF2(_L("Nagetive AddDisplayWindow test failed: %d. Expected: KErrArgument."), err);
+ return EFail;
+ }
+ }
+ }
+
+ if (!iSimplifiedVer && iExpectedError == KErrInUse)
+ {
+ // This is kind of sketchy since the error we expect at this point is actually KErrNone
+ // but due to the poorly constructed test case if we change it to that we'll actually run another test case!
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed to open file"));
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow, screenRect, clipRect));
+ if (err != KErrNone)
+ {
+ return EInconclusive;
+ }
+
+ CWsScreenDevice* screen2 = NULL;
+
+ if (!iSameWindow)
+ {
+ TInt wsNumber = iWs.NumberOfScreens();
+ if (wsNumber > 1)
+ {
+ screen2 = new (ELeave) CWsScreenDevice(iWs);
+ CleanupStack::PushL(screen2);
+ TInt newScreen = iScreen->GetScreenNumber() + 1; // a different screen number;
+ User::LeaveIfError(screen2->Construct(newScreen));
+ }
+ else
+ {
+ ERR_PRINTF1(_L("Failed when the winscw environment does not support multiple windows"));
+ return EInconclusive;
+ }
+ }
+
+ // Add display window using the secondary screen device (if it exists). Otherwise use the original screen.
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *(screen2 ? screen2 : iScreen), *iWindow, screenRect, clipRect));
+
+ if (screen2)
+ {
+ CleanupStack::PopAndDestroy(screen2);
+ }
+
+ if (err != KErrInUse)
+ {
+ return EFail;
+ }
+ }
+
+ if (!iSimplifiedVer && iExpectedError == KErrNotReady)
+ {
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow, screenRect, clipRect));
+ if (err != KErrNotReady)
+ {
+ return EFail;
+ }
+ }
+
+ if (iSimplifiedVer && iExpectedError == KErrNone)
+ {
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed to open file"));
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ return EFail;
+ }
+ }
+ if (iSimplifiedVer && iExpectedError == KErrInUse)
+ {
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed to open file"));
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ return EInconclusive;
+ }
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrInUse)
+ {
+ return EFail;
+ }
+ }
+ if (iSimplifiedVer && iExpectedError == KErrNotReady)
+ {
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNotReady)
+ {
+ return EFail;
+ }
+ }
+
+ if (err == KErrNone && (GetPlayerWindowRect(refScreenRect) ||
+ GetPlayerClipRect(refClipRect)))
+ {
+ ERR_PRINTF1(_L("Failed at get"));
+ return EFail;
+ }
+
+ if ((!iSimplifiedVer && iExpectedError == KErrNone) &&
+ (refClipRect != clipRect || refScreenRect != screenRect))
+ {
+ ERR_PRINTF1(_L("Failed when comparing the values"));
+ return EFail;
+ }
+
+ if ((iSimplifiedVer && iExpectedError == KErrNone) &&
+ (refClipRect != TRect(iWindow->Size()) || refScreenRect != TRect(iWindow->Size())))
+ {
+ ERR_PRINTF1(_L("Failed when comparing the values"));
+ return EFail;
+ }
+
+ // Now the surface has been created. Trigger the controller to send video surface created event to client api.
+ if (iExpectedError == KErrNone)
+ {
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+
+ INFO_PRINTF1(_L("AddDisplayWindowL() passed, then trigger event KMMFEventCategoryVideoSurfaceCreated video client."));
+
+ err = SendCustomCommandSync(destPckg, EMMFTestCustomCommandSimulateSurfaceCreated);
+
+ if (err!=KErrNone)
+ {
+ return EInconclusive;
+ }
+
+ // Controller should receive GetSurfaceParameters call.
+ iTestStepResult = ControllerCalled2(_L8("MvpssGetSurfaceParametersL Called"));
+ if (iTestStepResult == EFail)
+ {
+ return iTestStepResult;
+ }
+
+ if (SurfaceCreated())
+ {
+ if (!TestSetVideoExtentL() || !TestSetGetWindowClipRectL() ||
+ !TestSetGetRotationL() || !TestSetGetScaleFactorL() ||
+ !TestSetGetCropRegionL())
+ {
+ return EFail;
+ }
+ }
+ }
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ iTestStepResult = EPass;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+
+/**
+ *
+ * Static constructor for CTestStepVidPlayerSetInitScreenNumber.
+ *
+ * @return "CTestStepVidPlayerSetInitScreenNumber*"
+ * The constructed CTestStepVidPlayerSetInitScreenNumber
+ */
+CTestStepVidPlayerSetInitScreenNumber* CTestStepVidPlayerSetInitScreenNumber::NewL(TBool aUseSurface)
+ {
+ CTestStepVidPlayerSetInitScreenNumber* self = new(ELeave) CTestStepVidPlayerSetInitScreenNumber(aUseSurface);
+ return self;
+ }
+
+/**
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerSetInitScreenNumber::CTestStepVidPlayerSetInitScreenNumber(TBool aUseSurface)
+ {
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iVpu2 = aUseSurface;
+ if (aUseSurface)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0855-CP");
+ }
+ else
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-00xx-HP");
+ }
+ }
+
+/**
+ * Test step destructor.
+ */
+CTestStepVidPlayerSetInitScreenNumber::~CTestStepVidPlayerSetInitScreenNumber()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerSetInitScreenNumber::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerSetInitScreenNumber::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerSetInitScreenNumber::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerSetInitScreenNumber::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerSetInitScreenNumber::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerSetInitScreenNumber::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ if (!iVpu2)
+ {
+ INFO_PRINTF1(_L("this test sets init screen number with CVideoPlayerUtility::SetInitScreenNumber()"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this is negative test with CVideoPlayerUtility2::SetInitScreenNumber()"));
+ }
+ return verdict;
+
+ }
+
+/**
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerSetInitScreenNumber::DoTestStepPostambleL(void)
+ {
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ */
+TVerdict CTestStepVidPlayerSetInitScreenNumber::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ InitWservL();
+
+ TRect rect;
+ if (!iVpu2)
+ {
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, rect);
+ }
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ }
+
+ if ( !PlayerStateStopped())
+ {
+ return EInconclusive;
+ }
+
+ if (!iVpu2)
+ {
+ TRAP(err, iPlayer->SetInitScreenNumber(iScreen->GetScreenNumber()));
+ }
+ else
+ {
+ err = iPlayer2->SetInitScreenNumber(iScreen->GetScreenNumber());
+ }
+
+ if (iVpu2 && err != KErrNotSupported)
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ return EFail;
+ }
+ if (!iVpu2)
+ {
+ if (err != KErrNone || GetInitScreenNumber() )
+ {
+ return EFail;
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+
+ iTestStepResult = EPass;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+
+/**
+ *
+ * Static constructor for CTestStepVidPlayerRemoveDisplayWindow.
+ *
+ * @return "CTestStepVidPlayerRemoveDisplayWindow*"
+ * The constructed CTestStepVidPlayerRemoveDisplayWindow
+ */
+CTestStepVidPlayerRemoveDisplayWindow* CTestStepVidPlayerRemoveDisplayWindow::NewL(TBool aPositve)
+ {
+ CTestStepVidPlayerRemoveDisplayWindow* self = new(ELeave) CTestStepVidPlayerRemoveDisplayWindow(aPositve);
+ return self;
+ }
+
+/**
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerRemoveDisplayWindow::CTestStepVidPlayerRemoveDisplayWindow(TBool aPositve)
+ {
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iPositive = aPositve;
+ iVpu2 = ETrue;
+ if (aPositve)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0817-CP");
+ }
+ else
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0818-CP");
+ }
+ }
+
+/**
+ * Test step destructor.
+ */
+CTestStepVidPlayerRemoveDisplayWindow::~CTestStepVidPlayerRemoveDisplayWindow()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerRemoveDisplayWindow::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerRemoveDisplayWindow::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerRemoveDisplayWindow::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerRemoveDisplayWindow::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerRemoveDisplayWindow::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerRemoveDisplayWindow::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ if (iPositive)
+ {
+ INFO_PRINTF1(_L("this tests removes display window with CVideoPlayerUtility2"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this tests removes display window with CVideoPlayerUtility2::RemoveDisplayWindow() when the display is not added"));
+ }
+ return verdict;
+
+ }
+
+/**
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerRemoveDisplayWindow::DoTestStepPostambleL(void)
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ */
+TVerdict CTestStepVidPlayerRemoveDisplayWindow::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ InitWservL();
+
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if ( !PlayerStateStopped())
+ {
+ return EInconclusive;
+ }
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ return EInconclusive;
+ }
+
+ if (iPositive)
+ {
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ return EInconclusive;
+ }
+ }
+
+ TRAP(err, iPlayer2->RemoveDisplayWindow(*iWindow));
+
+ if (err != KErrNone)
+ {
+ return EFail;
+ }
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ iTestStepResult = EPass;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+
+/**
+ *
+ * Static constructor for CTestStepVidPlayerSetVideoExtent.
+ *
+ * @return "CTestStepVidPlayerSetVideoExtent*"
+ * The constructed CTestStepVidPlayerSetVideoExtent
+ */
+CTestStepVidPlayerSetVideoExtent* CTestStepVidPlayerSetVideoExtent::NewL(TInt aExpected)
+ {
+ CTestStepVidPlayerSetVideoExtent* self = new(ELeave) CTestStepVidPlayerSetVideoExtent(aExpected);
+ return self;
+ }
+
+/**
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerSetVideoExtent::CTestStepVidPlayerSetVideoExtent(TInt aExpected)
+ {
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iExpected = aExpected;
+ iVpu2 = ETrue;
+ if (aExpected == KErrNone)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0819-CP");
+ }
+ else if (aExpected == KErrNotReady)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0861-CP");
+ }
+ else
+ {
+ ERR_PRINTF1(_L("Unknown test case."));
+ }
+ }
+
+/**
+ * Test step destructor.
+ */
+CTestStepVidPlayerSetVideoExtent::~CTestStepVidPlayerSetVideoExtent()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerSetVideoExtent::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerSetVideoExtent::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerSetVideoExtent::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerSetVideoExtent::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerSetVideoExtent::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerSetVideoExtent::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ if (iExpected == KErrNone)
+ {
+ INFO_PRINTF1(_L("this tests set video extent with CVideoPlayerUtility2"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this is negative test with CVideoPlayerUtility2::SetVideoExtentL()"));
+ }
+ return verdict;
+
+ }
+
+/**
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerSetVideoExtent::DoTestStepPostambleL(void)
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ */
+TVerdict CTestStepVidPlayerSetVideoExtent::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ InitWservL();
+
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if ( !PlayerStateStopped())
+ {
+ return EInconclusive;
+ }
+
+ if (iExpected == KErrNone)
+ {
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ return EInconclusive;
+ }
+ }
+
+ TSize size((iWindow->Size().iWidth + 10), (iWindow->Size().iHeight + 10));
+ TRect rect(size);
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+
+ if (iExpected == KErrNotReady && err != KErrNotReady)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindowL failed with %d."), err);
+ return EFail;
+ }
+
+ TRAP(err, iPlayer2->SetVideoExtentL(*iWindow, rect));
+
+ if (iExpected == KErrNotReady && err != KErrNotReady)
+ {
+ return EFail;
+ }
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ iTestStepResult = EPass;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+
+/**
+ *
+ * Static constructor for CTestStepVidPlayerSetWindowClipRect.
+ *
+ * @return "CTestStepVidPlayerSetWindowClipRect*"
+ * The constructed CTestStepVidPlayerSetWindowClipRect
+ */
+CTestStepVidPlayerSetWindowClipRect* CTestStepVidPlayerSetWindowClipRect::NewL(TInt aExpected)
+ {
+ CTestStepVidPlayerSetWindowClipRect* self = new(ELeave) CTestStepVidPlayerSetWindowClipRect(aExpected);
+ return self;
+ }
+
+/**
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerSetWindowClipRect::CTestStepVidPlayerSetWindowClipRect(TInt aExpected)
+ {
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iExpected = aExpected;
+ iVpu2 = ETrue;
+ if (aExpected == KErrNone)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0820-CP");
+ }
+ else if (aExpected == KErrNotReady)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0862-CP");
+ }
+ else if (aExpected == KErrArgument)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0863-CP");
+ }
+ else
+ {
+ ERR_PRINTF1(_L("Unknown test case."));
+ }
+ }
+
+/**
+ * Test step destructor.
+ */
+CTestStepVidPlayerSetWindowClipRect::~CTestStepVidPlayerSetWindowClipRect()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerSetWindowClipRect::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerSetWindowClipRect::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerSetWindowClipRect::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerSetWindowClipRect::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerSetWindowClipRect::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerSetWindowClipRect::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ if (iExpected == KErrNone)
+ {
+ INFO_PRINTF1(_L("this tests set window clipping rectangle with CVideoPlayerUtility2"));
+ }
+ else if (iExpected == KErrNotReady)
+ {
+ INFO_PRINTF1(_L("this is negative test KErrNotReady with CVideoPlayerUtility2::SetWindowClipRectL()"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this is negative test KErrArgument with CVideoPlayerUtility2::SetWindowClipRectL()"));
+ }
+ return verdict;
+
+ }
+
+/**
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerSetWindowClipRect::DoTestStepPostambleL(void)
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ */
+TVerdict CTestStepVidPlayerSetWindowClipRect::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ InitWservL();
+
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if ( !PlayerStateStopped())
+ {
+ return EInconclusive;
+ }
+
+ if (iExpected == KErrNone || iExpected == KErrArgument)
+ {
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ return EInconclusive;
+ }
+ }
+
+ TRect rect1(iWindow->Size());
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (iExpected == KErrNotReady && err != KErrNotReady)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindowL failed with %d."), err);
+ return EFail;
+ }
+
+ TRAP(err, iPlayer2->SetWindowClipRectL(*iWindow, rect1));
+
+ if (iExpected == KErrNotReady && err != KErrNotReady)
+ {
+ return EFail;
+ }
+
+ TSize size((iWindow->Size().iWidth + 10), (iWindow->Size().iHeight + 10));
+ TRect rect2(size);
+ TRAP(err, iPlayer2->SetWindowClipRectL(*iWindow, rect2));
+
+ if (iExpected == KErrArgument && err != KErrArgument)
+ {
+ return EFail;
+ }
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ iTestStepResult = EPass;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerReplaceSurfaceSequence1.
+ *
+ *
+ * @return "CTestStepVidPlayerReplaceSurfaceSequence1*"
+ * The constructed CTestStepVidPlayerReplaceSurfaceSequence1
+ *
+ */
+CTestStepVidPlayerReplaceSurfaceSequence1* CTestStepVidPlayerReplaceSurfaceSequence1::NewL()
+ {
+ CTestStepVidPlayerReplaceSurfaceSequence1* self = new(ELeave) CTestStepVidPlayerReplaceSurfaceSequence1();
+ return self;
+ }
+
+/**
+ * Test timer constructor.
+ */
+CTestStepVidPlayerReplaceSurfaceSequence1::CTestTimer*
+CTestStepVidPlayerReplaceSurfaceSequence1::CTestTimer::NewL(CTestStepVidPlayerReplaceSurfaceSequence1& aTestStepVidPlayer)
+ {
+ CTestTimer* self = new(ELeave)CTestTimer(aTestStepVidPlayer);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop();
+ return self;
+ }
+
+/**
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerReplaceSurfaceSequence1::CTestStepVidPlayerReplaceSurfaceSequence1()
+ {
+ iVpu2 = ETrue;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0821-CP");
+ }
+
+/**
+ * Test step destructor.
+ */
+CTestStepVidPlayerReplaceSurfaceSequence1::~CTestStepVidPlayerReplaceSurfaceSequence1()
+ {
+ }
+
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerReplaceSurfaceSequence1::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerReplaceSurfaceSequence1::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerReplaceSurfaceSequence1::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerReplaceSurfaceSequence1::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerReplaceSurfaceSequence1::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ INFO_PRINTF1(_L("MvpuoEvent received"));
+ }
+
+void CTestStepVidPlayerReplaceSurfaceSequence1::OnTimer()
+ {
+ CActiveScheduler::Stop();
+ }
+
+/**
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerReplaceSurfaceSequence1::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+
+ return verdict;
+ }
+
+/**
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerReplaceSurfaceSequence1::DoTestStepPostambleL(void)
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ delete iTestTimer;
+ iTestTimer = NULL;
+
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ */
+TVerdict CTestStepVidPlayerReplaceSurfaceSequence1::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ InitWservL();
+
+ iTestTimer = CTestTimer::NewL(*this);
+
+ TRect rect;
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if ( !PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("Failed with NewL() or the state is not stopped"));
+ return EInconclusive;
+ }
+
+ TRAP(err, OpenAndStartSchedulerL());
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed to open file"));
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EFail;
+ }
+
+ // Send event to the controller
+
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+
+
+ // Create --------------------------
+ INFO_PRINTF1(_L("AddDisplayWindowL() passed, then request controller to send event KMMFEventCategoryVideoSurfaceCreated video client."));
+
+ err = iPlayer2->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandSimulateSurfaceCreated,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed when calling CustomCommandSync() with EMMFTestCustomCommandSimulateSurfaceCreated"));
+ return EInconclusive;
+ }
+ iTestTimer->After(5000000);
+ CActiveScheduler::Start();
+
+ // Controller should receive GetSurfaceParameters call.
+ iTestStepResult = ControllerCalled2(_L8("MvpssGetSurfaceParametersL Called"));
+ if (iTestStepResult == EFail)
+ {
+ return iTestStepResult;
+ }
+
+ if (!SurfaceCreated())
+ {
+ return EFail;
+ }
+
+ // parameters changed --------------------------
+ INFO_PRINTF1(_L("Surface successfully created now request controller to send KMMFEventCategoryVideoSurfaceParametersChanged to video client."));
+ err = iPlayer2->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandSimulateParaChanged,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed when calling CustomCommandSync() with EMMFTestCustomCommandSimulateParaChanged"));
+ return EInconclusive;
+ }
+ iTestTimer->After(5000000);
+ CActiveScheduler::Start();
+
+ // Controller should receive GetSurfaceParameters call.
+ iTestStepResult = ControllerCalled2(_L8("MvpssGetSurfaceParametersL Called"));
+ if (iTestStepResult == EFail)
+ {
+ return iTestStepResult;
+ }
+
+ // Remove --------------------------
+ INFO_PRINTF1(_L("Request controller to send event KMMFEventCategoryVideoRemoveSurface to video client."));
+
+ err = iPlayer2->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandSimulateRemoveSurface,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed when calling CustomCommandSync() with EMMFTestCustomCommandSimulateRemoveSurfaces"));
+ return EInconclusive;
+ }
+ iTestTimer->After(5000000);
+ CActiveScheduler::Start();
+
+ // Controller should receive SurfaceRemoved call.
+ iTestStepResult = ControllerCalled(_L8("MvpssSurfaceRemovedL Called"));
+ if (iTestStepResult == EFail)
+ {
+ return iTestStepResult;
+ }
+
+ if (SurfaceCreated())
+ {
+ return EFail;
+ }
+
+ // create --------------------------
+ INFO_PRINTF1(_L("Remove passed, now request controller to send event KMMFEventCategoryVideoSurfaceCreated to video client."));
+
+ err = iPlayer2->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandSimulateSurfaceCreated,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed when calling CustomCommandSync() with EMMFTestCustomCommandSimulateSurfaceCreated"));
+ return EInconclusive;
+ }
+ iTestTimer->After(5000000);
+ CActiveScheduler::Start();
+
+ // Controller should receive GetSurfaceParameters call.
+ iTestStepResult = ControllerCalled2(_L8("MvpssGetSurfaceParametersL Called"));
+ if (iTestStepResult == EFail)
+ {
+ return iTestStepResult;
+ }
+
+ if (!SurfaceCreated())
+ {
+ return EFail;
+ }
+
+ // done - tidy up
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ iTestStepResult = EPass;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerReplaceSurfaceSequence2.
+ *
+ *
+ * @return "CTestStepVidPlayerReplaceSurfaceSequence2*"
+ * The constructed CTestStepVidPlayerReplaceSurfaceSequence2
+ *
+ */
+CTestStepVidPlayerReplaceSurfaceSequence2* CTestStepVidPlayerReplaceSurfaceSequence2::NewL()
+ {
+ CTestStepVidPlayerReplaceSurfaceSequence2* self = new(ELeave) CTestStepVidPlayerReplaceSurfaceSequence2();
+ return self;
+ }
+
+/**
+ * Test timer constructor.
+ */
+CTestStepVidPlayerReplaceSurfaceSequence2::CTestTimer*
+CTestStepVidPlayerReplaceSurfaceSequence2::CTestTimer::NewL(CTestStepVidPlayerReplaceSurfaceSequence2& aTestStepVidPlayer)
+ {
+ CTestTimer* self = new(ELeave)CTestTimer(aTestStepVidPlayer);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop();
+ return self;
+ }
+
+/**
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerReplaceSurfaceSequence2::CTestStepVidPlayerReplaceSurfaceSequence2()
+ {
+ iVpu2 = ETrue;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0822-CP");
+ }
+
+/**
+ * Test step destructor.
+ */
+CTestStepVidPlayerReplaceSurfaceSequence2::~CTestStepVidPlayerReplaceSurfaceSequence2()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerReplaceSurfaceSequence2::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerReplaceSurfaceSequence2::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerReplaceSurfaceSequence2::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerReplaceSurfaceSequence2::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerReplaceSurfaceSequence2::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ INFO_PRINTF1(_L("MvpuoEvent received"));
+ }
+
+void CTestStepVidPlayerReplaceSurfaceSequence2::OnTimer()
+ {
+ CActiveScheduler::Stop();
+ }
+
+/**
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerReplaceSurfaceSequence2::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ iFileName.Set(KClockFileName);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+
+ return verdict;
+ }
+
+/**
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerReplaceSurfaceSequence2::DoTestStepPostambleL(void)
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ delete iTestTimer;
+ iTestTimer = NULL;
+
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ */
+TVerdict CTestStepVidPlayerReplaceSurfaceSequence2::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ InitWservL();
+
+ iTestTimer = CTestTimer::NewL(*this);
+
+ TRect rect;
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if ( !PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("Failed with NewL() or the state is not stopped"));
+ return EInconclusive;
+ }
+
+ TRAP(err, OpenAndStartSchedulerL());
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed to open file"));
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EFail;
+ }
+
+ // Send event to the controller
+
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+
+
+ // Create --------------------------
+ INFO_PRINTF1(_L("AddDisplayWindowL() passed, then request controller to send event KMMFEventCategoryVideoSurfaceCreated to video client."));
+
+ err = iPlayer2->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandSimulateSurfaceCreated,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed when calling CustomCommandSync() with EMMFTestCustomCommandSimulateSurfaceCreated"));
+ return EInconclusive;
+ }
+ iTestTimer->After(5000000);
+ CActiveScheduler::Start();
+
+ // Controller should receive GetSurfaceParameters call.
+ iTestStepResult = ControllerCalled2(_L8("MvpssGetSurfaceParametersL Called"));
+ if (iTestStepResult == EFail)
+ {
+ return iTestStepResult;
+ }
+
+ if (!SurfaceCreated())
+ {
+ return EFail;
+ }
+
+ // parameters changed --------------------------
+ INFO_PRINTF1(_L("Surface successfully created now request controller to send KMMFEventCategoryVideoSurfaceParametersChanged to video client."));
+ err = iPlayer2->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandSimulateParaChanged,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed when calling CustomCommandSync() with EMMFTestCustomCommandSimulateParaChanged"));
+ return EInconclusive;
+ }
+ iTestTimer->After(5000000);
+ CActiveScheduler::Start();
+
+ // Controller should receive GetSurfaceParameters call.
+ iTestStepResult = ControllerCalled2(_L8("MvpssGetSurfaceParametersL Called"));
+ if (iTestStepResult == EFail)
+ {
+ return iTestStepResult;
+ }
+
+ // Create --------------------------
+ INFO_PRINTF1(_L("Now Replace surface by requesting controller to send event KMMFEventCategoryVideoSurfaceCreated to video client."));
+
+ err = iPlayer2->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandSimulateSurfaceCreated,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed when calling CustomCommandSync() with EMMFTestCustomCommandSimulateSurfaceCreated"));
+ return EInconclusive;
+ }
+ iTestTimer->After(5000000);
+ CActiveScheduler::Start();
+
+ // Controller should receive SurfaceRemoved call.
+ iTestStepResult = ControllerCalled(_L8("MvpssSurfaceRemovedL Called"));
+ if (iTestStepResult == EFail)
+ {
+ return iTestStepResult;
+ }
+
+ // Controller should receive GetSurfaceParameters call.
+ iTestStepResult = ControllerCalled2(_L8("MvpssGetSurfaceParametersL Called"));
+ if (iTestStepResult == EFail)
+ {
+ return iTestStepResult;
+ }
+
+ if (!SurfaceCreated())
+ {
+ return EFail;
+ }
+
+ // Remove --------------------------
+ INFO_PRINTF1(_L("Request controller to send event KMMFEventCategoryVideoRemoveSurface to video client."));
+
+ err = iPlayer2->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandSimulateRemoveSurface,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ {
+ ERR_PRINTF1(_L("Failed when calling CustomCommandSync() with EMMFTestCustomCommandSimulateRemoveSurfaces"));
+ return EInconclusive;
+ }
+ iTestTimer->After(5000000);
+ CActiveScheduler::Start();
+
+ // Controller should receive SurfaceRemoved call.
+ iTestStepResult = ControllerCalled(_L8("MvpssSurfaceRemovedL Called"));
+ if (iTestStepResult == EFail)
+ {
+ return iTestStepResult;
+ }
+
+ if (SurfaceCreated())
+ {
+ return EFail;
+ }
+
+ // done - tidy up
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ iTestStepResult = EPass;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ return iTestStepResult;
+ }
+
+//
+// Auto Scale test
+//
+CTestStepVidPlayerAutoScale* CTestStepVidPlayerAutoScale::NewL(const TDesC& aTestName)
+ {
+ CTestStepVidPlayerAutoScale* self = new(ELeave) CTestStepVidPlayerAutoScale(aTestName);
+ return self;
+ }
+
+CTestStepVidPlayerAutoScale::CTestStepVidPlayerAutoScale(const TDesC& aTestName)
+ {
+ iTestStepName = aTestName;
+ iFileName.Set(KClockFileName);
+ iVpu2 = ETrue;
+ }
+
+TVerdict CTestStepVidPlayerAutoScale::DoTestStepL()
+ {
+ TInt err = KErrNone;
+
+ InitWservL();
+
+ TInt expectedResult = KErrNone;
+ TBool useSurfaces = ETrue;
+
+ GetIntFromConfig(iTestStepName, _L("ExpectedResult"), expectedResult);
+ GetBoolFromConfig(iTestStepName, _L("UseSurfaces"), useSurfaces);
+
+ if (!useSurfaces)
+ {
+ iVpu2 = EFalse;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality, iWs,
+ *iScreen, *iWindow, TRect(0, 0, 100, 100), TRect(0, 0, 100, 100));
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ {
+ iTestStepResult = EInconclusive;
+ delete iPlayer;
+ iPlayer = NULL;
+ return iTestStepResult;
+ }
+
+ TRAP(err, iPlayer->SetAutoScaleL(EAutoScaleNone));
+
+ if (err == expectedResult)
+ {
+ iTestStepResult = EPass;
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+ return iTestStepResult;
+ }
+
+
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive;
+ }
+
+ TRAP(err, OpenAndStartSchedulerL() );
+
+ iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow);
+
+ TAutoScaleType autoScaleType;
+ TInt autoScaleHoriz;
+ TInt autoScaleVert;
+ TPtrC result;
+
+ GetStringFromConfig(iTestStepName, _L("AutoScaleType"), result);
+ if (result == _L("EAutoScaleNone"))
+ {
+ autoScaleType = EAutoScaleNone;
+ }
+ else if (result == _L("EAutoScaleBestFit"))
+ {
+ autoScaleType = EAutoScaleBestFit;
+ }
+ else if (result == _L("EAutoScaleClip"))
+ {
+ autoScaleType = EAutoScaleClip;
+ }
+ else if (result == _L("EAutoScaleStretch"))
+ {
+ autoScaleType = EAutoScaleStretch;
+ }
+ else
+ {
+ ERR_PRINTF1(_L("Unknown Auto Scale type"));
+ iTestStepResult = EInconclusive;
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ return iTestStepResult;
+ }
+
+ GetStringFromConfig(iTestStepName, _L("AutoScaleHoriz"), result);
+ if (result == _L("EHorizontalAlignCenter"))
+ {
+ autoScaleHoriz = EHorizontalAlignCenter;
+ }
+ else if (result == _L("EHorizontalAlignRight"))
+ {
+ autoScaleHoriz = EHorizontalAlignRight;
+ }
+ else if (result == _L("EHorizontalAlignLeft"))
+ {
+ autoScaleHoriz = EHorizontalAlignLeft;
+ }
+ else
+ {
+ GetIntFromConfig(iTestStepName, _L("AutoScaleHoriz"), autoScaleHoriz);
+ }
+
+ GetStringFromConfig(iTestStepName, _L("AutoScaleVert"), result);
+ if (result == _L("EVerticalAlignCenter"))
+ {
+ autoScaleVert = EVerticalAlignCenter;
+ }
+ else if (result == _L("EVerticalAlignTop"))
+ {
+ autoScaleVert = EVerticalAlignTop;
+ }
+ else if (result == _L("EVerticalAlignBottom"))
+ {
+ autoScaleVert = EVerticalAlignBottom;
+ }
+ else
+ {
+ GetIntFromConfig(iTestStepName, _L("AutoScaleVert"), autoScaleVert);
+ }
+
+ TRAP(err, static_cast<CVideoPlayerUtility*>(iPlayer2)->SetAutoScaleL(autoScaleType, autoScaleHoriz, autoScaleVert));
+ TRAPD(err1, iPlayer2->SetAutoScaleL(*iWindow, autoScaleType, autoScaleHoriz, autoScaleVert));
+
+ if (err1 != expectedResult ||
+ err != expectedResult)
+ {
+ ERR_PRINTF4(_L("SetAutoScaleL() left with %d, %d. Expected %d."), err, err1, expectedResult);
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ iTestStepResult = EFail;
+ return iTestStepResult;
+ }
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+
+ if (err != KErrNone || iError != KErrNone)
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ iTestStepResult = EInconclusive;
+ return iTestStepResult;
+ }
+
+ TRAP(err, PlayAndStartSchedulerL());
+ if (err == KErrNone && iError == KErrNone)
+ {
+ iTestStepResult = EPass;
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ ERR_PRINTF1(_L("Failed to play file"));
+ }
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ return iTestStepResult;
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerAutoScale::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerAutoScale::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerAutoScale::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerAutoScale::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerAutoScale::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+#endif // SYMBIAN_BUILD_GCE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepVidPlayerNew.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,214 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+// EPOC includes
+#include <e32base.h>
+#include <e32test.h>
+#include <e32keys.h>
+#include <c32comm.h>
+#include <f32file.h>
+#include <etel.h>
+#include <etelmm.h>
+#include <hal.h>
+#include <testframework.h>
+
+// Test system includes
+#include <testframework.h>
+
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfvideo.h>
+#include <mmf/server/mmfdes.h>
+#include <mmf/server/mmffile.h>
+
+#include <mmf/common/mmfcontroller.h>
+#include <videoplayer.h>
+
+#ifdef SYMBIAN_BUILD_GCE
+#include <videoplayer2.h>
+#endif
+#include <videorecorder.h>
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+
+// Specific includes for these test steps
+#include "TestStepVidPlayer.h"
+
+
+
+// --------------------------------------------
+
+/**
+ *
+ * Static constructor for CTestStepVidPlayerNew.
+ *
+ *
+ * @return "CTestStepVidPlayerNew*"
+ * The constructed CTestStepVidPlayerNew
+ */
+CTestStepVidPlayerNew* CTestStepVidPlayerNew::NewL(TBool aUseSurface)
+ {
+ CTestStepVidPlayerNew* self = new(ELeave) CTestStepVidPlayerNew(aUseSurface);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerNew::CTestStepVidPlayerNew(TBool aUseSurface)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iVpu2 = aUseSurface;
+ if (aUseSurface)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0801-CP");
+ }
+ else
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0001-CP");
+ }
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerNew::~CTestStepVidPlayerNew()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerNew::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerNew::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerNew::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerNew::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerNew::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerNew::DoTestStepL()
+ {
+ // N.B. we have to call HAL::Get in order to prevent a memory leak being detected
+ // between the __UHEAP markers below. This is because HAL::Get allocates some memory on the
+ // first call and is called in CVideoPlayerUtility::NewL (setting up direct screen access).
+ // There is no method to deallocate this memory so we allocate it outside of the __UHEAP markers.
+ if (!iVpu2)
+ {
+ TInt address = 0;
+ HAL::Get(HALData::EDisplayMemoryAddress, address);
+ }
+ __MM_HEAP_MARK;
+
+ // Printing to the console and log file
+ INFO_PRINTF2(_L("%S"),&iTestStepName);
+ if (!iVpu2)
+ {
+ INFO_PRINTF1(_L("this test is initialising a CVideoPlayerUtility object with NewL()"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this test is initialising a CVideoPlayerUtility2 object with NewL()"));
+ }
+
+ iError = KErrNone;
+
+ InitWservL();
+
+ __MM_HEAP_MARK;
+
+ if (!iVpu2)
+ {
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ }
+#endif
+ if (!iVpu2)
+ {
+ if ( !PlayerStateStopped() )
+ {
+ INFO_PRINTF1(_L("Player not in stopped state or iPlayer NULL"));
+ return EFail;
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ if ( !PlayerStateStopped() )
+ {
+ INFO_PRINTF1(_L("Player not in stopped state or iPlayer2 NULL"));
+ return EFail;
+ }
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif // SYMBIAN_BUILD_GCE
+
+ __MM_HEAP_MARKEND;
+
+ DeInitWserv();
+
+ __MM_HEAP_MARKEND;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepVidPlayerNewPriorPref.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,425 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+// EPOC includes
+#include <e32base.h>
+#include <e32test.h>
+#include <e32keys.h>
+#include <c32comm.h>
+#include <f32file.h>
+#include <etel.h>
+#include <etelmm.h>
+#include <hal.h>
+#include <testframework.h>
+
+// Test system includes
+#include <testframework.h>
+
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfvideo.h>
+#include <mmf/server/mmfdes.h>
+#include <mmf/server/mmffile.h>
+
+#include <mmf/common/mmfcontroller.h>
+#include <videoplayer.h>
+#include <videorecorder.h>
+
+#ifdef SYMBIAN_BUILD_GCE
+#include <videoplayer2.h>
+#endif
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+
+// Specific includes for these test steps
+#include "TestStepVidPlayer.h"
+
+// --------------------------------------------
+
+/**
+ *
+ * Static constructor for CTestStepVidPlayerNewPriorPref.
+ *
+ *
+ * @return "CTestStepVidPlayerNewPriorPref*"
+ * The constructed CTestStepVidPlayerNewPriorPref
+ */
+CTestStepVidPlayerNewPriorPref* CTestStepVidPlayerNewPriorPref::NewL(TBool aUseSurface)
+ {
+ CTestStepVidPlayerNewPriorPref* self = new(ELeave) CTestStepVidPlayerNewPriorPref(aUseSurface);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerNewPriorPref::CTestStepVidPlayerNewPriorPref(TBool aUseSurface)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iVpu2 = aUseSurface;
+ if (aUseSurface)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0802-CP");
+ }
+ else
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0002-CP");
+ }
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerNewPriorPref::~CTestStepVidPlayerNewPriorPref()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerNewPriorPref::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerNewPriorPref::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerNewPriorPref::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerNewPriorPref::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+
+void CTestStepVidPlayerNewPriorPref::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerNewPriorPref::DoTestStepL()
+ {
+ // N.B. we have to call HAL::Get in order to prevent a memory leak being detected
+ // between the __UHEAP markers below. This is because HAL::Get allocates some memory on the
+ // first call and is called in CVideoPlayerUtility::NewL (setting up direct screen access).
+ // There is no method to deallocate this memory so we allocate it outside of the __UHEAP markers.
+ if (!iVpu2)
+ {
+ TInt address = 0;
+ HAL::Get(HALData::EDisplayMemoryAddress, address);
+ }
+
+ __MM_HEAP_MARK;
+ // Printing to the console and log file
+ if (!iVpu2)
+ {
+ INFO_PRINTF1(_L("this test is iniatilising a CVideoPlayerUtility object with NewL() and specific Priority/Preference values"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this test is iniatilising a CVideoPlayerUtility2 object with NewL() and specific Priority/Preference values"));
+ }
+ iTestStepResult = EPass;
+
+ // test 1
+
+ InitWservL();
+
+ INFO_PRINTF1(_L("test 1 Priority: EMdaPriorityMax /Preference: EMdaPriorityPreferenceTimeAndQuality"));
+ TRect rect, clipRect;
+ if (!iVpu2)
+ {
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityMax, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityMax, EMdaPriorityPreferenceTimeAndQuality);
+ }
+ if (iVpu2 && !iPlayer2)
+ {
+ return EFail;
+ }
+#endif
+ if (!PlayerStateStopped() )
+ {
+ return EFail;
+ }
+
+ if ((!iVpu2 && !iPlayer) || GetPlayerPriority(iPrioritySettings) != KErrNone)
+ {
+ return EFail;
+ }
+
+ if ( iPrioritySettings.iPriority != EMdaPriorityMax )
+ {
+ return EFail;
+ }
+
+
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ // test 2
+ INFO_PRINTF1(_L("test 2 Priority: EMdaPriorityMin /Preference: EMdaPriorityPreferenceTimeAndQuality"));
+ if (!iVpu2)
+ {
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityMin, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityMin, EMdaPriorityPreferenceTimeAndQuality);
+ }
+
+ if (iVpu2 && !iPlayer2)
+ {
+ return EFail;
+ }
+#endif
+ if ((!iVpu2 && !iPlayer) || GetPlayerPriority(iPrioritySettings) != KErrNone)
+ {
+ return EFail;
+ }
+
+ if ( !PlayerStateStopped() || iPrioritySettings.iPriority != EMdaPriorityMin ||
+ iPrioritySettings.iPref != EMdaPriorityPreferenceTimeAndQuality)
+ {
+ return EFail;
+ }
+
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ // test 3
+ INFO_PRINTF1(_L("test 3 Priority: EMdaPriorityMax /Preference: EMdaPriorityPreferenceQuality"));
+ if (!iVpu2)
+ {
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityMax, EMdaPriorityPreferenceQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityMax, EMdaPriorityPreferenceQuality);
+ }
+
+ if (iVpu2 && !iPlayer2)
+ {
+ return EFail;
+ }
+#endif
+ if ( (!iVpu2 && !iPlayer) || GetPlayerPriority(iPrioritySettings)!=KErrNone)
+ {
+ return EFail;
+ }
+
+ if ( !PlayerStateStopped() ||
+ iPrioritySettings.iPriority != EMdaPriorityMax ||
+ iPrioritySettings.iPref != EMdaPriorityPreferenceQuality )
+ {
+ return EFail;
+ }
+
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ // test 4
+ INFO_PRINTF1(_L("test 4 Priority: EMdaPriorityMax /Preference: EMdaPriorityPreferenceTime"));
+ if (!iVpu2)
+ {
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityMax, EMdaPriorityPreferenceTime,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityMax, EMdaPriorityPreferenceTime);
+ }
+
+ if (iVpu2 && !iPlayer2)
+ {
+ return EFail;
+ }
+#endif
+ if ((!iVpu2 && !iPlayer) || GetPlayerPriority(iPrioritySettings)!=KErrNone)
+ {
+ return EFail;
+ }
+
+ if ( !PlayerStateStopped() ||
+ iPrioritySettings.iPriority != EMdaPriorityMax ||
+ iPrioritySettings.iPref != EMdaPriorityPreferenceTime )
+ {
+ return EFail;
+ }
+
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ // test 5
+ INFO_PRINTF1(_L("test 5 Priority: EMdaPriorityMin /Preference: EMdaPriorityPreferenceQuality"));
+ if (!iVpu2)
+ {
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityMin, EMdaPriorityPreferenceQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityMin, EMdaPriorityPreferenceQuality);
+ }
+
+ if (iVpu2 && !iPlayer2)
+ {
+ return EFail;
+ }
+#endif
+ if ((!iVpu2 && !iPlayer) || GetPlayerPriority(iPrioritySettings)!=KErrNone)
+ {
+ return EFail;
+ }
+
+ if ( !PlayerStateStopped() ||
+ iPrioritySettings.iPriority != EMdaPriorityMin ||
+ iPrioritySettings.iPref != EMdaPriorityPreferenceQuality )
+ {
+ return EFail;
+ }
+
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ // test 6
+ INFO_PRINTF1(_L("test 6 Priority: EMdaPriorityMin /Preference: EMdaPriorityPreferenceTime"));
+ if (!iVpu2)
+ {
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityMin, EMdaPriorityPreferenceTime,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityMin, EMdaPriorityPreferenceTime);
+ }
+
+ if (iVpu2 && !iPlayer2)
+ {
+ return EFail;
+ }
+#endif
+ if ((!iVpu2 && !iPlayer) || GetPlayerPriority(iPrioritySettings)!=KErrNone)
+ {
+ return EFail;
+ }
+
+ if ( !PlayerStateStopped() ||
+ iPrioritySettings.iPriority != EMdaPriorityMin ||
+ iPrioritySettings.iPref != EMdaPriorityPreferenceTime )
+ {
+ return EFail;
+ }
+
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ DeInitWserv();
+
+ __MM_HEAP_MARKEND;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepVidPlayerOpen.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,1500 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+// EPOC includes
+#include <e32base.h>
+#include <e32test.h>
+#include <e32keys.h>
+#include <c32comm.h>
+#include <f32file.h>
+#include <etel.h>
+#include <etelmm.h>
+#include <testframework.h>
+
+// Test system includes
+#include <testframework.h>
+
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfvideo.h>
+#include <mmf/server/mmfdes.h>
+#include <mmf/server/mmffile.h>
+#include <mmf/common/mmfdurationinfocustomcommands.h>
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include <mmf/common/mmfdurationinfocustomcommandsimpl.h>
+#include <mmf/common/mmfdurationinfocustomcommandsenums.h>
+#endif
+
+#include <mmf/common/mmfcontroller.h>
+#include <videoplayer.h>
+#include <videorecorder.h>
+
+#ifdef SYMBIAN_BUILD_GCE
+#include <videoplayer2.h>
+#endif
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+#include "TestStepVidPlayer.h"
+#include "TS_Codes.h"
+
+
+
+_LIT(KClockFileName,"C:\\mm\\mmf\\testfiles\\vclnt\\clock.dummy");
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerOpenFile.
+ *
+ *
+ * @return "CTestStepVidPlayerOpenFile*"
+ * The constructed CTestStepVidPlayerOpenFile
+ */
+CTestStepVidPlayerOpenFile* CTestStepVidPlayerOpenFile::NewL(const TDesC& aTestName, const TTest aTest)
+ {
+ CTestStepVidPlayerOpenFile* self = new(ELeave) CTestStepVidPlayerOpenFile(aTestName, aTest);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerOpenFile::CTestStepVidPlayerOpenFile(const TDesC& aTestName, const TTest aTest)
+ {
+ // This is the test case name that is used by the script file.
+ iTestStepName = aTestName;
+ iTest = aTest;
+ iTestStepResult = EPass;
+ if (iTestStepName == _L("MM-MMF-VCLNT-U-0803-CP") ||
+ iTestStepName == _L("MM-MMF-VCLNT-U-0809-CP") ||
+ iTestStepName == _L("MM-MMF-VCLNT-U-0811-CP") )
+ {
+ iVpu2 = ETrue;
+ iSurfaceMode = ETrue;
+ }
+ if (iTestStepName == _L("MM-MMF-VCLNT-U-0850-CP") || iTestStepName == _L("MM-MMF-VCLNT-U-0853-CP"))
+ {
+ iVpu2 = ETrue;
+ iSurfaceMode = EFalse;
+ }
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerOpenFile::~CTestStepVidPlayerOpenFile()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerOpenFile::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenFile::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerOpenFile::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenFile::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerOpenFile::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerOpenFile::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF2(_L("%S"), &iTestStepName);
+ if (iVpu2 && iSurfaceMode)
+ {
+ if (iTest == EFileName)
+ {
+ INFO_PRINTF1(_L("this test is opening a file name with a CVideoPlayerUtility2::OpenFileL()"));
+ }
+ if (iTest == EFileHandle)
+ {
+ INFO_PRINTF1(_L("this test is opening a file handle with a CVideoPlayerUtility2::OpenFileL()"));
+ }
+ if (iTest == EFileSource)
+ {
+ INFO_PRINTF1(_L("this test is opening a TMMFileSource with a CVideoPlayerUtility2::OpenFileL()"));
+ }
+ }
+ else if (iVpu2 && !iSurfaceMode)
+ {
+ if (iTest == EFileName)
+ {
+ INFO_PRINTF1(_L("this is a negative test for opening a file name with a CVideoPlayerUtility2::OpenFileL()"));
+ }
+ if (iTest == EFileHandle)
+ {
+ INFO_PRINTF1(_L("this is a negative test for opening a file handle with a CVideoPlayerUtility2::OpenFileL()"));
+ }
+ }
+ else
+ {
+ if (iTest == EFileName)
+ {
+ INFO_PRINTF1(_L("this test is opening a filename with a CVideoPlayerUtility::OpenFileL()"));
+ }
+ if (iTest == EFileHandle)
+ {
+ INFO_PRINTF1(_L("this test is opening a file handle with a CVideoPlayerUtility::OpenFileL()"));
+ }
+ if (iTest == EFileSource)
+ {
+ INFO_PRINTF1(_L("this test is opening a TMMFileSource with a CVideoPlayerUtility::OpenFileL()"));
+ }
+ if (iTest == EFileHandleSource)
+ {
+ INFO_PRINTF1(_L("this test is opening a TMMFileHandleSource with a CVideoPlayerUtility::OpenFileL()"));
+ }
+ }
+
+ iError = KErrNone;
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerOpenFile::DoTestStepPostambleL(void)
+ {
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerOpenFile::DoTestStepL()
+ {
+ TInt err = KErrNone;
+ iError = KErrNone;
+
+ InitWservL();
+
+ if (!iVpu2)
+ {
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ }
+#endif
+
+ if ( !PlayerStateStopped() )
+ {
+ return EInconclusive;
+ }
+
+ switch (iTest)
+ {
+ case EFileName:
+ TRAP(err, OpenAndStartSchedulerL());
+ break;
+
+ case EFileHandle:
+ TRAP(err, OpenAndStartSchedulerL(ETrue));
+ break;
+
+ case EFileSource:
+ {
+ TMMFileSource fileSource(iFileName);
+ TRAP(err, OpenAndStartSchedulerL(fileSource));
+ }
+ break;
+
+ case EFileHandleSource:
+ {
+ User::LeaveIfError(iFs.Connect());
+ User::LeaveIfError(iFs.ShareProtected());
+ User::LeaveIfError(iFile.Open(iFs, iFileName, EFileRead));
+ TMMFileHandleSource fileSource(iFile);
+ TRAP(err, OpenAndStartSchedulerL(fileSource));
+ }
+ break;
+
+ default:
+ ASSERT(0);
+ break;
+ }
+
+ if (!iSurfaceMode && iVpu2 && err == KErrNone && iError == KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("This test is when the controller doesn't support graphics surfaces. Expected: %d"), err);
+ return EPass;
+ }
+
+ if (err == KErrNotFound)
+ {
+ iTestStepResult = EInconclusive;
+ }
+ else if ( err == KErrNone && iError == KErrNone )
+ {
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+ if (iSurfaceSupported)
+ {
+ if (iVpu2)
+ {
+ iTestStepResult = ControllerCalled(_L8("MvpssUseSurfacesL Called"));
+ }
+ }
+ else
+ {
+ iTestStepResult = ControllerCalled(_L8("SetDisplayWindowL called"));
+ }
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ }
+
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerOpenDesc.
+ *
+ *
+ * @return "CTestStepVidPlayerOpenDesc*"
+ * The constructed CTestStepVidPlayerOpenDesc
+ */
+CTestStepVidPlayerOpenDesc* CTestStepVidPlayerOpenDesc::NewL(TInt aUseSurface)
+ {
+ CTestStepVidPlayerOpenDesc* self = new(ELeave) CTestStepVidPlayerOpenDesc(aUseSurface);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerOpenDesc::CTestStepVidPlayerOpenDesc(TInt aUseSurface)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iVpu2 = EFalse;
+ if (aUseSurface == CTestStepUnitMMFVidClient::ENotSurfaceMode)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0005-CP");
+ }
+ if (aUseSurface == CTestStepUnitMMFVidClient::ESurfaceMode)
+ {
+ iVpu2 = ETrue;
+ iSurfaceMode = ETrue;
+ iTestStepName = _L("MM-MMF-VCLNT-U-0805-CP");
+ }
+ if (aUseSurface == CTestStepUnitMMFVidClient::ESurfaceModeNotSupported)
+ {
+ iVpu2 = ETrue;
+ iSurfaceMode = EFalse;
+ iTestStepName = _L("MM-MMF-VCLNT-U-0851-CP");
+ }
+
+ iHeapSize = 150000;
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerOpenDesc::~CTestStepVidPlayerOpenDesc()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerOpenDesc::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenDesc::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerOpenDesc::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenDesc::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerOpenDesc::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerOpenDesc::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ iFileName.Set(KClockFileName);
+
+ TInt fSize;
+ iFs.Connect();
+ if ( iFile.Open(iFs, iFileName, EFileRead) != KErrNone )
+ {
+ return EInconclusive;
+ }
+
+ iFile.Size(fSize);
+ // load the sound from the file to a Descriptor
+ iBuf = HBufC8::NewL( fSize );
+ TPtr8 des = iBuf->Des();
+ iFile.Read(des);
+
+ iFile.Close();
+ iFs.Close();
+
+ // Printing to the console and log file
+ INFO_PRINTF2(_L("%S"), &iTestStepName);
+ if (!iVpu2)
+ {
+ INFO_PRINTF1(_L("this test is opening a descriptor with a CVideoPlayerUtility::OpenDesL()"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this test is opening a descriptor with a CVideoPlayerUtility2::OpenDesL()"));
+ }
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerOpenDesc::DoTestStepPostambleL(void)
+ {
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepVidPlayerOpenDesc::OpenDescAndStartSchedulerL()
+ {
+ if (!iVpu2)
+ {
+ iPlayer->OpenDesL(iBuf->Des());
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->OpenDesL(iBuf->Des());
+ }
+#endif
+ CActiveScheduler::Start();
+}
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerOpenDesc::DoTestStepL()
+ {
+ TInt err = KErrNone;
+ iError = KErrNone;
+
+ InitWservL();
+
+ if (!iVpu2)
+ {
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ }
+#endif
+
+ if (!PlayerStateStopped() )
+ {
+ return EInconclusive;
+ }
+
+ TRAP(err, OpenDescAndStartSchedulerL() );
+
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err == KErrNotSupported)
+ {
+ return EPass;
+ }
+#endif
+
+ if (!iSurfaceMode && iVpu2 && err == KErrNone && iError == KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("This test is when the controller doesn't support graphics surfaces. Expected: %d"), err);
+ return EPass;
+ }
+
+ if (err == KErrNotFound)
+ {
+ iTestStepResult = EInconclusive;
+ }
+ else if ( err == KErrNone && iError == KErrNone )
+ {
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+ if (iSurfaceSupported)
+ {
+ iTestStepResult = ControllerCalled(_L8("SetDisplayWindowL called"), EFalse);
+ }
+ else
+ {
+ iTestStepResult = ControllerCalled(_L8("SetDisplayWindowL called"));
+ }
+ }
+ else
+ {
+ INFO_PRINTF3(_L("OpenDescAndStartSchedulerL() left with %d. Error code iError is %d"), err, iError);
+ iTestStepResult = EFail;
+ }
+
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerOpenUrl.
+ *
+ *
+ * @return "CTestStepVidPlayerOpenUrl*"
+ * The constructed CTestStepVidPlayerOpenUrl
+ */
+CTestStepVidPlayerOpenUrl* CTestStepVidPlayerOpenUrl::NewL(TInt aUseSurface)
+ {
+ CTestStepVidPlayerOpenUrl* self = new(ELeave) CTestStepVidPlayerOpenUrl(aUseSurface);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerOpenUrl::CTestStepVidPlayerOpenUrl(TInt aUseSurface)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iVpu2 = EFalse;
+ if (aUseSurface == CTestStepUnitMMFVidClient::ENotSurfaceMode)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0006-CP");
+ }
+ if (aUseSurface == CTestStepUnitMMFVidClient::ESurfaceMode)
+ {
+ iVpu2 = ETrue;
+ iSurfaceMode = ETrue;
+ iTestStepName = _L("MM-MMF-VCLNT-U-0807-CP");
+ }
+ if (aUseSurface == CTestStepUnitMMFVidClient::ESurfaceModeNotSupported)
+ {
+ iVpu2 = ETrue;
+ iSurfaceMode = EFalse;
+ iTestStepName = _L("MM-MMF-VCLNT-U-0852-CP");
+ }
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerOpenUrl::~CTestStepVidPlayerOpenUrl()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerOpenUrl::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenUrl::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerOpenUrl::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenUrl::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerOpenUrl::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerOpenUrl::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ _LIT8(KMimeType, "video/msvideo");
+
+ iFileName.Set(KTestURL);
+ iMimeType.Set(KMimeType);
+
+ // Printing to the console and log file
+ INFO_PRINTF2(_L("%S"), &iTestStepName);
+ if (!iVpu2)
+ {
+ INFO_PRINTF1(_L("this test is opening a file with a CVideoPlayerUtility::OpenUrlL()"));
+ }
+ else
+ {
+ INFO_PRINTF1(_L("this test is opening a file with a CVideoPlayerUtility2::OpenUrlL()"));
+ }
+
+ InitWservL();
+
+ if (!iVpu2)
+ {
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ }
+#endif
+
+ if (!PlayerStateStopped() )
+ {
+ return EInconclusive;
+ }
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerOpenUrl::DoTestStepPostambleL(void)
+ {
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepVidPlayerOpenUrl::OpenUrlAndStartSchedulerL()
+ {
+ if (!iVpu2)
+ {
+ iPlayer->OpenUrlL(iFileName,KTestIap,iMimeType);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->OpenUrlL(iFileName,KTestIap,iMimeType);
+ }
+#endif
+ CActiveScheduler::Start();
+}
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerOpenUrl::DoTestStepL()
+ {
+ TInt err = KErrNone;
+ iError = KErrNone;
+
+ TRAP(err, OpenUrlAndStartSchedulerL() );
+
+ if (!iSurfaceMode && iVpu2 && iError == KErrNotSupported && err == KErrNone)
+ {
+ INFO_PRINTF2(_L("This test is when the controller doesn't support graphics surfaces. Expected: %d"), err);
+ return EPass;
+ }
+
+ if (err == KErrNotFound)
+ {
+ iTestStepResult = EInconclusive;
+ }
+ else if ( (err == KErrNone) && (iError == KErrNone))
+ {
+
+ // now use a special custom command to check the sending of these parameters
+ TUid uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+
+ if (!iVpu2)
+ {
+ err = iPlayer->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandCheckUrl,
+ KNullDesC8,
+ KNullDesC8);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ err = iPlayer2->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandCheckUrl,
+ KNullDesC8,
+ KNullDesC8);
+ }
+#endif
+ if (err==KErrNone)
+ {
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+ if (iSurfaceSupported)
+ {
+ iTestStepResult = ControllerCalled(_L8("SetDisplayWindowL called"), EFalse);
+ }
+ else
+ {
+ iTestStepResult = ControllerCalled(_L8("SetDisplayWindowL called"));
+ }
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ }
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ }
+
+ if (!iVpu2)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+ }
+#endif
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerOpenviaUriTag.
+ *
+ *
+ * @return "CTestStepVidPlayerOpenviaUriTag*"
+ * The constructed CTestStepVidPlayerOpenviaUriTag
+ */
+CTestStepVidPlayerOpenviaUriTag* CTestStepVidPlayerOpenviaUriTag::NewL()
+ {
+ CTestStepVidPlayerOpenviaUriTag* self = new(ELeave) CTestStepVidPlayerOpenviaUriTag;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerOpenviaUriTag::CTestStepVidPlayerOpenviaUriTag()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0313-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerOpenviaUriTag::~CTestStepVidPlayerOpenviaUriTag()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerOpenviaUriTag::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenviaUriTag::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerOpenviaUriTag::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenviaUriTag::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenviaUriTag::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerOpenviaUriTag::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ _LIT8(KMimeType, "");
+ _LIT(KTestURiTag, "rttp://www.symbian.com/test");
+
+ iFileName.Set(KTestURiTag);
+ iMimeType.Set(KMimeType);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0313-CP"));
+ INFO_PRINTF1(_L("this test is opening a file with a CVideoPlayerUtility::OpenUrlL()"));
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (iPlayer == NULL || !PlayerStateStopped() )
+ {
+ return EInconclusive;
+ }
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerOpenviaUriTag::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepVidPlayerOpenviaUriTag::OpenUrlAndStartSchedulerL()
+ {
+ iPlayer->OpenUrlL(iFileName,KTestIap,iMimeType);
+ CActiveScheduler::Start();
+ }
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerOpenviaUriTag::DoTestStepL()
+ {
+ TInt err = KErrNone;
+ iError = KErrNone;
+
+ TRAP(err, OpenUrlAndStartSchedulerL() );
+
+ if (err == KErrNotFound)
+ {
+ return EInconclusive;
+ }
+
+ if(iError != KErrExtensionNotSupported)
+ {
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ iTestStepResult = EPass;
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerOpenTryNextCtrl.
+ *
+ *
+ * @return "CTestStepVidPlayerOpenTryNextCtrl*"
+ * The constructed CTestStepVidPlayerOpenTryNextCtrl
+ */
+CTestStepVidPlayerOpenTryNextCtrl* CTestStepVidPlayerOpenTryNextCtrl::NewL()
+ {
+ CTestStepVidPlayerOpenTryNextCtrl* self = new(ELeave) CTestStepVidPlayerOpenTryNextCtrl;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerOpenTryNextCtrl::CTestStepVidPlayerOpenTryNextCtrl()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0314-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerOpenTryNextCtrl::~CTestStepVidPlayerOpenTryNextCtrl()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerOpenTryNextCtrl::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenTryNextCtrl::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerOpenTryNextCtrl::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenTryNextCtrl::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenTryNextCtrl::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerOpenTryNextCtrl::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ _LIT8(KMimeType, "");
+ _LIT(KTestURL1, "rttp://www.symbian.com/clock.dummy");
+ iFileName.Set(KTestURL1);
+ iMimeType.Set(KMimeType);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0314-CP"));
+ INFO_PRINTF1(_L("this test is opening a file with a CVideoPlayerUtility::OpenUrlL()"));
+
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (iPlayer == NULL || !PlayerStateStopped() )
+ {
+ return EInconclusive;
+ }
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerOpenTryNextCtrl::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepVidPlayerOpenTryNextCtrl::OpenUrlAndStartSchedulerL()
+ {
+ iPlayer->OpenUrlL(iFileName,KTestIap,iMimeType);
+ CActiveScheduler::Start();
+ }
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerOpenTryNextCtrl::DoTestStepL()
+ {
+ TInt err = KErrNone;
+ iError = KErrNone;
+
+ TRAP(err, OpenUrlAndStartSchedulerL() );
+
+ if (err == KErrNotFound)
+ {
+ return EInconclusive;
+ }
+
+ //need to remove <n>yes tag from 101f7D2D.RSS to really check for Trying Next Ctrl.
+ //in that case, KErrNone returned
+ if(iError != KErrExtensionNotSupported)
+ {
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ iTestStepResult = EPass;
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidPlayerClose.
+ *
+ *
+ * @return "CTestStepVidPlayerClose*"
+ * The constructed CTestStepVidPlayerClose
+ */
+CTestStepVidPlayerClose* CTestStepVidPlayerClose::NewL()
+ {
+ CTestStepVidPlayerClose* self = new(ELeave) CTestStepVidPlayerClose;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerClose::CTestStepVidPlayerClose()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0010-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerClose::~CTestStepVidPlayerClose()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerClose::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerClose::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerClose::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerClose::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerClose::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerClose::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != KErrNone)
+ {
+ return EInconclusive;
+ }
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0010-CP"));
+ INFO_PRINTF1(_L("this test is closing a source with CVideoPlayerUtility::Close()"));
+
+ iError = KErrNone; //KErrTimedOut;
+
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerClose::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerClose::DoTestStepL()
+ {
+ InitWservL();
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+
+ if (!iPlayer || !PlayerStateStopped())
+ {
+ return EInconclusive;
+ }
+
+ TInt err = KErrNone;
+ TRAP(err, OpenAndStartSchedulerL() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err == KErrNotSupported)
+ {
+ return EPass;
+ }
+#endif
+
+ if (err != KErrNone)
+ {
+ return EInconclusive;
+ }
+
+
+ iPlayer->Close();
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err == KErrNotSupported)
+ {
+ return EPass;
+ }
+#endif
+
+ if (err != KErrNone) // we can check the duration if it's 0, or the file handle if we could access it....
+ {
+ return EFail;
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+/**
+ *
+ * Static constructor for CTestStepVidPlayerOpenDurationCustomCommand.
+ *
+ *
+ * @return "CTestStepVidPlayerOpenDurationCustomCommand*"
+ * The constructed CTestStepVidPlayerOpenDurationCustomCommand
+ */
+CTestStepVidPlayerOpenDurationCustomCommand* CTestStepVidPlayerOpenDurationCustomCommand::NewL()
+ {
+ CTestStepVidPlayerOpenDurationCustomCommand* self = new(ELeave) CTestStepVidPlayerOpenDurationCustomCommand;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ */
+CTestStepVidPlayerOpenDurationCustomCommand::CTestStepVidPlayerOpenDurationCustomCommand()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0256-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ */
+CTestStepVidPlayerOpenDurationCustomCommand::~CTestStepVidPlayerOpenDurationCustomCommand()
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+TVerdict CTestStepVidPlayerOpenDurationCustomCommand::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ _LIT8(KMimeType, "video/msvideo");
+ iFileName.Set(KTestURL);
+ iMimeType.Set(KMimeType);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0256-HP"));
+ INFO_PRINTF1(_L("This test opens a file with a CVideoPlayerUtility::OpenUrlL() and then tests"));
+ INFO_PRINTF1(_L("the custom command: EMMFGetDurationInfo. The custom command parser for this test case"));
+ INFO_PRINTF1(_L("is implemented in the video test controller: TInt CMMFTestController::GetDurationInfo(TMMFDurationInfo& aDurationInfo)"));
+
+ InitWservL();
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ if (iPlayer == NULL ||!PlayerStateStopped())
+ {
+ return EInconclusive;
+ }
+ return verdict;
+ }
+
+void CTestStepVidPlayerOpenDurationCustomCommand::OpenUrlAndStartSchedulerL()
+ {
+ iPlayer->OpenUrlL(iFileName,KTestIap,iMimeType);
+ CActiveScheduler::Start();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerOpenDurationCustomCommand::DoTestStepL()
+ {
+ TInt err = KErrNone;
+
+ TRAP(err,OpenUrlAndStartSchedulerL());
+ if(err == KErrNotFound)
+ {
+ return EInconclusive;
+ }
+
+ // Now the player is open we can check that the duration custom command parser is working correctly
+ // The test controller is hard coded to always return TMMFDurationInfo::EMMFDurationInfoInfinite
+ TUid uid = TUid::Uid(0x10273812);
+ TMMFMessageDestinationPckg destPckg(uid);
+ TPckgBuf<TMMFDurationInfo> enumPckg;
+ iPlayer->CustomCommandSync(destPckg, EMMFGetDurationInfo, KNullDesC8, KNullDesC8, enumPckg);
+
+ if(enumPckg()!=EMMFDurationInfoInfinite)
+ {
+ iTestStepResult=EFail;
+ }
+
+ INFO_PRINTF1(_L("Finished with this test step"));
+ return iTestStepResult;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+TVerdict CTestStepVidPlayerOpenDurationCustomCommand::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+// from MVideoPlayerUtilityObserver
+void CTestStepVidPlayerOpenDurationCustomCommand::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerOpenDurationCustomCommand::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerOpenDurationCustomCommand::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerOpenDurationCustomCommand::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerOpenDurationCustomCommand::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepVidPlayerOpenFileCtrlUid.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,411 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+// EPOC includes
+#include <e32base.h>
+#include <e32test.h>
+#include <e32keys.h>
+#include <c32comm.h>
+#include <f32file.h>
+#include <etel.h>
+#include <etelmm.h>
+
+// Test system includes
+#include <testframework.h>
+
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfvideo.h>
+#include <mmf/server/mmfdes.h>
+#include <mmf/server/mmffile.h>
+#include <mmf/common/mmfcontroller.h>
+
+#include "CmmfVideoTestControllerUIDs.hrh"
+#include <videoplayer.h>
+#include <videorecorder.h>
+
+#ifdef SYMBIAN_BUILD_GCE
+#include <videoplayer2.h>
+#endif
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+#include "TestStepVidPlayer.h"
+#include "TS_Codes.h"
+
+
+_LIT(KClockFileName,"C:\\mm\\mmf\\testfiles\\vclnt\\clock.dummy");
+
+// --------------------------------------------
+
+/**
+ *
+ * Static constructor for CTestStepVidPlayerOpenFileCtrlUid.
+ *
+ *
+ * @return "CTestStepVidPlayerOpenFileCtrlUid*"
+ * The constructed CTestStepVidPlayerOpenFileCtrlUid
+ *
+ */
+CTestStepVidPlayerOpenFileCtrlUid* CTestStepVidPlayerOpenFileCtrlUid::NewL(TInt aUseFileHandle, TInt aSurfaceMode)
+ {
+ CTestStepVidPlayerOpenFileCtrlUid* self = new(ELeave) CTestStepVidPlayerOpenFileCtrlUid(aUseFileHandle, aSurfaceMode);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ */
+CTestStepVidPlayerOpenFileCtrlUid::CTestStepVidPlayerOpenFileCtrlUid(TInt aUseFileHandle, TInt aSurfaceMode)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iUseFileHandle = aUseFileHandle;
+ iSurfaceMode = aSurfaceMode;
+ if (iSurfaceMode == CTestStepUnitMMFVidClient::ENotSurfaceMode )
+ {
+ iVpu2 = EFalse;
+ if (iUseFileHandle == CTestStepVidPlayerOpenFileCtrlUid::EFileHandle)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0012-CP");
+ }
+ else
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0004-CP");
+ }
+ }
+ else
+ {
+ iVpu2 = ETrue;
+ if (iUseFileHandle == CTestStepVidPlayerOpenFileCtrlUid::EFileName)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0804-CP");
+ }
+ if (iUseFileHandle == CTestStepVidPlayerOpenFileCtrlUid::EFileHandle)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0810-CP");
+ }
+ if (iUseFileHandle == CTestStepVidPlayerOpenFileCtrlUid::EDescriptor)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0806-CP");
+ iHeapSize = 150000;
+ }
+ if (iUseFileHandle == CTestStepVidPlayerOpenFileCtrlUid::EUrl)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0808-CP");
+ }
+ }
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ */
+CTestStepVidPlayerOpenFileCtrlUid::~CTestStepVidPlayerOpenFileCtrlUid()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerOpenFileCtrlUid::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenFileCtrlUid::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerOpenFileCtrlUid::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerOpenFileCtrlUid::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerOpenFileCtrlUid::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ */
+enum TVerdict CTestStepVidPlayerOpenFileCtrlUid::DoTestStepPreambleL(void)
+ {
+ iFileName.Set(KClockFileName);
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ */
+enum TVerdict CTestStepVidPlayerOpenFileCtrlUid::DoTestStepPostambleL(void)
+ {
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepVidPlayerOpenFileCtrlUid::OpenFileAndStartSchedulerL()
+ {
+ const TUid KVidTstControllerUid = {KMmfVideoTestControllerUid}; //(0x101F88D9) //{KMmfTestControllerUid}; //(0x101F88D8)
+ switch (iUseFileHandle)
+ {
+ case CTestStepVidPlayerOpenFileCtrlUid::EFileHandle:
+ {
+ User::LeaveIfError(iFs.Connect());
+ User::LeaveIfError(iFs.ShareProtected());
+ User::LeaveIfError(iFile.Open(iFs, iFileName, EFileRead));
+ if (!iVpu2)
+ {
+ iPlayer->OpenFileL(iFile, KVidTstControllerUid );
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->OpenFileL(iFile, KVidTstControllerUid );
+ }
+#endif
+ break;
+ }
+ case CTestStepVidPlayerOpenFileCtrlUid::EFileName:
+ {
+ if (!iVpu2)
+ {
+ iPlayer->OpenFileL(iFileName, KVidTstControllerUid );
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->OpenFileL(iFileName, KVidTstControllerUid );
+ }
+#endif
+ break;
+ }
+ case CTestStepVidPlayerOpenFileCtrlUid::EDescriptor:
+ {
+ iFileName.Set(KClockFileName);
+
+ TInt fSize;
+ iFs.Connect();
+ iFile.Open(iFs, iFileName, EFileRead);
+ iFile.Size(fSize);
+ // load the sound from the file to a Descriptor
+ iBuf.CreateMaxL( fSize );
+
+ iFile.Read(iBuf);
+
+ iFile.Close();
+ iFs.Close();
+
+ if (!iVpu2)
+ {
+ iPlayer->OpenDesL(iBuf, KVidTstControllerUid );
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->OpenDesL(iBuf, KVidTstControllerUid );
+ }
+#endif
+ iBuf.Close();
+ break;
+ }
+ case CTestStepVidPlayerOpenFileCtrlUid::EUrl:
+ {
+ _LIT8(KMimeType, "video/msvideo");
+
+ iFileName.Set(KTestURL);
+ iMimeType.Set(KMimeType);
+ if (!iVpu2)
+ {
+ iPlayer->OpenUrlL(iFileName,KTestIap,iMimeType, KVidTstControllerUid );
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2->OpenUrlL(iFileName,KTestIap,iMimeType, KVidTstControllerUid );
+ }
+#endif
+ break;
+ }
+ default:
+ ERR_PRINTF1(_L("Unknown case"));
+ break;
+ }
+ CActiveScheduler::Start();
+}
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ */
+TVerdict CTestStepVidPlayerOpenFileCtrlUid::DoTestStepL()
+ {
+ TInt err = KErrNone;
+ iError = KErrNone;
+
+ InitWservL();
+
+ if (!iVpu2)
+ {
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ }
+#ifdef SYMBIAN_BUILD_GCE
+ else
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ }
+#endif
+ if (!PlayerStateStopped() )
+ {
+ return EInconclusive;
+ }
+
+ // Open file using specific controller UID
+ TRAP(err, OpenFileAndStartSchedulerL());
+
+ if (err == KErrNotSupported)
+ {
+ return EPass;
+ }
+
+ if (err == KErrNotFound)
+ {
+ iTestStepResult = EInconclusive;
+ }
+ else if ((err == KErrNotSupported || err == KErrNone) &&
+ (iError == KErrNotSupported || iError == KErrNone))
+ {
+ // Get the controller
+ RMMFController* controller = NULL;
+ err = GetPlayerController(controller);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error getting controller %d"), err);
+ return EInconclusive;
+ }
+
+ // Check that the correct functions were called in DoOpenController
+ TBuf8<64> functionText;
+ TUid uid = { KMmfVideoTestControllerUid };
+ TMMFMessageDestination handleInfo(uid);
+ TMMFMessageDestinationPckg message(handleInfo);
+
+ err = controller->CustomCommandSync(message, KLogFunction, KNullDesC8, KNullDesC8, functionText);
+
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+ if (err == KErrNone && !iSurfaceSupported)
+ {
+ // If the controller doesn't support graphics surfaces,
+ // now that the opening of the controller is asynchronous,
+ // we might get a MDirectScreenAccess::AbortNow() or
+ // MDirectScreenAccess::Restart callbback
+ // So
+ if ((functionText.Compare(_L8("SetDisplayWindowL called")) != 0) &&
+ (functionText.Compare(_L8("DirectScreenAccessEventL EAbortDSA")) != 0) &&
+ (functionText.Compare(_L8("DirectScreenAccessEventL EResumeDSA")) != 0))
+ {
+ ERR_PRINTF1(_L("SetDisplayWindowL not called"));
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ iTestStepResult = EPass;
+ }
+ }
+
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+ if (err == KErrNone && iSurfaceSupported)
+ {
+ // If the controller supports graphics surfaces,
+ // we should not get a MDirectScreenAccess::AbortNow() or
+ // MDirectScreenAccess::Restart callbback or SetDisplayWindowL
+ // So
+ if ((functionText.Compare(_L8("SetDisplayWindowL called")) == 0) ||
+ (functionText.Compare(_L8("DirectScreenAccessEventL EAbortDSA")) == 0) ||
+ (functionText.Compare(_L8("DirectScreenAccessEventL EResumeDSA")) == 0))
+ {
+ ERR_PRINTF1(_L("SetDisplayWindowL should not be called"));
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Pass. SetDisplayWindowL is not called"));
+ iTestStepResult = EPass;
+ }
+ }
+
+#ifdef SYMBIAN_BUILD_GCE
+ SurfaceSupported();
+#endif
+ if (iTestStepResult == EPass && !iSurfaceSupported)
+ {
+ err = controller->CustomCommandSync(message, KLogFunction2, KNullDesC8, KNullDesC8, functionText);
+ if (err == KErrNone)
+ {
+ if (functionText.Compare(_L8("UpdateDisplayRegionL called")) != 0)
+ {
+ INFO_PRINTF1(_L("UpdateDisplayRegionL not called"));
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ iTestStepResult = EPass;
+ }
+ }
+ }
+ }
+ else
+ {
+ INFO_PRINTF3(_L("Unexpected error (err = %d, iError = %d)"), err, iError);
+ iTestStepResult = EFail;
+ }
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepVidRecordError.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,468 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// TestStepVidRecorderNew.cpp
+//
+//
+
+#include <testframework.h>
+
+#include <videorecorder.h>
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+
+// Specific includes for these test steps
+#include "TestStepVidRecorder.h"
+
+#define KAviRecordControllerUid 0x102737E1
+#define KAviRecordFormatUid 0x102737E3
+#define KTimedRecTicks 2
+#define KTimedRecIntervallSecs 5
+
+_LIT(KTestFileName,"C:\\mm\\mmf\\testfiles\\vclnt\\test.dummy");
+_LIT(KTestFileNamePlayback,"C:\\mm\\mmf\\testfiles\\vclnt\\small2.wav");
+_LIT(KTestCameraPluginName, "C:\\102070cc.txt");
+
+_LIT(KMMCameraPluginName, "C:\\mmcameraclientplugin.txt");
+
+/**
+ *
+ * Static constructor for CTestStepVidRecordError.
+ *
+ *
+ * @return "CTestStepVidRecordError*"
+ * The constructed CTestStepVidRecordError
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecordError* CTestStepVidRecordError::NewL()
+ {
+ CTestStepVidRecordError* self = new(ELeave) CTestStepVidRecordError;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecordError::CTestStepVidRecordError()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0258-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecordError::~CTestStepVidRecordError()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecordError::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ if( iError != KErrNone )
+ {
+ ERR_PRINTF2(_L("MvruoOpenComplete returned with error: %d"),iError);
+ return;
+ }
+ INFO_PRINTF1(_L("MvruoOpenComplete"));
+ iRecorder->Prepare();
+ }
+
+void CTestStepVidRecordError::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ if( iError != KErrNone )
+ {
+ ERR_PRINTF2(_L("MvruoPrepareComplete returned with error: %d"),iError);
+ return;
+ }
+ INFO_PRINTF1(_L("MvruoPrepareComplete"));
+
+ TRAPD(err, iRecorder->SetAudioEnabledL(TRUE));
+ if( err != KErrNone )
+ {
+ ERR_PRINTF2(_L("SetAudioEnabled Failed with Error: %d"),err);
+ iError = err;
+ return;
+ }
+ TRAP(err, iRecorder->SetVideoFrameRateL(10));
+ if( err != KErrNone )
+ {
+ ERR_PRINTF2(_L("SetVideoFrameRateL Failed with Error: %d"),err);
+ iError = err;
+ return;
+ }
+ TRAP(err, iRecorder->SetVideoFrameSizeL(TSize(176, 144)));
+ if( err != KErrNone )
+ {
+ ERR_PRINTF2(_L("SetVideoFrameSizeL Failed with Error: %d"),err);
+ iError = err;
+ return;
+ }
+ iRecorder->Record();
+
+ INFO_PRINTF1(_L("Start Timer"));
+ iTimedRecording->IssueRequest(iRecorder, iAudioPlayer);
+ }
+
+void CTestStepVidRecordError::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ if( iError != KErrNone )
+ {
+ ERR_PRINTF2(_L("MvruoRecordComplete returned with error: %d"),iError);
+ }
+
+ TRAPD(err, iDuration = iRecorder->DurationL());
+
+ if(err != KErrNone)
+ {
+ ERR_PRINTF2(_L("iRecorder->DurationL() left with error: %d"),err);
+ }
+
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidRecordError::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ INFO_PRINTF1(_L("MvruoEvent"));
+ }
+
+
+/**
+ * Implementation of the MCameraObserver2 interface functions
+ **/
+void CTestStepVidRecordError::HandleEvent(const TECAMEvent& /*aEvent*/)
+ {
+
+ }
+
+void CTestStepVidRecordError::ViewFinderReady(MCameraBuffer& /*aCameraBuffer*/,TInt /*aError*/)
+ {
+
+ }
+
+void CTestStepVidRecordError::ImageBufferReady(MCameraBuffer& /*aCameraBuffer*/,TInt /*aError*/)
+ {
+
+ }
+
+void CTestStepVidRecordError::VideoBufferReady(MCameraBuffer& /*aCameraBuffer*/,TInt /*aError*/)
+ {
+
+ }
+
+/**
+ * Implementation of the MMdaAudioPlayerCallback interface functions
+ **/
+void CTestStepVidRecordError::MapcInitComplete(TInt /*aError*/, const TTimeIntervalMicroSeconds& /*aDuration*/)
+ {
+ }
+
+void CTestStepVidRecordError::MapcPlayComplete(TInt /*aError*/)
+ {
+
+ }
+
+/* ------------------------------------------------- */
+/**
+ * Utility functions
+ */
+
+void CTestStepVidRecordError::CreateDependencyFileL()
+ {
+ // create the file the plugin depends on.
+ INFO_PRINTF1(_L("Create dependency file for camera plugin"));
+ User::LeaveIfError(iFs.Connect());
+
+ iFs.Delete(KMMCameraPluginName);
+
+ RFile file;
+ TInt err = file.Replace(iFs, KTestCameraPluginName, EFileShareAny);
+ file.Close();
+ iFs.Close();
+ if(err != KErrNone)
+ {
+ User::LeaveIfError(KErrNotSupported);
+ }
+ }
+void CTestStepVidRecordError::RemoveDependencyFileL()
+ {
+ User::LeaveIfError(iFs.Connect());
+ iFs.Delete(KTestCameraPluginName);
+ iFs.Close();
+ }
+
+
+void CTestStepVidRecordError::RecOpenAndStartSchedulerL()
+ {
+
+ INFO_PRINTF1(_L("Reserve Camera"));
+ iCamera->Reserve();
+
+ INFO_PRINTF1(_L("Power On Camera"));
+ iCamera->PowerOn();
+ const TUid KVidAviFormatUid = {KAviRecordFormatUid};
+ const TUid KVidAviControllerUid = {KAviRecordControllerUid};
+ User::LeaveIfError(iFs.Connect());
+ User::LeaveIfError(iFs.ShareProtected());
+ User::LeaveIfError(iFile.Replace(iFs, iFileName, EFileWrite | EFileShareAny));
+
+ INFO_PRINTF1(_L("call iRecorder->OpenFileL"));
+ iRecorder->OpenFileL(iFile, iCamera->Handle(), KVidAviControllerUid, KVidAviFormatUid );
+
+ CActiveScheduler::Start();
+ }
+
+/* ------------------------------------------------- */
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecordError::DoTestStepPreambleL(void)
+ {
+ CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0258-CP"));
+
+ iFileName.Set(KTestFileName);
+ iFileNamePlay.Set(KTestFileNamePlayback);
+
+ CreateDependencyFileL();
+ TInt noCam = CCamera::CamerasAvailable();
+ INFO_PRINTF2(_L("Number of Cameras: %d"),noCam);
+
+ INFO_PRINTF1(_L("connecting to the font and bitmap server with Connect()"));
+ User::LeaveIfError(RFbsSession::Connect());
+
+ INFO_PRINTF1(_L("initialising a CCamera object with New2L()"));
+ iCamera = CCamera::New2L(*this, 0, 0);
+
+ INFO_PRINTF1(_L("initialising a CTimedRecording object with NewL(), 5 seconds"));
+ iTimedRecording = CTimedRecording::NewL(KTimedRecTicks, KTimedRecIntervallSecs);
+
+ iDuration = 0;
+ iError = KErrNone;
+
+ return EPass;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecordError::DoTestStepPostambleL(void)
+ {
+ delete iCamera;
+ delete iTimedRecording;
+
+ RFbsSession::Disconnect();
+ RemoveDependencyFileL();
+
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecordError::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+
+ __MM_HEAP_MARK;
+ INFO_PRINTF1(_L("initialising a CVideoRecorderUtility object with NewL()"));
+ iRecorder = CVideoRecorderUtility::NewL(*this, EMdaPriorityNormal);
+
+ INFO_PRINTF1(_L("initialising a CMdaAudioPlayerUtility object with NewFilePlayerL()"));
+ iAudioPlayer = CMdaAudioPlayerUtility::NewFilePlayerL(iFileNamePlay,*this,EMdaPriorityMax);
+
+ if(iRecorder == NULL || !RecorderStateStopped() || iAudioPlayer == NULL)
+ {
+ return EFail;
+ }
+
+ TInt err =0;
+ TRAP(err, RecOpenAndStartSchedulerL());
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("RecOpenAndStartSchedulerL returned Error: %d"),err);
+ iTestStepResult = EInconclusive;
+ }
+ else
+ {
+ if( iError != KErrInUse )
+ {
+ ERR_PRINTF2(_L("Return error is not KErrInUse, it is %d"),iError);
+ iTestStepResult = EFail;
+ }
+ if( iDuration == 0 )
+ {
+ ERR_PRINTF1(_L("iDuration is 0"));
+ iTestStepResult = EFail;
+ }
+ }
+
+ delete iAudioPlayer;
+
+ iRecorder->Close();
+ delete iRecorder;
+
+ iFile.Close();
+ iFs.Close();
+
+ iCamera->PowerOff();
+ iCamera->Release();
+
+ __MM_HEAP_MARKEND;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+
+
+//
+//
+// -----> CTimedRecording (implementation)
+//
+//
+
+CTimedRecording::CTimedRecording() : CTimer(CActive::EPriorityStandard)
+ // Construct zero-priority active object
+ {};
+
+CTimedRecording* CTimedRecording::NewLC( TInt aTicksRequested, TInt aSeconds )
+ {
+ CTimedRecording* self=new (ELeave) CTimedRecording;
+ CleanupStack::PushL(self);
+ self->ConstructL( aTicksRequested, aSeconds );
+ return self;
+ }
+
+CTimedRecording* CTimedRecording::NewL( TInt aTicksRequested, TInt aSeconds )
+ {
+ CTimedRecording* self = NewLC( aTicksRequested, aSeconds );
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+void CTimedRecording::ConstructL( TInt aTicksRequested, TInt aSeconds )
+ {
+ // Base class second-phase construction.
+ CTimer::ConstructL();
+ // Set members from arguments
+ iTicksRequested = aTicksRequested; // Ticks requested
+ iSeconds = aSeconds; // Interval between ticks
+
+ // Add active object to active scheduler
+ CActiveScheduler::Add(this);
+ }
+
+
+CTimedRecording::~CTimedRecording()
+ {
+ // Make sure we're cancelled
+ Cancel();
+ }
+
+void CTimedRecording::DoCancel()
+ {
+ // Call base class version of function
+ // Base class
+ CTimer::DoCancel();
+ // Reset any variable needed if the object is re-activated later
+ // Reset this variable - needed if the object is re-activated later
+ iTicksDone = 0;
+ }
+
+void CTimedRecording::IssueRequest(CVideoRecorderUtility* aRecorder, CMdaAudioPlayerUtility* aAudioPlayer)
+ {
+ // panics
+ enum
+ {
+ EPanicAlreadyActive=1000,
+ };
+ iRecorder = aRecorder;
+ iAudioPlayer = aAudioPlayer;
+ // There should never be an outstanding request at this point.
+ _LIT(KMsgAlreadyActive, "Is already Active");
+ __ASSERT_ALWAYS(!IsActive(), User::Panic(KMsgAlreadyActive, EPanicAlreadyActive));
+ // Request another wait
+ CTimer::After( iSeconds * 1000000);
+ }
+
+void CTimedRecording::RunL()
+ {
+ // Handle request completion
+ // Remember to keep track ofiTicksDone (how many times message request is issued)
+ // Message must be sent iTicksRequested times
+ // stop scheduler when all requested messages sent
+
+ // One more tick done
+ iTicksDone++;
+ // Issue new request, or stop if we have reached the limit
+ if (iTicksDone < iTicksRequested)
+ {
+ if(iTicksDone == 1)
+ {
+ iAudioPlayer->Play();
+ }
+ IssueRequest(iRecorder, iAudioPlayer);
+ }
+ else
+ {
+ // Reset this variable - needed if the object is re-activated later
+ iTicksDone=0;
+ iRecorder->Stop();
+ iAudioPlayer->Stop();
+ // Can now stop the active scheduler
+ CActiveScheduler::Stop();
+ }
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepVidRecorderManip.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,3713 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+// EPOC includes
+#include <e32base.h>
+#include <e32test.h>
+#include <e32keys.h>
+#include <c32comm.h>
+#include <f32file.h>
+#include <etel.h>
+#include <etelmm.h>
+#include <testframework.h>
+#include <badesca.h>
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfvideo.h>
+#include <mmf/server/mmfdes.h>
+#include <mmf/server/mmffile.h>
+
+#include <mmf/common/mmfcontroller.h>
+
+#include <videorecorder.h>
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+
+// Specific includes for these test steps
+#include "TestStepVidRecorder.h"
+#include "Ts_cmmfvideotestcontroller.h"
+#include "TS_Codes.h"
+
+_LIT(KClockFileName,"C:\\mm\\mmf\\testfiles\\vclnt\\clock.dummy");
+_LIT(KVideoTestControllerName, "CMMFVideoTestController");
+//const TUid KVideoTestControllerUid = { KMmfVideoTestControllerUid }; //(0x101F88D9) // EABI warning removal
+
+const TInt KBufMimeTypeGranularity = 4;
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderRecord.
+ *
+ *
+ * @return "CTestStepVidRecorderRecord*"
+ * The constructed CTestStepVidRecorderRecord
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderRecord* CTestStepVidRecorderRecord::NewL()
+ {
+ CTestStepVidRecorderRecord* self = new(ELeave) CTestStepVidRecorderRecord;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderRecord::CTestStepVidRecorderRecord() : iHasRecorded(EFalse)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0220-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderRecord::~CTestStepVidRecorderRecord()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderRecord::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderRecord::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderRecord::MvruoRecordComplete(TInt aError)
+ {
+ if (iError==KErrNone)
+ iHasRecorded = ETrue;
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderRecord::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderRecord::DoTestStepPreambleL(void)
+ {
+ iFileName.Set(KClockFileName);
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0220-CP"));
+ INFO_PRINTF1(_L("this test is recording a video with a CVideoRecorderUtility::RecordL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderRecord::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderRecord::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if ( !iRecorder ||
+ !RecorderStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ RecorderPrepareAndStartScheduler();
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+ RecordAndStartScheduler();
+
+ if (iError == KErrNone && iHasRecorded)
+ return EPass;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderStop.
+ *
+ *
+ * @return "CTestStepVidRecorderStop*"
+ * The constructed CTestStepVidRecorderStop
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderStop* CTestStepVidRecorderStop::NewL()
+ {
+ CTestStepVidRecorderStop* self = new(ELeave) CTestStepVidRecorderStop;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderStop::CTestStepVidRecorderStop()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0221-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderStop::~CTestStepVidRecorderStop()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderStop::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderStop::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderStop::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderStop::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderStop::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return EInconclusive;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0221-CP"));
+ INFO_PRINTF1(_L("this test stops Recording a video with CVideoRecorderUtility::StopL()"));
+
+ iError = KErrNone;
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderStop::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderStop::DoTestStepL()
+ {
+ TInt err = KErrNone;
+ iTestStepResult = EPass;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (!iRecorder || !RecorderStateStopped())
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err == KErrNotSupported)
+ return EPass;
+ else
+ return EFail;
+#endif
+
+#ifndef _TYPHOON_TEST_
+ if (err != KErrNone)
+ return EInconclusive;
+#endif
+
+ RecorderPrepareAndStartScheduler();
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ RecordAndStartScheduler();
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+ err = iRecorder->Stop();
+
+ if (err != KErrNone)
+ return EFail;
+
+ if (!RecorderStateStopped())
+ return EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderPause.
+ *
+ *
+ * @return "CTestStepVidRecorderPause*"
+ * The constructed CTestStepVidRecorderPause
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderPause* CTestStepVidRecorderPause::NewL()
+ {
+ CTestStepVidRecorderPause* self = new(ELeave) CTestStepVidRecorderPause;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderPause::CTestStepVidRecorderPause()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0222-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderPause::~CTestStepVidRecorderPause()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderPause::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderPause::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderPause::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderPause::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderPause::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict!=EPass)
+ return EInconclusive;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0222-CP"));
+ INFO_PRINTF1(_L("this test pauses a Recording video with a CVideoRecorderUtility::PauseL()"));
+
+ iError = KErrNone; //KErrTimedOut;
+
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderPause::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderPause::DoTestStepL()
+ {
+ TInt err = KErrNone;
+ iTestStepResult = EPass;
+
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (!RecorderStateStopped())
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err == KErrNotSupported)
+ return EPass;
+ else
+ return EInconclusive;
+#endif
+
+#ifndef _TYPHOON_TEST_
+ if (err != KErrNone )
+ return EInconclusive;
+#endif
+
+ RecorderPrepareAndStartScheduler();
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ RecordAndStartScheduler();
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, iRecorder->PauseL() );
+
+ if ( !RecorderStatePaused())
+ return EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderPriority.
+ *
+ *
+ * @return "CTestStepVidRecorderPriority*"
+ * The constructed CTestStepVidRecorderPriority
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderPriority* CTestStepVidRecorderPriority::NewL()
+ {
+ CTestStepVidRecorderPriority* self = new(ELeave) CTestStepVidRecorderPriority;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderPriority::CTestStepVidRecorderPriority()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0223-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderPriority::~CTestStepVidRecorderPriority()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderPriority::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderPriority::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderPriority::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderPriority::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderPriority::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0223-CP"));
+ INFO_PRINTF1(_L("this test retrieves the priority setting with CVideoRecorderUtility::PriorityL()"));
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EInconclusive;
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderPriority::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderPriority::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+// TInt err;
+// err = KErrNone; // EABI warning removal
+
+ // do the priority test. TBD
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderVFrameRate.
+ *
+ *
+ * @return "CTestStepVidRecorderVFrameRate*"
+ * The constructed CTestStepVidRecorderVFrameRate
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderVFrameRate* CTestStepVidRecorderVFrameRate::NewL()
+ {
+ CTestStepVidRecorderVFrameRate* self = new(ELeave) CTestStepVidRecorderVFrameRate;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderVFrameRate::CTestStepVidRecorderVFrameRate()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0225-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderVFrameRate::~CTestStepVidRecorderVFrameRate()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderVFrameRate::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderVFrameRate::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderVFrameRate::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderVFrameRate::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderVFrameRate::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0225-HP"));
+ INFO_PRINTF1(_L("this test sets/gets the frame rate with CVideoRecorderUtility::[Set]VideoFrameRateL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderVFrameRate::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderVFrameRate::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TReal32 frameRate = 0;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (!iRecorder ||!RecorderStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, frameRate = iRecorder->VideoFrameRateL() );
+
+ if (err != KErrNone ||frameRate < 0 ) // or check with a known frame rate clip when there is a video controller and decoder available
+ return EFail;
+
+ frameRate = 11.5;
+ TRAP(err, iRecorder->SetVideoFrameRateL(frameRate) );
+
+ if (err != KErrNone)
+ return EFail;
+
+ TReal32 refFrameRate = 0;
+ TRAP(err, refFrameRate = iRecorder->VideoFrameRateL() );
+
+ if (err != KErrNone ||
+ frameRate != refFrameRate )
+ return EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderVFrameSize.
+ *
+ *
+ * @return "CTestStepVidRecorderVFrameSize*"
+ * The constructed CTestStepVidRecorderVFrameSize
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderVFrameSize* CTestStepVidRecorderVFrameSize::NewL()
+ {
+ CTestStepVidRecorderVFrameSize* self = new(ELeave) CTestStepVidRecorderVFrameSize;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderVFrameSize::CTestStepVidRecorderVFrameSize()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0229-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderVFrameSize::~CTestStepVidRecorderVFrameSize()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderVFrameSize::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderVFrameSize::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderVFrameSize::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderVFrameSize::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderVFrameSize::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0229-HP"));
+ INFO_PRINTF1(_L("this test gets the video frame size with CVideoRecorderUtility::VideoFrameSizeL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderVFrameSize::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderVFrameSize::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TSize frameSize;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ return EInconclusive;
+
+
+ TRAP(err, iRecorder->GetVideoFrameSizeL(frameSize) );
+
+ if (err != KErrNone ||
+ frameSize.iWidth < 0 ||
+ frameSize.iHeight < 0 )
+ return EFail;
+
+ frameSize.iWidth = 80;
+ frameSize.iHeight = 60;
+ TRAP(err, iRecorder->SetVideoFrameSizeL(frameSize) );
+
+
+ if (err != KErrNone)
+ return EFail;
+
+ TRAP(err, iRecorder->GetVideoFrameSizeL(frameSize) );
+
+ if (err != KErrNone ||
+ frameSize.iWidth != 80 ||
+ frameSize.iHeight != 60 )
+ return EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderVBitRate.
+ *
+ *
+ * @return "CTestStepVidRecorderVBitRate*"
+ * The constructed CTestStepVidRecorderVBitRate
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderVBitRate* CTestStepVidRecorderVBitRate::NewL()
+ {
+ CTestStepVidRecorderVBitRate* self = new(ELeave) CTestStepVidRecorderVBitRate;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderVBitRate::CTestStepVidRecorderVBitRate()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0230-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderVBitRate::~CTestStepVidRecorderVBitRate()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderVBitRate::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderVBitRate::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderVBitRate::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderVBitRate::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderVBitRate::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ TInt err = KErrNone;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0230-HP"));
+ INFO_PRINTF1(_L("this test gets the video bit rate with CVideoRecorderUtility::VideoBitRateL()"));
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EInconclusive;
+ else
+ return EPass;
+#endif
+
+ if (err != KErrNone)
+ return EInconclusive;
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderVBitRate::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderVBitRate::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TInt bitRate = 0;
+
+ TRAP(err, bitRate = iRecorder->VideoBitRateL() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EFail;
+#endif
+
+#ifndef _TYPHOON_TEST_
+ if (err != KErrNone ||
+ bitRate < 0 )
+ return EFail;
+#endif
+
+ TRAP(err, iRecorder->SetVideoBitRateL(100) );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EFail;
+#endif
+
+#ifndef _TYPHOON_TEST_
+ if (err != KErrNone)
+ return EFail;
+#endif
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderABitRate.
+ *
+ *
+ * @return "CTestStepVidRecorderABitRate*"
+ * The constructed CTestStepVidRecorderABitRate
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderABitRate* CTestStepVidRecorderABitRate::NewL()
+ {
+ CTestStepVidRecorderABitRate* self = new(ELeave) CTestStepVidRecorderABitRate;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderABitRate::CTestStepVidRecorderABitRate()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0231-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderABitRate::~CTestStepVidRecorderABitRate()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderABitRate::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderABitRate::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderABitRate::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderABitRate::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderABitRate::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ TInt err = KErrNone;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0231-HP"));
+ INFO_PRINTF1(_L("this test gets the audio bit rate with CVideoRecorderUtility::AudioBitRateL()"));
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EInconclusive;
+ else
+ return EPass;
+#endif
+
+ if (err != KErrNone)
+ return EInconclusive;
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderABitRate::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderABitRate::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TInt bitRate = 0;
+
+ TRAP(err, bitRate = iRecorder->AudioBitRateL() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EFail;
+#endif
+
+#ifndef _TYPHOON_TEST_
+ if (err != KErrNone ||
+ bitRate < 0 )
+ return EFail;
+#endif
+
+ TRAP(err, iRecorder->SetAudioBitRateL(100) );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EFail;
+#endif
+
+#ifndef _TYPHOON_TEST_
+ if (err != KErrNone)
+ return EFail;
+#endif
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderAudEnabled.
+ *
+ *
+ * @return "CTestStepVidRecorderAudEnabled*"
+ * The constructed CTestStepVidRecorderAudEnabled
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderAudEnabled* CTestStepVidRecorderAudEnabled::NewL()
+ {
+ CTestStepVidRecorderAudEnabled* self = new(ELeave) CTestStepVidRecorderAudEnabled;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderAudEnabled::CTestStepVidRecorderAudEnabled()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0232-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderAudEnabled::~CTestStepVidRecorderAudEnabled()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderAudEnabled::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderAudEnabled::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderAudEnabled::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderAudEnabled::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderAudEnabled::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0232-HP"));
+ INFO_PRINTF1(_L("this test checks if the audio is enabled with CVideoRecorderUtility::AudioEnabledL()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderAudEnabled::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderAudEnabled::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+// TBool audEnabled;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ return EInconclusive;
+
+// TRAP(err, audEnabled = iRecorder->AudioEnabledL() );
+ TRAP(err, iRecorder->AudioEnabledL() ); // EABI warning removal
+
+ if (err != KErrNone )
+ return EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderRecordTime.
+ *
+ *
+ * @return "CTestStepVidRecorderRecordTime*"
+ * The constructed CTestStepVidRecorderRecordTime
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderRecordTime* CTestStepVidRecorderRecordTime::NewL()
+ {
+ CTestStepVidRecorderRecordTime* self = new(ELeave) CTestStepVidRecorderRecordTime;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderRecordTime::CTestStepVidRecorderRecordTime()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0241-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderRecordTime::~CTestStepVidRecorderRecordTime()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderRecordTime::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderRecordTime::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderRecordTime::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderRecordTime::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderRecordTime::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0241-CP"));
+ INFO_PRINTF1(_L("this test gets the record time available using CVideoRecorderUtility::GetRecordTimeAvailable()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderRecordTime::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderRecordTime::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TTimeIntervalMicroSeconds recordTime;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (!iRecorder || !RecorderStateStopped())
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ return EPass;
+#else
+ if (err != KErrNone)
+ return EInconclusive;
+#endif
+
+ TRAP(err, recordTime = iRecorder->RecordTimeAvailable() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported)
+ {
+ return EFail;
+ }
+#else
+ TTimeIntervalMicroSeconds refTime (KMMFVideoRecordTimeAvailable);
+ if (err != KErrNone || recordTime != refTime)
+ return EFail;
+#endif
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderDuration.
+ *
+ *
+ * @return "CTestStepVidRecorderDuration*"
+ * The constructed CTestStepVidRecorderDuration
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderDuration* CTestStepVidRecorderDuration::NewL()
+ {
+ CTestStepVidRecorderDuration* self = new(ELeave) CTestStepVidRecorderDuration;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderDuration::CTestStepVidRecorderDuration()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0234-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderDuration::~CTestStepVidRecorderDuration()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderDuration::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderDuration::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderDuration::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderDuration::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderDuration::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0234-CP"));
+ INFO_PRINTF1(_L("this test gets the duration of a video clip with CVideoRecorderUtility::DurationL()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderDuration::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderDuration::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TTimeIntervalMicroSeconds dur;
+ TTimeIntervalMicroSeconds refDur;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (!iRecorder || !RecorderStateStopped())
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, dur = iRecorder->DurationL() );
+
+ if (err != KErrNone )
+ return EInconclusive;
+
+ //added for defect INC21987
+ TRAP(err, iRecorder->SetMaxClipSizeL(1000) );
+ if (err != KErrNone )
+ return EInconclusive;
+
+ TRAP(err, refDur = iRecorder->DurationL() );
+
+ if (err != KErrNone || dur != refDur)
+ return EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderMaxClipSize.
+ *
+ *
+ * @return "CTestStepVidRecorderMaxClipSize*"
+ * The constructed CTestStepVidRecorderMaxClipSize
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderMaxClipSize* CTestStepVidRecorderMaxClipSize::NewL()
+ {
+ CTestStepVidRecorderMaxClipSize* self = new(ELeave) CTestStepVidRecorderMaxClipSize;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderMaxClipSize::CTestStepVidRecorderMaxClipSize()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0235-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderMaxClipSize::~CTestStepVidRecorderMaxClipSize()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderMaxClipSize::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderMaxClipSize::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderMaxClipSize::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderMaxClipSize::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderMaxClipSize::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0235-CP"));
+ INFO_PRINTF1(_L("this test sets the maximum recording clip duration with CVideoRecorderUtility::SetMaxClipSizeL()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderMaxClipSize::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderMaxClipSize::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ return EInconclusive;
+
+
+ TRAP(err, iRecorder->SetMaxClipSizeL(100000) );
+
+ if (err != KErrNone)
+ return EFail;
+
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderVideoType.
+ *
+ *
+ * @return "CTestStepVidRecorderVideoType*"
+ * The constructed CTestStepVidRecorderVideoType
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderVideoType* CTestStepVidRecorderVideoType::NewL()
+ {
+ CTestStepVidRecorderVideoType* self = new(ELeave) CTestStepVidRecorderVideoType;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderVideoType::CTestStepVidRecorderVideoType()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0236-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderVideoType::~CTestStepVidRecorderVideoType()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderVideoType::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderVideoType::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderVideoType::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderVideoType::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderVideoType::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0236-CP"));
+ INFO_PRINTF1(_L("this test is about the video type of a video clip: CVideoRecorderUtility::[GetSupported|Set]VideoType[s]L()"));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderVideoType::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderVideoType::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TBuf8<256> type;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+
+ TRAP(err, type = iRecorder->VideoFormatMimeType() );
+
+#ifdef _TYPHOON_TEST_
+ //Typhoon fix, video is not supported
+ if (err != KErrNotSupported )
+ return EFail;
+ else
+ return EPass;
+#endif
+
+ if (err != KErrNone)
+ return EFail;
+
+ // check what mime types are available
+ CDesC8ArrayFlat* vidTypes = new (ELeave) CDesC8ArrayFlat(KBufMimeTypeGranularity);
+ CleanupStack::PushL(vidTypes);
+ TRAP(err, iRecorder->GetSupportedVideoTypesL(*vidTypes));
+ INFO_PRINTF2(_L("GetSupportedVideoTypesL returned %d"), err);
+
+ if (err != KErrNone)
+ iTestStepResult = EFail;
+ else
+ {
+ for (TInt i = 0; i < vidTypes->Count(); i++)
+ {
+ TBuf<64> temp;
+ temp.Copy((*vidTypes)[i]);
+ INFO_PRINTF2(_L("Mime Type: %S"), &temp);
+ }
+ }
+
+ CleanupStack::PopAndDestroy(vidTypes);
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderAudioType.
+ *
+ *
+ * @return "CTestStepVidRecorderAudioType*"
+ * The constructed CTestStepVidRecorderAudioType
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderAudioType* CTestStepVidRecorderAudioType::NewL()
+ {
+ CTestStepVidRecorderAudioType* self = new(ELeave) CTestStepVidRecorderAudioType;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderAudioType::CTestStepVidRecorderAudioType()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0237-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderAudioType::~CTestStepVidRecorderAudioType()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderAudioType::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderAudioType::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderAudioType::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderAudioType::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderAudioType::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0237-CP"));
+ INFO_PRINTF1(_L("this test is about the audio type of a video clip: CVideoRecorderUtility::[GetSupported|Set]AudioType[s]L()"));
+
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderAudioType::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderAudioType::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TFourCC type;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, type = iRecorder->AudioTypeL() );
+
+ if (err != KErrNone)
+ return EFail;
+
+ // TBD
+ //RArray<TFourCC> vidTypes;
+ //TRAP(err, GetSupportedAudioTypesL(vidTypes) );
+ //else if (err != KErrNone)
+ // return EFail;
+
+ // check a known audio type when codecs are available
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderGain.
+ *
+ *
+ * @return "CTestStepVidRecorderGain*"
+ * The constructed CTestStepVidRecorderGain
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderGain* CTestStepVidRecorderGain::NewL()
+ {
+ CTestStepVidRecorderGain* self = new(ELeave) CTestStepVidRecorderGain;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderGain::CTestStepVidRecorderGain()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0238-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderGain::~CTestStepVidRecorderGain()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderGain::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderGain::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderGain::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderGain::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderGain::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0238-CP"));
+ INFO_PRINTF1(_L("this tests the volue functions with CVideoRecorderUtility::[Max|Set|]GainL()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderGain::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderGain::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+ TInt gain, refGain;
+
+ gain = 0;
+ refGain = 0;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ return EInconclusive;
+
+
+ TRAP(err, gain = iRecorder->MaxGainL() );
+
+ if (err != KErrNone ||
+ gain < 0)
+ return EFail;
+
+ TRAP(err, iRecorder->SetGainL(gain/2) );
+
+ if (err != KErrNone)
+ return EFail;
+
+ TRAP(err, refGain = iRecorder->GainL() );
+
+ if (err != KErrNone ||
+ refGain != gain/2 )
+ return EFail;
+
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderMeta.
+ *
+ *
+ * @return "CTestStepVidRecorderMeta*"
+ * The constructed CTestStepVidRecorderMeta
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderMeta* CTestStepVidRecorderMeta::NewL()
+ {
+ CTestStepVidRecorderMeta* self = new(ELeave) CTestStepVidRecorderMeta;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderMeta::CTestStepVidRecorderMeta()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0239-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderMeta::~CTestStepVidRecorderMeta()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderMeta::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderMeta::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderMeta::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderMeta::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderMeta::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ TInt err = KErrNone;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0239-HP"));
+ INFO_PRINTF1(_L("this tests the metadata functions with CVideoRecorderUtility::[NumberOf]MetaDataEntr[y|ies]L()"));
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderMeta::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderMeta::DoTestStepL()
+ {
+ iTestStepResult = EPass;
+ TInt err = KErrNone;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err != KErrNone)
+ return EInconclusive;
+
+ TInt numOfMeta = 0;
+ TRAP(err, numOfMeta = iRecorder->NumberOfMetaDataEntriesL() );
+
+ if (err != KErrNone)
+ return EFail;
+ if (numOfMeta>0)
+ TRAP(err, iRecorder->MetaDataEntryL(numOfMeta-1) )
+
+ if (err != KErrNone)
+ return EFail;
+
+ // awaits video codec implementation
+ //for (TInt i=0; i<numOfMeta; i++)
+ // {
+ // TRAP(err, meta = iRecorder->MetaDataEntryL(i) );
+ // if (err != KErrNone ||
+ // meta != NULL)
+ // return EFail;
+ // }
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//
+
+CTestStepVidRecorderHandleEvent* CTestStepVidRecorderHandleEvent::NewL()
+ {
+ CTestStepVidRecorderHandleEvent* self = new(ELeave) CTestStepVidRecorderHandleEvent();
+ return self;
+ }
+
+CTestStepVidRecorderHandleEvent::CTestStepVidRecorderHandleEvent()
+ {
+ iTestStepResult = EFail;
+ iTestStepName = _L("MM-MMF-VCLNT-U-0240-LP");
+ }
+
+CTestStepVidRecorderHandleEvent::~CTestStepVidRecorderHandleEvent()
+ {
+ }
+
+TVerdict CTestStepVidRecorderHandleEvent::DoTestStepL()
+ {
+ INFO_PRINTF1(_L("This tests the MvruoRecordComplete callback (Error code != KErrNone)"));
+ INFO_PRINTF1(_L("See INC015645 for details"));
+
+ TInt err = KErrNone;
+ TUid uid = { KMmfVideoTestControllerUid };
+ iFileName.Set(KClockFileName);
+
+ // Create video recorder
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ // Get the controller
+ RMMFController* controller = NULL;
+ err = GetRecorderController(controller);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error getting recorder controller %d"), err);
+ return EInconclusive;
+ }
+
+ // Open file
+ TRAP(err, RecOpenAndStartSchedulerL());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error opening recorder %d"), err);
+ return EInconclusive;
+ }
+
+ // Add data source
+ TMMFFileConfig config;
+ config().iPath = KClockFileName;
+ err = controller->AddDataSource(KUidMmfFileSource, config);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error adding data source %d"), err);
+ return EInconclusive;
+ }
+
+ // Set the error value for recording
+ const TInt KExpectedErrorVal = KErrNotSupported;
+ TMMFMessageDestination handleInfo(uid);
+ TMMFMessageDestinationPckg message(handleInfo);
+ TBuf8<64> returnBuf;
+ TPckgBuf<TInt> errorValPckg = KExpectedErrorVal; // error value we want
+ TPckgBuf<TInt> errorTypePckg = EMmfTC_PlayError; // type of error we want
+ err = controller->CustomCommandSync(message, KTestSetError, errorValPckg, errorTypePckg, returnBuf);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error setting the controller error %d"), err);
+ return EInconclusive;
+ }
+
+ // Prepare
+ TRAP(err, RecorderPrepareAndStartScheduler());
+ if (err != KErrNone || iError != KErrNone)
+ return EInconclusive;
+
+ // Start recording
+ iRecorder->Record();
+ CActiveScheduler::Start(); // wait for MvruoRecordComplete
+
+ if (iError != KExpectedErrorVal)
+ {
+ INFO_PRINTF3(_L("iError does not match expected value: got %d, expecting %d"), iError, KExpectedErrorVal);
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ // error returned in MvruoRecordComplete was as expected
+ iTestStepResult = EPass;
+ }
+
+ return iTestStepResult;
+ }
+
+//from MVideoRecorderUtilityObserver
+void CTestStepVidRecorderHandleEvent::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidRecorderHandleEvent::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidRecorderHandleEvent::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidRecorderHandleEvent::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderGetImplementationInfo.
+ *
+ *
+ * @return "CTestStepVidRecorderGetImplementationInfo*"
+ * The constructed CTestStepVidRecorderGetImplementationInfo
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderGetImplementationInfo* CTestStepVidRecorderGetImplementationInfo::NewL()
+ {
+ CTestStepVidRecorderGetImplementationInfo* self = new(ELeave) CTestStepVidRecorderGetImplementationInfo;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderGetImplementationInfo::CTestStepVidRecorderGetImplementationInfo() : iHasPlayed(EFalse)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0250-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderGetImplementationInfo::~CTestStepVidRecorderGetImplementationInfo()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderGetImplementationInfo::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidRecorderGetImplementationInfo::MvruoPrepareComplete(TInt /*aError*/)
+ {
+ }
+
+
+void CTestStepVidRecorderGetImplementationInfo::MvruoRecordComplete(TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidRecorderGetImplementationInfo::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderGetImplementationInfo::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is playing a video with a CVideoRecorderUtility::ControllerImplementationInfoL()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderGetImplementationInfo::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderGetImplementationInfo::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (iError != KErrNone || err != KErrNone)
+ return EInconclusive;
+
+ const CMMFControllerImplementationInformation* info = NULL;
+
+ TRAP(err, info = &iRecorder->ControllerImplementationInformationL());
+ if (err != KErrNone)
+ return EFail;
+
+ if (info->DisplayName().Compare(KVideoTestControllerName)!=0)
+ iTestStepResult = EFail;
+ else
+ iTestStepResult = EPass;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderSendCustomCommandSync.
+ *
+ *
+ * @return "CTestStepVidRecorderSendCustomCommandSync*"
+ * The constructed CTestStepVidRecorderSendCustomCommandSync
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderSendCustomCommandSync* CTestStepVidRecorderSendCustomCommandSync::NewL()
+ {
+ CTestStepVidRecorderSendCustomCommandSync* self = new(ELeave) CTestStepVidRecorderSendCustomCommandSync;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderSendCustomCommandSync::CTestStepVidRecorderSendCustomCommandSync() : iHasPlayed(EFalse)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0251-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderSendCustomCommandSync::~CTestStepVidRecorderSendCustomCommandSync()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderSendCustomCommandSync::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidRecorderSendCustomCommandSync::MvruoPrepareComplete(TInt /*aError*/)
+ {
+ }
+
+
+void CTestStepVidRecorderSendCustomCommandSync::MvruoRecordComplete(TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidRecorderSendCustomCommandSync::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderSendCustomCommandSync::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is a test of CVideoRecorderUtility::CustomCommandSync()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderSendCustomCommandSync::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderSendCustomCommandSync::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (iError != KErrNone && err!=KErrNone)
+ return EInconclusive;
+
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+ // test without a return value
+ err = iRecorder->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandGeneralSynchronous,
+ KFirstParameter,
+ KSecondParameter);
+
+ if (err!=KTestCustomCommandSuccess)
+ return EFail;
+
+ TBuf8<256> buf;
+
+ err = iRecorder->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandGeneralSynchronousWithReturn,
+ KFirstParameter,
+ KSecondParameter,
+ buf);
+
+ if (err!=KTestCustomCommandSuccess)
+ return EFail;
+
+ if (buf.Compare(KReturnParameter)==0)
+ iTestStepResult = EPass;
+ else
+ iTestStepResult = EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderSendCustomCommandAsync.
+ *
+ *
+ * @return "CTestStepVidRecorderSendCustomCommandAsync*"
+ * The constructed CTestStepVidRecorderSendCustomCommandAsync
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderSendCustomCommandAsync* CTestStepVidRecorderSendCustomCommandAsync::NewL()
+ {
+ CTestStepVidRecorderSendCustomCommandAsync* self = new(ELeave) CTestStepVidRecorderSendCustomCommandAsync;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderSendCustomCommandAsync::CTestStepVidRecorderSendCustomCommandAsync() : iHasPlayed(EFalse)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0252-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderSendCustomCommandAsync::~CTestStepVidRecorderSendCustomCommandAsync()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderSendCustomCommandAsync::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidRecorderSendCustomCommandAsync::MvruoPrepareComplete(TInt /*aError*/)
+ {
+ }
+
+
+void CTestStepVidRecorderSendCustomCommandAsync::MvruoRecordComplete(TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidRecorderSendCustomCommandAsync::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderSendCustomCommandAsync::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ iAsyncObserver = new (ELeave) CAsyncObserver;
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is a test of CVideoRecorderUtility::CustomCommandAsync()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderSendCustomCommandAsync::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ delete iAsyncObserver;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderSendCustomCommandAsync::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err!=KErrNone)
+ return EInconclusive;
+
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ iDestinationPckg = TMMFMessageDestinationPckg(uid);
+
+ // test without a return value
+ iRecorder->CustomCommandAsync(iDestinationPckg,
+ EMMFTestCustomCommandGeneralAsynchronous,
+ KFirstParameter,
+ KSecondParameter,
+ iAsyncObserver->ActiveStatus());
+
+ CActiveScheduler::Start();
+ if (iAsyncObserver->iStatus.Int() !=KTestCustomCommandSuccess)
+ return EFail;
+
+ TBuf8<256> buf;
+
+ iRecorder->CustomCommandAsync(iDestinationPckg,
+ EMMFTestCustomCommandGeneralAsynchronousWithReturn,
+ KFirstParameter,
+ KSecondParameter,
+ buf,
+ iAsyncObserver->ActiveStatus());
+
+ CActiveScheduler::Start();
+ if (iAsyncObserver->iStatus.Int() !=KTestCustomCommandSuccess)
+ return EFail;
+
+ if (buf.Compare(KReturnParameter)==0)
+ iTestStepResult = EPass;
+ else
+ iTestStepResult = EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderGeneralEvent.
+ *
+ *
+ * @return "CTestStepVidRecorderGeneralEvent*"
+ * The constructed CTestStepVidRecorderGeneralEvent
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderGeneralEvent* CTestStepVidRecorderGeneralEvent::NewL()
+ {
+ CTestStepVidRecorderGeneralEvent* self = new(ELeave) CTestStepVidRecorderGeneralEvent;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderGeneralEvent::CTestStepVidRecorderGeneralEvent()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0253-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderGeneralEvent::~CTestStepVidRecorderGeneralEvent()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderGeneralEvent::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidRecorderGeneralEvent::MvruoPrepareComplete(TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidRecorderGeneralEvent::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidRecorderGeneralEvent::MvruoEvent(const TMMFEvent& aEvent)
+ {
+ iEventReceived = ETrue;
+ if (aEvent.iEventType == KMMFEventCategoryVideoPlayerGeneralError &&
+ aEvent.iErrorCode == KTestGeneralError)
+ iCorrectEventReceived = ETrue;
+ else
+ iCorrectEventReceived = EFalse;
+ CActiveScheduler::Stop();
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderGeneralEvent::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != EPass)
+ return verdict;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is of receiving a general event from a controller"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderGeneralEvent::DoTestStepPostambleL(void)
+ {
+ delete iPlayer;
+ iPlayer = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderGeneralEvent::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+ iTestStepResult = EFail;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (err!=KErrNone)
+ return EInconclusive;
+
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+ // test without a return value
+ err = iRecorder->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandRequestGeneralEvent,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ return EInconclusive;
+
+ CActiveScheduler::Start();
+ iTestStepResult = EFail;
+
+ if (iEventReceived)
+ {
+ if (iCorrectEventReceived)
+ iTestStepResult = EPass;
+ else
+ INFO_PRINTF1(_L("incorrect event received"));
+ }
+ else
+ INFO_PRINTF1(_L("incorrect callback received"));
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+
+
+//
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderCheckImplementationInfo.
+ *
+ *
+ * @return "CTestStepVidRecorderCheckImplementationInfo*"
+ * The constructed CTestStepVidRecorderCheckImplementationInfo
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderCheckImplementationInfo* CTestStepVidRecorderCheckImplementationInfo::NewL()
+ {
+ CTestStepVidRecorderCheckImplementationInfo* self = new(ELeave) CTestStepVidRecorderCheckImplementationInfo;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderCheckImplementationInfo::CTestStepVidRecorderCheckImplementationInfo() : iHasPlayed(EFalse)
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0255-HP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderCheckImplementationInfo::~CTestStepVidRecorderCheckImplementationInfo()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderCheckImplementationInfo::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidRecorderCheckImplementationInfo::MvruoPrepareComplete(TInt /*aError*/)
+ {
+ }
+
+
+void CTestStepVidRecorderCheckImplementationInfo::MvruoRecordComplete(TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidRecorderCheckImplementationInfo::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderCheckImplementationInfo::DoTestStepPreambleL(void)
+ {
+ // this installs the scheduler
+ TVerdict verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ if (verdict != EPass)
+ {
+ return verdict;
+ }
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ INFO_PRINTF1(_L("this test is playing a video with a CVideoRecorderUtility::ControllerImplementationInfoL()"));
+
+ return verdict;
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderCheckImplementationInfo::DoTestStepPostambleL(void)
+ {
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderCheckImplementationInfo::DoTestStepL()
+ {
+ TInt err = KErrNone;
+ iTestStepResult = EFail;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+
+ if (iError != KErrNone || err != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, &iRecorder->ControllerImplementationInformationL());
+ if (err != KErrNone)
+ {
+ return EFail;
+ }
+
+ iRecorder->Close();
+
+ TRAP(err, &iRecorder->ControllerImplementationInformationL());
+
+ // Checking for KErrNotReady because we dont have one more videocontroller
+ // to compare
+ if (err == KErrNotReady )
+ {
+ iTestStepResult = EPass;
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ }
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepVidRecorderNew.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,151 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+// EPOC includes
+#include <e32base.h>
+#include <e32test.h>
+#include <e32keys.h>
+#include <c32comm.h>
+#include <f32file.h>
+#include <etel.h>
+#include <etelmm.h>
+#include <testframework.h>
+
+// Test system includes
+#include <testframework.h>
+
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfvideo.h>
+#include <mmf/server/mmfdes.h>
+#include <mmf/server/mmffile.h>
+
+#include <mmf/common/mmfcontroller.h>
+
+#include <videorecorder.h>
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+
+// Specific includes for these test steps
+#include "TestStepVidRecorder.h"
+
+// --------------------------------------------
+
+/**
+ *
+ * Static constructor for CTestStepVidRecorderNew.
+ *
+ *
+ * @return "CTestStepVidRecorderNew*"
+ * The constructed CTestStepVidRecorderNew
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderNew* CTestStepVidRecorderNew::NewL()
+ {
+ CTestStepVidRecorderNew* self = new(ELeave) CTestStepVidRecorderNew;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderNew::CTestStepVidRecorderNew()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0200-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderNew::~CTestStepVidRecorderNew()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderNew::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderNew::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderNew::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderNew::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderNew::DoTestStepL()
+ {
+ __MM_HEAP_MARK;
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0200-CP"));
+ INFO_PRINTF1(_L("this test is iniatilising a CVideoRecorderUtility object with NewL()"));
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ iTestStepResult = EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ __MM_HEAP_MARKEND;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestStepVidRecorderOpen.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,1095 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+// EPOC includes
+#include <e32base.h>
+#include <e32test.h>
+#include <e32keys.h>
+#include <c32comm.h>
+#include <f32file.h>
+#include <etel.h>
+#include <etelmm.h>
+#include <testframework.h>
+
+#include "CmmfVideoTestControllerUIDs.hrh"
+
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfvideo.h>
+#include <mmf/server/mmfdes.h>
+#include <mmf/server/mmffile.h>
+
+#include <mda/common/video.h>
+#include <mmf/common/mmfcontroller.h>
+#include <videoplayer.h>
+#include <videorecorder.h>
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+#include "Ts_cmmfvideotestcontroller.h"
+#include "TS_Codes.h"
+
+// Specific includes for these test steps
+#include "TestStepVidRecorder.h"
+
+_LIT(KClockFileName,"C:\\mm\\mmf\\testfiles\\vclnt\\clock.dummy");
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderOpenFile.
+ *
+ *
+ * @return "CTestStepVidRecorderOpenFile*"
+ * The constructed CTestStepVidRecorderOpenFile
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderOpenFile* CTestStepVidRecorderOpenFile::NewL(TBool aUseFileHandle)
+ {
+ CTestStepVidRecorderOpenFile* self = new(ELeave) CTestStepVidRecorderOpenFile(aUseFileHandle);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderOpenFile::CTestStepVidRecorderOpenFile(TBool aUseFileHandle)
+ {
+ iTestStepResult = EPass;
+ iUseFileHandle = aUseFileHandle;
+ if (iUseFileHandle)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0211-CP");
+ }
+ else
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0202-CP");
+ }
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderOpenFile::~CTestStepVidRecorderOpenFile()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderOpenFile::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderOpenFile::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderOpenFile::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderOpenFile::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderOpenFile::DoTestStepPreambleL(void)
+ {
+ _LIT(KFileName, "c:\\mm\\small2.dummy");
+
+ iFileName.Set(KFileName);
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderOpenFile::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderOpenFile::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ __MM_HEAP_MARK;
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("this test is openning a file with a CVideoRecorderUtility::OpenFileL()"));
+
+ iError = KErrNone;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EFail;
+
+ TRAP(err, RecOpenAndStartSchedulerL(iUseFileHandle) );
+ if (err == KErrNotFound)
+ iTestStepResult = EInconclusive;
+ else if ( (err == KErrNotSupported || err == KErrNone) &&
+ (iError == KErrNotSupported || iError == KErrNone)
+ )
+ iTestStepResult = EPass;
+ else
+ iTestStepResult = EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ __MM_HEAP_MARKEND;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+//------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderOpenFileCtrlUid.
+ *
+ *
+ * @return "CTestStepVidRecorderOpenFileCtrlUid*"
+ * The constructed CTestStepVidRecorderOpenFileCtrlUid
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderOpenFileCtrlUid* CTestStepVidRecorderOpenFileCtrlUid::NewL(TBool aUseFileHandle)
+ {
+ CTestStepVidRecorderOpenFileCtrlUid* self = new(ELeave) CTestStepVidRecorderOpenFileCtrlUid(aUseFileHandle);
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderOpenFileCtrlUid::CTestStepVidRecorderOpenFileCtrlUid(TBool aUseFileHandle)
+ {
+ iTestStepResult = EPass;
+ iUseFileHandle = aUseFileHandle;
+ if (iUseFileHandle)
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0212-CP");
+ }
+ else
+ {
+ iTestStepName = _L("MM-MMF-VCLNT-U-0203-CP");
+ }
+
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderOpenFileCtrlUid::~CTestStepVidRecorderOpenFileCtrlUid()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderOpenFileCtrlUid::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderOpenFileCtrlUid::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderOpenFileCtrlUid::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+void CTestStepVidRecorderOpenFileCtrlUid::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderOpenFileCtrlUid::DoTestStepPreambleL(void)
+ {
+ iFileName.Set(KClockFileName);
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderOpenFileCtrlUid::DoTestStepPostambleL(void)
+ {
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepVidRecorderOpenFileCtrlUid::OpenFileAndStartSchedulerL()
+ {
+ const TUid KVidTstControllerUid = {KMmfVideoTestControllerUid}; //(0x101F88D9) //{KMmfTestControllerUid}; //(0x101F88D8)
+ if (iUseFileHandle)
+ {
+ User::LeaveIfError(iFs.Connect());
+ User::LeaveIfError(iFs.ShareProtected());
+ iFile.Open(iFs, iFileName,EFileWrite);
+ iRecorder->OpenFileL(iFileName, NULL, KVidTstControllerUid, KUidMdaBmpClipFormat ); //KTstControllerUid );
+ }
+ else
+ {
+ iRecorder->OpenFileL(iFileName, NULL, KVidTstControllerUid, KUidMdaBmpClipFormat ); //KTstControllerUid );
+ }
+ CActiveScheduler::Start();
+}
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderOpenFileCtrlUid::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ __MM_HEAP_MARK;
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("this test is openning a file with a specific Controller Uid: CVideoRecorderUtility::OpenFileL()"));
+
+ iError = KErrNone; //KErrTimedOut;
+ iTestStepResult = EPass;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EFail;
+
+ TRAP(err, OpenFileAndStartSchedulerL() );
+ if (err == KErrNotFound)
+ return EInconclusive;
+ else if (err != KErrNone)
+ return EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ __MM_HEAP_MARKEND;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderOpenDesc.
+ *
+ *
+ * @return "CTestStepVidRecorderOpenDesc*"
+ * The constructed CTestStepVidRecorderOpenDesc
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderOpenDesc* CTestStepVidRecorderOpenDesc::NewL()
+ {
+ CTestStepVidRecorderOpenDesc* self = new(ELeave) CTestStepVidRecorderOpenDesc;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderOpenDesc::CTestStepVidRecorderOpenDesc()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0204-CP");
+ iHeapSize = 128000;
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderOpenDesc::~CTestStepVidRecorderOpenDesc()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderOpenDesc::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderOpenDesc::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderOpenDesc::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderOpenDesc::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderOpenDesc::DoTestStepPreambleL(void)
+ {
+ iFileName.Set(KClockFileName);
+
+ TInt fSize;
+ iFs.Connect();
+ if ( iFile.Open(iFs, iFileName, EFileRead) != KErrNone )
+ return EInconclusive;
+ iFile.Size(fSize);
+ // load the sound from the file to a Descriptor
+ iBuf = HBufC8::NewL( fSize );
+ TPtr8 des = iBuf->Des();
+ iFile.Read(des);
+
+ iFile.Close();
+ iFs.Close();
+
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderOpenDesc::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepVidRecorderOpenDesc::OpenDescAndStartSchedulerL()
+ {
+ const TUid KVidTstControllerUid = {KMmfVideoTestControllerUid}; //(0x101F88D9) //{KMmfTestControllerUid}; //(0x101F88D8)
+ TPtr8 des = iBuf->Des();
+ iRecorder->OpenDesL(des, NULL, KVidTstControllerUid, KUidMdaBmpClipFormat);
+ CActiveScheduler::Start();
+}
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderOpenDesc::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ __MM_HEAP_MARK;
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0204-CP"));
+ INFO_PRINTF1(_L("this test is openning a descriptor with a CVideoRecorderUtility::OpenDesL()"));
+
+ iError = KErrNone; //KErrTimedOut;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if (iRecorder == NULL ||
+ !RecorderStateStopped() )
+ return EFail;
+
+ TRAP(err, OpenDescAndStartSchedulerL() );
+ if (err == KErrNotFound)
+ iTestStepResult = EInconclusive;
+ else if ( (err == KErrNotSupported || err == KErrNone) &&
+ (iError == KErrNotSupported || iError == KErrNone)
+ )
+ iTestStepResult = EPass;
+ else
+ iTestStepResult = EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ __MM_HEAP_MARKEND;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderOpenUrl.
+ *
+ *
+ * @return "CTestStepVidRecorderOpenUrl*"
+ * The constructed CTestStepVidRecorderOpenUrl
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderOpenUrl* CTestStepVidRecorderOpenUrl::NewL()
+ {
+ CTestStepVidRecorderOpenUrl* self = new(ELeave) CTestStepVidRecorderOpenUrl;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderOpenUrl::CTestStepVidRecorderOpenUrl()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0205-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderOpenUrl::~CTestStepVidRecorderOpenUrl()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderOpenUrl::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderOpenUrl::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderOpenUrl::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderOpenUrl::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderOpenUrl::DoTestStepPreambleL(void)
+ {
+ iFileName.Set(KTestURL);
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderOpenUrl::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepVidRecorderOpenUrl::OpenUrlAndStartSchedulerL()
+ {
+ const TUid KVidTstControllerUid = {KMmfVideoTestControllerUid}; //(0x101F88D9) //{KMmfTestControllerUid}; //(0x101F88D8)
+ iRecorder->OpenUrlL(iFileName,KTestIap, NULL, KVidTstControllerUid, KUidMdaBmpClipFormat);
+ CActiveScheduler::Start();
+}
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderOpenUrl::DoTestStepL()
+ {
+ TInt err;
+ err = KErrNone;
+
+ __MM_HEAP_MARK;
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0205-CP"));
+ INFO_PRINTF1(_L("this test is openning a file with a CVideoRecorderUtility::OpenUrlL()"));
+
+ iError = KErrNone; //KErrTimedOut;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if ( !iRecorder || !RecorderStateStopped() )
+ return EFail;
+
+ TRAP(err, OpenUrlAndStartSchedulerL() );
+ if (err == KErrNotFound)
+ iTestStepResult = EInconclusive;
+ else if ( (err == KErrNone) &&
+ (iError == KErrNone)
+ )
+ {
+
+ // now use a special custom command to check the sending of these parameters
+ TUid uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+
+ TInt err = iRecorder->CustomCommandSync(destPckg,
+ EMMFTestCustomCommandCheckUrl,
+ KNullDesC8,
+ KNullDesC8);
+ if (err==KErrNone)
+ iTestStepResult = EPass;
+ else
+ iTestStepResult = EFail;
+ }
+ else
+ iTestStepResult = EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+ __MM_HEAP_MARKEND;
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderPrepare.
+ *
+ *
+ * @return "CTestStepVidRecorderPrepare*"
+ * The constructed CTestStepVidRecorderPrepare
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderPrepare* CTestStepVidRecorderPrepare::NewL()
+ {
+ CTestStepVidRecorderPrepare* self = new(ELeave) CTestStepVidRecorderPrepare;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderPrepare::CTestStepVidRecorderPrepare()
+ {
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0207-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderPrepare::~CTestStepVidRecorderPrepare()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderPrepare::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderPrepare::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderPrepare::MvruoRecordComplete(TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidRecorderPrepare::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderPrepare::DoTestStepPreambleL(void)
+ {
+ iFileName.Set(KClockFileName);
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0207-CP"));
+ INFO_PRINTF1(_L("testing CVideoRecorderUtility::Prepare()"));
+ INFO_PRINTF1(_L(" INC023486 Video Recording Client API does not handle server side leaves in prepare."));
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderPrepare::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Call Prepare() normally.
+ * Call Prepare() with server side error return.
+ * Call Prepare() with server side leave.
+ * Verify the error codes are returned correctly.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderPrepare::DoTestStepL()
+ {
+ TUid testControllerUid = { KMmfVideoTestControllerUid };
+ const TInt KExpectedErrorVal = KErrCompletion;
+ TMMFMessageDestination handleInfo(testControllerUid);
+ TMMFMessageDestinationPckg message(handleInfo);
+ TBuf8<64> returnBuf;
+ TPckgBuf<TInt> errorValPckg = KExpectedErrorVal; // error value we want
+ TPckgBuf<TInt> errorTypePckg = EMmfTC_PrepareError; // type of error we want
+ RMMFController* controller = NULL;
+
+ //for now the test is inconclusive on error
+ iTestStepResult = EInconclusive;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+ if (!iRecorder || !RecorderStateStopped())
+ {
+ INFO_PRINTF3(_L("Error CVideoRecorderUtility::NewL() iRecoder=%X RecoderStateStopped=%d"),iRecorder,RecorderStateStopped());
+ goto TestFinish;
+ }
+
+ TRAPD(err, RecOpenAndStartSchedulerL() );
+ if (err != KErrNone || iError != KErrNone)
+ {
+ INFO_PRINTF3(_L("Error RecOpenAndStartSchedulerL() err=%d iError=%d"),err,iError);
+ goto TestFinish;
+ }
+
+ //from here the test fail on error
+ iTestStepResult = EFail;
+
+ // First test: normal call - expect no error
+ RecorderPrepareAndStartScheduler();
+ if (iError != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error RecorderPrepareAndStartScheduler() iError=%d"),iError);
+ goto TestFinish;
+ }
+
+ // Get the controller
+ err = GetRecorderController(controller);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error GetRecorderController() %d"), err);
+ goto TestFinish;
+ }
+
+ //Second test: server side error return
+ errorTypePckg = EMmfTC_PrepareError; // type of error we want
+ err = controller->CustomCommandSync(message, KTestSetError, errorValPckg, errorTypePckg, returnBuf);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error CustomCommandSync(EMmfTC_PrepareError) %d"), err);
+ goto TestFinish;
+ }
+
+ //server side error return expect KExpectedErrorVal
+ RecorderPrepareAndStartScheduler();
+ if (iError != KExpectedErrorVal)
+ {
+ INFO_PRINTF3(_L("RecorderPrepareAndStartScheduler() Expected %d got %d"),KExpectedErrorVal,iError);
+ goto TestFinish;
+ }
+
+ //Third test: server side leave
+ errorTypePckg = EMmfTC_PrepareLeave; // type of error we want
+ err = controller->CustomCommandSync(message, KTestSetError, errorValPckg, errorTypePckg, returnBuf);
+ if (err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error CustomCommandSync(EMmfTC_PrepareLeave) %d"), err);
+ goto TestFinish;
+ }
+
+ //server side leave - expect KExpectedErrorVal
+ RecorderPrepareAndStartScheduler();
+ if (iError != KExpectedErrorVal)
+ {
+ INFO_PRINTF3(_L("RecorderPrepareAndStartScheduler() Expected %d got %d"),KExpectedErrorVal,iError);
+ goto TestFinish;
+ }
+
+ //test passed
+ iTestStepResult = EPass;
+
+TestFinish:
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+//
+// --------------------------------------------
+//
+/**
+ *
+ * Static constructor for CTestStepVidRecorderClose.
+ *
+ *
+ * @return "CTestStepVidRecorderClose*"
+ * The constructed CTestStepVidRecorderClose
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderClose* CTestStepVidRecorderClose::NewL()
+ {
+ CTestStepVidRecorderClose* self = new(ELeave) CTestStepVidRecorderClose;
+ return self;
+ }
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderClose::CTestStepVidRecorderClose()
+ {
+ iTestStepResult = EPass;
+ // store the name of this test case
+ // this is the name that is used by the script file
+ iTestStepName = _L("MM-MMF-VCLNT-U-0210-CP");
+ }
+
+/**
+ *
+ * Test step destructor.
+ *
+ * @xxxx
+ *
+ */
+CTestStepVidRecorderClose::~CTestStepVidRecorderClose()
+ {
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidRecorderClose::MvruoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderClose::MvruoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderClose::MvruoRecordComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidRecorderClose::MvruoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ }
+
+
+/**
+ *
+ * Test step Preamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderClose::DoTestStepPreambleL(void)
+ {
+ enum TVerdict verdict;
+ // this installs the scheduler
+ verdict = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (verdict != KErrNone)
+ return EInconclusive;
+
+ iFileName.Set(KClockFileName);
+
+ // Printing to the console and log file
+ INFO_PRINTF1(_L("MM-MMF-VCLNT-U-0210-CP"));
+ INFO_PRINTF1(_L("this test is closing a source with CVideoRecorderUtility::Close()"));
+
+ iError = KErrNone; //KErrTimedOut;
+
+ return verdict;
+
+ }
+
+/**
+ *
+ * Test step Postamble.
+ *
+ * @xxxx
+ *
+ */
+enum TVerdict CTestStepVidRecorderClose::DoTestStepPostambleL(void)
+ {
+ delete iRecorder;
+ iRecorder = NULL;
+ //[ Destroy the scheduler ]
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+/**
+ *
+ * Do the test step.
+ * Each test step must supply an implementation for DoTestStepL.
+ *
+ * @return "TVerdict"
+ * The result of the test step
+ *
+ * @xxxx
+ *
+ */
+TVerdict CTestStepVidRecorderClose::DoTestStepL()
+ {
+ TInt err = KErrNone;
+
+ iRecorder = CVideoRecorderUtility::NewL(*this);
+
+ if ( !iRecorder || !RecorderStateStopped())
+ return EInconclusive;
+
+ TRAP(err, RecOpenAndStartSchedulerL() );
+ if (err != KErrNone)
+ return EInconclusive;
+
+ TRAP(err, iRecorder->Close() );
+ if (err != KErrNone) // we can check the duration if it's 0, or the file handle if we could access it....
+ return EFail;
+
+ delete iRecorder;
+ iRecorder = NULL;
+
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/TestSuiteUnitMMFVidClient.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,447 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+// EPOC includes
+#include <e32base.h>
+#include <testframework.h>
+
+// Test system includes
+#include <testframework.h>
+
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfvideo.h>
+#include <mmf/server/mmfdes.h>
+#include <mmf/server/mmffile.h>
+
+#include <mmf/common/mmfcontroller.h>
+#include <videoplayer.h>
+
+#ifdef SYMBIAN_BUILD_GCE
+#include <videoplayer2.h>
+#endif
+
+#include <videorecorder.h>
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+
+// Specific includes for these test steps
+#include "TestStepVidPlayer.h"
+#include "TestStepVidRecorder.h"
+#include "TestStepAllocFailVidPlayer.h"
+#include "teststepvidplayereventhandler.h"
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+#include "teststepvidplayersubtitle.h"
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+/** DLL Entry point */
+//GLDEF_C TInt E32Dll(TDllReason /*aReason*/)
+// {
+// return(KErrNone);
+// }
+
+/**
+ *
+ * Create an instance of this test suite.
+ *
+ * NewTestSuiteUnitMMFVidClientL is exported at ordinal 1.
+ * This provides the interface to allow the Test Framework
+ * to create instances of this test suite.
+ *
+ * @return "CTestSuiteUnitMMFVidClient*"
+ * The newly created test suite
+ */
+EXPORT_C CTestSuiteUnitMMFVidClient* NewTestSuiteUnitMMFVidClientL()
+ {
+ CTestSuiteUnitMMFVidClient* result = new (ELeave) CTestSuiteUnitMMFVidClient;
+ CleanupStack::PushL(result);
+ result->ConstructL();
+ CleanupStack::Pop(); // result
+ return result;
+ }
+
+/**
+ *
+ * CTestSuiteUnitMMFVidClient destructor
+ */
+CTestSuiteUnitMMFVidClient::~CTestSuiteUnitMMFVidClient()
+ {
+ }
+
+/**
+ *
+ * This test suite version string
+ */
+_LIT(KTxtVersion,"0.1a (build 4-Sept-2002)");
+
+/**
+ *
+ * Get test suite version.
+ *
+ * @return "TPtrC"
+ * The version string.
+ */
+TPtrC CTestSuiteUnitMMFVidClient::GetVersion() const
+ {
+ return KTxtVersion();
+ }
+
+/**
+ *
+ * Add a test step into the suite.
+ *
+ * @param "CTestStepUnitMMFVidClient* aTestStep"
+ * The test step to be added.
+ * @xxxx
+ *
+ */
+void CTestSuiteUnitMMFVidClient::AddTestStepL( CTestStepUnitMMFVidClient* aTestStep )
+ {
+ // test steps contain a pointer back to the suite which owns them
+ aTestStep->SetUnitMMFVidClientSuite(this);
+
+ // add the step using the base class method
+ CTestSuite::AddTestStepL(aTestStep);
+ }
+
+/**
+ *
+ * Initialiser for test suite.
+ * This creates all the test steps and stores them
+ * inside CTestSuiteUnitMMFVidClient
+ */
+void CTestSuiteUnitMMFVidClient::InitialiseL()
+ {
+#ifdef __WINS__
+ // Check that the window server is ready for us
+ // This is so that the call to CDirectScreenAccess::StartL does not leave with KErrNotReady
+ if (!WaitUntilWindowServerReadyL())
+ {
+ INFO_PRINTF1(_L("TestSuite error: error receiving window server redraw event"));
+ return;
+ }
+#endif // __WINS__
+
+ // store the name of this test suite
+ iSuiteName = _L("TSU_MMF_VCLNT_01");
+
+ // add test steps
+ AddTestStepL(CTestStepVidPlayerNew::NewL());
+ AddTestStepL(CTestStepVidPlayerNewPriorPref::NewL());
+ AddTestStepL(CTestStepVidPlayerOpenFile::NewL(_L("MM-MMF-VCLNT-U-0003-CP"), CTestStepVidPlayerOpenFile::EFileName));
+ AddTestStepL(CTestStepVidPlayerOpenFileCtrlUid::NewL(CTestStepVidPlayerOpenFileCtrlUid::EFileName));
+ AddTestStepL(CTestStepVidPlayerOpenDesc::NewL());
+ AddTestStepL(CTestStepVidPlayerOpenUrl::NewL());
+ AddTestStepL(CTestStepVidPlayerClose::NewL());
+ AddTestStepL(CTestStepVidPlayerPlay::NewL());
+ AddTestStepL(CTestStepVidPlayerStop::NewL());
+ AddTestStepL(CTestStepVidPlayerPause::NewL());
+ AddTestStepL(CTestStepVidPlayerPriority::NewL());
+ AddTestStepL(CTestStepVidPlayerSetDisplayWindow::NewL(EFalse));
+ AddTestStepL(CTestStepVidPlayerRestart::NewL());
+ AddTestStepL(CTestStepVidPlayerGetFrame::NewL(EFalse));
+ AddTestStepL(CTestStepVidPlayerGetFrame::NewL(ETrue));
+ AddTestStepL(CTestStepVidPlayerGetFrameRate::NewL());
+ AddTestStepL(CTestStepVidPlayerGetVFrameSize::NewL());
+ AddTestStepL(CTestStepVidPlayerGetVBitRate::NewL());
+ AddTestStepL(CTestStepVidPlayerGetABitRate::NewL());
+ AddTestStepL(CTestStepVidPlayerAudEnabled::NewL());
+ AddTestStepL(CTestStepVidPlayerClipPosition::NewL());
+ AddTestStepL(CTestStepVidPlayerDuration::NewL());
+ AddTestStepL(CTestStepVidPlayerVideoType::NewL());
+ AddTestStepL(CTestStepVidPlayerAudioType::NewL());
+ AddTestStepL(CTestStepVidPlayerVol::NewL());
+ AddTestStepL(CTestStepVidPlayerBalance::NewL());
+ AddTestStepL(CTestStepVidPlayerMeta::NewL());
+ // New tests for CR
+ AddTestStepL(CTestStepVidPlayerPlayWindow::NewL());
+ AddTestStepL(CTestStepVidPlayerGetImplementationInfo::NewL());
+ AddTestStepL(CTestStepVidPlayerSendCustomCommandSync::NewL());
+ AddTestStepL(CTestStepVidPlayerSendCustomCommandAsync::NewL());
+ //DEF083334 SWSV_604_R4B_Video: Real media icon still visible when changing to a non realVideo file
+ AddTestStepL(CTestStepVidPlayerCheckImplementationInfo::NewL());
+ AddTestStepL(CTestStepVidPlayerGeneralEvent::NewL());
+ AddTestStepL(CTestStepVidPlayerReloadingTest::NewL());
+ AddTestStepL(CTestStepVidPlayerRefreshFrame::NewL());
+ AddTestStepL(CTestStepVidPlayerRotation::NewL());
+ AddTestStepL(CTestStepVidPlayerScale::NewL());
+ AddTestStepL(CTestStepVidPlayerCropRegion::NewL());
+
+ AddTestStepL(CTestStepOOMVidPlayerNew::NewL());
+ AddTestStepL(CTestStepOOMVidPlayerOpenFile::NewL(EFalse));
+ AddTestStepL(CTestStepOOMVidPlayerOpenDesc::NewL());
+ AddTestStepL(CTestStepOOMVidPlayerOpenUrl::NewL());
+
+ AddTestStepL(CTestStepVidRecorderNew::NewL());
+ AddTestStepL(CTestStepVidRecorderOpenFile::NewL(EFalse));
+ AddTestStepL(CTestStepVidRecorderOpenFileCtrlUid::NewL(EFalse));
+ AddTestStepL(CTestStepVidRecorderOpenDesc::NewL());
+ AddTestStepL(CTestStepVidRecorderOpenUrl::NewL());
+ AddTestStepL(CTestStepVidRecorderPrepare::NewL());
+ AddTestStepL(CTestStepVidRecorderClose::NewL());
+ AddTestStepL(CTestStepVidRecorderRecord::NewL());
+ AddTestStepL(CTestStepVidRecorderStop::NewL());
+ AddTestStepL(CTestStepVidRecorderPause::NewL());
+ AddTestStepL(CTestStepVidRecorderGain::NewL());
+ AddTestStepL(CTestStepVidRecorderAudioType::NewL());
+ AddTestStepL(CTestStepVidRecorderVideoType::NewL());
+ AddTestStepL(CTestStepVidRecorderMaxClipSize::NewL());
+ AddTestStepL(CTestStepVidRecorderRecordTime::NewL());
+ AddTestStepL(CTestStepVidRecorderDuration::NewL());
+ AddTestStepL(CTestStepVidRecorderAudEnabled::NewL());
+ AddTestStepL(CTestStepVidRecorderABitRate::NewL());
+ AddTestStepL(CTestStepVidRecorderVBitRate::NewL());
+ AddTestStepL(CTestStepVidRecorderVFrameSize::NewL());
+ AddTestStepL(CTestStepVidRecorderVFrameRate::NewL());
+ AddTestStepL(CTestStepVidRecorderMeta::NewL());
+ AddTestStepL(CTestStepVidRecorderHandleEvent::NewL());
+
+ // New tests for CR
+ AddTestStepL(CTestStepVidRecorderGetImplementationInfo::NewL());
+ AddTestStepL(CTestStepVidRecorderSendCustomCommandSync::NewL());
+ AddTestStepL(CTestStepVidRecorderSendCustomCommandAsync::NewL());
+ AddTestStepL(CTestStepVidRecorderGeneralEvent::NewL());
+ //DEF083334 SWSV_604_R4B_Video: Real media icon still visible when changing to a non realVideo file
+ AddTestStepL(CTestStepVidRecorderCheckImplementationInfo::NewL());
+
+
+
+ AddTestStepL(CTestStepAllocFailVidRecorderNew::NewL());
+ AddTestStepL(CTestStepAllocFailVidRecorderOpenFile::NewL(EFalse));
+ AddTestStepL(CTestStepAllocFailVidRecorderOpenFileCtrlUid::NewL(EFalse));
+ AddTestStepL(CTestStepAllocFailVidRecorderOpenDesc::NewL());
+ AddTestStepL(CTestStepAllocFailVidRecorderOpenUrl::NewL());
+
+ // RFile Handle Tests
+ AddTestStepL(CTestStepVidPlayerOpenFile::NewL(_L("MM-MMF-VCLNT-U-0011-CP"), CTestStepVidPlayerOpenFile::EFileHandle));
+ AddTestStepL(CTestStepVidPlayerOpenFileCtrlUid::NewL(CTestStepVidPlayerOpenFileCtrlUid::EFileHandle));
+ AddTestStepL(CTestStepOOMVidPlayerOpenFile::NewL(ETrue));
+ AddTestStepL(CTestStepVidRecorderOpenFile::NewL(ETrue));
+ AddTestStepL(CTestStepVidRecorderOpenFileCtrlUid::NewL(ETrue));
+ AddTestStepL(CTestStepAllocFailVidRecorderOpenFile::NewL(ETrue));
+ AddTestStepL(CTestStepAllocFailVidRecorderOpenFileCtrlUid::NewL(ETrue));
+
+ // Use TMMSource to access unprotected content.
+ AddTestStepL(CTestStepVidPlayerOpenFile::NewL(_L("MM-MMF-VCLNT-U-0008-CP"), CTestStepVidPlayerOpenFile::EFileSource));
+ AddTestStepL(CTestStepVidPlayerOpenFile::NewL(_L("MM-MMF-VCLNT-U-0013-CP"), CTestStepVidPlayerOpenFile::EFileHandleSource));
+
+ // DRM tests - postive
+ AddTestStepL(CTestStepVidPlayerDrm::NewL(_L("MM-MMF-VCLNT-U-0501-HP"), CTestStepVidPlayerDrm::EFileSource, CTestStepVidPlayerDrm::EProtectedPlayIntent));
+ AddTestStepL(CTestStepVidPlayerDrm::NewL(_L("MM-MMF-VCLNT-U-0502-HP"), CTestStepVidPlayerDrm::EFileHandleSource, CTestStepVidPlayerDrm::EProtectedPlayIntent));
+
+ AddTestStepL(CTestStepVidPlayerDrm::NewAllocTestL(_L("MM-MMF-VCLNT-U-0505-HP"), CTestStepVidPlayerDrm::EFileSource, CTestStepVidPlayerDrm::EProtectedPlayIntent));
+ AddTestStepL(CTestStepVidPlayerDrm::NewAllocTestL(_L("MM-MMF-VCLNT-U-0506-HP"), CTestStepVidPlayerDrm::EFileHandleSource, CTestStepVidPlayerDrm::EProtectedPlayIntent));
+
+
+ // DRM tests - negative (with file name)
+ AddTestStepL(CTestStepVidPlayerDrm::NewL(_L("MM-MMF-VCLNT-U-0601-HP"), CTestStepVidPlayerDrm::EFileSource, CTestStepVidPlayerDrm::EProtectedUnknownIntent));
+ AddTestStepL(CTestStepVidPlayerDrm::NewL(_L("MM-MMF-VCLNT-U-0602-HP"), CTestStepVidPlayerDrm::EFileSource, CTestStepVidPlayerDrm::EProtectedPlayNoRights));
+
+ // DRM tests - negative (with file handle)
+ AddTestStepL(CTestStepVidPlayerDrm::NewL(_L("MM-MMF-VCLNT-U-0611-HP"), CTestStepVidPlayerDrm::EFileHandleSource, CTestStepVidPlayerDrm::EProtectedUnknownIntent));
+ AddTestStepL(CTestStepVidPlayerDrm::NewL(_L("MM-MMF-VCLNT-U-0612-HP"), CTestStepVidPlayerDrm::EFileHandleSource, CTestStepVidPlayerDrm::EProtectedPlayNoRights));
+
+ // INC041303 - PSS - PlaybackComplete problem in MMF Framework
+ AddTestStepL(CTestStepVidPlayerPlayPause::NewL());
+
+ AddTestStepL(CTestStepVidPlayerStopStartDSA::NewL());
+
+ AddTestStepL(CTestStepVidPlayerOpenviaUriTag::NewL());
+ AddTestStepL(CTestStepVidPlayerOpenTryNextCtrl::NewL());
+ // DEF081389,DEF082497 Duration Info custom command has User::Leave called in non-leaving function
+ AddTestStepL(CTestStepVidPlayerOpenDurationCustomCommand::NewL());
+ //DEF092672
+ AddTestStepL(CTestStepVideoInterruptionByAudio::NewL());
+ //CR0805
+ CTestSuite::AddTestStepL(CTestStepVidPlayerARN0700::NewL());
+ CTestSuite::AddTestStepL(CTestStepVidPlayerARN0701::NewL());
+ CTestSuite::AddTestStepL(CTestStepVidPlayerARN0702::NewL());
+ CTestSuite::AddTestStepL(CTestStepVidPlayerARN0703::NewL());
+ //DEF100150
+ AddTestStepL(CTestStepVidOnlyPlayerNoAudioType::NewL());
+
+ // DEF097361
+ AddTestStepL(CTestStepVidRecordError::NewL());
+
+ // INC122181
+ AddTestStepL(CTestStepINC122181::NewL());
+
+#ifdef SYMBIAN_BUILD_GCE
+ // Positive tests with CVideoPlayerUtility2
+ AddTestStepL(CTestStepVidPlayerNew::NewL(ETrue));
+ AddTestStepL(CTestStepVidPlayerNewPriorPref::NewL(ETrue));
+
+ // Positive tests with CVideoPlayerUtility2 when the controller supports graphics surface
+ AddTestStepL(CTestStepVidPlayerAddDisplayWindow::NewL(EFalse, KErrNone)); // not simplified method
+ AddTestStepL(CTestStepVidPlayerAddDisplayWindow::NewL(ETrue, KErrNone)); // simplified method
+ AddTestStepL(CTestStepVidPlayerRemoveDisplayWindow::NewL(ETrue));
+ AddTestStepL(CTestStepVidPlayerRemoveDisplayWindow::NewL(EFalse));
+ AddTestStepL(CTestStepVidPlayerSetVideoExtent::NewL(KErrNone));
+ AddTestStepL(CTestStepVidPlayerSetWindowClipRect::NewL(KErrNone));
+ AddTestStepL(CTestStepVidPlayerOpenFile::NewL(_L("MM-MMF-VCLNT-U-0803-CP"), CTestStepVidPlayerOpenFile::EFileName));
+ AddTestStepL(CTestStepVidPlayerOpenDesc::NewL(CTestStepUnitMMFVidClient::ESurfaceMode));
+ AddTestStepL(CTestStepVidPlayerOpenUrl::NewL(CTestStepUnitMMFVidClient::ESurfaceMode));
+ AddTestStepL(CTestStepVidPlayerOpenFile::NewL(_L("MM-MMF-VCLNT-U-0809-CP"), CTestStepVidPlayerOpenFile::EFileHandle));
+ AddTestStepL(CTestStepVidPlayerOpenFile::NewL(_L("MM-MMF-VCLNT-U-0811-CP"), CTestStepVidPlayerOpenFile::EFileSource));
+ AddTestStepL(CTestStepVidPlayerOpenFileCtrlUid::NewL(CTestStepVidPlayerOpenFileCtrlUid::EFileName, CTestStepUnitMMFVidClient::ESurfaceMode));
+ AddTestStepL(CTestStepVidPlayerOpenFileCtrlUid::NewL(CTestStepVidPlayerOpenFileCtrlUid::EFileHandle, CTestStepUnitMMFVidClient::ESurfaceMode));
+ AddTestStepL(CTestStepVidPlayerOpenFileCtrlUid::NewL(CTestStepVidPlayerOpenFileCtrlUid::EDescriptor, CTestStepUnitMMFVidClient::ESurfaceMode));
+ AddTestStepL(CTestStepVidPlayerOpenFileCtrlUid::NewL(CTestStepVidPlayerOpenFileCtrlUid::EUrl, CTestStepUnitMMFVidClient::ESurfaceMode));
+ AddTestStepL(CTestStepVidPlayerReplaceSurfaceSequence1::NewL());
+ AddTestStepL(CTestStepVidPlayerReplaceSurfaceSequence2::NewL());
+ AddTestStepL(CTestStepVidPlayerAutoScale::NewL(_L("MM-MMF-VCLNT-U-1000-CP")));
+ AddTestStepL(CTestStepVidPlayerAutoScale::NewL(_L("MM-MMF-VCLNT-U-1001-CP")));
+ AddTestStepL(CTestStepVidPlayerAutoScale::NewL(_L("MM-MMF-VCLNT-U-1002-CP")));
+ AddTestStepL(CTestStepVidPlayerAutoScale::NewL(_L("MM-MMF-VCLNT-U-1003-CP")));
+ AddTestStepL(CTestStepVidPlayerAutoScale::NewL(_L("MM-MMF-VCLNT-U-1004-CP")));
+ AddTestStepL(CTestStepVidPlayerAutoScale::NewL(_L("MM-MMF-VCLNT-U-1005-CP")));
+ AddTestStepL(CTestStepVidPlayerAutoScale::NewL(_L("MM-MMF-VCLNT-U-1006-CP")));
+ AddTestStepL(CTestStepVidPlayerAutoScale::NewL(_L("MM-MMF-VCLNT-U-1007-CP")));
+ AddTestStepL(CTestStepVidPlayerAddDisplay::NewL(_L("MM-MMF-VCLNT-U-1100-CP")));
+ AddTestStepL(CTestStepVidPlayerAddDisplay::NewL(_L("MM-MMF-VCLNT-U-1101-CP")));
+ AddTestStepL(CTestStepVidPlayerEvent::NewL(_L("MM-MMF-VCLNT-U-1102-CP")));
+ AddTestStepL(CTestStepVidPlayerEvent::NewL(_L("MM-MMF-VCLNT-U-1104-CP")));
+ AddTestStepL(CTestStepVidPlayer1106::NewL());
+ AddTestStepL(CTestStepVidPlayer1107::NewL());
+ AddTestStepL(CTestStepVidPlayer1108::NewL());
+ AddTestStepL(CTestStepVidPlayerEvent::NewL(_L("MM-MMF-VCLNT-U-1109-CP")));
+ AddTestStepL(CTestStepVidPlayer1110::NewL());
+ AddTestStepL(CTestStepVidPlayer1111::NewL());
+ AddTestStepL(CTestStepVidPlayerEvent::NewL(_L("MM-MMF-VCLNT-U-1112-CP")));
+ AddTestStepL(CTestStepVidPlayerEvent::NewL(_L("MM-MMF-VCLNT-U-1113-CP")));
+ AddTestStepL(CTestStepVidPlayerEvent::NewL(_L("MM-MMF-VCLNT-U-1114-CP")));
+ AddTestStepL(CTestStepVidPlayerEvent::NewL(_L("MM-MMF-VCLNT-U-1115-CP")));
+ AddTestStepL(CTestStepVidPlayer1200::NewL());
+ AddTestStepL(CTestStepVidPlayer1201::NewL());
+ AddTestStepL(CTestStepVidPlayer1202::NewL());
+
+ // graphics surface support,OOM tests
+ AddTestStepL(CTestStepOOMVidPlayerNew::NewL(ETrue));
+ AddTestStepL(CTestStepOOMVidPlayerOpenFile::NewL(EFalse,CTestStepUnitMMFVidClient::ESurfaceMode));
+ AddTestStepL(CTestStepOOMVidPlayerOpenFile::NewL(ETrue,CTestStepUnitMMFVidClient::ESurfaceMode));
+ AddTestStepL(CTestStepOOMVidPlayerOpenDesc::NewL(CTestStepUnitMMFVidClient::ESurfaceMode));
+ AddTestStepL(CTestStepOOMVidPlayerOpenUrl::NewL(CTestStepUnitMMFVidClient::ESurfaceMode));
+
+ // negative tests with CVideoPlayerUtility2
+ AddTestStepL(CTestStepVidPlayerSetDisplayWindow::NewL(ETrue, CTestStepUnitMMFVidClient::ESurfaceMode));
+ AddTestStepL(CTestStepVidPlayerSetInitScreenNumber::NewL(ETrue));
+ AddTestStepL(CTestStepVidPlayerStopStartDSA::NewL(CTestStepUnitMMFVidClient::ESurfaceMode));
+
+ // negative tests with CVideoPlayerUtility2 when the controller doesn't support graphics surface
+ AddTestStepL(CTestStepVidPlayerOpenFile::NewL(_L("MM-MMF-VCLNT-U-0850-CP"), CTestStepVidPlayerOpenFile::EFileName));
+ AddTestStepL(CTestStepVidPlayerOpenDesc::NewL(CTestStepUnitMMFVidClient::ESurfaceModeNotSupported));
+ AddTestStepL(CTestStepVidPlayerOpenUrl::NewL(CTestStepUnitMMFVidClient::ESurfaceModeNotSupported));
+ AddTestStepL(CTestStepVidPlayerOpenFile::NewL(_L("MM-MMF-VCLNT-U-0853-CP"), CTestStepVidPlayerOpenFile::EFileHandle));
+
+ // negative tests with CVideoPlayerUtility2 when the controller supports graphics surface
+ AddTestStepL(CTestStepVidPlayerAddDisplayWindow::NewL(EFalse, KErrInUse, ETrue)); // not simplified method, add a same window
+ AddTestStepL(CTestStepVidPlayerAddDisplayWindow::NewL(EFalse, KErrInUse, EFalse)); // not simplified method, add a different window
+ AddTestStepL(CTestStepVidPlayerAddDisplayWindow::NewL(EFalse, KErrNotReady));
+ AddTestStepL(CTestStepVidPlayerAddDisplayWindow::NewL(EFalse, KErrArgument));
+ AddTestStepL(CTestStepVidPlayerAddDisplayWindow::NewL(ETrue, KErrInUse)); // simplified method
+ AddTestStepL(CTestStepVidPlayerAddDisplayWindow::NewL(ETrue, KErrNotReady));
+ AddTestStepL(CTestStepVidPlayerSetVideoExtent::NewL(KErrNotReady));
+ AddTestStepL(CTestStepVidPlayerSetWindowClipRect::NewL(KErrNotReady));
+ AddTestStepL(CTestStepVidPlayerSetWindowClipRect::NewL(KErrArgument));
+
+#endif
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+ AddTestStepL(CTestStepVidPlayerSubtitleAvailable::NewL(_L("MM-MMF-VCLNT-U-1300-CP")));
+ AddTestStepL(CTestStepVidPlayerSubtitleEnableDisable::NewL(_L("MM-MMF-VCLNT-U-1301-CP")));
+ AddTestStepL(CTestStepVidPlayerSubtitleRedraw::NewL(_L("MM-MMF-VCLNT-U-1302-HP")));
+ AddTestStepL(CTestStepVidPlayerSubtitleRedrawNotReady::NewL(_L("MM-MMF-VCLNT-U-1303-HP")));
+ AddTestStepL(CTestStepVidPlayerSubtitleMultiWindow::NewL(_L("MM-MMF-VCLNT-U-1304-HP")));
+ AddTestStepL(CTestStepVidPlayerSubtitleAddRemoveMultiWindow::NewL(_L("MM-MMF-VCLNT-U-1305-HP")));
+ AddTestStepL(CTestStepVidPlayerSubtitleMultiWindowSettingChange::NewL(_L("MM-MMF-VCLNT-U-1306-MP"), ETrue));
+ AddTestStepL(CTestStepVidPlayerSubtitleMultiWindowSettingChange::NewL(_L("MM-MMF-VCLNT-U-1307-MP"), EFalse));
+ AddTestStepL(CTestStepVidPlayerSubtitleLanguage::NewL(_L("MM-MMF-VCLNT-U-1308-HP")));
+ AddTestStepL(CTestStepVidPlayerSubtitleWindowSettingChange::NewL(_L("MM-MMF-VCLNT-U-1309-HP"), ETrue));
+ AddTestStepL(CTestStepVidPlayerSubtitleWindowSettingChange::NewL(_L("MM-MMF-VCLNT-U-1310-HP"), EFalse));
+ AddTestStepL(CTestStepVidPlayerSubtitleEnableNeg::NewL(_L("MM-MMF-VCLNT-U-1350-CP"), ETrue, EFalse, EFalse, EFalse, KErrNotFound));
+ AddTestStepL(CTestStepVidPlayerSubtitleEnableNeg::NewL(_L("MM-MMF-VCLNT-U-1351-CP"), EFalse, ETrue, EFalse, EFalse, KErrNotReady));
+ AddTestStepL(CTestStepVidPlayerSubtitleEnableNeg::NewL(_L("MM-MMF-VCLNT-U-1352-MP"), EFalse, EFalse, ETrue, EFalse, KErrInUse));
+ AddTestStepL(CTestStepVidPlayerSubtitleEnableNeg::NewL(_L("MM-MMF-VCLNT-U-1353-CP"), EFalse, EFalse, EFalse, ETrue, KErrNotReady));
+ AddTestStepL(CTestStepVidPlayerSubtitleLangNotEnable::NewL(_L("MM-MMF-VCLNT-U-1354-HP"), ETrue, EFalse, EFalse));
+ AddTestStepL(CTestStepVidPlayerSubtitleLangNotEnable::NewL(_L("MM-MMF-VCLNT-U-1355-HP"), EFalse, ETrue, EFalse));
+ AddTestStepL(CTestStepVidPlayerSubtitleLangNotEnable::NewL(_L("MM-MMF-VCLNT-U-1356-HP"), EFalse, EFalse, ETrue));
+ AddTestStepL(CTestStepVidPlayerSubtitleLangNotAvail::NewL(_L("MM-MMF-VCLNT-U-1357-HP")));
+ AddTestStepL(CTestStepVidPlayerSubtitleNotEnabledRedraw::NewL(_L("MM-MMF-VCLNT-U-1358-LP")));
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+ }
+
+#ifdef __WINS__
+//
+// Wait synchronously for the first WS redraw event...
+//
+TBool CTestSuiteUnitMMFVidClient::WaitUntilWindowServerReadyL()
+ {
+ InitWservL();
+
+ TWsRedrawEvent event;
+ TRequestStatus status;
+ iWs.RedrawReady(&status);
+ User::WaitForRequest(status);
+ iWs.GetRedraw(event);
+
+ DeInitWserv();
+
+ return (status.Int() == KErrNone);
+ }
+
+void CTestSuiteUnitMMFVidClient::InitWservL()
+ {
+ TInt err = iWs.Connect();
+ if (err != KErrNone)
+ {
+ // Access violation if ws is null
+ INFO_PRINTF1(_L("TestSuite error: Cannot test, no window server available"));
+ User::Leave(err);
+ }
+
+ iScreen = new (ELeave) CWsScreenDevice(iWs); // make device for this session
+ User::LeaveIfError(iScreen->Construct()); // and complete its construction
+
+ iRootWindow = RWindowGroup(iWs);
+ User::LeaveIfError(iRootWindow.Construct((TUint32)this, ETrue));
+
+ iWindow = new(ELeave) RWindow(iWs);
+ User::LeaveIfError(((RWindow*)iWindow)->Construct(iRootWindow,((TUint32)(this)) + 1));
+ iWindow->SetExtent(TPoint(0,0), TSize(400,200));
+ iWindow->SetVisible(ETrue);
+ iWindow->Activate();
+ iWs.Flush();
+ }
+
+void CTestSuiteUnitMMFVidClient::DeInitWserv()
+ {
+ if (iWindow)
+ {
+ iWindow->Close();
+ delete iWindow;
+ iWindow = NULL;
+ }
+ iRootWindow.Close();
+ delete iScreen;
+ iScreen = NULL;
+ iWs.Flush();
+ iWs.Close();
+ }
+#endif // __WINS__
+
+// -------------------------
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/teststepvidplayerarn.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,1258 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include <testframework.h>
+
+// Specific includes for this test suite
+#include "TestStepUnitMMFVidClient.h"
+#include "TestSuiteUnitMMFVidClient.h"
+
+// Specific includes for these test steps
+#include "TestStepVidPlayer.h"
+
+/**
+ * NewL
+ */
+CTestGenericArnCallback* CTestGenericArnCallback::NewL(MTestArnCallback& aCallback)
+ {
+ return new(ELeave) CTestGenericArnCallback(aCallback);
+ }
+
+/**
+ * MarncResourceAvailable
+ */
+void CTestGenericArnCallback::MarncResourceAvailable(TUid aNotificationEventId, const TDesC8& aNotificationData)
+ {
+ iCallback.MarncResourceAvailableTest(aNotificationEventId, aNotificationData, *this);
+ }
+
+/**
+ * Constructor
+ */
+CTestGenericArnCallback::CTestGenericArnCallback(MTestArnCallback& aCallback):iCallback(aCallback)
+ {
+
+ }
+
+/**
+ * NewL
+ */
+CTestGenericAosCallback* CTestGenericAosCallback::NewL(MTestAosCallback& aCallback)
+ {
+ return new(ELeave) CTestGenericAosCallback(aCallback);
+ }
+
+/**
+ * MaoscOpenComplete
+ */
+void CTestGenericAosCallback::MaoscOpenComplete(TInt aError)
+ {
+ iCallback.MaoscOpenCompleteTest(aError, *this);
+ }
+
+/**
+ * MaoscBufferCopied
+ */
+void CTestGenericAosCallback::MaoscBufferCopied(TInt aError, const TDesC8& aBuffer)
+ {
+ iCallback.MaoscBufferCopiedTest(aError, aBuffer, *this);
+ }
+
+/**
+ * MaoscPlayComplete
+ */
+void CTestGenericAosCallback::MaoscPlayComplete(TInt aError)
+ {
+ iCallback.MaoscPlayCompleteTest(aError, *this);
+ }
+
+/**
+ * Constructor
+ */
+CTestGenericAosCallback::CTestGenericAosCallback(MTestAosCallback& aCallback):iCallback(aCallback)
+ {
+ }
+
+
+/**
+ *
+ * Test step constructor.
+ * Each test step initialises its own name.
+ *
+ *
+ */
+CTestStepVidPlayerARN::CTestStepVidPlayerARN():iVideoOpen(EFalse)
+ {
+ }
+
+
+/**
+ *
+ * Test step destructor.
+ *
+ *
+ */
+CTestStepVidPlayerARN::~CTestStepVidPlayerARN()
+ {
+ }
+
+TVerdict CTestStepVidPlayerARN::DoTestStepPreambleL()
+ {
+ // this installs the scheduler
+ iActiveScheduler = new(ELeave) CActiveScheduler;
+ CActiveScheduler::Install(iActiveScheduler);
+
+ //create the handlers
+ iAudStreamACallback = CTestGenericAosCallback::NewL(*this);
+ iAudStreamBCallback = CTestGenericAosCallback::NewL(*this);
+
+ //create audio stream A - low priority
+ iAudStreamA = CMdaAudioOutputStream::NewL(*iAudStreamACallback, EMdaPriorityMin, EMdaPriorityPreferenceNone);
+
+ //create audio stream B - high priority
+ iAudStreamB = CMdaAudioOutputStream::NewL(*iAudStreamBCallback, EMdaPriorityMax, EMdaPriorityPreferenceNone);
+ const TInt KAudioBufferSize = 10240; //10KB
+ iBuffer.CreateMaxL(KAudioBufferSize);
+
+ iAudClientAArnCallback = CTestGenericArnCallback::NewL(*this);
+ iAudClientBArnCallback = CTestGenericArnCallback::NewL(*this);
+ iVidClientArnCallback = CTestGenericArnCallback::NewL(*this);
+
+ InitWservL();
+
+ iTestTimer = CTestTimer::NewL(*this);
+
+ TRect rect, clipRect;
+ iPlayer = CVideoPlayerUtility::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceNone,
+ iWs, *iScreen, *iWindow, rect, clipRect);
+ // Printing to the console and log file
+ INFO_PRINTF1(iTestStepName);
+ iTestStepResult = EFail;
+ return EPass;
+ }
+
+TVerdict CTestStepVidPlayerARN::DoTestStepPostambleL()
+ {
+ //cleanup audio stream
+ delete iAudStreamA;
+ iAudStreamA = NULL;
+
+ //cleanup ARN callback handlers for clients
+ delete iAudClientAArnCallback;
+ iAudClientAArnCallback = NULL;
+ delete iAudClientBArnCallback;
+ iAudClientBArnCallback = NULL;
+ delete iVidClientArnCallback;
+ iVidClientArnCallback = NULL;
+
+ //cleanup Audio output stream handlers
+ delete iAudStreamACallback;
+ iAudStreamACallback = NULL;
+ delete iAudStreamBCallback;
+ iAudStreamBCallback = NULL;
+
+ delete iPlayer;
+ iPlayer = NULL;
+
+ //[ Destroy the scheduler ]
+ delete iActiveScheduler;
+ iActiveScheduler = NULL;
+ DeInitWserv();
+
+ delete iTestTimer;
+ iTestTimer = NULL;
+ delete iPlayer;
+ iPlayer = NULL;
+
+ return EPass;
+ }
+
+void CTestStepVidPlayerARN::MvpuoOpenComplete(TInt aError)
+ {
+ INFO_PRINTF2(_L("Video open:%d"),aError);
+#ifndef SYMBIAN_MMF_MODEL_CONTROLLERS
+ if(aError == KErrNotSupported)
+ {
+ INFO_PRINTF1(_L("Feature not supported"));
+ iTestStepResult = EPass;
+ CActiveScheduler::Stop();
+ return;
+ }
+#endif
+ Fsm(EVideo, EVideoOpenComplete, aError);
+ }
+
+void CTestStepVidPlayerARN::MvpuoPrepareComplete(TInt aError)
+ {
+ INFO_PRINTF2(_L("Video prepare:%d"),aError);
+ Fsm(EVideo, EVideoPrepareComplete, aError);
+ }
+
+void CTestStepVidPlayerARN::MvpuoFrameReady(CFbsBitmap& /*aFrame*/,TInt /*aError*/)
+ {
+ }
+
+void CTestStepVidPlayerARN::MvpuoPlayComplete(TInt aError)
+ {
+ Fsm(EVideo, EVideoPlayComplete, aError);
+ }
+
+void CTestStepVidPlayerARN::MvpuoEvent(const TMMFEvent& /* aEvent */)
+ {
+ }
+
+void CTestStepVidPlayerARN::MaoscOpenCompleteTest(TInt aError,CTestGenericAosCallback& aGenericAosCallback)
+ {
+ if(&aGenericAosCallback == iAudStreamACallback)
+ {
+ Fsm(EAudioStreamA, EAudioOpenComplete, aError);
+ }
+ else if(&aGenericAosCallback == iAudStreamBCallback)
+ {
+ Fsm(EAudioStreamB, EAudioOpenComplete, aError);
+ }
+ }
+
+void CTestStepVidPlayerARN::MaoscBufferCopiedTest(TInt aError, const TDesC8& /* aBuffer */, CTestGenericAosCallback& aGenericAosCallback)
+ {
+ if(&aGenericAosCallback == iAudStreamACallback)
+ {
+ Fsm(EAudioStreamA, EAudioBufferCopied, aError);
+ }
+ else if(&aGenericAosCallback == iAudStreamBCallback)
+ {
+ Fsm(EAudioStreamB, EAudioBufferCopied, aError);
+ }
+ }
+
+void CTestStepVidPlayerARN::MaoscPlayCompleteTest(TInt aError,CTestGenericAosCallback& aGenericAosCallback)
+ {
+ if(&aGenericAosCallback == iAudStreamACallback)
+ {
+ Fsm(EAudioStreamA, EAudioPlayComplete, aError);
+ }
+ else if(&aGenericAosCallback == iAudStreamBCallback)
+ {
+ Fsm(EAudioStreamB, EAudioPlayComplete, aError);
+ }
+ }
+
+void CTestStepVidPlayerARN::FailTest()
+ {
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ }
+
+/**
+Accepts the input and checks if test can move to next/other state
+@param aClient
+ a client which gives transition input
+@param aEvent
+ event from the client
+@param aError
+ error associated with the event
+return -1 if error should end the test; 0 test is in current state; 1 test move to new state
+ */
+TInt CTestStepVidPlayerARN::AnalyseInput(TClient aClient, TTestEvent aEvent, TInt aError)
+ {
+ TInt res = JumpStateIfRequired(aClient, aEvent, aError,iCurrentState);
+ if(res)
+ {
+ return res;
+ }
+
+ if(aClient == ETestStep)
+ {
+ res = 1;
+ }
+ else
+ {
+ CTransitionInput* pSet = ipTransitionSet[iCurrentState];
+ for(TInt i = 0; i < iExpInputCnt[iCurrentState]; i++)
+ {
+ //check for client and event.
+ if(pSet[i].iClient == aClient && pSet[i].iEvent == aEvent)
+ {
+ if(pSet[i].iError == aError)
+ {
+ if(!pSet[i].iMatched)
+ {
+ iRxInputCnt[iCurrentState]++;
+ pSet[i].iMatched = ETrue;
+ }
+ }
+ else if(!pSet[i].iIgnoreError)
+ {
+ return -1;
+ }
+ break;
+ }
+ }
+
+ if(iRxInputCnt[iCurrentState] == iExpInputCnt[iCurrentState])
+ {
+ res = 1;
+ }
+ else
+ {
+ res = 0;
+ }
+ }
+
+ if(res == 1)
+ {
+ if(!NextState(iCurrentState))
+ {
+ res = -1;
+ }
+ }
+ return res;
+ }
+
+/**
+Takes input from the clients with the event and error. Calls AnalyseInput().
+If new state is entered, it calls OnStateEntry().
+@param aClient
+ a client which gives transition input
+@param aEvent
+ event from the client
+@param aError
+ error associated with the event
+ */
+void CTestStepVidPlayerARN::Fsm(TClient aClient, TTestEvent aEvent, TInt aError)
+ {
+ TInt result = AnalyseInput(aClient,aEvent,aError);
+ if(result == -1) //unexpected event/error - hence end test with fail
+ {
+ FailTest();
+ return;
+ }
+ if(result == 1) //if moved to new state
+ {
+ OnStateEntry();
+ }
+ }
+
+void CTestStepVidPlayerARN::InitWservL()
+ {
+ TInt err = iWs.Connect();
+ if (err != KErrNone)
+ {
+ // Access violation if ws is null
+ INFO_PRINTF1(_L("Cannot test, no window server available"));
+ User::Leave(err);
+ }
+
+ iScreen = new(ELeave) CWsScreenDevice(iWs); // make device for this session
+ User::LeaveIfError(iScreen->Construct()); // and complete its construction
+
+ iRootWindow = RWindowGroup(iWs);
+ User::LeaveIfError(iRootWindow.Construct((TUint32)this, ETrue));
+ iWindow = new(ELeave) RWindow(iWs);
+ User::LeaveIfError(((RWindow*)iWindow)->Construct(iRootWindow,((TUint32)(this)) + 1));
+ iWindow->SetExtent(TPoint(0,0), TSize(400,200));
+ iWindow->SetVisible(ETrue);
+ iWindow->Activate();
+ iWs.Flush();
+ }
+
+void CTestStepVidPlayerARN::DeInitWserv()
+ {
+ if (iWindow)
+ {
+ iWindow->Close();
+ delete iWindow;
+ iWindow = NULL;
+ }
+ iRootWindow.Close();
+ delete iScreen;
+ iScreen = NULL;
+ iWs.Flush();
+ iWs.Close();
+ }
+
+/**
+Explanation for tests CTestStepVidPlayerARN0700 - CTestStepVidPlayerARN0703:-
+Every test consists of set of states. Transition from one set to next set occurs
+on getting a set of inputs. Input/Transition-input consists of client,event and error.
+A state may require one or more Transition-inputs, to move to other state.
+Clients and test setup give their inputs to Fsm(). This calls AnalyseInput(), to determine
+if next state can be reached.
+
+AnalyseInput() checks if all Transition-inputs are received for the current state so that
+next state can be reached.If conditions are met, AnalysInput() moves the test to next state.
+
+Fsm() checks if new state is entered.If so it calls OnStateEntry(), which performs certain
+operations on entering new state.
+*/
+
+//----------------------------------------------------------------
+//Check RegisterForAudioResourceNotification() is working for Video
+//----------------------------------------------------------------
+CTestStepVidPlayerARN0700* CTestStepVidPlayerARN0700::NewL()
+ {
+ CTestStepVidPlayerARN0700* self = new(ELeave) CTestStepVidPlayerARN0700();
+ return self;
+ }
+
+CTestStepVidPlayerARN0700::~CTestStepVidPlayerARN0700()
+ {
+ }
+/**
+Initialises inputs - client,event & error, that lead to next state
+*/
+void CTestStepVidPlayerARN0700::InitTransitionSetL()
+ {
+ ipTransitionSet[0] = NULL;
+ iExpInputCnt[0] = 0;
+ iRxInputCnt[0] = 0;
+
+ ipTransitionSet[1] = new(ELeave) CTransitionInput[1]; //state:EStart
+ ipTransitionSet[1][0].SetData(EVideo, EVideoOpenComplete, 0);
+ iExpInputCnt[1] = 1;
+ iRxInputCnt[1] = 0;
+
+ ipTransitionSet[2] = new(ELeave) CTransitionInput[1]; //state:EVideoOpen
+ ipTransitionSet[2][0].SetData(EVideo, EVideoPrepareComplete,0);
+ iExpInputCnt[2] = 1;
+ iRxInputCnt[2] = 0;
+
+ ipTransitionSet[3] = new(ELeave) CTransitionInput[1]; //state:EVideoPrepare
+ ipTransitionSet[3][0].SetData(EAudioStreamB, EAudioOpenComplete,0);
+ iExpInputCnt[3] = 1;
+ iRxInputCnt[3] = 0;
+
+ ipTransitionSet[4] = new(ELeave) CTransitionInput[2]; //state:EVideoPlayingAudBOpen
+ ipTransitionSet[4][0].SetData(EVideo, EVideoPlayComplete, KErrInUse);
+ ipTransitionSet[4][0].iIgnoreError = ETrue;
+ ipTransitionSet[4][1].SetData(EAudioStreamB, EAudioBufferCopied, 0);
+ iExpInputCnt[4] = 2;
+ iRxInputCnt[4] = 0;
+
+ ipTransitionSet[5] = new(ELeave) CTransitionInput[2]; //state:EVideoInterrupted
+ ipTransitionSet[5][0].SetData(EVideo, EArnAvailable, 0);
+ ipTransitionSet[5][1].SetData(EAudioStreamB, EAudioPlayComplete, KErrUnderflow);
+ ipTransitionSet[5][1].iIgnoreError = ETrue;
+ iExpInputCnt[5] = 2;
+ iRxInputCnt[5] = 0;
+
+ iCurrentState = EPreStart;
+ }
+
+TVerdict CTestStepVidPlayerARN0700::DoTestStepPreambleL()
+ {
+ TVerdict verdict = CTestStepVidPlayerARN::DoTestStepPreambleL();
+ InitTransitionSetL();
+ _LIT(KTestFileName, "c:\\mm\\mmf\\testfiles\\vclnt\\AudVid.avi");
+ iFileName.Set(KTestFileName);
+ return verdict;
+ }
+
+TVerdict CTestStepVidPlayerARN0700::DoTestStepPostambleL()
+ {
+ TVerdict verdict = CTestStepVidPlayerARN::DoTestStepPostambleL();
+
+ delete[] ipTransitionSet[0];
+ ipTransitionSet[0] = NULL;
+ delete[] ipTransitionSet[1];
+ ipTransitionSet[1] = NULL;
+ delete[] ipTransitionSet[2];
+ ipTransitionSet[2] = NULL;
+ delete[] ipTransitionSet[3];
+ ipTransitionSet[3] = NULL;
+ delete[] ipTransitionSet[4];
+ ipTransitionSet[4] = NULL;
+ delete[] ipTransitionSet[5];
+ ipTransitionSet[5] = NULL;
+
+ return verdict;
+ }
+
+CTestStepVidPlayerARN0700::CTestStepVidPlayerARN0700()
+ {
+ //name of the test case
+ iTestStepName = _L("MM-MMF-VCLNT-U-0700-HP");
+ }
+
+TVerdict CTestStepVidPlayerARN0700::DoTestStepL()
+ {
+ Fsm(ETestStep, ETestStart, 0);
+ iTestTimer->After(10000000);
+ CActiveScheduler::Start();
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+void CTestStepVidPlayerARN0700::MarncResourceAvailableTest(TUid aNotificationEventId, const TDesC8& /* aNotificationData */, CTestGenericArnCallback & aGenericArnCallback)
+ {
+ if(&aGenericArnCallback == iVidClientArnCallback && aNotificationEventId == KMMFEventCategoryAudioResourceAvailable)
+ {
+ Fsm(EVideo, EArnAvailable, 0);
+ }
+ }
+
+void CTestStepVidPlayerARN0700::EndTest()
+ {
+ if(iVideoOpen)
+ {
+ //no need of iVideoOpen = ETrue;there won't be further callbacks.
+ iPlayer->Close();
+ }
+ FailTest();
+ }
+
+TBool CTestStepVidPlayerARN0700::JumpStateIfRequired(TClient /* aClient */, TTestEvent /* aEvent */, TInt /* aError */,TInt& /* aState */)
+ {
+ return EFalse;
+ }
+
+TBool CTestStepVidPlayerARN0700::NextState(TInt& aState)
+ {
+ TBool res = ETrue;
+ switch(iCurrentState)
+ {
+ case EPreStart:
+ aState = EStart;
+ break;
+ case EStart:
+ aState = EVideoOpen;
+ break;
+ case EVideoOpen:
+ aState = EVideoPrepare;
+ break;
+ case EVideoPrepare:
+ aState = EVideoPlayingAudBOpen;
+ break;
+ case EVideoPlayingAudBOpen:
+ aState = EVideoInterrupted;
+ break;
+ case EVideoInterrupted:
+ aState = ETestEnd;
+ break;
+ default:
+ res = EFalse;
+ break;
+ }
+ return res;
+ }
+/**
+ On entering new state performs certain operations
+*/
+void CTestStepVidPlayerARN0700::OnStateEntry()
+ {
+ TInt err = KErrNone;
+ switch(iCurrentState)
+ {
+ case EStart: //to begin, open the video
+ TRAP(err,iPlayer->OpenFileL(iFileName));
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Leave error:iPlayer->OpenFileL(iFileName):%d"),err);
+ FailTest();
+ }
+ break;
+
+ case EVideoOpen: //prepare video
+ iVideoOpen = ETrue;
+ iPlayer->Prepare();
+ break;
+
+ //register for audio notification on Video; open audio stream-B
+ case EVideoPrepare:
+ err = iPlayer->RegisterAudioResourceNotification(*iVidClientArnCallback,KMMFEventCategoryAudioResourceAvailable);
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error:iPlayer->RegisterAudioResourceNotification():%d"),err);
+ FailTest();
+ break;
+ }
+ iPlayer->Play(); //play video
+ iAudStreamB->Open(NULL);
+ break;
+
+ case EVideoPlayingAudBOpen:
+ TRAP(err,iAudStreamB->WriteL(iBuffer));//start high priority audio
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Leave error:iAudStreamB->WriteL(iBuffer):%d"),err);
+ FailTest();
+ }
+ break;
+
+ case EVideoInterrupted: //do nothing on state entry
+ break;
+
+ case ETestEnd:
+ iTestStepResult = EPass;
+ iPlayer->Close();
+ INFO_PRINTF1(_L("Video:Got audio resource notification"));
+ CActiveScheduler::Stop();
+ break;
+ }
+ }
+
+//----------------------------------------------------------------
+//register for Audio Resource Notification from Video; then cancel
+//it; Video should not get audio resource notification
+
+CTestStepVidPlayerARN0701* CTestStepVidPlayerARN0701::NewL()
+ {
+ CTestStepVidPlayerARN0701* self = new(ELeave) CTestStepVidPlayerARN0701();
+ return self;
+ }
+
+/**
+Initialises inputs - client,event & error, that lead to next state
+*/
+void CTestStepVidPlayerARN0701::InitTransitionSetL()
+ {
+ ipTransitionSet[0] = NULL;
+ iExpInputCnt[0] = 0;
+ iRxInputCnt[0] = 0;
+
+ ipTransitionSet[1] = new(ELeave) CTransitionInput[1]; //state:EStart
+ ipTransitionSet[1][0].SetData(EVideo, EVideoOpenComplete, 0);
+ iExpInputCnt[1] = 1;
+ iRxInputCnt[1] = 0;
+
+ ipTransitionSet[2] = new(ELeave) CTransitionInput[1]; //state:EVideoOpen
+ ipTransitionSet[2][0].SetData(EVideo, EVideoPrepareComplete,0);
+ iExpInputCnt[2] = 1;
+ iRxInputCnt[2] = 0;
+
+ ipTransitionSet[3] = new(ELeave) CTransitionInput[1]; //state:EVideoPrepare
+ ipTransitionSet[3][0].SetData(EAudioStreamB, EAudioOpenComplete,0);
+ iExpInputCnt[3] = 1;
+ iRxInputCnt[3] = 0;
+
+ ipTransitionSet[4] = new(ELeave) CTransitionInput[3]; //state:EVideoRegisterAudBOpen
+ ipTransitionSet[4][0].SetData(EVideo, EVideoPlayComplete, KErrInUse);
+ ipTransitionSet[4][0].iIgnoreError = ETrue;
+ ipTransitionSet[4][1].SetData(EAudioStreamB, EAudioBufferCopied, 0);
+ ipTransitionSet[4][2].SetData(EAudioStreamB, EAudioPlayComplete, KErrUnderflow);
+ ipTransitionSet[4][2].iIgnoreError = ETrue;
+ iExpInputCnt[4] = 3;
+ iRxInputCnt[4] = 0;
+
+ ipTransitionSet[5] = new(ELeave) CTransitionInput[1]; //state:EVideoInterrupted
+ ipTransitionSet[5][0].SetData(EVideo, EArnAvailable, 0);
+ iExpInputCnt[5] = 1;
+ iRxInputCnt[5] = 0;
+
+ iCurrentState = EPreStart;
+ }
+
+CTestStepVidPlayerARN0701::~CTestStepVidPlayerARN0701()
+ {
+ }
+
+TVerdict CTestStepVidPlayerARN0701::DoTestStepPreambleL()
+ {
+ TVerdict verdict = CTestStepVidPlayerARN::DoTestStepPreambleL();
+ InitTransitionSetL();
+ _LIT(KTestFileName, "c:\\mm\\mmf\\testfiles\\vclnt\\AudVid.avi");
+ iFileName.Set(KTestFileName);
+ return verdict;
+ }
+
+TVerdict CTestStepVidPlayerARN0701::DoTestStepPostambleL()
+ {
+ TVerdict verdict = CTestStepVidPlayerARN::DoTestStepPostambleL();
+ delete iTestTimer;
+ iTestTimer = NULL;
+ delete iPlayer;
+ iPlayer = NULL;
+
+ delete[] ipTransitionSet[0];
+ ipTransitionSet[0] = NULL;
+ delete[] ipTransitionSet[1];
+ ipTransitionSet[1] = NULL;
+ delete[] ipTransitionSet[2];
+ ipTransitionSet[2] = NULL;
+ delete[] ipTransitionSet[3];
+ ipTransitionSet[3] = NULL;
+ delete[] ipTransitionSet[4];
+ ipTransitionSet[4] = NULL;
+ delete[] ipTransitionSet[5];
+ ipTransitionSet[5] = NULL;
+
+ return verdict;
+ }
+
+CTestStepVidPlayerARN0701::CTestStepVidPlayerARN0701():iTestSimulationComplete(EFalse)
+ {
+ //name of the test case
+ iTestStepName = _L("MM-MMF-VCLNT-U-0701-HP");
+ }
+
+TVerdict CTestStepVidPlayerARN0701::DoTestStepL()
+ {
+ Fsm(ETestStep, ETestStart, 0);
+ iTestTimer->After(10000000);
+ CActiveScheduler::Start();
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+void CTestStepVidPlayerARN0701::MarncResourceAvailableTest(TUid aNotificationEventId, const TDesC8& /* aNotificationData */, CTestGenericArnCallback & aGenericArnCallback)
+ {
+ if(&aGenericArnCallback == iVidClientArnCallback && aNotificationEventId == KMMFEventCategoryAudioResourceAvailable)
+ {
+ INFO_PRINTF1(_L("Video: Got Audio Resource Notification"));
+ Fsm(EVideo, EArnAvailable, 0);
+ }
+ }
+
+void CTestStepVidPlayerARN0701::EndTest()
+ {
+ if(iVideoOpen)
+ {
+ //no need of iVideoOpen = ETrue;there won't be further callbacks.
+ iPlayer->Close();
+ }
+ //if test simulation conditions are complete - including registration and
+ //cancellation for video player
+ if(iTestSimulationComplete)
+ {
+ INFO_PRINTF1(_L("Video: register & cancel for Arn. No MarncResouceAvailable callback.Test passes"));
+ iTestStepResult = EPass;
+ }
+ CActiveScheduler::Stop();
+ }
+
+TBool CTestStepVidPlayerARN0701::JumpStateIfRequired(TClient aClient, TTestEvent aEvent, TInt /* aError */,TInt& aState)
+ {
+ TBool res = EFalse;
+ if(aClient == EVideo && aEvent == EArnAvailable) //move to EFailureOnNotification
+ {
+ if(iCurrentState != EFailureOnNotification)
+ {
+ aState = EFailureOnNotification;
+ res = ETrue;
+ }
+ }
+ return res;
+ }
+
+TBool CTestStepVidPlayerARN0701::NextState(TInt& aState)
+ {
+ TBool res = ETrue;
+ switch(iCurrentState)
+ {
+ case EPreStart:
+ aState = EStart;
+ break;
+ case EStart:
+ aState = EVideoOpen;
+ break;
+ case EVideoOpen:
+ aState = EVideoPrepare;
+ break;
+ case EVideoPrepare:
+ aState = EVideoRegisterAudBOpen;
+ break;
+ case EVideoRegisterAudBOpen:
+ aState = EVideoInterrupted;
+ break;
+ case EVideoInterrupted:
+ aState = EFailureOnNotification ;
+ break;
+ default:
+ res = EFalse;
+ break;
+ }
+ return res;
+ }
+
+/**
+ On entering new state performs certain operations
+*/
+void CTestStepVidPlayerARN0701::OnStateEntry()
+ {
+ TInt err = KErrNone;
+ switch(iCurrentState)
+ {
+ case EStart: //to begin, open the video
+ TRAP(err,iPlayer->OpenFileL(iFileName));
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Leave error:iPlayer->OpenFileL(iFileName):%d"),err);
+ FailTest();
+ }
+ break;
+
+ case EVideoOpen: //prepare video
+ iVideoOpen = ETrue;
+ iPlayer->Prepare();
+ break;
+
+ //register for audio notification on Video; open audio stream-B
+ case EVideoPrepare:
+ err = iPlayer->RegisterAudioResourceNotification(*iVidClientArnCallback,KMMFEventCategoryAudioResourceAvailable);
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error:iPlayer->RegisterAudioResourceNotification():%d"),err);
+ FailTest();
+ break;
+ }
+ iAudStreamB->Open(NULL);
+ break;
+
+ case EVideoRegisterAudBOpen:
+ iPlayer->Play(); //play video
+ err = iPlayer->CancelRegisterAudioResourceNotification(KMMFEventCategoryAudioResourceAvailable);
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error:iPlayer->CancelRegisterAudioResourceNotification():%d"),err);
+ FailTest();
+ break;
+ }
+ TRAP(err,iAudStreamB->WriteL(iBuffer));//start high priority audio
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Leave error:iAudStreamB->WriteL(iBuffer):%d"),err);
+ FailTest();
+ }
+ iTestSimulationComplete = ETrue;
+ break;
+
+ case EVideoInterrupted:
+ break;
+
+ case EFailureOnNotification:
+ iPlayer->Close();
+ FailTest();
+ break;
+ }
+ }
+
+//----------------------------------------------------------------
+
+CTestStepVidPlayerARN0702* CTestStepVidPlayerARN0702::NewL()
+ {
+ CTestStepVidPlayerARN0702* self = new(ELeave) CTestStepVidPlayerARN0702();
+ return self;
+ }
+
+/**
+Initialises inputs - client,event & error, that lead to next state
+*/
+void CTestStepVidPlayerARN0702::InitTransitionSetL()
+ {
+ ipTransitionSet[0] = NULL;
+ iExpInputCnt[0] = 0;
+ iRxInputCnt[0] = 0;
+
+ ipTransitionSet[1] = new(ELeave) CTransitionInput[1]; //state:EStart
+ ipTransitionSet[1][0].SetData(EVideo, EVideoOpenComplete, 0);
+ iExpInputCnt[1] = 1;
+ iRxInputCnt[1] = 0;
+
+ ipTransitionSet[2] = new(ELeave) CTransitionInput[1]; //state:EVideoOpen
+ ipTransitionSet[2][0].SetData(EVideo, EVideoPrepareComplete,0);
+ iExpInputCnt[2] = 1;
+ iRxInputCnt[2] = 0;
+
+ ipTransitionSet[3] = new(ELeave) CTransitionInput[2]; //state:EVideoPrepare
+ ipTransitionSet[3][0].SetData(EAudioStreamA, EAudioOpenComplete,0);
+ ipTransitionSet[3][1].SetData(EAudioStreamB, EAudioOpenComplete,0);
+ iExpInputCnt[3] = 2;
+ iRxInputCnt[3] = 0;
+
+ ipTransitionSet[4] = new(ELeave) CTransitionInput[3]; //state:EAudABOpenRegister
+ ipTransitionSet[4][0].SetData(EVideo, EVideoPlayComplete, KErrInUse);
+ ipTransitionSet[4][0].iIgnoreError = ETrue;
+ ipTransitionSet[4][1].SetData(EAudioStreamA, EAudioPlayComplete, KErrInUse);
+ ipTransitionSet[4][2].SetData(EAudioStreamB, EAudioBufferCopied, 0);
+ iExpInputCnt[4] = 3;
+ iRxInputCnt[4] = 0;
+
+ ipTransitionSet[5] = new(ELeave) CTransitionInput[2]; //state:EVideoAudAThrownoff
+ ipTransitionSet[5][0].SetData(EVideo, EArnAvailable, 0);
+ ipTransitionSet[5][1].SetData(EAudioStreamB, EAudioPlayComplete, KErrUnderflow);
+ ipTransitionSet[5][1].iIgnoreError = ETrue;
+ iExpInputCnt[5] = 2;
+ iRxInputCnt[5] = 0;
+
+ ipTransitionSet[6] = new(ELeave) CTransitionInput[1]; //state:EVideoNotified
+ ipTransitionSet[6][0].SetData(EAudioStreamA, EArnAvailable, 0);
+ iExpInputCnt[6] = 1;
+ iRxInputCnt[6] = 0;
+
+ iCurrentState = EPreStart;
+ }
+
+CTestStepVidPlayerARN0702::~CTestStepVidPlayerARN0702()
+ {
+ }
+
+TVerdict CTestStepVidPlayerARN0702::DoTestStepPreambleL()
+ {
+ TVerdict verdict = CTestStepVidPlayerARN::DoTestStepPreambleL();
+ InitTransitionSetL();
+ _LIT(KTestFileName, "c:\\mm\\mmf\\testfiles\\vclnt\\AudVid.avi");
+ iFileName.Set(KTestFileName);
+ return verdict;
+ }
+
+TVerdict CTestStepVidPlayerARN0702::DoTestStepPostambleL()
+ {
+ TVerdict verdict = CTestStepVidPlayerARN::DoTestStepPostambleL();
+ delete iTestTimer;
+ iTestTimer = NULL;
+ delete iPlayer;
+ iPlayer = NULL;
+
+ delete[] ipTransitionSet[0];
+ ipTransitionSet[0] = NULL;
+ delete[] ipTransitionSet[1];
+ ipTransitionSet[1] = NULL;
+ delete[] ipTransitionSet[2];
+ ipTransitionSet[2] = NULL;
+ delete[] ipTransitionSet[3];
+ ipTransitionSet[3] = NULL;
+ delete[] ipTransitionSet[4];
+ ipTransitionSet[4] = NULL;
+ delete[] ipTransitionSet[5];
+ ipTransitionSet[5] = NULL;
+ delete[] ipTransitionSet[6];
+ ipTransitionSet[6] = NULL;
+
+ return verdict;
+ }
+
+CTestStepVidPlayerARN0702::CTestStepVidPlayerARN0702():iAudStreamANotified(EFalse)
+ {
+ //name of the test case
+ iTestStepName = _L("MM-MMF-VCLNT-U-0702-HP");
+ }
+
+TVerdict CTestStepVidPlayerARN0702::DoTestStepL()
+ {
+ Fsm(ETestStep, ETestStart, 0);
+ iTestTimer->After(10000000);
+ CActiveScheduler::Start();
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+void CTestStepVidPlayerARN0702::MarncResourceAvailableTest(TUid aNotificationEventId, const TDesC8& /* aNotificationData */, CTestGenericArnCallback & aGenericArnCallback)
+ {
+ if(&aGenericArnCallback == iAudClientAArnCallback && aNotificationEventId == KMMFEventCategoryAudioResourceAvailable)
+ {
+ iAudStreamANotified = ETrue;
+ Fsm(EAudioStreamA, EArnAvailable, 0);
+ }
+ else if(&aGenericArnCallback == iVidClientArnCallback && aNotificationEventId == KMMFEventCategoryAudioResourceAvailable)
+ {
+ Fsm(EVideo, EArnAvailable, 0);
+ }
+ }
+
+void CTestStepVidPlayerARN0702::EndTest()
+ {
+ if(iVideoOpen)
+ {
+ //no need of iVideoOpen = ETrue;there won't be further callbacks.
+ iPlayer->Close();
+ }
+ if(iAudStreamANotified)
+ {
+ iTestStepResult = EFail;
+ }
+ else
+ {
+ iTestStepResult = EPass;
+ }
+ CActiveScheduler::Stop();
+ }
+
+
+TBool CTestStepVidPlayerARN0702::JumpStateIfRequired(TClient /* aClient */, TTestEvent /* aEvent */, TInt /* aError */, TInt& /* aState */)
+ {
+ return EFalse;
+ }
+
+TBool CTestStepVidPlayerARN0702::NextState(TInt& aState)
+ {
+ TBool res = ETrue;
+ switch(iCurrentState)
+ {
+ case EPreStart:
+ aState = EStart;
+ break;
+ case EStart:
+ aState = EVideoOpen;
+ break;
+ case EVideoOpen:
+ aState = EVideoPrepare;
+ break;
+ case EVideoPrepare:
+ aState = EAudABOpenRegister;
+ break;
+ case EAudABOpenRegister:
+ aState = EVideoAudAThrownoff;
+ break;
+ case EVideoAudAThrownoff:
+ aState = EVideoNotified;
+ break;
+ case EVideoNotified:
+ aState = EFailureOnAudioANotification;
+ break;
+ default:
+ res = EFalse;
+ break;
+ }
+ return res;
+ }
+
+/**
+ On entering new state performs certain operations
+*/
+void CTestStepVidPlayerARN0702::OnStateEntry()
+ {
+ TInt err = KErrNone;
+ switch(iCurrentState)
+ {
+ case EStart: //to begin, open the video
+ TRAP(err,iPlayer->OpenFileL(iFileName));
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Leave error:iPlayer->OpenFileL(iFileName):%d"),err);
+ FailTest();
+ }
+ break;
+
+ case EVideoOpen: //prepare video
+ iVideoOpen = ETrue;
+ iPlayer->Prepare();
+ break;
+
+ //register for audio notification on Video; open audio stream-B
+ case EVideoPrepare:
+ //open the audio streams and register for audio resource notification
+ iAudStreamA->Open(NULL);
+ err = iAudStreamA->RegisterAudioResourceNotification(*iAudClientAArnCallback,KMMFEventCategoryAudioResourceAvailable);
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error:iAudStreamA->RegisterAudioResourceNotification():%d"),err);
+ FailTest();
+ break;
+ }
+ iAudStreamB->Open(NULL);
+ err = iAudStreamB->RegisterAudioResourceNotification(*iAudClientBArnCallback,KMMFEventCategoryAudioResourceAvailable);
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error: iAudStreamB->RegisterAudioResourceNotification():%d"),err);
+ FailTest();
+ break;
+ }
+ break;
+
+ case EAudABOpenRegister:
+ //start playing video; then start Audio streams A and B
+ iPlayer->Play(); //start video play
+ TRAP(err,iAudStreamA->WriteL(iBuffer)) //start low priority audio
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Leave error:iAudStreamA->WriteL(iBuffer):%d"),err);
+ FailTest();
+ break;
+ }
+ TRAP(err,iAudStreamB->WriteL(iBuffer));//start high priority audio
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Leave error:iAudStreamB->WriteL(iBuffer):%d"),err);
+ FailTest();
+ break;
+ }
+ break;
+
+
+ case EVideoAudAThrownoff:
+ err = iPlayer->RegisterAudioResourceNotification(*iVidClientArnCallback,KMMFEventCategoryAudioResourceAvailable);
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error:iPlayer->RegisterAudioResourceNotification():%d"),err);
+ FailTest();
+ }
+ break;
+
+ case EVideoNotified:
+ err = iPlayer->WillResumePlay();
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Error:WillResumePlay():%d"),err);
+ FailTest();
+ }
+ break;
+
+ case EFailureOnAudioANotification:
+ iPlayer->Close();
+ INFO_PRINTF1(_L("Audio stream-A got notification"));
+ FailTest();
+ break;
+ }
+ }
+
+//--------------------------------------------------------------------
+//open video without audio component.Register for Audio Resource Notification
+//it should get KErrNotSupported
+CTestStepVidPlayerARN0703* CTestStepVidPlayerARN0703::NewL()
+ {
+ CTestStepVidPlayerARN0703* self = new(ELeave) CTestStepVidPlayerARN0703();
+ return self;
+ }
+
+/**
+Initialises inputs - client,event & error, that lead to next state
+*/
+void CTestStepVidPlayerARN0703::InitTransitionSetL()
+ {
+ ipTransitionSet[0] = NULL;
+ iExpInputCnt[0] = 0;
+ iRxInputCnt[0] = 0;
+
+ ipTransitionSet[1] = new(ELeave) CTransitionInput[1]; //state:EStart
+ ipTransitionSet[1][0].SetData(EVideo, EVideoOpenComplete, 0);
+ iExpInputCnt[1] = 1;
+ iRxInputCnt[1] = 0;
+
+ ipTransitionSet[2] = new(ELeave) CTransitionInput[1]; //state:EVideoOpen
+ ipTransitionSet[2][0].SetData(EVideo, EVideoPrepareComplete,0);
+ iExpInputCnt[2] = 1;
+ iRxInputCnt[2] = 0;
+ }
+
+CTestStepVidPlayerARN0703::~CTestStepVidPlayerARN0703()
+ {
+ }
+
+TVerdict CTestStepVidPlayerARN0703::DoTestStepPreambleL()
+ {
+ TVerdict verdict = CTestStepVidPlayerARN::DoTestStepPreambleL();
+ InitTransitionSetL();
+ _LIT(KTestFileName, "c:\\mm\\mmf\\testfiles\\vclnt\\Vid.avi");
+ iFileName.Set(KTestFileName);
+ return verdict;
+ }
+
+TVerdict CTestStepVidPlayerARN0703::DoTestStepPostambleL()
+ {
+ TVerdict verdict = CTestStepVidPlayerARN::DoTestStepPostambleL();
+ delete iPlayer;
+ iPlayer = NULL;
+
+ delete[] ipTransitionSet[0];
+ ipTransitionSet[0] = NULL;
+ delete[] ipTransitionSet[1];
+ ipTransitionSet[1] = NULL;
+ delete[] ipTransitionSet[2];
+ ipTransitionSet[2] = NULL;
+
+ return verdict;
+ }
+
+CTestStepVidPlayerARN0703::CTestStepVidPlayerARN0703()
+ {
+ //name of the test case
+ iTestStepName = _L("MM-MMF-VCLNT-U-0703-HP");
+ }
+
+TVerdict CTestStepVidPlayerARN0703::DoTestStepL()
+ {
+ Fsm(ETestStep, ETestStart, 0);
+ CActiveScheduler::Start();
+
+ INFO_PRINTF1(_L("finished with this test step"));
+ // test steps return a result
+ return iTestStepResult;
+ }
+
+void CTestStepVidPlayerARN0703::MarncResourceAvailableTest(TUid /* aNotificationEventId */, const TDesC8& /* aNotificationData */, CTestGenericArnCallback& /* aGenericArnCallback */)
+ {
+ }
+
+void CTestStepVidPlayerARN0703::EndTest()
+ {
+ }
+
+TBool CTestStepVidPlayerARN0703::JumpStateIfRequired(TClient /* aClient */, TTestEvent /* aEvent */, TInt /* aError */,TInt& /* aState */)
+ {
+ return EFalse;
+ }
+
+TBool CTestStepVidPlayerARN0703::NextState(TInt& aState)
+ {
+ TBool res = ETrue;
+ switch(iCurrentState)
+ {
+ case EPreStart:
+ aState = EStart;
+ break;
+ case EStart:
+ aState = EVideoOpen;
+ break;
+ case EVideoOpen:
+ aState = EVideoPrepare;
+ break;
+ default:
+ res = EFalse;
+ break;
+ }
+ return res;
+ }
+
+/**
+ On entering new state performs certain operations
+*/
+void CTestStepVidPlayerARN0703::OnStateEntry()
+ {
+ TInt err = KErrNone;
+ switch(iCurrentState)
+ {
+ case EStart: //to begin, open the video
+ TRAP(err,iPlayer->OpenFileL(iFileName));
+ if(err != KErrNone)
+ {
+ INFO_PRINTF2(_L("Leave error:iPlayer->OpenFileL(iFileName):%d"),err);
+ FailTest();
+ }
+ break;
+
+ case EVideoOpen: //prepare video
+ iPlayer->Prepare();
+ break;
+
+ //register for audio notification on Video; open audio stream-B
+ case EVideoPrepare:
+ TInt err = iPlayer->RegisterAudioResourceNotification(*iVidClientArnCallback,KMMFEventCategoryAudioResourceAvailable);
+ if(err == KErrArgument)
+ {
+ iTestStepResult = EPass;
+ INFO_PRINTF1(_L("iPlayer->RegisterAudioResourceNotification() - returned - KErrArgument"));
+ }
+ iPlayer->Close();
+ CActiveScheduler::Stop();
+ break;
+ }
+ }
+//-------------------------------------------------------------------------------------
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/teststepvidplayereventhandler.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,820 @@
+// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include "teststepvidplayereventhandler.h"
+#include "TS_Codes.h"
+
+_LIT(KAddWindows, "AddWindows");
+_LIT(KAddDisplays, "AddDisplays");
+_LIT(KExpectedEvents, "ExpectedEvents");
+_LIT(KSimulatedEvents, "SimulatedEvents");
+_LIT(KClockFileName,"C:\\mm\\mmf\\testfiles\\vclnt\\clock.dummy");
+_LIT(KIterations, "Iterations");
+
+CTestStepVidPlayerAddDisplay* CTestStepVidPlayerAddDisplay::NewL(const TDesC& aTestStepName)
+ {
+ CTestStepVidPlayerAddDisplay* self = new (ELeave) CTestStepVidPlayerAddDisplay(aTestStepName);
+ return self;
+ }
+
+CTestStepVidPlayerAddDisplay::CTestStepVidPlayerAddDisplay(const TDesC& aTestStepName)
+ {
+ iTestStepName = aTestStepName;
+ }
+
+CTestStepVidPlayerAddDisplay::~CTestStepVidPlayerAddDisplay()
+ {
+ }
+
+TVerdict CTestStepVidPlayerAddDisplay::DoTestStepPreambleL()
+ {
+ InitWservL();
+ return CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ }
+
+TVerdict CTestStepVidPlayerAddDisplay::DoTestStepL()
+ {
+ iTestStepResult = EFail;
+
+ iFileName.Set(KClockFileName);
+ iVpu2 = ETrue;
+
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ OpenAndStartSchedulerL(EFalse);
+
+ return iTestStepResult;
+ }
+
+TVerdict CTestStepVidPlayerAddDisplay::DoTestStepPostambleL()
+ {
+ delete iPlayer2;
+
+ RHashMap<TInt, CWsScreenDevice*>::TIter screenIter(iScreens);
+ screenIter.Reset();
+
+ while (screenIter.NextValue())
+ {
+ delete *screenIter.CurrentValue();
+ }
+
+ iScreens.Close();
+
+ RHashMap<TInt, RWindow>::TIter windowIter(iWindows);
+ windowIter.Reset();
+
+ while (windowIter.NextValue())
+ {
+ windowIter.CurrentValue()->Close();
+ }
+
+ iWindows.Close();
+
+ RHashMap<TInt, RWindowGroup>::TIter rootIter(iRootWindows);
+ rootIter.Reset();
+
+ while (rootIter.NextValue())
+ {
+ rootIter.CurrentValue()->Close();
+ }
+
+ iRootWindows.Close();
+ iDisplayIds.Close();
+
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+void CTestStepVidPlayerAddDisplay::MmsehSurfaceCreated(TInt /*aDisplayId*/, const TSurfaceId& /*aId*/, const TRect& /*aCropRect*/, TVideoAspectRatio /*aAspectRatio*/)
+ {
+
+ }
+
+void CTestStepVidPlayerAddDisplay::MmsehSurfaceParametersChanged(const TSurfaceId& /*aId*/, const TRect& /*aCropRect*/, TVideoAspectRatio /*aAspectRatio*/)
+ {
+
+ }
+
+void CTestStepVidPlayerAddDisplay::MmsehRemoveSurface(const TSurfaceId& /*aId*/)
+ {
+
+ }
+
+void CTestStepVidPlayerAddDisplay::MvpuoOpenComplete(TInt /*aError*/)
+ {
+ TRAPD
+ (err,
+ TPtrC addWindows;
+ if (GetStringFromConfig(iTestStepName, KAddWindows, addWindows))
+ {
+ RArray<TInt> displayIds;
+ CleanupClosePushL(displayIds);
+
+ ParseDisplaysL(addWindows, displayIds);
+ AddWindowsL(displayIds);
+ CleanupStack::PopAndDestroy(&displayIds);
+ }
+
+ TPtrC addDisplays;
+ if (GetStringFromConfig(iTestStepName, KAddDisplays, addDisplays))
+ {
+ ParseDisplaysL(addDisplays, iDisplayIds);
+ AddDisplaysL(iDisplayIds);
+ }
+ );
+
+ if (err == KErrNone)
+ {
+ iTestStepResult = EPass;
+ }
+
+ CActiveScheduler::Stop();
+ }
+
+void CTestStepVidPlayerAddDisplay::MvpuoPrepareComplete(TInt /*aError*/)
+ {
+
+ }
+
+void CTestStepVidPlayerAddDisplay::MvpuoFrameReady(CFbsBitmap& /*aFrame*/,TInt /*aError*/)
+ {
+
+ }
+
+void CTestStepVidPlayerAddDisplay::MvpuoPlayComplete(TInt /*aError*/)
+ {
+
+ }
+
+void CTestStepVidPlayerAddDisplay::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+
+ }
+
+void CTestStepVidPlayerAddDisplay::ParseDisplaysL(TDesC& aList, RArray<TInt>& aDisplays)
+ {
+ TPtrC list(aList);
+
+ for (TInt pivot = list.Locate(TChar(','));
+ pivot >= KErrNone;
+ pivot = list.Locate(TChar(',')))
+ {
+ TLex lex(list.Left(pivot));
+
+ TInt display;
+ User::LeaveIfError(lex.Val(display));
+ aDisplays.Append(display);
+
+ list.Set(list.Mid(pivot + 1));
+ }
+ }
+
+void CTestStepVidPlayerAddDisplay::ParseEventsL(TDesC& aList, RArray<TPtrC>& aEvents)
+ {
+ TPtrC list(aList);
+
+ for (TInt pivot = list.Locate(TChar(','));
+ pivot >= KErrNone;
+ pivot = list.Locate(TChar(',')))
+ {
+ aEvents.AppendL(list.Left(pivot));
+ list.Set(list.Mid(pivot + 1));
+ }
+ }
+
+void CTestStepVidPlayerAddDisplay::AddWindowsL(RArray<TInt>& aDisplays)
+ {
+ TInt count = aDisplays.Count();
+
+ for (TInt i = 0; i < count; ++i)
+ {
+ CWsScreenDevice* screen = ScreenForDisplayL(aDisplays[i]);
+ RWindow* window = WindowForDisplayL(aDisplays[i]);
+
+ iPlayer2->AddDisplayWindowL(iWs, *screen, *window);
+ }
+ }
+
+void CTestStepVidPlayerAddDisplay::AddDisplaysL(RArray<TInt>& aDisplays)
+ {
+ TInt count = aDisplays.Count();
+
+ for (TInt i = 0; i < count; ++i)
+ {
+ iPlayer2->AddDisplayL(iWs, aDisplays[i], *this);
+ }
+ }
+
+CWsScreenDevice* CTestStepVidPlayerAddDisplay::ScreenForDisplayL(TInt aDisplay)
+ {
+ CWsScreenDevice** screenPtr = iScreens.Find(aDisplay);
+
+ if (screenPtr != NULL)
+ {
+ return *screenPtr;
+ }
+
+ CWsScreenDevice* screen = new (ELeave) CWsScreenDevice(iWs);
+ CleanupStack::PushL(screen);
+ User::LeaveIfError(screen->Construct(aDisplay));
+
+ iScreens.InsertL(aDisplay, screen);
+ CleanupStack::Pop(screen);
+ return screen;
+ }
+
+RWindowGroup* CTestStepVidPlayerAddDisplay::RootWindowForDisplayL(TInt aDisplay)
+ {
+ RWindowGroup* rootWindowPtr = iRootWindows.Find(aDisplay);
+
+ if (rootWindowPtr != NULL)
+ {
+ return rootWindowPtr;
+ }
+
+ RWindowGroup rootWindow(iWs);
+ User::LeaveIfError(rootWindow.Construct(reinterpret_cast<TUint32>(this + 16 + aDisplay), ETrue));
+ iRootWindows.InsertL(aDisplay, rootWindow);
+
+ return iRootWindows.Find(aDisplay);
+ }
+
+RWindow* CTestStepVidPlayerAddDisplay::WindowForDisplayL(TInt aDisplay)
+ {
+ RWindow* windowPtr = iWindows.Find(aDisplay);
+
+ if (windowPtr != NULL)
+ {
+ return windowPtr;
+ }
+
+ RWindowGroup* rootWindow = RootWindowForDisplayL(aDisplay);
+
+ RWindow window(iWs);
+ User::LeaveIfError(window.Construct(*rootWindow, reinterpret_cast<TUint32>(this + 24 + aDisplay)));
+ iWindows.InsertL(aDisplay, window);
+
+ window.SetRequiredDisplayMode(EColor16MA);
+ window.SetExtent(TPoint(0,0), TSize(400,200));
+ window.SetVisible(ETrue);
+ window.Activate();
+ iWs.Flush();
+
+ return iWindows.Find(aDisplay);
+ }
+
+TInt CTestStepVidPlayerAddDisplay::SendCustomCommandAsync(TMMFMessageDestinationPckg aDestPckg, TInt aFunction)
+ {
+ TInt err = KErrNone;
+ err = iPlayer2->CustomCommandSync(aDestPckg,
+ aFunction,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (err!=KErrNone)
+ {
+ ERR_PRINTF2(_L("Failed when calling CustomCommandSync(): %d"), err);
+ return err;
+ }
+
+ return err;
+ }
+
+
+CTestStepVidPlayerEvent* CTestStepVidPlayerEvent::NewL(const TDesC& aTestStepName)
+ {
+ CTestStepVidPlayerEvent* self = new (ELeave) CTestStepVidPlayerEvent(aTestStepName);
+ return self;
+ }
+
+CTestStepVidPlayerEvent::CTestStepVidPlayerEvent(const TDesC& aTestStepName) :
+ CTestStepVidPlayerAddDisplay(aTestStepName)
+ {
+ }
+
+CTestStepVidPlayerEvent::~CTestStepVidPlayerEvent()
+ {
+ }
+
+void CTestStepVidPlayerEvent::MvpuoOpenComplete(TInt aError)
+ {
+ CTestStepVidPlayerAddDisplay::MvpuoOpenComplete(aError);
+
+ iTestStepResult = EFail;
+
+ TInt err = SimulateNextEvent();
+
+ if (err == KErrNone)
+ {
+ CActiveScheduler::Start();
+ }
+ }
+
+void CTestStepVidPlayerEvent::CheckAndIssueEvent(const TDesC& aEvent)
+ {
+ if (iCurrentExpectedEvent >= iExpectedEvents.Count())
+ {
+ return;
+ }
+
+ if (aEvent == iExpectedEvents[iCurrentExpectedEvent])
+ {
+ iTestStepResult = EPass;
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ }
+
+ ++iCurrentExpectedEvent;
+
+ if (iCurrentExpectedEvent >= iExpectedEvents.Count())
+ {
+ CActiveScheduler::Stop();
+ return;
+ }
+
+ SimulateNextEvent();
+ }
+
+TInt CTestStepVidPlayerEvent::SimulateNextEvent()
+ {
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+
+ TInt err = KErrNone;
+
+ if(iCurrentSimulatedEvent >= iSimulatedEvents.Count())
+ {
+ return err;
+ }
+
+ if (iSimulatedEvents[iCurrentSimulatedEvent] == _L("SurfaceCreated"))
+ {
+ err = SendCustomCommandAsync(destPckg, EMMFTestCustomCommandSimulateSurfaceCreated);
+ }
+ else if (iSimulatedEvents[iCurrentSimulatedEvent] == _L("SurfaceParametersChanged"))
+ {
+ err = SendCustomCommandAsync(destPckg, EMMFTestCustomCommandSimulateParaChanged);
+ }
+ else if (iSimulatedEvents[iCurrentSimulatedEvent] == _L("RemoveSurface"))
+ {
+ err = SendCustomCommandAsync(destPckg, EMMFTestCustomCommandSimulateRemoveSurface);
+ }
+ iCurrentSimulatedEvent++;
+ return err;
+ }
+
+ // MMMFSurfaceEventHandler
+void CTestStepVidPlayerEvent::MmsehSurfaceCreated(TInt /*aDisplayId*/, const TSurfaceId& /*aId*/, const TRect& /*aCropRect*/, TVideoAspectRatio /*aAspectRatio*/)
+ {
+ CheckAndIssueEvent(_L("SurfaceCreated"));
+ }
+
+void CTestStepVidPlayerEvent::MmsehSurfaceParametersChanged(const TSurfaceId& /*aId*/, const TRect& /*aCropRect*/, TVideoAspectRatio /*aAspectRatio*/)
+ {
+ CheckAndIssueEvent(_L("SurfaceParametersChanged"));
+ }
+
+void CTestStepVidPlayerEvent::MmsehRemoveSurface(const TSurfaceId& /*aId*/)
+ {
+ CheckAndIssueEvent(_L("RemoveSurface"));
+ }
+
+TVerdict CTestStepVidPlayerEvent::DoTestStepL()
+ {
+ TPtrC simulatedEvents;
+ if (GetStringFromConfig(iTestStepName, KSimulatedEvents, simulatedEvents))
+ {
+ ParseEventsL(simulatedEvents, iSimulatedEvents);
+ }
+
+ TPtrC expectedEvents;
+ if (GetStringFromConfig(iTestStepName, KExpectedEvents, expectedEvents))
+ {
+ ParseEventsL(expectedEvents, iExpectedEvents);
+ }
+
+ return CTestStepVidPlayerAddDisplay::DoTestStepL();
+ }
+
+CTestStepVidPlayer1106::CTestTimer*
+CTestStepVidPlayer1106::CTestTimer::NewL(CTestStepVidPlayer1106& aTestStepVidPlayer)
+ {
+ CTestTimer* self = new(ELeave)CTestTimer(aTestStepVidPlayer);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop();
+ return self;
+ }
+
+CTestStepVidPlayer1106* CTestStepVidPlayer1106::NewL()
+ {
+ CTestStepVidPlayer1106* self = new (ELeave) CTestStepVidPlayer1106();
+ return self;
+ }
+
+CTestStepVidPlayer1106::CTestStepVidPlayer1106() :
+ CTestStepVidPlayerAddDisplay(_L("MM-MMF-VCLNT-U-1106-CP")),
+ iDisplayAdded(EFalse),
+ iSurfaceCreated(EFalse)
+ {
+ }
+
+CTestStepVidPlayer1106::~CTestStepVidPlayer1106()
+ {
+ }
+
+void CTestStepVidPlayer1106::MvpuoOpenComplete(TInt /*aError*/)
+ {
+ iTestStepResult = EFail;
+
+ CActiveScheduler::Stop();
+
+ TRAP_IGNORE
+ (
+ TPtrC addWindows;
+ if (GetStringFromConfig(iTestStepName, KAddWindows, addWindows))
+ {
+ RArray<TInt> displayIds;
+ CleanupClosePushL(displayIds);
+
+ ParseDisplaysL(addWindows, displayIds);
+ AddWindowsL(displayIds);
+ CleanupStack::PopAndDestroy(&displayIds);
+ }
+ );
+
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+
+ SendCustomCommandAsync(destPckg, EMMFTestCustomCommandSimulateSurfaceCreated);
+
+ iTestTimer->After(2000000);
+ CActiveScheduler::Start();
+
+ if(iSurfaceCreated)
+ {
+ return;
+ }
+
+ TRAP_IGNORE
+ (
+ iDisplayAdded = ETrue;
+ TPtrC addDisplays;
+ if (GetStringFromConfig(iTestStepName, KAddDisplays, addDisplays))
+ {
+ RArray<TInt> displayIds;
+
+ ParseDisplaysL(addDisplays, displayIds);
+ AddDisplaysL(displayIds);
+ }
+ );
+ }
+
+void CTestStepVidPlayer1106::MmsehSurfaceCreated(TInt /*aDisplayId*/, const TSurfaceId& /*aId*/, const TRect& /*aCropRect*/, TVideoAspectRatio /*aAspectRatio*/)
+ {
+ iSurfaceCreated = ETrue;
+
+ if(iDisplayAdded)
+ {
+ iTestStepResult = EPass;
+ }
+ }
+
+TVerdict CTestStepVidPlayer1106::DoTestStepL()
+ {
+ iTestTimer = CTestTimer::NewL(*this);
+
+ return CTestStepVidPlayerAddDisplay::DoTestStepL();
+ }
+
+void CTestStepVidPlayer1106::OnTimer()
+ {
+ CActiveScheduler::Stop();
+ }
+
+CTestStepVidPlayer1107* CTestStepVidPlayer1107::NewL()
+ {
+ CTestStepVidPlayer1107* self = new (ELeave) CTestStepVidPlayer1107();
+ return self;
+ }
+
+CTestStepVidPlayer1107::CTestStepVidPlayer1107() :
+ CTestStepVidPlayerAddDisplay(_L("MM-MMF-VCLNT-U-1107-CP"))
+ {
+ }
+
+CTestStepVidPlayer1107::~CTestStepVidPlayer1107()
+ {
+ }
+
+void CTestStepVidPlayer1107::MvpuoOpenComplete(TInt aError)
+ {
+ CTestStepVidPlayerAddDisplay::MvpuoOpenComplete(aError);
+ iTestStepResult = EFail;
+
+ RHashMap<TInt, RWindow>::TIter windowIter(iWindows);
+ windowIter.Reset();
+
+ while (windowIter.NextValue())
+ {
+ iPlayer2->RemoveDisplayWindow(*windowIter.CurrentValue());
+ }
+
+
+ TInt count = iDisplayIds.Count();
+
+ for (TInt i = 0; i < count; ++i)
+ {
+ iPlayer2->RemoveDisplay(iDisplayIds[i]);
+ }
+
+ iTestStepResult = EPass;
+ }
+
+CTestStepVidPlayer1108* CTestStepVidPlayer1108::NewL()
+ {
+ CTestStepVidPlayer1108* self = new (ELeave) CTestStepVidPlayer1108;
+ return self;
+ }
+
+CTestStepVidPlayer1108::CTestStepVidPlayer1108() :
+ CTestStepVidPlayerAddDisplay(_L("MM-MMF-VCLNT-U-1108-CP"))
+ {
+ }
+
+CTestStepVidPlayer1108::~CTestStepVidPlayer1108()
+ {
+ }
+
+void CTestStepVidPlayer1108::MvpuoOpenComplete(TInt aError)
+ {
+ CTestStepVidPlayerAddDisplay::MvpuoOpenComplete(aError);
+
+ iTestStepResult = EFail;
+
+ TUid uid;
+ uid = TUid::Uid(0x101f72B4);
+ TMMFMessageDestinationPckg destPckg(uid);
+
+ SendCustomCommandAsync(destPckg, EMMFTestCustomCommandSimulateSurfaceCreated);
+ CActiveScheduler::Start();
+ }
+
+void CTestStepVidPlayer1108::MmsehSurfaceCreated(TInt /*aDisplayId*/, const TSurfaceId& /*aId*/, const TRect& /*aCropRect*/, TVideoAspectRatio /*aAspectRatio*/)
+ {
+ iTestStepResult = EFail;
+
+ TInt count = iDisplayIds.Count();
+
+ for (TInt i = 0; i < count; ++i)
+ {
+ iPlayer2->RemoveDisplay(iDisplayIds[i]);
+ }
+
+ iTestStepResult = EPass;
+ CActiveScheduler::Stop();
+
+ TInt err = KErrNone;
+ // Run the active scheduler to the end
+ while(CActiveScheduler::RunIfReady(err, CActive::EPriorityIdle))
+ {
+ }
+ }
+
+//void CTestStepVidPlayer1108::MmsehSurfaceUpdated(const TSurfaceId& /*aId*/)
+// {
+// iTestStepResult = EFail;
+// }
+
+CTestStepVidPlayer1110* CTestStepVidPlayer1110::NewL()
+ {
+ CTestStepVidPlayer1110* self = new (ELeave) CTestStepVidPlayer1110;
+ return self;
+ }
+
+CTestStepVidPlayer1110::CTestStepVidPlayer1110() :
+ CTestStepVidPlayerAddDisplay(_L("MM-MMF-VCLNT-U-1110-CP"))
+ {
+ }
+
+CTestStepVidPlayer1110::~CTestStepVidPlayer1110()
+ {
+ }
+
+void CTestStepVidPlayer1110::MvpuoOpenComplete(TInt aError)
+ {
+ CTestStepVidPlayerAddDisplay::MvpuoOpenComplete(aError);
+
+ RHashMap<TInt, RWindow>::TIter windowIter(iWindows);
+ windowIter.Reset();
+
+ while (windowIter.NextValue())
+ {
+ iPlayer2->RemoveDisplayWindow(*windowIter.CurrentValue());
+ }
+
+ TInt count = iDisplayIds.Count();
+
+ for (TInt i = 0; i < count; ++i)
+ {
+ iPlayer2->RemoveDisplay(iDisplayIds[i]);
+ }
+ }
+
+CTestStepVidPlayer1111* CTestStepVidPlayer1111::NewL()
+ {
+ CTestStepVidPlayer1111* self = new (ELeave) CTestStepVidPlayer1111;
+ return self;
+ }
+
+CTestStepVidPlayer1111::CTestStepVidPlayer1111() :
+ CTestStepVidPlayerAddDisplay(_L("MM-MMF-VCLNT-U-1111-CP"))
+ {
+ }
+
+CTestStepVidPlayer1111::~CTestStepVidPlayer1111()
+ {
+ }
+
+void CTestStepVidPlayer1111::MvpuoOpenComplete(TInt /*aError*/)
+ {
+ iTestStepResult = EFail;
+ TInt iterations = 0;
+
+ if(GetIntFromConfig(iTestStepName, KIterations, iterations))
+ {
+ TInt i = 0;
+
+ RArray<TInt> displayIds;
+
+ TRAPD(err,
+ TPtrC addWindows;
+ if (GetStringFromConfig(iTestStepName, KAddWindows, addWindows))
+ {
+ ParseDisplaysL(addWindows, displayIds);
+ }
+
+ TPtrC addDisplays;
+ if (GetStringFromConfig(iTestStepName, KAddDisplays, addDisplays))
+ {
+ ParseDisplaysL(addDisplays, iDisplayIds);
+ }
+ );
+
+ if (err == KErrNone)
+ {
+ for (i = 0; i < iterations; ++i)
+ {
+ TRAP(err,
+ AddWindowsL(displayIds);
+ AddDisplaysL(iDisplayIds);
+ );
+
+ if (err != KErrNone)
+ {
+ break;
+ }
+
+ RHashMap<TInt, RWindow>::TIter windowIter(iWindows);
+ windowIter.Reset();
+
+ while (windowIter.NextValue())
+ {
+ iPlayer2->RemoveDisplayWindow(*windowIter.CurrentValue());
+ }
+
+ TInt count = iDisplayIds.Count();
+
+ for (TInt i = 0; i < count; ++i)
+ {
+ iPlayer2->RemoveDisplay(iDisplayIds[i]);
+ }
+ }
+ }
+
+ displayIds.Close();
+
+ if (i == iterations)
+ {
+ iTestStepResult = EPass;
+ }
+ }
+
+ CActiveScheduler::Stop();
+ }
+
+CTestStepVidPlayer1200* CTestStepVidPlayer1200::NewL()
+ {
+ CTestStepVidPlayer1200* self = new (ELeave) CTestStepVidPlayer1200;
+ return self;
+ }
+
+CTestStepVidPlayer1200::CTestStepVidPlayer1200() :
+ CTestStepVidPlayerAddDisplay(_L("MM-MMF-VCLNT-U-1200-CP"))
+ {
+ }
+
+CTestStepVidPlayer1200::~CTestStepVidPlayer1200()
+ {
+ }
+
+void CTestStepVidPlayer1200::MvpuoOpenComplete(TInt /*aError*/)
+ {
+ iTestStepResult = EFail;
+
+ CWsScreenDevice* screen = NULL;
+ RWindow* window = NULL;
+
+ TRAPD(err, screen = ScreenForDisplayL(0));
+ TRAP(err, window = WindowForDisplayL(0));
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *screen, *window));
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *screen, *window));
+
+ if (err == KErrInUse)
+ {
+ iTestStepResult = EPass;
+ }
+
+ CActiveScheduler::Stop();
+ }
+
+CTestStepVidPlayer1201* CTestStepVidPlayer1201::NewL()
+ {
+ CTestStepVidPlayer1201* self = new (ELeave) CTestStepVidPlayer1201;
+ return self;
+ }
+
+CTestStepVidPlayer1201::CTestStepVidPlayer1201() :
+ CTestStepVidPlayerAddDisplay(_L("MM-MMF-VCLNT-U-1201-CP"))
+ {
+ }
+
+CTestStepVidPlayer1201::~CTestStepVidPlayer1201()
+ {
+ }
+
+void CTestStepVidPlayer1201::MvpuoOpenComplete(TInt /*aError*/)
+ {
+ iTestStepResult = EFail;
+
+ TRAPD(err,
+ TPtrC addDisplays;
+ if (GetStringFromConfig(iTestStepName, KAddDisplays, addDisplays))
+ {
+ ParseDisplaysL(addDisplays, iDisplayIds);
+ AddDisplaysL(iDisplayIds);
+ }
+ );
+
+ if (err == KErrInUse)
+ {
+ iTestStepResult = EPass;
+ }
+
+ CActiveScheduler::Stop();
+ }
+
+CTestStepVidPlayer1202* CTestStepVidPlayer1202::NewL()
+ {
+ CTestStepVidPlayer1202* self = new (ELeave) CTestStepVidPlayer1202;
+ return self;
+ }
+
+CTestStepVidPlayer1202::CTestStepVidPlayer1202() :
+ CTestStepVidPlayerAddDisplay(_L("MM-MMF-VCLNT-U-1202-CP"))
+ {
+ }
+
+CTestStepVidPlayer1202::~CTestStepVidPlayer1202()
+ {
+ }
+
+TVerdict CTestStepVidPlayer1202::DoTestStepL()
+ {
+ iTestStepResult = EFail;
+
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+ TRAPD(err, iPlayer2->AddDisplayL(iWs, 0, *this));
+
+ if (err == KErrNotReady)
+ {
+ iTestStepResult = EPass;
+ }
+
+ return iTestStepResult;
+ }
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TSU_MMF_VCLNT_01/src/teststepvidplayersubtitle.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,1747 @@
+// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include <testframework.h>
+#include <mmf/common/mmfvideosubtitlecustomcommands.h>
+#include "teststepvidplayersubtitle.h"
+#include "TS_Codes.h"
+
+
+_LIT(KClockFileName, "c:\\mm\\mmf\\testfiles\\vclnt\\clock.dummy"); // file not supporting subtitle
+_LIT(KClock2FileName, "c:\\mm\\mmf\\testfiles\\vclnt\\clock2.dummy"); // file with subtitle support
+
+// dummy crp id for testing
+const TInt dummyCrpId = 1234;
+
+/*
+Subtitle availability test
+MM-MMF-VCLNT-U-1300-CP
+*/
+CTestStepVidPlayerSubtitleAvailable* CTestStepVidPlayerSubtitleAvailable::NewL(const TDesC& aTestName)
+ {
+ CTestStepVidPlayerSubtitleAvailable* self = new(ELeave) CTestStepVidPlayerSubtitleAvailable(aTestName);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleAvailable::CTestStepVidPlayerSubtitleAvailable(const TDesC& aTestName)
+ {
+ iTestStepName = aTestName;
+ iFileName.Set(KClock2FileName);
+ iVpu2 = ETrue;
+
+ TUid uid = TUid::Uid(0x101f72B4); // Test Custom Commands Uid
+ iDestPckg = TMMFMessageDestinationPckg(uid);
+ }
+
+TVerdict CTestStepVidPlayerSubtitleAvailable::DoTestStepPreambleL()
+ {
+ TVerdict ret = CTestStepUnitMMFVidClient::DoTestStepPreambleL();
+ if (EPass == ret)
+ {
+ InitWservL();
+
+ __MM_HEAP_MARK;
+ }
+
+ return ret;
+ }
+
+TVerdict CTestStepVidPlayerSubtitleAvailable::DoTestStepPostambleL()
+ {
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ __MM_HEAP_MARKEND;
+
+ return CTestStepUnitMMFVidClient::DoTestStepPostambleL();
+ }
+
+TVerdict CTestStepVidPlayerSubtitleAvailable::DoTestStepL()
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive;
+ }
+
+ TRAPD(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+
+ TBool subtitleAvail = iPlayer2->SubtitlesAvailable();
+
+ if (subtitleAvail && KErrNone == iError)
+ {
+ iTestStepResult = EPass;
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ ERR_PRINTF1(_L("SubtitleAvailable return false or iError not KErrNone"));
+ }
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
+
+TInt CTestStepVidPlayerSubtitleAvailable::SetSubtitleDisplayCheck(TMMFSubtitleWindowConfig& aConfig)
+ {
+ TPckgBuf<TMMFSubtitleWindowConfig> configPckg(aConfig);
+
+ TInt err = iPlayer2->CustomCommandSync(iDestPckg, EMMFTestCustomCommandSetSubtitleDisplayCheck, configPckg, KNullDesC8);
+ return err;
+ }
+
+void CTestStepVidPlayerSubtitleAvailable::CheckSubtitleCallCountL(TMMFTestGetSubtitleCountType aType, TInt aCount)
+ {
+ TPckgBuf<TMMFTestGetSubtitleCountType> commandPckg(aType);
+ TPckgBuf<TInt> retPckg;
+ TInt err = iPlayer2->CustomCommandSync(iDestPckg, EMMFTestCustomCommandGetSubtitleCallCount, commandPckg, KNullDesC8, retPckg);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF3(_L("CheckSubtitleCallCount failed, type=%d, err=%d."), aType, err);
+ User::Leave(err);
+ }
+ else if (aCount != retPckg())
+ {
+ ERR_PRINTF4(_L("CheckSubtitleCallCount failed, type=%d, retCount=%d, expectedCount=%d."), aType, retPckg(), aCount);
+ User::Leave(KErrNotFound);
+ }
+ }
+
+/**
+ * Implementation of the MVideoRecorderUtilityObserver interface functions
+ **/
+void CTestStepVidPlayerSubtitleAvailable::MvpuoOpenComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerSubtitleAvailable::MvpuoFrameReady(CFbsBitmap& /*aFrame*/, TInt /*aError*/)
+ {
+ INFO_PRINTF1(_L("MvpuoFrameReady called."));
+ }
+
+void CTestStepVidPlayerSubtitleAvailable::MvpuoPlayComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+void CTestStepVidPlayerSubtitleAvailable::MvpuoPrepareComplete(TInt aError)
+ {
+ iError = aError;
+ CActiveScheduler::Stop(); // check if asynchronous
+ }
+
+
+void CTestStepVidPlayerSubtitleAvailable::MvpuoEvent(const TMMFEvent& /*aEvent*/)
+ {
+ INFO_PRINTF1(_L("MvpuoEvent called."));
+ }
+
+
+/*
+Subtitle enable and disable test
+MM-MMF-VCLNT-U-1301-CP
+*/
+CTestStepVidPlayerSubtitleEnableDisable* CTestStepVidPlayerSubtitleEnableDisable::NewL(const TDesC& aTestName)
+ {
+ CTestStepVidPlayerSubtitleEnableDisable* self = new(ELeave) CTestStepVidPlayerSubtitleEnableDisable(aTestName);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleEnableDisable::CTestStepVidPlayerSubtitleEnableDisable(const TDesC& aTestName)
+ :CTestStepVidPlayerSubtitleAvailable(aTestName)
+ {
+ }
+
+TVerdict CTestStepVidPlayerSubtitleEnableDisable::DoTestStepL()
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive; // postamble will clean up iPlayer2
+ }
+
+ TRAPD(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+
+ TMMFSubtitleWindowConfig expectedConfig;
+ expectedConfig.iWindowId = iWindow->WsHandle();
+ expectedConfig.iWindowClipRect = TRect(iWindow->Size());
+ expectedConfig.iDisplayMode = iWindow->DisplayMode();
+ expectedConfig.iRotation = EVideoRotationNone;
+
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->EnableSubtitlesL());
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EnableSubtitlesL failed: %d"), err);
+ return EFail;
+ }
+
+ iPlayer2->DisableSubtitles();
+
+ // enable subtitle again
+ TRAP(err, iPlayer2->EnableSubtitlesL());
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EnableSubtitlesL failed: %d"), err);
+ return EFail;
+ }
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("PlayerPrepareAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ TRAP(err, PlayAndStartSchedulerL());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("PlayAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ // check the return of GetCrpParameter, test controller set crp rect to be same as window clip rect
+ TInt count = SubtitleCrpDataCount();
+ if (count != 1)
+ {
+ ERR_PRINTF2(_L("Unexpected iSubtitleUtility.iCrpDataArray.Count(), count=%d."), count);
+ return EFail;
+ }
+
+ if (!CheckSubtitleData(expectedConfig.iWindowId, dummyCrpId, expectedConfig.iWindowClipRect))
+ {
+ return EFail;
+ }
+
+ iPlayer2->DisableSubtitles();
+
+ CheckSubtitleCallCountL(EMMFTestEnableSubtitleCallCount, 2);
+ CheckSubtitleCallCountL(EMMFTestDisableSubtitleCallCount, 2);
+ CheckSubtitleCallCountL(EMMFTestAddSubtitleConfigCallCount, 2);
+ CheckSubtitleCallCountL(EMMFTestRemoveSubtitleConfigCallCount, 2);
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 2);
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 2);
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
+
+/*
+Redraw test
+MM-MMF-VCLNT-U-1302-HP
+*/
+CTestStepVidPlayerSubtitleRedraw* CTestStepVidPlayerSubtitleRedraw::NewL(const TDesC& aTestName)
+ {
+ CTestStepVidPlayerSubtitleRedraw* self = new(ELeave) CTestStepVidPlayerSubtitleRedraw(aTestName);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleRedraw::CTestStepVidPlayerSubtitleRedraw(const TDesC& aTestName)
+ :CTestStepVidPlayerSubtitleAvailable(aTestName)
+ {
+ }
+
+TVerdict CTestStepVidPlayerSubtitleRedraw::DoTestStepL()
+ {
+ const TInt unexpectedWindowId = 1234;
+
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive; // postamble will clean up iPlayer2
+ }
+
+ TRAPD(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+
+ TMMFSubtitleWindowConfig expectedConfig;
+ expectedConfig.iWindowId = iWindow->WsHandle();
+ expectedConfig.iWindowClipRect = TRect(iWindow->Size());
+ expectedConfig.iDisplayMode = iWindow->DisplayMode();
+ expectedConfig.iRotation = EVideoRotationNone;
+
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->EnableSubtitlesL());
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EnableSubtitlesL failed: %d"), err);
+ return EFail;
+ }
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("PlayerPrepareAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ // test redraw subtitle
+ iPlayer2->RedrawSubtitle(*iWindow, expectedConfig.iWindowClipRect);
+
+ // test redraw subtitle with a rect that does not intersect subtitle region
+ TRect testRect(expectedConfig.iWindowClipRect.iBr, TSize(50, 50));
+ iPlayer2->RedrawSubtitle(*iWindow, testRect);
+
+ // simulate crp ready event with unexpected window handle
+ TPckgBuf<TInt> intPckg(unexpectedWindowId);
+ err = iPlayer2->CustomCommandSync(iDestPckg, EMMFTestCustomCommandSimulateCrpReadyEvent, intPckg, KNullDesC8);
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("EMMFTestCustomCommandCrpReadyEventCount failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ // play prepare again after simulating unexpected window handle
+ TRAP(err, PlayerPrepareAndStartScheduler());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("PlayerPrepareAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ // check the return of GetCrpParameter, test controller set crp rect to be same as window clip rect
+ TInt count = SubtitleCrpDataCount();
+ if (count != 1)
+ {
+ ERR_PRINTF2(_L("Unexpected iSubtitleUtility.iCrpDataArray.Count(), count=%d."), count);
+ return EFail;
+ }
+
+ if (!CheckSubtitleData(expectedConfig.iWindowId, dummyCrpId, expectedConfig.iWindowClipRect))
+ {
+ return EFail;
+ }
+
+ iPlayer2->DisableSubtitles();
+
+ CheckSubtitleCallCountL(EMMFTestEnableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestDisableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestAddSubtitleConfigCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestRemoveSubtitleConfigCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 2);
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
+
+/*
+RedrawSubtitle when CRP ready is not received
+MM-MMF-VCLNT-U-1303-HP
+*/
+CTestStepVidPlayerSubtitleRedrawNotReady* CTestStepVidPlayerSubtitleRedrawNotReady::NewL(const TDesC& aTestName)
+ {
+ CTestStepVidPlayerSubtitleRedrawNotReady* self = new(ELeave) CTestStepVidPlayerSubtitleRedrawNotReady(aTestName);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleRedrawNotReady::CTestStepVidPlayerSubtitleRedrawNotReady(const TDesC& aTestName)
+ :CTestStepVidPlayerSubtitleAvailable(aTestName)
+ {
+ }
+
+TVerdict CTestStepVidPlayerSubtitleRedrawNotReady::DoTestStepL()
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive; // postamble will clean up iPlayer2
+ }
+
+ TRAPD(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+
+ TMMFSubtitleWindowConfig expectedConfig;
+ expectedConfig.iWindowId = iWindow->WsHandle();
+ expectedConfig.iWindowClipRect = TRect(iWindow->Size());
+ expectedConfig.iDisplayMode = iWindow->DisplayMode();
+ expectedConfig.iRotation = EVideoRotationNone;
+
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->EnableSubtitlesL());
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EnableSubtitlesL failed: %d"), err);
+ return EFail;
+ }
+
+ // redraw subtitle test when CRP ready event is not received
+ iPlayer2->RedrawSubtitle(*iWindow, expectedConfig.iWindowClipRect);
+
+ // check the crp data array in subtitle utility, 1 count is expected because 1 window was added successfully
+ TInt count = SubtitleCrpDataCount();
+ if (count != 1)
+ {
+ ERR_PRINTF2(_L("Unexpected iSubtitleUtility.iCrpDataArray.Count(), count=%d."), count);
+ return EFail;
+ }
+
+ // expecte crp rect to be 0,0,0,0 because crp ready is not received yet
+ TRect expectedCrpRect(0, 0, 0, 0);
+ if (!CheckSubtitleData(expectedConfig.iWindowId, 0, expectedCrpRect))
+ {
+ return EFail;
+ }
+
+ iPlayer2->DisableSubtitles();
+
+ CheckSubtitleCallCountL(EMMFTestEnableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestDisableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestAddSubtitleConfigCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestRemoveSubtitleConfigCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 0);
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
+
+/*
+Enable and disable subtitle with multiple window
+MM-MMF-VCLNT-U-1304-HP
+*/
+CTestStepVidPlayerSubtitleMultiWindow* CTestStepVidPlayerSubtitleMultiWindow::NewL(const TDesC& aTestName)
+ {
+ CTestStepVidPlayerSubtitleMultiWindow* self = new(ELeave) CTestStepVidPlayerSubtitleMultiWindow(aTestName);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleMultiWindow::CTestStepVidPlayerSubtitleMultiWindow(const TDesC& aTestName)
+ :CTestStepVidPlayerSubtitleAvailable(aTestName)
+ {
+ }
+
+TVerdict CTestStepVidPlayerSubtitleMultiWindow::DoTestStepPostambleL()
+ {
+ if (iWindow2)
+ {
+ iWindow2->Close();
+ delete iWindow2;
+ iWindow2 = NULL;
+ }
+ if (iWindow3)
+ {
+ iWindow3->Close();
+ delete iWindow3;
+ iWindow3 = NULL;
+ }
+ iRootWindow2.Close();
+ iRootWindow3.Close();
+
+ delete iScreen2;
+ iScreen2 = NULL;
+ delete iScreen3;
+ iScreen3 = NULL;
+
+ return CTestStepVidPlayerSubtitleAvailable::DoTestStepPostambleL();
+ }
+
+// Init window 2 only if aWindowTwoOnly = ETrue
+// Init window 2 and 3 if aWindowTwoOnly = EFalse
+void CTestStepVidPlayerSubtitleMultiWindow::InitWindowsL(TBool aWindowTwoOnly)
+ {
+ iScreen2 = new (ELeave) CWsScreenDevice(iWs); // make device for this session
+ User::LeaveIfError(iScreen2->Construct(1)); // and complete its construction
+ iRootWindow2 = RWindowGroup(iWs);
+ User::LeaveIfError(iRootWindow2.Construct((TUint32)(this) + 2, ETrue, iScreen2));
+
+ iWindow2 = new(ELeave) RWindow(iWs);
+ User::LeaveIfError(iWindow2->Construct(iRootWindow2, ((TUint32)(this)) + 3));
+ iWindow2->SetRequiredDisplayMode(EColor16MA);
+ iWindow2->SetExtent(TPoint(0,0), TSize(400,200));
+ iWindow2->SetVisible(ETrue);
+ iWindow2->Activate();
+
+ if (!aWindowTwoOnly)
+ {
+ iScreen3 = new (ELeave) CWsScreenDevice(iWs); // make device for this session
+ User::LeaveIfError(iScreen3->Construct(2)); // and complete its construction
+ iRootWindow3 = RWindowGroup(iWs);
+ User::LeaveIfError(iRootWindow3.Construct((TUint32)(this) + 4, ETrue, iScreen3));
+
+ iWindow3 = new(ELeave) RWindow(iWs);
+ User::LeaveIfError(iWindow3->Construct(iRootWindow3, ((TUint32)(this)) + 5));
+ iWindow3->SetRequiredDisplayMode(EColor16MA);
+ iWindow3->SetExtent(TPoint(50,50), TSize(400,200));
+ iWindow3->SetVisible(ETrue);
+ iWindow3->Activate();
+ }
+
+ iWs.Flush();
+ }
+
+TVerdict CTestStepVidPlayerSubtitleMultiWindow::DoTestStepL()
+ {
+ InitWindowsL();
+
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive; // postamble will clean up iPlayer2
+ }
+
+ TRAPD(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+
+ TMMFSubtitleWindowConfig expectedConfig;
+ expectedConfig.iWindowId = iWindow->WsHandle();
+ expectedConfig.iWindowClipRect = TRect(iWindow->Size());
+ expectedConfig.iDisplayMode = iWindow->DisplayMode();
+ expectedConfig.iRotation = EVideoRotationNone;
+
+ // add expected config for window1
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // add expected config for window2
+ TRect window2ClipRect(100, 100, 200, 200);
+ expectedConfig.iWindowId = iWindow2->WsHandle();
+ expectedConfig.iWindowClipRect = window2ClipRect;
+ expectedConfig.iDisplayMode = iWindow2->DisplayMode();
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // add first window
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // add second window
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen2, *iWindow2, TRect(iWindow->Size()), window2ClipRect));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // add third window
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen3, *iWindow3));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->EnableSubtitlesL());
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EnableSubtitlesL failed: %d"), err);
+ return EFail;
+ }
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("PlayerPrepareAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ // test redraw subtitle on third window, which doesn't not display subtitle
+ iPlayer2->RedrawSubtitle(*iWindow3, expectedConfig.iWindowClipRect);
+
+ // play prepare again
+ TRAP(err, PlayerPrepareAndStartScheduler());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("PlayerPrepareAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ // check the return of GetCrpParameter, test controller set crp rect to be same as window clip rect
+ TInt count = SubtitleCrpDataCount();
+ if (count != 2)
+ {
+ ERR_PRINTF2(_L("Unexpected iSubtitleUtility.iCrpDataArray.Count(), count=%d."), count);
+ return EFail;
+ }
+
+ if (!CheckSubtitleData(iWindow->WsHandle(), dummyCrpId, TRect(iWindow->Size())))
+ {
+ return EFail;
+ }
+ if (!CheckSubtitleData(iWindow2->WsHandle(), dummyCrpId, window2ClipRect))
+ {
+ return EFail;
+ }
+
+ iPlayer2->DisableSubtitles();
+
+ CheckSubtitleCallCountL(EMMFTestEnableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestDisableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestAddSubtitleConfigCallCount, 3);
+ CheckSubtitleCallCountL(EMMFTestRemoveSubtitleConfigCallCount, 2);
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 2);
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 2);
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
+
+
+/*
+Enable and disable subtitle with multiple window
+MM-MMF-VCLNT-U-1305-HP
+*/
+CTestStepVidPlayerSubtitleAddRemoveMultiWindow* CTestStepVidPlayerSubtitleAddRemoveMultiWindow::NewL(const TDesC& aTestName)
+ {
+ CTestStepVidPlayerSubtitleAddRemoveMultiWindow* self = new(ELeave) CTestStepVidPlayerSubtitleAddRemoveMultiWindow(aTestName);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleAddRemoveMultiWindow::CTestStepVidPlayerSubtitleAddRemoveMultiWindow(const TDesC& aTestName)
+ :CTestStepVidPlayerSubtitleMultiWindow(aTestName)
+ {
+ }
+
+TVerdict CTestStepVidPlayerSubtitleAddRemoveMultiWindow::DoTestStepL()
+ {
+ InitWindowsL();
+
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive; // postamble will clean up iPlayer2
+ }
+
+ TRAPD(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+
+ TMMFSubtitleWindowConfig expectedConfig;
+ expectedConfig.iWindowId = iWindow->WsHandle();
+ expectedConfig.iWindowClipRect = TRect(iWindow->Size());
+ expectedConfig.iDisplayMode = iWindow->DisplayMode();
+ expectedConfig.iRotation = EVideoRotationNone;
+
+ // add expected config for window1
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // add first window
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->EnableSubtitlesL());
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EnableSubtitlesL failed: %d"), err);
+ return EFail;
+ }
+
+ // add expected config for window2
+ TRect window2ClipRect(100, 100, 200, 200);
+ expectedConfig.iWindowId = iWindow2->WsHandle();
+ expectedConfig.iWindowClipRect = window2ClipRect;
+ expectedConfig.iDisplayMode = iWindow2->DisplayMode();
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // add second window
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen2, *iWindow2, TRect(iWindow->Size()), window2ClipRect));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // add third window
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen3, *iWindow3));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("PlayerPrepareAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ // redraw on second window is ok
+ iPlayer2->RedrawSubtitle(*iWindow2, window2ClipRect);
+
+ // test redraw subtitle on third window, which doesn't not display subtitle
+ iPlayer2->RedrawSubtitle(*iWindow3, expectedConfig.iWindowClipRect);
+
+ // play prepare again
+ TRAP(err, PlayerPrepareAndStartScheduler());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("PlayerPrepareAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ // check crp data array, 2 subtitle data are expected
+ TInt count = SubtitleCrpDataCount();
+ if (count != 2)
+ {
+ ERR_PRINTF2(_L("Unexpected iSubtitleUtility.iCrpDataArray.Count(), count=%d."), count);
+ return EFail;
+ }
+
+ if (!CheckSubtitleData(iWindow->WsHandle(), dummyCrpId, TRect(iWindow->Size())))
+ {
+ return EFail;
+ }
+ if (!CheckSubtitleData(iWindow2->WsHandle(), dummyCrpId, window2ClipRect))
+ {
+ return EFail;
+ }
+
+ // remove display window
+ iPlayer2->RemoveDisplayWindow(*iWindow2);
+ iPlayer2->RemoveDisplayWindow(*iWindow3);
+
+ // try redraw subtitle on second window after removal, call will be ignored but won't fail or panic
+ iPlayer2->RedrawSubtitle(*iWindow2, window2ClipRect);
+
+ // check crp data array, 1 subtitle data is expected after remove display window
+ count = SubtitleCrpDataCount();
+ if (count != 1)
+ {
+ ERR_PRINTF2(_L("Unexpected iSubtitleUtility.iCrpDataArray.Count(), count=%d."), count);
+ return EFail;
+ }
+
+ if (!CheckSubtitleData(iWindow->WsHandle(), dummyCrpId, TRect(iWindow->Size())))
+ {
+ return EFail;
+ }
+
+ CheckSubtitleCallCountL(EMMFTestEnableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestDisableSubtitleCallCount, 0);
+ CheckSubtitleCallCountL(EMMFTestAddSubtitleConfigCallCount, 3);
+ CheckSubtitleCallCountL(EMMFTestRemoveSubtitleConfigCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 2);
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 2);
+
+ iPlayer2->DisableSubtitles();
+
+ CheckSubtitleCallCountL(EMMFTestEnableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestDisableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestAddSubtitleConfigCallCount, 3);
+ CheckSubtitleCallCountL(EMMFTestRemoveSubtitleConfigCallCount, 2);
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 2);
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 2);
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
+
+
+/*
+Enable subtitle with multiple window and change rotation or clip rect setting
+MM-MMF-VCLNT-U-1306-MP, MM-MMF-VCLNT-U-1307-MP
+*/
+CTestStepVidPlayerSubtitleMultiWindowSettingChange* CTestStepVidPlayerSubtitleMultiWindowSettingChange::NewL(const TDesC& aTestName, TBool aTestRotation)
+ {
+ CTestStepVidPlayerSubtitleMultiWindowSettingChange* self = new(ELeave) CTestStepVidPlayerSubtitleMultiWindowSettingChange(aTestName, aTestRotation);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleMultiWindowSettingChange::CTestStepVidPlayerSubtitleMultiWindowSettingChange(const TDesC& aTestName, TBool aTestRotation)
+ :CTestStepVidPlayerSubtitleMultiWindow(aTestName), iTestRotation(aTestRotation)
+ {
+ }
+
+TVerdict CTestStepVidPlayerSubtitleMultiWindowSettingChange::DoTestStepL()
+ {
+ InitWindowsL(ETrue);
+
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive; // postamble will clean up iPlayer2
+ }
+
+ TRAPD(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+
+ TMMFSubtitleWindowConfig expectedConfig;
+ expectedConfig.iWindowId = iWindow->WsHandle();
+ expectedConfig.iWindowClipRect = TRect(iWindow->Size());
+ expectedConfig.iDisplayMode = iWindow->DisplayMode();
+ expectedConfig.iRotation = EVideoRotationNone;
+
+ // add expected config for window1
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // add first window
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // add expected config for window2
+ TRect window2ClipRect(100, 100, 200, 200);
+ TMMFSubtitleWindowConfig expectedConfig2;
+ expectedConfig2.iWindowId = iWindow2->WsHandle();
+ expectedConfig2.iWindowClipRect = window2ClipRect;
+ expectedConfig2.iDisplayMode = iWindow2->DisplayMode();
+ expectedConfig2.iRotation = EVideoRotationNone;
+ err = SetSubtitleDisplayCheck(expectedConfig2);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // add second window
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen2, *iWindow2, TRect(iWindow->Size()), window2ClipRect));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->EnableSubtitlesL());
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EnableSubtitlesL failed: %d"), err);
+ return EFail;
+ }
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("PlayerPrepareAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ if (iTestRotation)
+ {
+ // MM-MMF-VCLNT-U-1306-MP test rotation
+
+ // First test changing rotation for 1 window
+ // Update expected config for window1
+ expectedConfig.iRotation = EVideoRotationClockwise270;
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ iPlayer2->SetRotationL(*iWindow, EVideoRotationClockwise270);
+
+ TEST(EVideoRotationClockwise270 == iPlayer2->RotationL(*iWindow));
+ TEST(EVideoRotationNone == iPlayer2->RotationL(*iWindow2));
+ CheckSubtitleCallCountL(EMMFTestUpdateSubtitleConfigCallCount, 1);
+
+ // test changing rotation for all windows, but actually only one window is updated because setting
+ // is already changed in the other window
+ // Update expected config for window2
+ expectedConfig2.iRotation = EVideoRotationClockwise270;
+ err = SetSubtitleDisplayCheck(expectedConfig2);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ static_cast<CVideoPlayerUtility*>(iPlayer2)->SetRotationL(EVideoRotationClockwise270);
+
+ TEST(EVideoRotationClockwise270 == iPlayer2->RotationL(*iWindow));
+ TEST(EVideoRotationClockwise270 == iPlayer2->RotationL(*iWindow2));
+ CheckSubtitleCallCountL(EMMFTestUpdateSubtitleConfigCallCount, 2);
+
+ // test changing rotation for all windows
+ // Update expected config for window1
+ expectedConfig.iRotation = EVideoRotationClockwise180;
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+ // update expected config for window2
+ expectedConfig2.iRotation = EVideoRotationClockwise180;
+ err = SetSubtitleDisplayCheck(expectedConfig2);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ static_cast<CVideoPlayerUtility*>(iPlayer2)->SetRotationL(EVideoRotationClockwise180);
+
+ TEST(EVideoRotationClockwise180 == iPlayer2->RotationL(*iWindow));
+ TEST(EVideoRotationClockwise180 == iPlayer2->RotationL(*iWindow2));
+ CheckSubtitleCallCountL(EMMFTestUpdateSubtitleConfigCallCount, 4);
+ }
+ else
+ {
+ // MM-MMF-VCLNT-U-1307-MP test window clip rect
+
+ // Update expected config for window1
+ TRect window1ClipRect(50, 50, 150, 150);
+ expectedConfig.iWindowClipRect = window1ClipRect;
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ iPlayer2->SetWindowClipRectL(*iWindow, window1ClipRect);
+ CheckSubtitleCallCountL(EMMFTestUpdateSubtitleConfigCallCount, 1);
+ }
+
+ // redraw before crp ready is received
+ iPlayer2->RedrawSubtitle(*iWindow, expectedConfig.iWindowClipRect);
+
+ // play prepare again
+ TRAP(err, PlayerPrepareAndStartScheduler());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("PlayerPrepareAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ // redraw on windows are ok
+ iPlayer2->RedrawSubtitle(*iWindow, expectedConfig.iWindowClipRect);
+ iPlayer2->RedrawSubtitle(*iWindow2, expectedConfig.iWindowClipRect);
+
+ // check crp data array, 2 subtitle data are expected
+ TInt count = SubtitleCrpDataCount();
+ if (count != 2)
+ {
+ ERR_PRINTF2(_L("Unexpected iSubtitleUtility.iCrpDataArray.Count(), count=%d."), count);
+ return EFail;
+ }
+
+ if (!CheckSubtitleData(iWindow->WsHandle(), dummyCrpId, expectedConfig.iWindowClipRect))
+ {
+ return EFail;
+ }
+ if (!CheckSubtitleData(iWindow2->WsHandle(), dummyCrpId, expectedConfig2.iWindowClipRect))
+ {
+ return EFail;
+ }
+
+ CheckSubtitleCallCountL(EMMFTestEnableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestDisableSubtitleCallCount, 0);
+ CheckSubtitleCallCountL(EMMFTestAddSubtitleConfigCallCount, 2);
+ CheckSubtitleCallCountL(EMMFTestRemoveSubtitleConfigCallCount, 0);
+ if (iTestRotation)
+ {
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 6);
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 6);
+ }
+ else
+ {
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 3);
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 3);
+ }
+
+ iPlayer2->DisableSubtitles();
+
+ CheckSubtitleCallCountL(EMMFTestEnableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestDisableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestAddSubtitleConfigCallCount, 2);
+ CheckSubtitleCallCountL(EMMFTestRemoveSubtitleConfigCallCount, 2);
+ if (iTestRotation)
+ {
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 6);
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 6);
+ }
+ else
+ {
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 3);
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 3);
+ }
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
+
+/*
+Subtitle language test
+MM-MMF-VCLNT-U-1308-HP
+*/
+CTestStepVidPlayerSubtitleLanguage* CTestStepVidPlayerSubtitleLanguage::NewL(const TDesC& aTestName)
+ {
+ CTestStepVidPlayerSubtitleLanguage* self = new(ELeave) CTestStepVidPlayerSubtitleLanguage(aTestName);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleLanguage::CTestStepVidPlayerSubtitleLanguage(const TDesC& aTestName)
+ :CTestStepVidPlayerSubtitleAvailable(aTestName)
+ {
+ }
+
+TVerdict CTestStepVidPlayerSubtitleLanguage::DoTestStepL()
+ {
+ const TLanguage KExpectedLang0 = ELangEnglish;
+ const TLanguage KExpectedLang1 = ELangFrench;
+ const TLanguage KExpectedLang2 = ELangSpanish;
+
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive; // postamble will clean up iPlayer2
+ }
+
+ TRAPD(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+
+ TMMFSubtitleWindowConfig expectedConfig;
+ expectedConfig.iWindowId = iWindow->WsHandle();
+ expectedConfig.iWindowClipRect = TRect(iWindow->Size());
+ expectedConfig.iDisplayMode = iWindow->DisplayMode();
+ expectedConfig.iRotation = EVideoRotationNone;
+
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->EnableSubtitlesL());
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EnableSubtitlesL failed: %d"), err);
+ return EFail;
+ }
+
+ TArray<TLanguage> languages = iPlayer2->SupportedSubtitleLanguagesL();
+
+ if (languages.Count() != 3)
+ {
+ ERR_PRINTF2(_L("Unexpected language count, count=%d, expected 3."), languages.Count());
+ return EFail;
+ }
+ TEST(KExpectedLang0 == languages[0]);
+ TEST(KExpectedLang1 == languages[1]);
+ TEST(KExpectedLang2 == languages[2]);
+
+ TLanguage lang = iPlayer2->SubtitleLanguageL();
+ TEST(KExpectedLang0 == lang);
+
+ iPlayer2->SetSubtitleLanguageL(KExpectedLang2);
+ lang = iPlayer2->SubtitleLanguageL();
+ TEST(KExpectedLang2 == lang);
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
+
+/*
+Enable subtitle with one window and change rotation or clip rect setting
+MM-MMF-VCLNT-U-1309-HP and MM-MMF-VCLNT-U-1310-HP
+*/
+CTestStepVidPlayerSubtitleWindowSettingChange* CTestStepVidPlayerSubtitleWindowSettingChange::NewL(const TDesC& aTestName, TBool aTestRotation)
+ {
+ CTestStepVidPlayerSubtitleWindowSettingChange* self = new(ELeave) CTestStepVidPlayerSubtitleWindowSettingChange(aTestName, aTestRotation);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleWindowSettingChange::CTestStepVidPlayerSubtitleWindowSettingChange(const TDesC& aTestName, TBool aTestRotation)
+ :CTestStepVidPlayerSubtitleAvailable(aTestName), iTestRotation(aTestRotation)
+ {
+ }
+
+TVerdict CTestStepVidPlayerSubtitleWindowSettingChange::DoTestStepL()
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive; // postamble will clean up iPlayer2
+ }
+
+ TRAPD(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+
+ TMMFSubtitleWindowConfig expectedConfig;
+ expectedConfig.iWindowId = iWindow->WsHandle();
+ expectedConfig.iWindowClipRect = TRect(iWindow->Size());
+ expectedConfig.iDisplayMode = iWindow->DisplayMode();
+ expectedConfig.iRotation = EVideoRotationNone;
+
+ // add expected config for
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // add window
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->EnableSubtitlesL());
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EnableSubtitlesL failed: %d"), err);
+ return EFail;
+ }
+
+ TRAP(err, PlayerPrepareAndStartScheduler());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("PlayerPrepareAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ if (iTestRotation)
+ {
+ // MM-MMF-VCLNT-U-1309-HP test rotation
+
+ // First test changing rotation for 1 window
+ // Update expected config for window1
+ expectedConfig.iRotation = EVideoRotationClockwise270;
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ iPlayer2->SetRotationL(*iWindow, EVideoRotationClockwise270);
+ TEST(EVideoRotationClockwise270 == iPlayer2->RotationL(*iWindow));
+ CheckSubtitleCallCountL(EMMFTestUpdateSubtitleConfigCallCount, 1);
+
+ // Setting the same rotation value again does not cause a update
+ iPlayer2->SetRotationL(*iWindow, EVideoRotationClockwise270);
+ TEST(EVideoRotationClockwise270 == iPlayer2->RotationL(*iWindow));
+ CheckSubtitleCallCountL(EMMFTestUpdateSubtitleConfigCallCount, 1);
+
+ // test changing rotation for all windows, when only one window is added
+ // Update expected config for window
+ expectedConfig.iRotation = EVideoRotationClockwise180;
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ static_cast<CVideoPlayerUtility*>(iPlayer2)->SetRotationL(EVideoRotationClockwise180);
+
+ TEST(EVideoRotationClockwise180 == iPlayer2->RotationL(*iWindow));
+ CheckSubtitleCallCountL(EMMFTestUpdateSubtitleConfigCallCount, 2);
+ }
+ else
+ {
+ // MM-MMF-VCLNT-U-1310-HP test window clip rect
+
+ // Update expected config for window
+ TRect windowClipRect(50, 50, 150, 150);
+ expectedConfig.iWindowClipRect = windowClipRect;
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ iPlayer2->SetWindowClipRectL(*iWindow, windowClipRect);
+ CheckSubtitleCallCountL(EMMFTestUpdateSubtitleConfigCallCount, 1);
+
+ // setting the same setting does not cause a update
+ iPlayer2->SetWindowClipRectL(*iWindow, windowClipRect);
+ CheckSubtitleCallCountL(EMMFTestUpdateSubtitleConfigCallCount, 1);
+ }
+
+ // redraw before crp ready is received
+ iPlayer2->RedrawSubtitle(*iWindow, expectedConfig.iWindowClipRect);
+
+ // play prepare again
+ TRAP(err, PlayerPrepareAndStartScheduler());
+ if (err != KErrNone || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("PlayerPrepareAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EFail;
+ }
+
+ // redraw on windows are ok
+ iPlayer2->RedrawSubtitle(*iWindow, expectedConfig.iWindowClipRect);
+
+ // check crp data array, 2 subtitle data are expected
+ TInt count = SubtitleCrpDataCount();
+ if (count != 1)
+ {
+ ERR_PRINTF2(_L("Unexpected iSubtitleUtility.iCrpDataArray.Count(), count=%d."), count);
+ return EFail;
+ }
+
+ if (!CheckSubtitleData(iWindow->WsHandle(), dummyCrpId, expectedConfig.iWindowClipRect))
+ {
+ return EFail;
+ }
+
+ CheckSubtitleCallCountL(EMMFTestEnableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestDisableSubtitleCallCount, 0);
+ CheckSubtitleCallCountL(EMMFTestAddSubtitleConfigCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestRemoveSubtitleConfigCallCount, 0);
+ if (iTestRotation)
+ {
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 3);
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 3);
+ }
+ else
+ {
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 2);
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 2);
+ }
+
+ iPlayer2->DisableSubtitles();
+
+ CheckSubtitleCallCountL(EMMFTestEnableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestDisableSubtitleCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestAddSubtitleConfigCallCount, 1);
+ CheckSubtitleCallCountL(EMMFTestRemoveSubtitleConfigCallCount, 1);
+ if (iTestRotation)
+ {
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 3);
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 3);
+ }
+ else
+ {
+ CheckSubtitleCallCountL(EMMFTestCrpReadyEventCount, 2);
+ CheckSubtitleCallCountL(EMMFTestGetCrpParamCallCount, 2);
+ }
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
+
+/*
+Subtitle enable negative tests
+MM-MMF-VCLNT-U-1350-CP, MM-MMF-VCLNT-U-1351-CP, MM-MMF-VCLNT-U-1352-MP, MM-MMF-VCLNT-U-1353-CP
+*/
+CTestStepVidPlayerSubtitleEnableNeg* CTestStepVidPlayerSubtitleEnableNeg::NewL(const TDesC& aTestName,
+ TBool aTestSubNotAvailble,
+ TBool aTestSourceNotOpen,
+ TBool aTestEnableTwice,
+ TBool aTestNoDisplayAdded,
+ TInt aExpectedErr)
+ {
+ CTestStepVidPlayerSubtitleEnableNeg* self = new(ELeave) CTestStepVidPlayerSubtitleEnableNeg(aTestName,
+ aTestSubNotAvailble,
+ aTestSourceNotOpen,
+ aTestEnableTwice,
+ aTestNoDisplayAdded,
+ aExpectedErr);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleEnableNeg::CTestStepVidPlayerSubtitleEnableNeg(const TDesC& aTestName,
+ TBool aTestSubNotAvailble,
+ TBool aTestSourceNotOpen,
+ TBool aTestEnableTwice,
+ TBool aTestNoDisplayAdded,
+ TInt aExpectedErr)
+ :CTestStepVidPlayerSubtitleAvailable(aTestName),
+ iTestSubNotAvailable(aTestSubNotAvailble),
+ iTestSourceNotOpen(aTestSourceNotOpen),
+ iTestEnableTwice(aTestEnableTwice),
+ iTestNoDisplayAdded(aTestNoDisplayAdded),
+ iExpectedErr(aExpectedErr)
+ {
+ if (iTestSubNotAvailable)
+ {
+ iFileName.Set(KClockFileName);
+ }
+ }
+
+TVerdict CTestStepVidPlayerSubtitleEnableNeg::DoTestStepL()
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive; // postamble will clean up iPlayer2
+ }
+
+ // test that subtitle is not available
+ TBool subtitleAvail = iPlayer2->SubtitlesAvailable();
+ if (subtitleAvail)
+ {
+ ERR_PRINTF1(_L("SubtitleAvailable return ETrue."));
+ return EFail;
+ }
+
+ TInt err(KErrNone);
+ if (!iTestSourceNotOpen)
+ {
+ TRAP(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+ }
+
+ if (!iTestSourceNotOpen && !iTestNoDisplayAdded)
+ {
+ TMMFSubtitleWindowConfig expectedConfig;
+ expectedConfig.iWindowId = iWindow->WsHandle();
+ expectedConfig.iWindowClipRect = TRect(iWindow->Size());
+ expectedConfig.iDisplayMode = iWindow->DisplayMode();
+ expectedConfig.iRotation = EVideoRotationNone;
+
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+ }
+
+ // test that subtitle availability
+ subtitleAvail = iPlayer2->SubtitlesAvailable();
+ if (iTestSubNotAvailable || iTestSourceNotOpen)
+ {
+ if (subtitleAvail)
+ {
+ ERR_PRINTF1(_L("SubtitleAvailable return ETrue."));
+ return EFail;
+ }
+ }
+ else
+ {
+ if (!subtitleAvail)
+ {
+ ERR_PRINTF1(_L("SubtitleAvailable return EFalse."));
+ return EFail;
+ }
+ }
+
+ TRAP(err, iPlayer2->EnableSubtitlesL());
+ if (!iTestEnableTwice)
+ {
+ if (err != iExpectedErr)
+ {
+ ERR_PRINTF3(_L("Test failed: err=%d, iExpecteErr=%d"), err, iExpectedErr);
+ return EFail;
+ }
+ }
+ else
+ {
+ TEST(KErrNone == err);
+ TRAP(err, iPlayer2->EnableSubtitlesL());
+ if (err != iExpectedErr)
+ {
+ ERR_PRINTF3(_L("Test failed: err=%d, iExpecteErr=%d"), err, iExpectedErr);
+ return EFail;
+ }
+ }
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
+
+/*
+Test Subtitle language with subtitle not enabled
+MM-MMF-VCLNT-U-1354-HP, MM-MMF-VCLNT-U-1355-HP, MM-MMF-VCLNT-U-1356-HP
+*/
+CTestStepVidPlayerSubtitleLangNotEnable* CTestStepVidPlayerSubtitleLangNotEnable::NewL(const TDesC& aTestName,
+ TBool aTestGetSupportedLang,
+ TBool aTestGetLang,
+ TBool aTestSetLang)
+ {
+ CTestStepVidPlayerSubtitleLangNotEnable* self = new(ELeave) CTestStepVidPlayerSubtitleLangNotEnable(aTestName,
+ aTestGetSupportedLang,
+ aTestGetLang,
+ aTestSetLang);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleLangNotEnable::CTestStepVidPlayerSubtitleLangNotEnable(const TDesC& aTestName,
+ TBool aTestGetSupportedLang,
+ TBool aTestGetLang,
+ TBool aTestSetLang)
+ :CTestStepVidPlayerSubtitleAvailable(aTestName),
+ iTestGetSupportedLang(aTestGetSupportedLang),
+ iTestGetLang(aTestGetLang),
+ iTestSetLang(aTestSetLang)
+ {
+ }
+
+TVerdict CTestStepVidPlayerSubtitleLangNotEnable::DoTestStepL()
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive; // postamble will clean up iPlayer2
+ }
+
+ TRAPD(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+
+ if (iTestGetSupportedLang)
+ {
+ TRAP(err, (void) iPlayer2->SupportedSubtitleLanguagesL()); // expect leave, so ignore return value
+ if (KErrNotReady != err)
+ {
+ ERR_PRINTF2(_L("Test SupportedSubtitleLanguagesL failed, expected KErrNotReady, err=%d."), err);
+ return EFail;
+ }
+ }
+ else if (iTestGetLang)
+ {
+ TRAP(err, (void) iPlayer2->SubtitleLanguageL()); // expect leave, so ignore return value
+ if (KErrNotReady != err)
+ {
+ ERR_PRINTF2(_L("Test SubtitleLanguageL failed, expected KErrNotReady, err=%d."), err);
+ return EFail;
+ }
+ }
+ else if (iTestSetLang)
+ {
+ TRAP(err, iPlayer2->SetSubtitleLanguageL(ELangFrench));
+ if (KErrNotReady != err)
+ {
+ ERR_PRINTF2(_L("Test SetSubtitleLanguageL failed, expected KErrNotReady, err=%d."), err);
+ return EFail;
+ }
+ }
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
+
+/*
+Subtitle language not available test
+MM-MMF-VCLNT-U-1357-HP
+*/
+CTestStepVidPlayerSubtitleLangNotAvail* CTestStepVidPlayerSubtitleLangNotAvail::NewL(const TDesC& aTestName)
+ {
+ CTestStepVidPlayerSubtitleLangNotAvail* self = new(ELeave) CTestStepVidPlayerSubtitleLangNotAvail(aTestName);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleLangNotAvail::CTestStepVidPlayerSubtitleLangNotAvail(const TDesC& aTestName)
+ :CTestStepVidPlayerSubtitleAvailable(aTestName)
+ {
+ }
+
+TVerdict CTestStepVidPlayerSubtitleLangNotAvail::DoTestStepL()
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive; // postamble will clean up iPlayer2
+ }
+
+ TRAPD(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+
+ TMMFSubtitleWindowConfig expectedConfig;
+ expectedConfig.iWindowId = iWindow->WsHandle();
+ expectedConfig.iWindowClipRect = TRect(iWindow->Size());
+ expectedConfig.iDisplayMode = iWindow->DisplayMode();
+ expectedConfig.iRotation = EVideoRotationNone;
+
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // Send command to controller to make subtitle language not available
+ err = iPlayer2->CustomCommandSync(iDestPckg, EMMFTestCustomCommandSetLanguageNotAvail, KNullDesC8, KNullDesC8);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EMMFTestCustomCommandSetLanguageNotAvail failed, err=%d."), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->EnableSubtitlesL());
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EnableSubtitlesL failed: %d"), err);
+ return EFail;
+ }
+
+ TArray<TLanguage> languages = iPlayer2->SupportedSubtitleLanguagesL();
+
+ if (languages.Count() != 0)
+ {
+ ERR_PRINTF2(_L("Unexpected language count, count=%d, expected 0."), languages.Count());
+ return EFail;
+ }
+
+ TLanguage lang = iPlayer2->SubtitleLanguageL();
+ TEST(ELangNone == lang);
+
+ TRAP(err, iPlayer2->SetSubtitleLanguageL(ELangFrench));
+ if (err != KErrNotSupported)
+ {
+ ERR_PRINTF2(_L("Unexpected SetSubtitleLanguageL err, err=%d, expected KErrNotSupported."), err);
+ return EFail;
+ }
+
+ lang = iPlayer2->SubtitleLanguageL();
+ TEST(ELangNone == lang);
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
+
+/*
+Test RedrawSubtitle when subtitle is not enabled
+MM-MMF-VCLNT-U-1358-LP
+*/
+CTestStepVidPlayerSubtitleNotEnabledRedraw* CTestStepVidPlayerSubtitleNotEnabledRedraw::NewL(const TDesC& aTestName)
+ {
+ CTestStepVidPlayerSubtitleNotEnabledRedraw* self = new(ELeave) CTestStepVidPlayerSubtitleNotEnabledRedraw(aTestName);
+ return self;
+ }
+
+CTestStepVidPlayerSubtitleNotEnabledRedraw::CTestStepVidPlayerSubtitleNotEnabledRedraw(const TDesC& aTestName)
+ :CTestStepVidPlayerSubtitleAvailable(aTestName)
+ {
+ }
+
+TVerdict CTestStepVidPlayerSubtitleNotEnabledRedraw::DoTestStepL()
+ {
+ iPlayer2 = CVideoPlayerUtility2::NewL(*this, EMdaPriorityNormal, EMdaPriorityPreferenceTimeAndQuality);
+
+ if (!PlayerStateStopped())
+ {
+ ERR_PRINTF1(_L("CVideoPlayerUtility2 isn't stopped"));
+ return EInconclusive; // postamble will clean up iPlayer2
+ }
+
+ TRAPD(err, OpenAndStartSchedulerL());
+ if (KErrNone != err || iError != KErrNone)
+ {
+ ERR_PRINTF3(_L("OpenAndStartSchedulerL() failed, err=%d, iError=%d."), err, iError);
+ return EInconclusive;
+ }
+
+ TMMFSubtitleWindowConfig expectedConfig;
+ expectedConfig.iWindowId = iWindow->WsHandle();
+ expectedConfig.iWindowClipRect = TRect(iWindow->Size());
+ expectedConfig.iDisplayMode = iWindow->DisplayMode();
+ expectedConfig.iRotation = EVideoRotationNone;
+
+ err = SetSubtitleDisplayCheck(expectedConfig);
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("SetSubtitleDisplayCheck failed: %d"), err);
+ return EInconclusive;
+ }
+
+ TRAP(err, iPlayer2->AddDisplayWindowL(iWs, *iScreen, *iWindow));
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddDisplayWindow failed: %d"), err);
+ return EInconclusive;
+ }
+
+ // test redraw subtitle without enabling subtitle
+ iPlayer2->RedrawSubtitle(*iWindow, expectedConfig.iWindowClipRect);
+
+ delete iPlayer2;
+ iPlayer2 = NULL;
+
+ return iTestStepResult;
+ }
--- a/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TS_CMMFVideoTestController/Ts_cmmfvideotestcontroller.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TS_CMMFVideoTestController/Ts_cmmfvideotestcontroller.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -318,7 +318,7 @@
User::Leave(KErrNotSupported);
}
-void CMMFTestController::ResetL() //FIXME - replacement for RemoveSourceSink()
+void CMMFTestController::ResetL() //XXX - replacement for RemoveSourceSink()
{
_LIT8(KFuncText, "ResetL Called");
iMemFunctionText = KFuncText;
@@ -703,7 +703,7 @@
if (aRampDuration.Int64() == 10)
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
}
@@ -714,7 +714,7 @@
if (aBalance == 10)
{
- //FIXME, check it's the correct value
+ //XXX, check it's the correct value
}
}
@@ -762,7 +762,7 @@
if (aBalance == 8)
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
}
--- a/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TS_CMMFVideoTestController/Ts_cmmfvideotestcontroller.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TS_CMMFVideoTestController/Ts_cmmfvideotestcontroller.h Mon Aug 23 18:56:36 2010 +0100
@@ -124,7 +124,7 @@
virtual void RemoveDataSourceL(MDataSource& aDataSource);
virtual void RemoveDataSinkL(MDataSink& aDataSink);
virtual void RemoveSourceSinkL();
- virtual void ResetL();//FIXME - replacement for RemoveSourceSink()
+ virtual void ResetL();//XXX - replacement for RemoveSourceSink()
virtual void PrimeL();
virtual void PlayL();
virtual void PauseL();
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TS_CMMFVideoTestController/gceavailable.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,23 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef GCEAVAILABLE_H
+#define GCEAVAILABLE_H
+
+#include <e32std.h>
+
+TBool GCEAvailable();
+
+#endif // GCEAVAILABLE_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TS_CMMFVideoTestController/gceavailable_gce.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,21 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include "gceavailable.h"
+
+TBool GCEAvailable()
+ {
+ return ETrue;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TS_CMMFVideoTestController/gceavailable_nongce.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,21 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include "gceavailable.h"
+
+TBool GCEAvailable()
+ {
+ return EFalse;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TS_CMMFVideoTestController/gceavailable_winscw.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,26 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include "gceavailable.h"
+
+#include <e32svr.h>
+#include <u32hal.h>
+
+TBool GCEAvailable()
+ {
+ TBool gce = EFalse;
+ UserSvr::HalFunction(EHalGroupEmulator, EEmulatorHalBoolProperty, (TAny*)"SYMBIAN_GRAPHICS_USE_GCE", &gce);
+ return gce;
+ }
\ No newline at end of file
--- a/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TS_VideoInput/MmfVideoInput.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/TS_VideoInput/MmfVideoInput.h Mon Aug 23 18:56:36 2010 +0100
@@ -87,11 +87,11 @@
virtual void BufferEmptiedL(CMMFBuffer* aBuffer); //called by MDataSink to pass back emptied buffer to the source
virtual TBool CanCreateSourceBuffer();
virtual CMMFBuffer* CreateSourceBufferL(TMediaId /*aMediaId*/);
- //[TBD] optimal source buffer size creation may depend on the sink buffer & vice versa
+ //XXX optimal source buffer size creation may depend on the sink buffer & vice versa
virtual CMMFBuffer* CreateSourceBufferL(TMediaId aMediaId, CMMFBuffer& /*aSinkBuffer*/)
{return CreateSourceBufferL(aMediaId);};
virtual CMMFBuffer* CreateSourceBufferL(TMediaId /*aMediaId*/, TBool &aReference);
- //[TBD] optimal source buffer size creation may depend on the sink buffer & vice versa
+ //XXX optimal source buffer size creation may depend on the sink buffer & vice versa
virtual CMMFBuffer* CreateSourceBufferL(TMediaId aMediaId, CMMFBuffer& /*aSinkBuffer*/, TBool &aReference)
{return CreateSourceBufferL(aMediaId, aReference);};
virtual TInt SourceThreadLogon(MAsyncEventHandler& aEventHandler);
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/bwins/TSU_MMF_VCLNT_01.DEF Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,140 @@
+EXPORTS
+ ?NewTestSuiteUnitMMFVidClientL@@YAPAVCTestSuiteUnitMMFVidClient@@XZ @ 1 NONAME ; class CTestSuiteUnitMMFVidClient * __cdecl NewTestSuiteUnitMMFVidClientL(void)
+ ?AddMetaDataEntryL@CVideoRecorderUtility@@QAEXABVCMMFMetaDataEntry@@@Z @ 2 NONAME ; void CVideoRecorderUtility::AddMetaDataEntryL(class CMMFMetaDataEntry const &)
+ ?AudioBitRateL@CVideoPlayerUtility@@QBEHXZ @ 3 NONAME ; int CVideoPlayerUtility::AudioBitRateL(void) const
+ ?AudioBitRateL@CVideoRecorderUtility@@QBEHXZ @ 4 NONAME ; int CVideoRecorderUtility::AudioBitRateL(void) const
+ ?AudioEnabledL@CVideoPlayerUtility@@QBEHXZ @ 5 NONAME ; int CVideoPlayerUtility::AudioEnabledL(void) const
+ ?AudioEnabledL@CVideoRecorderUtility@@QBEHXZ @ 6 NONAME ; int CVideoRecorderUtility::AudioEnabledL(void) const
+ ?AudioTypeL@CVideoPlayerUtility@@QBE?AVTFourCC@@XZ @ 7 NONAME ; class TFourCC CVideoPlayerUtility::AudioTypeL(void) const
+ ?AudioTypeL@CVideoRecorderUtility@@QBE?AVTFourCC@@XZ @ 8 NONAME ; class TFourCC CVideoRecorderUtility::AudioTypeL(void) const
+ ?Balance@CVideoPlayerUtility@@QBEHXZ @ 9 NONAME ; int CVideoPlayerUtility::Balance(void) const
+ ?Close@CVideoPlayerUtility@@QAEXXZ @ 10 NONAME ; void CVideoPlayerUtility::Close(void)
+ ?Close@CVideoRecorderUtility@@QAEXXZ @ 11 NONAME ; void CVideoRecorderUtility::Close(void)
+ ?ControllerImplementationInformationL@CVideoPlayerUtility@@QAEABVCMMFControllerImplementationInformation@@XZ @ 12 NONAME ; class CMMFControllerImplementationInformation const & CVideoPlayerUtility::ControllerImplementationInformationL(void)
+ ?ControllerImplementationInformationL@CVideoRecorderUtility@@QAEABVCMMFControllerImplementationInformation@@XZ @ 13 NONAME ; class CMMFControllerImplementationInformation const & CVideoRecorderUtility::ControllerImplementationInformationL(void)
+ ?CustomCommandAsync@CVideoPlayerUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@AAVTRequestStatus@@@Z @ 14 NONAME ; void CVideoPlayerUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &, class TRequestStatus &)
+ ?CustomCommandAsync@CVideoPlayerUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTRequestStatus@@@Z @ 15 NONAME ; void CVideoPlayerUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TRequestStatus &)
+ ?CustomCommandAsync@CVideoRecorderUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@AAVTRequestStatus@@@Z @ 16 NONAME ; void CVideoRecorderUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &, class TRequestStatus &)
+ ?CustomCommandAsync@CVideoRecorderUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTRequestStatus@@@Z @ 17 NONAME ; void CVideoRecorderUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TRequestStatus &)
+ ?CustomCommandSync@CVideoPlayerUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1@Z @ 18 NONAME ; int CVideoPlayerUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &)
+ ?CustomCommandSync@CVideoPlayerUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@@Z @ 19 NONAME ; int CVideoPlayerUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &)
+ ?CustomCommandSync@CVideoRecorderUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1@Z @ 20 NONAME ; int CVideoRecorderUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &)
+ ?CustomCommandSync@CVideoRecorderUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@@Z @ 21 NONAME ; int CVideoRecorderUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &)
+ ?DurationL@CVideoPlayerUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 22 NONAME ; class TTimeIntervalMicroSeconds CVideoPlayerUtility::DurationL(void) const
+ ?DurationL@CVideoRecorderUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 23 NONAME ; class TTimeIntervalMicroSeconds CVideoRecorderUtility::DurationL(void) const
+ ?GainL@CVideoRecorderUtility@@QBEHXZ @ 24 NONAME ; int CVideoRecorderUtility::GainL(void) const
+ ?GetCropRegionL@CVideoPlayerUtility@@QBEXAAVTRect@@@Z @ 25 NONAME ; void CVideoPlayerUtility::GetCropRegionL(class TRect &) const
+ ?GetDRMCustomCommand@CVideoPlayerUtility@@QAEPAVMMMFDRMCustomCommand@@XZ @ 26 NONAME ; class MMMFDRMCustomCommand * CVideoPlayerUtility::GetDRMCustomCommand(void)
+ ?GetFrameL@CVideoPlayerUtility@@QAEXW4TDisplayMode@@@Z @ 27 NONAME ; void CVideoPlayerUtility::GetFrameL(enum TDisplayMode)
+ ?GetFrameL@CVideoPlayerUtility@@QAEXW4TDisplayMode@@W4TIntent@ContentAccess@@@Z @ 28 NONAME ; void CVideoPlayerUtility::GetFrameL(enum TDisplayMode, enum ContentAccess::TIntent)
+ ?GetPriorityL@CVideoRecorderUtility@@QBEXAAHAAW4TMdaPriorityPreference@@@Z @ 29 NONAME ; void CVideoRecorderUtility::GetPriorityL(int &, enum TMdaPriorityPreference &) const
+ ?GetScaleFactorL@CVideoPlayerUtility@@QBEXAAM0AAH@Z @ 30 NONAME ; void CVideoPlayerUtility::GetScaleFactorL(float &, float &, int &) const
+ ?GetSupportedAudioTypesL@CVideoRecorderUtility@@QBEXAAV?$RArray@VTFourCC@@@@@Z @ 31 NONAME ; void CVideoRecorderUtility::GetSupportedAudioTypesL(class RArray<class TFourCC> &) const
+ ?GetSupportedVideoTypesL@CVideoRecorderUtility@@QBEXAAVCDesC8Array@@@Z @ 32 NONAME ; void CVideoRecorderUtility::GetSupportedVideoTypesL(class CDesC8Array &) const
+ ?GetVideoFrameSizeL@CVideoRecorderUtility@@QBEXAAVTSize@@@Z @ 33 NONAME ; void CVideoRecorderUtility::GetVideoFrameSizeL(class TSize &) const
+ ?GetVideoLoadingProgressL@CVideoPlayerUtility@@QAEXAAH@Z @ 34 NONAME ; void CVideoPlayerUtility::GetVideoLoadingProgressL(int &)
+ ?MaxGainL@CVideoRecorderUtility@@QBEHXZ @ 35 NONAME ; int CVideoRecorderUtility::MaxGainL(void) const
+ ?MaxVolume@CVideoPlayerUtility@@QBEHXZ @ 36 NONAME ; int CVideoPlayerUtility::MaxVolume(void) const
+ ?MetaDataEntryL@CVideoPlayerUtility@@QBEPAVCMMFMetaDataEntry@@H@Z @ 37 NONAME ; class CMMFMetaDataEntry * CVideoPlayerUtility::MetaDataEntryL(int) const
+ ?MetaDataEntryL@CVideoRecorderUtility@@QBEPAVCMMFMetaDataEntry@@H@Z @ 38 NONAME ; class CMMFMetaDataEntry * CVideoRecorderUtility::MetaDataEntryL(int) const
+ ?NewL@CVideoPlayerUtility@@SAPAV1@AAVMVideoPlayerUtilityObserver@@HW4TMdaPriorityPreference@@AAVRWsSession@@AAVCWsScreenDevice@@AAVRWindowBase@@ABVTRect@@5@Z @ 39 NONAME ; class CVideoPlayerUtility * CVideoPlayerUtility::NewL(class MVideoPlayerUtilityObserver &, int, enum TMdaPriorityPreference, class RWsSession &, class CWsScreenDevice &, class RWindowBase &, class TRect const &, class TRect const &)
+ ?NewL@CVideoRecorderUtility@@SAPAV1@AAVMVideoRecorderUtilityObserver@@HW4TMdaPriorityPreference@@@Z @ 40 NONAME ; class CVideoRecorderUtility * CVideoRecorderUtility::NewL(class MVideoRecorderUtilityObserver &, int, enum TMdaPriorityPreference)
+ ?NumberOfMetaDataEntriesL@CVideoPlayerUtility@@QBEHXZ @ 41 NONAME ; int CVideoPlayerUtility::NumberOfMetaDataEntriesL(void) const
+ ?NumberOfMetaDataEntriesL@CVideoRecorderUtility@@QBEHXZ @ 42 NONAME ; int CVideoRecorderUtility::NumberOfMetaDataEntriesL(void) const
+ ?OpenDesL@CVideoPlayerUtility@@QAEXABVTDesC8@@VTUid@@@Z @ 43 NONAME ; void CVideoPlayerUtility::OpenDesL(class TDesC8 const &, class TUid)
+ ?OpenDesL@CVideoRecorderUtility@@QAEXAAVTDes8@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 44 NONAME ; void CVideoRecorderUtility::OpenDesL(class TDes8 &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
+ ?OpenFileL@CVideoPlayerUtility@@QAEXABVRFile@@VTUid@@@Z @ 45 NONAME ; void CVideoPlayerUtility::OpenFileL(class RFile const &, class TUid)
+ ?OpenFileL@CVideoPlayerUtility@@QAEXABVTDesC16@@VTUid@@@Z @ 46 NONAME ; void CVideoPlayerUtility::OpenFileL(class TDesC16 const &, class TUid)
+ ?OpenFileL@CVideoPlayerUtility@@QAEXABVTMMSource@@VTUid@@@Z @ 47 NONAME ; void CVideoPlayerUtility::OpenFileL(class TMMSource const &, class TUid)
+ ?OpenFileL@CVideoRecorderUtility@@QAEXABVRFile@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 48 NONAME ; void CVideoRecorderUtility::OpenFileL(class RFile const &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
+ ?OpenFileL@CVideoRecorderUtility@@QAEXABVTDesC16@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 49 NONAME ; void CVideoRecorderUtility::OpenFileL(class TDesC16 const &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
+ ?OpenUrlL@CVideoPlayerUtility@@QAEXABVTDesC16@@HABVTDesC8@@VTUid@@@Z @ 50 NONAME ; void CVideoPlayerUtility::OpenUrlL(class TDesC16 const &, int, class TDesC8 const &, class TUid)
+ ?OpenUrlL@CVideoRecorderUtility@@QAEXABVTDesC16@@HHVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 51 NONAME ; void CVideoRecorderUtility::OpenUrlL(class TDesC16 const &, int, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
+ ?PauseL@CVideoPlayerUtility@@QAEXXZ @ 52 NONAME ; void CVideoPlayerUtility::PauseL(void)
+ ?PauseL@CVideoRecorderUtility@@QAEXXZ @ 53 NONAME ; void CVideoRecorderUtility::PauseL(void)
+ ?Play@CVideoPlayerUtility@@QAEXABVTTimeIntervalMicroSeconds@@0@Z @ 54 NONAME ; void CVideoPlayerUtility::Play(class TTimeIntervalMicroSeconds const &, class TTimeIntervalMicroSeconds const &)
+ ?Play@CVideoPlayerUtility@@QAEXXZ @ 55 NONAME ; void CVideoPlayerUtility::Play(void)
+ ?PositionL@CVideoPlayerUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 56 NONAME ; class TTimeIntervalMicroSeconds CVideoPlayerUtility::PositionL(void) const
+ ?Prepare@CVideoPlayerUtility@@QAEXXZ @ 57 NONAME ; void CVideoPlayerUtility::Prepare(void)
+ ?Prepare@CVideoRecorderUtility@@QAEXXZ @ 58 NONAME ; void CVideoRecorderUtility::Prepare(void)
+ ?PriorityL@CVideoPlayerUtility@@QBEXAAHAAW4TMdaPriorityPreference@@@Z @ 59 NONAME ; void CVideoPlayerUtility::PriorityL(int &, enum TMdaPriorityPreference &) const
+ ?Record@CVideoRecorderUtility@@QAEXXZ @ 60 NONAME ; void CVideoRecorderUtility::Record(void)
+ ?RecordTimeAvailable@CVideoRecorderUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 61 NONAME ; class TTimeIntervalMicroSeconds CVideoRecorderUtility::RecordTimeAvailable(void) const
+ ?RefreshFrameL@CVideoPlayerUtility@@QAEXXZ @ 62 NONAME ; void CVideoPlayerUtility::RefreshFrameL(void)
+ ?RegisterForVideoLoadingNotification@CVideoPlayerUtility@@QAEXAAVMVideoLoadingObserver@@@Z @ 63 NONAME ; void CVideoPlayerUtility::RegisterForVideoLoadingNotification(class MVideoLoadingObserver &)
+ ?RemoveMetaDataEntryL@CVideoRecorderUtility@@QAEXH@Z @ 64 NONAME ; void CVideoRecorderUtility::RemoveMetaDataEntryL(int)
+ ?ReplaceMetaDataEntryL@CVideoRecorderUtility@@QAEXHABVCMMFMetaDataEntry@@@Z @ 65 NONAME ; void CVideoRecorderUtility::ReplaceMetaDataEntryL(int, class CMMFMetaDataEntry const &)
+ ?Reserved1@@YAXXZ @ 66 NONAME ; void Reserved1(void)
+ ?Reserved2@@YAXXZ @ 67 NONAME ; void Reserved2(void)
+ ?RotationL@CVideoPlayerUtility@@QBE?AW4TVideoRotation@@XZ @ 68 NONAME ; enum TVideoRotation CVideoPlayerUtility::RotationL(void) const
+ ?SetAudioBitRateL@CVideoRecorderUtility@@QAEXH@Z @ 69 NONAME ; void CVideoRecorderUtility::SetAudioBitRateL(int)
+ ?SetAudioEnabledL@CVideoRecorderUtility@@QAEXH@Z @ 70 NONAME ; void CVideoRecorderUtility::SetAudioEnabledL(int)
+ ?SetAudioTypeL@CVideoRecorderUtility@@QAEXVTFourCC@@@Z @ 71 NONAME ; void CVideoRecorderUtility::SetAudioTypeL(class TFourCC)
+ ?SetBalanceL@CVideoPlayerUtility@@QAEXH@Z @ 72 NONAME ; void CVideoPlayerUtility::SetBalanceL(int)
+ ?SetCropRegionL@CVideoPlayerUtility@@QAEXABVTRect@@@Z @ 73 NONAME ; void CVideoPlayerUtility::SetCropRegionL(class TRect const &)
+ ?SetDisplayWindowL@CVideoPlayerUtility@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindowBase@@ABVTRect@@3@Z @ 74 NONAME ; void CVideoPlayerUtility::SetDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindowBase &, class TRect const &, class TRect const &)
+ ?SetGainL@CVideoRecorderUtility@@QAEXH@Z @ 75 NONAME ; void CVideoRecorderUtility::SetGainL(int)
+ ?SetMaxClipSizeL@CVideoRecorderUtility@@QAEXH@Z @ 76 NONAME ; void CVideoRecorderUtility::SetMaxClipSizeL(int)
+ ?SetPositionL@CVideoPlayerUtility@@QAEXABVTTimeIntervalMicroSeconds@@@Z @ 77 NONAME ; void CVideoPlayerUtility::SetPositionL(class TTimeIntervalMicroSeconds const &)
+ ?SetPriorityL@CVideoPlayerUtility@@QAEXHW4TMdaPriorityPreference@@@Z @ 78 NONAME ; void CVideoPlayerUtility::SetPriorityL(int, enum TMdaPriorityPreference)
+ ?SetPriorityL@CVideoRecorderUtility@@QAEXHW4TMdaPriorityPreference@@@Z @ 79 NONAME ; void CVideoRecorderUtility::SetPriorityL(int, enum TMdaPriorityPreference)
+ ?SetRotationL@CVideoPlayerUtility@@QAEXW4TVideoRotation@@@Z @ 80 NONAME ; void CVideoPlayerUtility::SetRotationL(enum TVideoRotation)
+ ?SetScaleFactorL@CVideoPlayerUtility@@QAEXMMH@Z @ 81 NONAME ; void CVideoPlayerUtility::SetScaleFactorL(float, float, int)
+ ?SetVideoBitRateL@CVideoRecorderUtility@@QAEXH@Z @ 82 NONAME ; void CVideoRecorderUtility::SetVideoBitRateL(int)
+ ?SetVideoFrameRateL@CVideoPlayerUtility@@QAEXM@Z @ 83 NONAME ; void CVideoPlayerUtility::SetVideoFrameRateL(float)
+ ?SetVideoFrameRateL@CVideoRecorderUtility@@QAEXM@Z @ 84 NONAME ; void CVideoRecorderUtility::SetVideoFrameRateL(float)
+ ?SetVideoFrameSizeL@CVideoRecorderUtility@@QAEXABVTSize@@@Z @ 85 NONAME ; void CVideoRecorderUtility::SetVideoFrameSizeL(class TSize const &)
+ ?SetVideoTypeL@CVideoRecorderUtility@@QAEXABVTDesC8@@@Z @ 86 NONAME ; void CVideoRecorderUtility::SetVideoTypeL(class TDesC8 const &)
+ ?SetVolumeL@CVideoPlayerUtility@@QAEXH@Z @ 87 NONAME ; void CVideoPlayerUtility::SetVolumeL(int)
+ ?Stop@CVideoPlayerUtility@@QAEHXZ @ 88 NONAME ; int CVideoPlayerUtility::Stop(void)
+ ?Stop@CVideoRecorderUtility@@QAEHXZ @ 89 NONAME ; int CVideoRecorderUtility::Stop(void)
+ ?VideoBitRateL@CVideoPlayerUtility@@QBEHXZ @ 90 NONAME ; int CVideoPlayerUtility::VideoBitRateL(void) const
+ ?VideoBitRateL@CVideoRecorderUtility@@QAEHXZ @ 91 NONAME ; int CVideoRecorderUtility::VideoBitRateL(void)
+ ?VideoFormatMimeType@CVideoPlayerUtility@@QBEABVTDesC8@@XZ @ 92 NONAME ; class TDesC8 const & CVideoPlayerUtility::VideoFormatMimeType(void) const
+ ?VideoFormatMimeType@CVideoRecorderUtility@@QBEABVTDesC8@@XZ @ 93 NONAME ; class TDesC8 const & CVideoRecorderUtility::VideoFormatMimeType(void) const
+ ?VideoFrameRateL@CVideoPlayerUtility@@QBEMXZ @ 94 NONAME ; float CVideoPlayerUtility::VideoFrameRateL(void) const
+ ?VideoFrameRateL@CVideoRecorderUtility@@QBEMXZ @ 95 NONAME ; float CVideoRecorderUtility::VideoFrameRateL(void) const
+ ?VideoFrameSizeL@CVideoPlayerUtility@@QBEXAAVTSize@@@Z @ 96 NONAME ; void CVideoPlayerUtility::VideoFrameSizeL(class TSize &) const
+ ?Volume@CVideoPlayerUtility@@QBEHXZ @ 97 NONAME ; int CVideoPlayerUtility::Volume(void) const
+ ?StartDirectScreenAccessL@CVideoPlayerUtility@@QAEXXZ @ 98 NONAME ; void CVideoPlayerUtility::StartDirectScreenAccessL(void)
+ ?StopDirectScreenAccessL@CVideoPlayerUtility@@QAEXXZ @ 99 NONAME ; void CVideoPlayerUtility::StopDirectScreenAccessL(void)
+ ?CancelRegisterAudioResourceNotification@CVideoPlayerUtility@@QAEHVTUid@@@Z @ 100 NONAME ; int CVideoPlayerUtility::CancelRegisterAudioResourceNotification(class TUid)
+ ?RegisterAudioResourceNotification@CVideoPlayerUtility@@QAEHAAVMMMFAudioResourceNotificationCallback@@VTUid@@ABVTDesC8@@@Z @ 101 NONAME ; int CVideoPlayerUtility::RegisterAudioResourceNotification(class MMMFAudioResourceNotificationCallback &, class TUid, class TDesC8 const &)
+ ?WillResumePlay@CVideoPlayerUtility@@QAEHXZ @ 102 NONAME ; int CVideoPlayerUtility::WillResumePlay(void)
+ ?SetInitScreenNumber@CVideoPlayerUtility@@QAEHH@Z @ 103 NONAME ; int CVideoPlayerUtility::SetInitScreenNumber(int)
+ ?AudioChannelsL@CVideoRecorderUtility@@QBEIXZ @ 104 NONAME ; unsigned int CVideoRecorderUtility::AudioChannelsL(void) const
+ ?AudioSampleRateL@CVideoRecorderUtility@@QBEIXZ @ 105 NONAME ; unsigned int CVideoRecorderUtility::AudioSampleRateL(void) const
+ ?GetPixelAspectRatioL@CVideoRecorderUtility@@QBEXAAVTVideoAspectRatio@@@Z @ 106 NONAME ; void CVideoRecorderUtility::GetPixelAspectRatioL(class TVideoAspectRatio &) const
+ ?GetSupportedAudioChannelsL@CVideoRecorderUtility@@QBEXAAV?$RArray@I@@@Z @ 107 NONAME ; void CVideoRecorderUtility::GetSupportedAudioChannelsL(class RArray<unsigned int> &) const
+ ?GetSupportedAudioSampleRatesL@CVideoRecorderUtility@@QBEXAAV?$RArray@I@@@Z @ 108 NONAME ; void CVideoRecorderUtility::GetSupportedAudioSampleRatesL(class RArray<unsigned int> &) const
+ ?GetSupportedPixelAspectRatiosL@CVideoRecorderUtility@@QBEXAAV?$RArray@VTVideoAspectRatio@@@@@Z @ 109 NONAME ; void CVideoRecorderUtility::GetSupportedPixelAspectRatiosL(class RArray<class TVideoAspectRatio> &) const
+ ?SetAudioChannelsL@CVideoRecorderUtility@@QAEXI@Z @ 110 NONAME ; void CVideoRecorderUtility::SetAudioChannelsL(unsigned int)
+ ?SetAudioSampleRateL@CVideoRecorderUtility@@QAEXI@Z @ 111 NONAME ; void CVideoRecorderUtility::SetAudioSampleRateL(unsigned int)
+ ?SetPixelAspectRatioL@CVideoRecorderUtility@@QAEXABVTVideoAspectRatio@@@Z @ 112 NONAME ; void CVideoRecorderUtility::SetPixelAspectRatioL(class TVideoAspectRatio const &)
+ ?GetPlayRateCapabilitiesL@CVideoPlayerUtility@@QBEXAAVTVideoPlayRateCapabilities@@@Z @ 113 NONAME ; void CVideoPlayerUtility::GetPlayRateCapabilitiesL(class TVideoPlayRateCapabilities &) const
+ ?PlayVelocityL@CVideoPlayerUtility@@QBEHXZ @ 114 NONAME ; int CVideoPlayerUtility::PlayVelocityL(void) const
+ ?SetAudioEnabledL@CVideoPlayerUtility@@QAEXH@Z @ 115 NONAME ; void CVideoPlayerUtility::SetAudioEnabledL(int)
+ ?SetAutoScaleL@CVideoPlayerUtility@@QAEXW4TAutoScaleType@@@Z @ 116 NONAME ; void CVideoPlayerUtility::SetAutoScaleL(enum TAutoScaleType)
+ ?SetAutoScaleL@CVideoPlayerUtility@@QAEXW4TAutoScaleType@@HH@Z @ 117 NONAME ; void CVideoPlayerUtility::SetAutoScaleL(enum TAutoScaleType, int, int)
+ ?SetPlayVelocityL@CVideoPlayerUtility@@QAEXH@Z @ 118 NONAME ; void CVideoPlayerUtility::SetPlayVelocityL(int)
+ ?SetVideoEnabledL@CVideoPlayerUtility@@QAEXH@Z @ 119 NONAME ; void CVideoPlayerUtility::SetVideoEnabledL(int)
+ ?SetVideoEnabledL@CVideoRecorderUtility@@QAEXH@Z @ 120 NONAME ; void CVideoRecorderUtility::SetVideoEnabledL(int)
+ ?SetVideoFrameRateFixedL@CVideoRecorderUtility@@QAEXH@Z @ 121 NONAME ; void CVideoRecorderUtility::SetVideoFrameRateFixedL(int)
+ ?SetVideoQualityL@CVideoRecorderUtility@@QAEXH@Z @ 122 NONAME ; void CVideoRecorderUtility::SetVideoQualityL(int)
+ ?StepFrameL@CVideoPlayerUtility@@QAEXH@Z @ 123 NONAME ; void CVideoPlayerUtility::StepFrameL(int)
+ ?VideoEnabledL@CVideoPlayerUtility@@QBEHXZ @ 124 NONAME ; int CVideoPlayerUtility::VideoEnabledL(void) const
+ ?VideoEnabledL@CVideoRecorderUtility@@QBEHXZ @ 125 NONAME ; int CVideoRecorderUtility::VideoEnabledL(void) const
+ ?VideoFrameRateFixedL@CVideoRecorderUtility@@QBEHXZ @ 126 NONAME ; int CVideoRecorderUtility::VideoFrameRateFixedL(void) const
+ ?VideoQualityL@CVideoRecorderUtility@@QBEHXZ @ 127 NONAME ; int CVideoRecorderUtility::VideoQualityL(void) const
+ ?AddDisplayWindowL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindow@@@Z @ 128 NONAME ABSENT ; void CVideoPlayerUtility2::AddDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindow &)
+ ?AddDisplayWindowL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindow@@ABVTRect@@3@Z @ 129 NONAME ABSENT ; void CVideoPlayerUtility2::AddDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindow &, class TRect const &, class TRect const &)
+ ?NewL@CVideoPlayerUtility2@@SAPAV1@AAVMVideoPlayerUtilityObserver@@HW4TMdaPriorityPreference@@@Z @ 130 NONAME ABSENT ; class CVideoPlayerUtility2 * CVideoPlayerUtility2::NewL(class MVideoPlayerUtilityObserver &, int, enum TMdaPriorityPreference)
+ ?RemoveDisplayWindow@CVideoPlayerUtility2@@QAEXAAVRWindow@@@Z @ 131 NONAME ABSENT ; void CVideoPlayerUtility2::RemoveDisplayWindow(class RWindow &)
+ ?SetVideoExtentL@CVideoPlayerUtility2@@QAEXABVRWindow@@ABVTRect@@@Z @ 132 NONAME ABSENT ; void CVideoPlayerUtility2::SetVideoExtentL(class RWindow const &, class TRect const &)
+ ?SetWindowClipRectL@CVideoPlayerUtility2@@QAEXABVRWindow@@ABVTRect@@@Z @ 133 NONAME ABSENT ; void CVideoPlayerUtility2::SetWindowClipRectL(class RWindow const &, class TRect const &)
+ ?GetScaleFactorL@CVideoPlayerUtility2@@QAEXABVRWindow@@AAM1@Z @ 134 NONAME ABSENT ; void CVideoPlayerUtility2::GetScaleFactorL(class RWindow const &, float &, float &)
+ ?RotationL@CVideoPlayerUtility2@@QAE?AW4TVideoRotation@@ABVRWindow@@@Z @ 135 NONAME ABSENT ; enum TVideoRotation CVideoPlayerUtility2::RotationL(class RWindow const &)
+ ?SetAutoScaleL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TAutoScaleType@@@Z @ 136 NONAME ABSENT ; void CVideoPlayerUtility2::SetAutoScaleL(class RWindow const &, enum TAutoScaleType)
+ ?SetAutoScaleL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TAutoScaleType@@HH@Z @ 137 NONAME ABSENT ; void CVideoPlayerUtility2::SetAutoScaleL(class RWindow const &, enum TAutoScaleType, int, int)
+ ?SetRotationL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TVideoRotation@@@Z @ 138 NONAME ABSENT ; void CVideoPlayerUtility2::SetRotationL(class RWindow const &, enum TVideoRotation)
+ ?SetScaleFactorL@CVideoPlayerUtility2@@QAEXABVRWindow@@MM@Z @ 139 NONAME ABSENT ; void CVideoPlayerUtility2::SetScaleFactorL(class RWindow const &, float, float)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/bwins/TS_CMMFVIDEOTESTCUSTOMCOMMANDSU.DEF Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,8 @@
+EXPORTS
+ ??0RMMFTestCustomCommands@@QAE@AAVRMMFController@@VTUid@@@Z @ 1 NONAME ; public: __thiscall RMMFTestCustomCommands::RMMFTestCustomCommands(class RMMFController &,class TUid)
+ ?HandleRequest@CMMFTestCustomCommandParser@@UAEXAAVTMMFMessage@@@Z @ 2 NONAME ; public: virtual void __thiscall CMMFTestCustomCommandParser::HandleRequest(class TMMFMessage &)
+ ?MvcGetFrameRateL@RMMFTestCustomCommands@@QAEHAAM@Z @ 3 NONAME ; public: int __thiscall RMMFTestCustomCommands::MvcGetFrameRateL(float &)
+ ?MvcSetFrameRateL@RMMFTestCustomCommands@@QAEHM@Z @ 4 NONAME ; public: int __thiscall RMMFTestCustomCommands::MvcSetFrameRateL(float)
+ ?NewL@CMMFTestCustomCommandParser@@SAPAV1@VTUid@@AAVMMMFTestCustomCommandImplementor@@@Z @ 5 NONAME ; public: static class CMMFTestCustomCommandParser * __cdecl CMMFTestCustomCommandParser::NewL(class TUid,class MMMFTestCustomCommandImplementor &)
+ ?NewLC@CMMFTestCustomCommandParser@@SAPAV1@VTUid@@AAVMMMFTestCustomCommandImplementor@@@Z @ 6 NONAME ; public: static class CMMFTestCustomCommandParser * __cdecl CMMFTestCustomCommandParser::NewLC(class TUid,class MMMFTestCustomCommandImplementor &)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/bwins/tsu_mmf_vclnt_01_gce.def Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,143 @@
+EXPORTS
+ ?NewTestSuiteUnitMMFVidClientL@@YAPAVCTestSuiteUnitMMFVidClient@@XZ @ 1 NONAME ; class CTestSuiteUnitMMFVidClient * NewTestSuiteUnitMMFVidClientL(void)
+ ?AddMetaDataEntryL@CVideoRecorderUtility@@QAEXABVCMMFMetaDataEntry@@@Z @ 2 NONAME ; void CVideoRecorderUtility::AddMetaDataEntryL(class CMMFMetaDataEntry const &)
+ ?AudioBitRateL@CVideoPlayerUtility@@QBEHXZ @ 3 NONAME ; int CVideoPlayerUtility::AudioBitRateL(void) const
+ ?AudioBitRateL@CVideoRecorderUtility@@QBEHXZ @ 4 NONAME ; int CVideoRecorderUtility::AudioBitRateL(void) const
+ ?AudioEnabledL@CVideoPlayerUtility@@QBEHXZ @ 5 NONAME ; int CVideoPlayerUtility::AudioEnabledL(void) const
+ ?AudioEnabledL@CVideoRecorderUtility@@QBEHXZ @ 6 NONAME ; int CVideoRecorderUtility::AudioEnabledL(void) const
+ ?AudioTypeL@CVideoPlayerUtility@@QBE?AVTFourCC@@XZ @ 7 NONAME ; class TFourCC CVideoPlayerUtility::AudioTypeL(void) const
+ ?AudioTypeL@CVideoRecorderUtility@@QBE?AVTFourCC@@XZ @ 8 NONAME ; class TFourCC CVideoRecorderUtility::AudioTypeL(void) const
+ ?Balance@CVideoPlayerUtility@@QBEHXZ @ 9 NONAME ; int CVideoPlayerUtility::Balance(void) const
+ ?Close@CVideoPlayerUtility@@QAEXXZ @ 10 NONAME ; void CVideoPlayerUtility::Close(void)
+ ?Close@CVideoRecorderUtility@@QAEXXZ @ 11 NONAME ; void CVideoRecorderUtility::Close(void)
+ ?ControllerImplementationInformationL@CVideoPlayerUtility@@QAEABVCMMFControllerImplementationInformation@@XZ @ 12 NONAME ; class CMMFControllerImplementationInformation const & CVideoPlayerUtility::ControllerImplementationInformationL(void)
+ ?ControllerImplementationInformationL@CVideoRecorderUtility@@QAEABVCMMFControllerImplementationInformation@@XZ @ 13 NONAME ; class CMMFControllerImplementationInformation const & CVideoRecorderUtility::ControllerImplementationInformationL(void)
+ ?CustomCommandAsync@CVideoPlayerUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@AAVTRequestStatus@@@Z @ 14 NONAME ; void CVideoPlayerUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &, class TRequestStatus &)
+ ?CustomCommandAsync@CVideoPlayerUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTRequestStatus@@@Z @ 15 NONAME ; void CVideoPlayerUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TRequestStatus &)
+ ?CustomCommandAsync@CVideoRecorderUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@AAVTRequestStatus@@@Z @ 16 NONAME ; void CVideoRecorderUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &, class TRequestStatus &)
+ ?CustomCommandAsync@CVideoRecorderUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTRequestStatus@@@Z @ 17 NONAME ; void CVideoRecorderUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TRequestStatus &)
+ ?CustomCommandSync@CVideoPlayerUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1@Z @ 18 NONAME ; int CVideoPlayerUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &)
+ ?CustomCommandSync@CVideoPlayerUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@@Z @ 19 NONAME ; int CVideoPlayerUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &)
+ ?CustomCommandSync@CVideoRecorderUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1@Z @ 20 NONAME ; int CVideoRecorderUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &)
+ ?CustomCommandSync@CVideoRecorderUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@@Z @ 21 NONAME ; int CVideoRecorderUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &)
+ ?DurationL@CVideoPlayerUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 22 NONAME ; class TTimeIntervalMicroSeconds CVideoPlayerUtility::DurationL(void) const
+ ?DurationL@CVideoRecorderUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 23 NONAME ; class TTimeIntervalMicroSeconds CVideoRecorderUtility::DurationL(void) const
+ ?GainL@CVideoRecorderUtility@@QBEHXZ @ 24 NONAME ; int CVideoRecorderUtility::GainL(void) const
+ ?GetCropRegionL@CVideoPlayerUtility@@QBEXAAVTRect@@@Z @ 25 NONAME ; void CVideoPlayerUtility::GetCropRegionL(class TRect &) const
+ ?GetDRMCustomCommand@CVideoPlayerUtility@@QAEPAVMMMFDRMCustomCommand@@XZ @ 26 NONAME ; class MMMFDRMCustomCommand * CVideoPlayerUtility::GetDRMCustomCommand(void)
+ ?GetFrameL@CVideoPlayerUtility@@QAEXW4TDisplayMode@@@Z @ 27 NONAME ; void CVideoPlayerUtility::GetFrameL(enum TDisplayMode)
+ ?GetFrameL@CVideoPlayerUtility@@QAEXW4TDisplayMode@@W4TIntent@ContentAccess@@@Z @ 28 NONAME ; void CVideoPlayerUtility::GetFrameL(enum TDisplayMode, enum ContentAccess::TIntent)
+ ?GetPriorityL@CVideoRecorderUtility@@QBEXAAHAAW4TMdaPriorityPreference@@@Z @ 29 NONAME ; void CVideoRecorderUtility::GetPriorityL(int &, enum TMdaPriorityPreference &) const
+ ?GetScaleFactorL@CVideoPlayerUtility@@QBEXAAM0AAH@Z @ 30 NONAME ; void CVideoPlayerUtility::GetScaleFactorL(float &, float &, int &) const
+ ?GetSupportedAudioTypesL@CVideoRecorderUtility@@QBEXAAV?$RArray@VTFourCC@@@@@Z @ 31 NONAME ; void CVideoRecorderUtility::GetSupportedAudioTypesL(class RArray<class TFourCC> &) const
+ ?GetSupportedVideoTypesL@CVideoRecorderUtility@@QBEXAAVCDesC8Array@@@Z @ 32 NONAME ; void CVideoRecorderUtility::GetSupportedVideoTypesL(class CDesC8Array &) const
+ ?GetVideoFrameSizeL@CVideoRecorderUtility@@QBEXAAVTSize@@@Z @ 33 NONAME ; void CVideoRecorderUtility::GetVideoFrameSizeL(class TSize &) const
+ ?GetVideoLoadingProgressL@CVideoPlayerUtility@@QAEXAAH@Z @ 34 NONAME ; void CVideoPlayerUtility::GetVideoLoadingProgressL(int &)
+ ?MaxGainL@CVideoRecorderUtility@@QBEHXZ @ 35 NONAME ; int CVideoRecorderUtility::MaxGainL(void) const
+ ?MaxVolume@CVideoPlayerUtility@@QBEHXZ @ 36 NONAME ; int CVideoPlayerUtility::MaxVolume(void) const
+ ?MetaDataEntryL@CVideoPlayerUtility@@QBEPAVCMMFMetaDataEntry@@H@Z @ 37 NONAME ; class CMMFMetaDataEntry * CVideoPlayerUtility::MetaDataEntryL(int) const
+ ?MetaDataEntryL@CVideoRecorderUtility@@QBEPAVCMMFMetaDataEntry@@H@Z @ 38 NONAME ; class CMMFMetaDataEntry * CVideoRecorderUtility::MetaDataEntryL(int) const
+ ?NewL@CVideoPlayerUtility@@SAPAV1@AAVMVideoPlayerUtilityObserver@@HW4TMdaPriorityPreference@@AAVRWsSession@@AAVCWsScreenDevice@@AAVRWindowBase@@ABVTRect@@5@Z @ 39 NONAME ; class CVideoPlayerUtility * CVideoPlayerUtility::NewL(class MVideoPlayerUtilityObserver &, int, enum TMdaPriorityPreference, class RWsSession &, class CWsScreenDevice &, class RWindowBase &, class TRect const &, class TRect const &)
+ ?NewL@CVideoRecorderUtility@@SAPAV1@AAVMVideoRecorderUtilityObserver@@HW4TMdaPriorityPreference@@@Z @ 40 NONAME ; class CVideoRecorderUtility * CVideoRecorderUtility::NewL(class MVideoRecorderUtilityObserver &, int, enum TMdaPriorityPreference)
+ ?NumberOfMetaDataEntriesL@CVideoPlayerUtility@@QBEHXZ @ 41 NONAME ; int CVideoPlayerUtility::NumberOfMetaDataEntriesL(void) const
+ ?NumberOfMetaDataEntriesL@CVideoRecorderUtility@@QBEHXZ @ 42 NONAME ; int CVideoRecorderUtility::NumberOfMetaDataEntriesL(void) const
+ ?OpenDesL@CVideoPlayerUtility@@QAEXABVTDesC8@@VTUid@@@Z @ 43 NONAME ; void CVideoPlayerUtility::OpenDesL(class TDesC8 const &, class TUid)
+ ?OpenDesL@CVideoRecorderUtility@@QAEXAAVTDes8@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 44 NONAME ; void CVideoRecorderUtility::OpenDesL(class TDes8 &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
+ ?OpenFileL@CVideoPlayerUtility@@QAEXABVRFile@@VTUid@@@Z @ 45 NONAME ; void CVideoPlayerUtility::OpenFileL(class RFile const &, class TUid)
+ ?OpenFileL@CVideoPlayerUtility@@QAEXABVTDesC16@@VTUid@@@Z @ 46 NONAME ; void CVideoPlayerUtility::OpenFileL(class TDesC16 const &, class TUid)
+ ?OpenFileL@CVideoPlayerUtility@@QAEXABVTMMSource@@VTUid@@@Z @ 47 NONAME ; void CVideoPlayerUtility::OpenFileL(class TMMSource const &, class TUid)
+ ?OpenFileL@CVideoRecorderUtility@@QAEXABVRFile@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 48 NONAME ; void CVideoRecorderUtility::OpenFileL(class RFile const &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
+ ?OpenFileL@CVideoRecorderUtility@@QAEXABVTDesC16@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 49 NONAME ; void CVideoRecorderUtility::OpenFileL(class TDesC16 const &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
+ ?OpenUrlL@CVideoPlayerUtility@@QAEXABVTDesC16@@HABVTDesC8@@VTUid@@@Z @ 50 NONAME ; void CVideoPlayerUtility::OpenUrlL(class TDesC16 const &, int, class TDesC8 const &, class TUid)
+ ?OpenUrlL@CVideoRecorderUtility@@QAEXABVTDesC16@@HHVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 51 NONAME ; void CVideoRecorderUtility::OpenUrlL(class TDesC16 const &, int, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
+ ?PauseL@CVideoPlayerUtility@@QAEXXZ @ 52 NONAME ; void CVideoPlayerUtility::PauseL(void)
+ ?PauseL@CVideoRecorderUtility@@QAEXXZ @ 53 NONAME ; void CVideoRecorderUtility::PauseL(void)
+ ?Play@CVideoPlayerUtility@@QAEXABVTTimeIntervalMicroSeconds@@0@Z @ 54 NONAME ; void CVideoPlayerUtility::Play(class TTimeIntervalMicroSeconds const &, class TTimeIntervalMicroSeconds const &)
+ ?Play@CVideoPlayerUtility@@QAEXXZ @ 55 NONAME ; void CVideoPlayerUtility::Play(void)
+ ?PositionL@CVideoPlayerUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 56 NONAME ; class TTimeIntervalMicroSeconds CVideoPlayerUtility::PositionL(void) const
+ ?Prepare@CVideoPlayerUtility@@QAEXXZ @ 57 NONAME ; void CVideoPlayerUtility::Prepare(void)
+ ?Prepare@CVideoRecorderUtility@@QAEXXZ @ 58 NONAME ; void CVideoRecorderUtility::Prepare(void)
+ ?PriorityL@CVideoPlayerUtility@@QBEXAAHAAW4TMdaPriorityPreference@@@Z @ 59 NONAME ; void CVideoPlayerUtility::PriorityL(int &, enum TMdaPriorityPreference &) const
+ ?Record@CVideoRecorderUtility@@QAEXXZ @ 60 NONAME ; void CVideoRecorderUtility::Record(void)
+ ?RecordTimeAvailable@CVideoRecorderUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 61 NONAME ; class TTimeIntervalMicroSeconds CVideoRecorderUtility::RecordTimeAvailable(void) const
+ ?RefreshFrameL@CVideoPlayerUtility@@QAEXXZ @ 62 NONAME ; void CVideoPlayerUtility::RefreshFrameL(void)
+ ?RegisterForVideoLoadingNotification@CVideoPlayerUtility@@QAEXAAVMVideoLoadingObserver@@@Z @ 63 NONAME ; void CVideoPlayerUtility::RegisterForVideoLoadingNotification(class MVideoLoadingObserver &)
+ ?RemoveMetaDataEntryL@CVideoRecorderUtility@@QAEXH@Z @ 64 NONAME ; void CVideoRecorderUtility::RemoveMetaDataEntryL(int)
+ ?ReplaceMetaDataEntryL@CVideoRecorderUtility@@QAEXHABVCMMFMetaDataEntry@@@Z @ 65 NONAME ; void CVideoRecorderUtility::ReplaceMetaDataEntryL(int, class CMMFMetaDataEntry const &)
+ ?Reserved1@@YAXXZ @ 66 NONAME ; void Reserved1(void)
+ ?Reserved2@@YAXXZ @ 67 NONAME ; void Reserved2(void)
+ ?RotationL@CVideoPlayerUtility@@QBE?AW4TVideoRotation@@XZ @ 68 NONAME ; enum TVideoRotation CVideoPlayerUtility::RotationL(void) const
+ ?SetAudioBitRateL@CVideoRecorderUtility@@QAEXH@Z @ 69 NONAME ; void CVideoRecorderUtility::SetAudioBitRateL(int)
+ ?SetAudioEnabledL@CVideoRecorderUtility@@QAEXH@Z @ 70 NONAME ; void CVideoRecorderUtility::SetAudioEnabledL(int)
+ ?SetAudioTypeL@CVideoRecorderUtility@@QAEXVTFourCC@@@Z @ 71 NONAME ; void CVideoRecorderUtility::SetAudioTypeL(class TFourCC)
+ ?SetBalanceL@CVideoPlayerUtility@@QAEXH@Z @ 72 NONAME ; void CVideoPlayerUtility::SetBalanceL(int)
+ ?SetCropRegionL@CVideoPlayerUtility@@QAEXABVTRect@@@Z @ 73 NONAME ; void CVideoPlayerUtility::SetCropRegionL(class TRect const &)
+ ?SetDisplayWindowL@CVideoPlayerUtility@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindowBase@@ABVTRect@@3@Z @ 74 NONAME ; void CVideoPlayerUtility::SetDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindowBase &, class TRect const &, class TRect const &)
+ ?SetGainL@CVideoRecorderUtility@@QAEXH@Z @ 75 NONAME ; void CVideoRecorderUtility::SetGainL(int)
+ ?SetMaxClipSizeL@CVideoRecorderUtility@@QAEXH@Z @ 76 NONAME ; void CVideoRecorderUtility::SetMaxClipSizeL(int)
+ ?SetPositionL@CVideoPlayerUtility@@QAEXABVTTimeIntervalMicroSeconds@@@Z @ 77 NONAME ; void CVideoPlayerUtility::SetPositionL(class TTimeIntervalMicroSeconds const &)
+ ?SetPriorityL@CVideoPlayerUtility@@QAEXHW4TMdaPriorityPreference@@@Z @ 78 NONAME ; void CVideoPlayerUtility::SetPriorityL(int, enum TMdaPriorityPreference)
+ ?SetPriorityL@CVideoRecorderUtility@@QAEXHW4TMdaPriorityPreference@@@Z @ 79 NONAME ; void CVideoRecorderUtility::SetPriorityL(int, enum TMdaPriorityPreference)
+ ?SetRotationL@CVideoPlayerUtility@@QAEXW4TVideoRotation@@@Z @ 80 NONAME ; void CVideoPlayerUtility::SetRotationL(enum TVideoRotation)
+ ?SetScaleFactorL@CVideoPlayerUtility@@QAEXMMH@Z @ 81 NONAME ; void CVideoPlayerUtility::SetScaleFactorL(float, float, int)
+ ?SetVideoBitRateL@CVideoRecorderUtility@@QAEXH@Z @ 82 NONAME ; void CVideoRecorderUtility::SetVideoBitRateL(int)
+ ?SetVideoFrameRateL@CVideoPlayerUtility@@QAEXM@Z @ 83 NONAME ; void CVideoPlayerUtility::SetVideoFrameRateL(float)
+ ?SetVideoFrameRateL@CVideoRecorderUtility@@QAEXM@Z @ 84 NONAME ; void CVideoRecorderUtility::SetVideoFrameRateL(float)
+ ?SetVideoFrameSizeL@CVideoRecorderUtility@@QAEXABVTSize@@@Z @ 85 NONAME ; void CVideoRecorderUtility::SetVideoFrameSizeL(class TSize const &)
+ ?SetVideoTypeL@CVideoRecorderUtility@@QAEXABVTDesC8@@@Z @ 86 NONAME ; void CVideoRecorderUtility::SetVideoTypeL(class TDesC8 const &)
+ ?SetVolumeL@CVideoPlayerUtility@@QAEXH@Z @ 87 NONAME ; void CVideoPlayerUtility::SetVolumeL(int)
+ ?Stop@CVideoPlayerUtility@@QAEHXZ @ 88 NONAME ; int CVideoPlayerUtility::Stop(void)
+ ?Stop@CVideoRecorderUtility@@QAEHXZ @ 89 NONAME ; int CVideoRecorderUtility::Stop(void)
+ ?VideoBitRateL@CVideoPlayerUtility@@QBEHXZ @ 90 NONAME ; int CVideoPlayerUtility::VideoBitRateL(void) const
+ ?VideoBitRateL@CVideoRecorderUtility@@QAEHXZ @ 91 NONAME ; int CVideoRecorderUtility::VideoBitRateL(void)
+ ?VideoFormatMimeType@CVideoPlayerUtility@@QBEABVTDesC8@@XZ @ 92 NONAME ; class TDesC8 const & CVideoPlayerUtility::VideoFormatMimeType(void) const
+ ?VideoFormatMimeType@CVideoRecorderUtility@@QBEABVTDesC8@@XZ @ 93 NONAME ; class TDesC8 const & CVideoRecorderUtility::VideoFormatMimeType(void) const
+ ?VideoFrameRateL@CVideoPlayerUtility@@QBEMXZ @ 94 NONAME ; float CVideoPlayerUtility::VideoFrameRateL(void) const
+ ?VideoFrameRateL@CVideoRecorderUtility@@QBEMXZ @ 95 NONAME ; float CVideoRecorderUtility::VideoFrameRateL(void) const
+ ?VideoFrameSizeL@CVideoPlayerUtility@@QBEXAAVTSize@@@Z @ 96 NONAME ; void CVideoPlayerUtility::VideoFrameSizeL(class TSize &) const
+ ?Volume@CVideoPlayerUtility@@QBEHXZ @ 97 NONAME ; int CVideoPlayerUtility::Volume(void) const
+ ?StartDirectScreenAccessL@CVideoPlayerUtility@@QAEXXZ @ 98 NONAME ; void CVideoPlayerUtility::StartDirectScreenAccessL(void)
+ ?StopDirectScreenAccessL@CVideoPlayerUtility@@QAEXXZ @ 99 NONAME ; void CVideoPlayerUtility::StopDirectScreenAccessL(void)
+ ?CancelRegisterAudioResourceNotification@CVideoPlayerUtility@@QAEHVTUid@@@Z @ 100 NONAME ; int CVideoPlayerUtility::CancelRegisterAudioResourceNotification(class TUid)
+ ?RegisterAudioResourceNotification@CVideoPlayerUtility@@QAEHAAVMMMFAudioResourceNotificationCallback@@VTUid@@ABVTDesC8@@@Z @ 101 NONAME ; int CVideoPlayerUtility::RegisterAudioResourceNotification(class MMMFAudioResourceNotificationCallback &, class TUid, class TDesC8 const &)
+ ?WillResumePlay@CVideoPlayerUtility@@QAEHXZ @ 102 NONAME ; int CVideoPlayerUtility::WillResumePlay(void)
+ ?SetInitScreenNumber@CVideoPlayerUtility@@QAEHH@Z @ 103 NONAME ; int CVideoPlayerUtility::SetInitScreenNumber(int)
+ ?AudioChannelsL@CVideoRecorderUtility@@QBEIXZ @ 104 NONAME ; unsigned int CVideoRecorderUtility::AudioChannelsL(void) const
+ ?AudioSampleRateL@CVideoRecorderUtility@@QBEIXZ @ 105 NONAME ; unsigned int CVideoRecorderUtility::AudioSampleRateL(void) const
+ ?GetPixelAspectRatioL@CVideoRecorderUtility@@QBEXAAVTVideoAspectRatio@@@Z @ 106 NONAME ; void CVideoRecorderUtility::GetPixelAspectRatioL(class TVideoAspectRatio &) const
+ ?GetSupportedAudioChannelsL@CVideoRecorderUtility@@QBEXAAV?$RArray@I@@@Z @ 107 NONAME ; void CVideoRecorderUtility::GetSupportedAudioChannelsL(class RArray<unsigned int> &) const
+ ?GetSupportedAudioSampleRatesL@CVideoRecorderUtility@@QBEXAAV?$RArray@I@@@Z @ 108 NONAME ; void CVideoRecorderUtility::GetSupportedAudioSampleRatesL(class RArray<unsigned int> &) const
+ ?GetSupportedPixelAspectRatiosL@CVideoRecorderUtility@@QBEXAAV?$RArray@VTVideoAspectRatio@@@@@Z @ 109 NONAME ; void CVideoRecorderUtility::GetSupportedPixelAspectRatiosL(class RArray<class TVideoAspectRatio> &) const
+ ?SetAudioChannelsL@CVideoRecorderUtility@@QAEXI@Z @ 110 NONAME ; void CVideoRecorderUtility::SetAudioChannelsL(unsigned int)
+ ?SetAudioSampleRateL@CVideoRecorderUtility@@QAEXI@Z @ 111 NONAME ; void CVideoRecorderUtility::SetAudioSampleRateL(unsigned int)
+ ?SetPixelAspectRatioL@CVideoRecorderUtility@@QAEXABVTVideoAspectRatio@@@Z @ 112 NONAME ; void CVideoRecorderUtility::SetPixelAspectRatioL(class TVideoAspectRatio const &)
+ ?GetPlayRateCapabilitiesL@CVideoPlayerUtility@@QBEXAAVTVideoPlayRateCapabilities@@@Z @ 113 NONAME ; void CVideoPlayerUtility::GetPlayRateCapabilitiesL(class TVideoPlayRateCapabilities &) const
+ ?PlayVelocityL@CVideoPlayerUtility@@QBEHXZ @ 114 NONAME ; int CVideoPlayerUtility::PlayVelocityL(void) const
+ ?SetAudioEnabledL@CVideoPlayerUtility@@QAEXH@Z @ 115 NONAME ; void CVideoPlayerUtility::SetAudioEnabledL(int)
+ ?SetAutoScaleL@CVideoPlayerUtility@@QAEXW4TAutoScaleType@@@Z @ 116 NONAME ; void CVideoPlayerUtility::SetAutoScaleL(enum TAutoScaleType)
+ ?SetAutoScaleL@CVideoPlayerUtility@@QAEXW4TAutoScaleType@@HH@Z @ 117 NONAME ; void CVideoPlayerUtility::SetAutoScaleL(enum TAutoScaleType, int, int)
+ ?SetPlayVelocityL@CVideoPlayerUtility@@QAEXH@Z @ 118 NONAME ; void CVideoPlayerUtility::SetPlayVelocityL(int)
+ ?SetVideoEnabledL@CVideoPlayerUtility@@QAEXH@Z @ 119 NONAME ; void CVideoPlayerUtility::SetVideoEnabledL(int)
+ ?SetVideoEnabledL@CVideoRecorderUtility@@QAEXH@Z @ 120 NONAME ; void CVideoRecorderUtility::SetVideoEnabledL(int)
+ ?SetVideoFrameRateFixedL@CVideoRecorderUtility@@QAEXH@Z @ 121 NONAME ; void CVideoRecorderUtility::SetVideoFrameRateFixedL(int)
+ ?SetVideoQualityL@CVideoRecorderUtility@@QAEXH@Z @ 122 NONAME ; void CVideoRecorderUtility::SetVideoQualityL(int)
+ ?StepFrameL@CVideoPlayerUtility@@QAEXH@Z @ 123 NONAME ; void CVideoPlayerUtility::StepFrameL(int)
+ ?VideoEnabledL@CVideoPlayerUtility@@QBEHXZ @ 124 NONAME ; int CVideoPlayerUtility::VideoEnabledL(void) const
+ ?VideoEnabledL@CVideoRecorderUtility@@QBEHXZ @ 125 NONAME ; int CVideoRecorderUtility::VideoEnabledL(void) const
+ ?VideoFrameRateFixedL@CVideoRecorderUtility@@QBEHXZ @ 126 NONAME ; int CVideoRecorderUtility::VideoFrameRateFixedL(void) const
+ ?VideoQualityL@CVideoRecorderUtility@@QBEHXZ @ 127 NONAME ; int CVideoRecorderUtility::VideoQualityL(void) const
+ ?AddDisplayWindowL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindow@@@Z @ 128 NONAME ; void CVideoPlayerUtility2::AddDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindow &)
+ ?AddDisplayWindowL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindow@@ABVTRect@@3@Z @ 129 NONAME ; void CVideoPlayerUtility2::AddDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindow &, class TRect const &, class TRect const &)
+ ?NewL@CVideoPlayerUtility2@@SAPAV1@AAVMVideoPlayerUtilityObserver@@HW4TMdaPriorityPreference@@@Z @ 130 NONAME ; class CVideoPlayerUtility2 * CVideoPlayerUtility2::NewL(class MVideoPlayerUtilityObserver &, int, enum TMdaPriorityPreference)
+ ?RemoveDisplayWindow@CVideoPlayerUtility2@@QAEXAAVRWindow@@@Z @ 131 NONAME ; void CVideoPlayerUtility2::RemoveDisplayWindow(class RWindow &)
+ ?SetVideoExtentL@CVideoPlayerUtility2@@QAEXABVRWindow@@ABVTRect@@@Z @ 132 NONAME ; void CVideoPlayerUtility2::SetVideoExtentL(class RWindow const &, class TRect const &)
+ ?SetWindowClipRectL@CVideoPlayerUtility2@@QAEXABVRWindow@@ABVTRect@@@Z @ 133 NONAME ; void CVideoPlayerUtility2::SetWindowClipRectL(class RWindow const &, class TRect const &)
+ ?GetScaleFactorL@CVideoPlayerUtility2@@QAEXABVRWindow@@AAM1@Z @ 134 NONAME ; void CVideoPlayerUtility2::GetScaleFactorL(class RWindow const &, float &, float &)
+ ?RotationL@CVideoPlayerUtility2@@QAE?AW4TVideoRotation@@ABVRWindow@@@Z @ 135 NONAME ; enum TVideoRotation CVideoPlayerUtility2::RotationL(class RWindow const &)
+ ?SetAutoScaleL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TAutoScaleType@@@Z @ 136 NONAME ; void CVideoPlayerUtility2::SetAutoScaleL(class RWindow const &, enum TAutoScaleType)
+ ?SetAutoScaleL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TAutoScaleType@@HH@Z @ 137 NONAME ; void CVideoPlayerUtility2::SetAutoScaleL(class RWindow const &, enum TAutoScaleType, int, int)
+ ?SetRotationL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TVideoRotation@@@Z @ 138 NONAME ; void CVideoPlayerUtility2::SetRotationL(class RWindow const &, enum TVideoRotation)
+ ?SetScaleFactorL@CVideoPlayerUtility2@@QAEXABVRWindow@@MM@Z @ 139 NONAME ; void CVideoPlayerUtility2::SetScaleFactorL(class RWindow const &, float, float)
+ ?AddDisplayL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@HAAVMMMFSurfaceEventHandler@@@Z @ 140 NONAME ; void CVideoPlayerUtility2::AddDisplayL(class RWsSession &, int, class MMMFSurfaceEventHandler &)
+ ?RemoveDisplay@CVideoPlayerUtility2@@QAEXH@Z @ 141 NONAME ; void CVideoPlayerUtility2::RemoveDisplay(int)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/bwins/tsu_mmf_vclnt_01_gce2.def Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,153 @@
+EXPORTS
+ ?NewTestSuiteUnitMMFVidClientL@@YAPAVCTestSuiteUnitMMFVidClient@@XZ @ 1 NONAME ; class CTestSuiteUnitMMFVidClient * NewTestSuiteUnitMMFVidClientL(void)
+ ?SetAutoScaleL@CVideoPlayerUtility@@QAEXW4TAutoScaleType@@HH@Z @ 2 NONAME ; void CVideoPlayerUtility::SetAutoScaleL(enum TAutoScaleType, int, int)
+ ?StopDirectScreenAccessL@CVideoPlayerUtility@@QAEXXZ @ 3 NONAME ; void CVideoPlayerUtility::StopDirectScreenAccessL(void)
+ ?SetWindowClipRectL@CVideoPlayerUtility2@@QAEXABVRWindow@@ABVTRect@@@Z @ 4 NONAME ; void CVideoPlayerUtility2::SetWindowClipRectL(class RWindow const &, class TRect const &)
+ ?SetAudioEnabledL@CVideoPlayerUtility@@QAEXH@Z @ 5 NONAME ; void CVideoPlayerUtility::SetAudioEnabledL(int)
+ ?PriorityL@CVideoPlayerUtility@@QBEXAAHAAW4TMdaPriorityPreference@@@Z @ 6 NONAME ; void CVideoPlayerUtility::PriorityL(int &, enum TMdaPriorityPreference &) const
+ ?Prepare@CVideoRecorderUtility@@QAEXXZ @ 7 NONAME ; void CVideoRecorderUtility::Prepare(void)
+ ?Close@CVideoRecorderUtility@@QAEXXZ @ 8 NONAME ; void CVideoRecorderUtility::Close(void)
+ ?SetVideoFrameRateFixedL@CVideoRecorderUtility@@QAEXH@Z @ 9 NONAME ; void CVideoRecorderUtility::SetVideoFrameRateFixedL(int)
+ ?SetDisplayWindowL@CVideoPlayerUtility@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindowBase@@ABVTRect@@3@Z @ 10 NONAME ; void CVideoPlayerUtility::SetDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindowBase &, class TRect const &, class TRect const &)
+ ?GetPriorityL@CVideoRecorderUtility@@QBEXAAHAAW4TMdaPriorityPreference@@@Z @ 11 NONAME ; void CVideoRecorderUtility::GetPriorityL(int &, enum TMdaPriorityPreference &) const
+ ?SetMaxClipSizeL@CVideoRecorderUtility@@QAEXH@Z @ 12 NONAME ; void CVideoRecorderUtility::SetMaxClipSizeL(int)
+ ?CancelRegisterAudioResourceNotification@CVideoPlayerUtility@@QAEHVTUid@@@Z @ 13 NONAME ; int CVideoPlayerUtility::CancelRegisterAudioResourceNotification(class TUid)
+ ?SetPriorityL@CVideoRecorderUtility@@QAEXHH@Z @ 14 NONAME ; void CVideoRecorderUtility::SetPriorityL(int, int)
+ ?StartDirectScreenAccessL@CVideoPlayerUtility@@QAEXXZ @ 15 NONAME ; void CVideoPlayerUtility::StartDirectScreenAccessL(void)
+ ?Stop@CVideoRecorderUtility@@QAEHXZ @ 16 NONAME ; int CVideoRecorderUtility::Stop(void)
+ ?SubtitlesAvailable@CVideoPlayerUtility2@@QAEHXZ @ 17 NONAME ; int CVideoPlayerUtility2::SubtitlesAvailable(void)
+ ?CustomCommandAsync@CVideoPlayerUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@AAVTRequestStatus@@@Z @ 18 NONAME ; void CVideoPlayerUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &, class TRequestStatus &)
+ ?SetAudioTypeL@CVideoRecorderUtility@@QAEXVTFourCC@@@Z @ 19 NONAME ; void CVideoRecorderUtility::SetAudioTypeL(class TFourCC)
+ ?VideoFrameSizeL@CVideoPlayerUtility@@QBEXAAVTSize@@@Z @ 20 NONAME ; void CVideoPlayerUtility::VideoFrameSizeL(class TSize &) const
+ ?RegisterForVideoLoadingNotification@CVideoPlayerUtility@@QAEXAAVMVideoLoadingObserver@@@Z @ 21 NONAME ; void CVideoPlayerUtility::RegisterForVideoLoadingNotification(class MVideoLoadingObserver &)
+ ?GetCropRegionL@CVideoPlayerUtility@@QBEXAAVTRect@@@Z @ 22 NONAME ; void CVideoPlayerUtility::GetCropRegionL(class TRect &) const
+ ?RemoveDisplayWindow@CVideoPlayerUtility2@@QAEXAAVRWindow@@@Z @ 23 NONAME ; void CVideoPlayerUtility2::RemoveDisplayWindow(class RWindow &)
+ ?CustomCommandSync@CVideoPlayerUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@@Z @ 24 NONAME ; int CVideoPlayerUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &)
+ ?AddDisplayWindowL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindow@@@Z @ 25 NONAME ; void CVideoPlayerUtility2::AddDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindow &)
+ ?ControllerImplementationInformationL@CVideoPlayerUtility@@QAEABVCMMFControllerImplementationInformation@@XZ @ 26 NONAME ; class CMMFControllerImplementationInformation const & CVideoPlayerUtility::ControllerImplementationInformationL(void)
+ ?OpenDesL@CVideoRecorderUtility@@QAEXAAVTDes8@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 27 NONAME ; void CVideoRecorderUtility::OpenDesL(class TDes8 &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
+ ?AddDisplayL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@HAAVMMMFSurfaceEventHandler@@@Z @ 28 NONAME ; void CVideoPlayerUtility2::AddDisplayL(class RWsSession &, int, class MMMFSurfaceEventHandler &)
+ ?SetVideoFrameRateL@CVideoPlayerUtility@@QAEXM@Z @ 29 NONAME ; void CVideoPlayerUtility::SetVideoFrameRateL(float)
+ ?Reserved1@@YAXXZ @ 30 NONAME ; void Reserved1(void)
+ ?CustomCommandAsync@CVideoRecorderUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@AAVTRequestStatus@@@Z @ 31 NONAME ; void CVideoRecorderUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &, class TRequestStatus &)
+ ?SetRotationL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TVideoRotation@@@Z @ 32 NONAME ; void CVideoPlayerUtility2::SetRotationL(class RWindow const &, enum TVideoRotation)
+ ?Play@CVideoPlayerUtility@@QAEXXZ @ 33 NONAME ; void CVideoPlayerUtility::Play(void)
+ ?GetFrameL@CVideoPlayerUtility@@QAEXW4TDisplayMode@@@Z @ 34 NONAME ; void CVideoPlayerUtility::GetFrameL(enum TDisplayMode)
+ ?GetSupportedAudioSampleRatesL@CVideoRecorderUtility@@QBEXAAV?$RArray@I@@@Z @ 35 NONAME ; void CVideoRecorderUtility::GetSupportedAudioSampleRatesL(class RArray<unsigned int> &) const
+ ?GetPixelAspectRatioL@CVideoRecorderUtility@@QBEXAAVTVideoAspectRatio@@@Z @ 36 NONAME ; void CVideoRecorderUtility::GetPixelAspectRatioL(class TVideoAspectRatio &) const
+ ?DurationL@CVideoPlayerUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 37 NONAME ; class TTimeIntervalMicroSeconds CVideoPlayerUtility::DurationL(void) const
+ ?SupportedSubtitleLanguagesL@CVideoPlayerUtility2@@QAE?AV?$TArray@W4TLanguage@@@@XZ @ 38 NONAME ; class TArray<enum TLanguage> CVideoPlayerUtility2::SupportedSubtitleLanguagesL(void)
+ ?CustomCommandAsync@CVideoRecorderUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTRequestStatus@@@Z @ 39 NONAME ; void CVideoRecorderUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TRequestStatus &)
+ ?Volume@CVideoPlayerUtility@@QBEHXZ @ 40 NONAME ; int CVideoPlayerUtility::Volume(void) const
+ ?MetaDataEntryL@CVideoRecorderUtility@@QBEPAVCMMFMetaDataEntry@@H@Z @ 41 NONAME ; class CMMFMetaDataEntry * CVideoRecorderUtility::MetaDataEntryL(int) const
+ ?OpenUrlL@CVideoRecorderUtility@@QAEXABVTDesC16@@HHVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 42 NONAME ; void CVideoRecorderUtility::OpenUrlL(class TDesC16 const &, int, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
+ ?RedrawSubtitle@CVideoPlayerUtility2@@QAEXAAVRWindow@@ABVTRect@@@Z @ 43 NONAME ; void CVideoPlayerUtility2::RedrawSubtitle(class RWindow &, class TRect const &)
+ ?VideoFormatMimeType@CVideoPlayerUtility@@QBEABVTDesC8@@XZ @ 44 NONAME ; class TDesC8 const & CVideoPlayerUtility::VideoFormatMimeType(void) const
+ ?SetCropRegionL@CVideoPlayerUtility@@QAEXABVTRect@@@Z @ 45 NONAME ; void CVideoPlayerUtility::SetCropRegionL(class TRect const &)
+ ?OpenFileL@CVideoRecorderUtility@@QAEXABVTDesC16@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 46 NONAME ; void CVideoRecorderUtility::OpenFileL(class TDesC16 const &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
+ ?GetScaleFactorL@CVideoPlayerUtility@@QBEXAAM0AAH@Z @ 47 NONAME ; void CVideoPlayerUtility::GetScaleFactorL(float &, float &, int &) const
+ ?VideoEnabledL@CVideoPlayerUtility@@QBEHXZ @ 48 NONAME ; int CVideoPlayerUtility::VideoEnabledL(void) const
+ ?Balance@CVideoPlayerUtility@@QBEHXZ @ 49 NONAME ; int CVideoPlayerUtility::Balance(void) const
+ ?StepFrameL@CVideoPlayerUtility@@QAEXH@Z @ 50 NONAME ; void CVideoPlayerUtility::StepFrameL(int)
+ ?SetPixelAspectRatioL@CVideoRecorderUtility@@QAEXABVTVideoAspectRatio@@@Z @ 51 NONAME ; void CVideoRecorderUtility::SetPixelAspectRatioL(class TVideoAspectRatio const &)
+ ?RecordTimeAvailable@CVideoRecorderUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 52 NONAME ; class TTimeIntervalMicroSeconds CVideoRecorderUtility::RecordTimeAvailable(void) const
+ ?SetSubtitleLanguageL@CVideoPlayerUtility2@@QAEXW4TLanguage@@@Z @ 53 NONAME ; void CVideoPlayerUtility2::SetSubtitleLanguageL(enum TLanguage)
+ ?PauseL@CVideoRecorderUtility@@QAEXXZ @ 54 NONAME ; void CVideoRecorderUtility::PauseL(void)
+ ?GetSupportedAudioTypesL@CVideoRecorderUtility@@QBEXAAV?$RArray@VTFourCC@@@@@Z @ 55 NONAME ; void CVideoRecorderUtility::GetSupportedAudioTypesL(class RArray<class TFourCC> &) const
+ ?ControllerImplementationInformationL@CVideoRecorderUtility@@QAEABVCMMFControllerImplementationInformation@@XZ @ 56 NONAME ; class CMMFControllerImplementationInformation const & CVideoRecorderUtility::ControllerImplementationInformationL(void)
+ ?SetAudioSampleRateL@CVideoRecorderUtility@@QAEXI@Z @ 57 NONAME ; void CVideoRecorderUtility::SetAudioSampleRateL(unsigned int)
+ ?SetBalanceL@CVideoPlayerUtility@@QAEXH@Z @ 58 NONAME ; void CVideoPlayerUtility::SetBalanceL(int)
+ ?CustomCommandSync@CVideoRecorderUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1@Z @ 59 NONAME ; int CVideoRecorderUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &)
+ ?CustomCommandAsync@CVideoPlayerUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTRequestStatus@@@Z @ 60 NONAME ; void CVideoPlayerUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TRequestStatus &)
+ ?MetaDataEntryL@CVideoPlayerUtility@@QBEPAVCMMFMetaDataEntry@@H@Z @ 61 NONAME ; class CMMFMetaDataEntry * CVideoPlayerUtility::MetaDataEntryL(int) const
+ ?GetFrameL@CVideoPlayerUtility@@QAEXW4TDisplayMode@@W4TIntent@ContentAccess@@@Z @ 62 NONAME ; void CVideoPlayerUtility::GetFrameL(enum TDisplayMode, enum ContentAccess::TIntent)
+ ?SetVideoEnabledL@CVideoRecorderUtility@@QAEXH@Z @ 63 NONAME ; void CVideoRecorderUtility::SetVideoEnabledL(int)
+ ?SetGainL@CVideoRecorderUtility@@QAEXH@Z @ 64 NONAME ; void CVideoRecorderUtility::SetGainL(int)
+ ?VideoBitRateL@CVideoRecorderUtility@@QAEHXZ @ 65 NONAME ; int CVideoRecorderUtility::VideoBitRateL(void)
+ ?AudioEnabledL@CVideoPlayerUtility@@QBEHXZ @ 66 NONAME ; int CVideoPlayerUtility::AudioEnabledL(void) const
+ ?OpenDesL@CVideoPlayerUtility@@QAEXABVTDesC8@@VTUid@@@Z @ 67 NONAME ; void CVideoPlayerUtility::OpenDesL(class TDesC8 const &, class TUid)
+ ?SetScaleFactorL@CVideoPlayerUtility@@QAEXMMH@Z @ 68 NONAME ; void CVideoPlayerUtility::SetScaleFactorL(float, float, int)
+ ?Stop@CVideoPlayerUtility@@QAEHXZ @ 69 NONAME ; int CVideoPlayerUtility::Stop(void)
+ ?PlayVelocityL@CVideoPlayerUtility@@QBEHXZ @ 70 NONAME ; int CVideoPlayerUtility::PlayVelocityL(void) const
+ ?SetAutoScaleL@CVideoPlayerUtility@@QAEXW4TAutoScaleType@@@Z @ 71 NONAME ; void CVideoPlayerUtility::SetAutoScaleL(enum TAutoScaleType)
+ ?SetInitScreenNumber@CVideoPlayerUtility@@QAEHH@Z @ 72 NONAME ; int CVideoPlayerUtility::SetInitScreenNumber(int)
+ ?AddDisplayWindowL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindow@@ABVTRect@@3@Z @ 73 NONAME ; void CVideoPlayerUtility2::AddDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindow &, class TRect const &, class TRect const &)
+ ?GetDRMCustomCommand@CVideoPlayerUtility@@QAEPAVMMMFDRMCustomCommand@@XZ @ 74 NONAME ; class MMMFDRMCustomCommand * CVideoPlayerUtility::GetDRMCustomCommand(void)
+ ?SetPositionL@CVideoPlayerUtility@@QAEXABVTTimeIntervalMicroSeconds@@@Z @ 75 NONAME ; void CVideoPlayerUtility::SetPositionL(class TTimeIntervalMicroSeconds const &)
+ ?AddMetaDataEntryL@CVideoRecorderUtility@@QAEXABVCMMFMetaDataEntry@@@Z @ 76 NONAME ; void CVideoRecorderUtility::AddMetaDataEntryL(class CMMFMetaDataEntry const &)
+ ?GetSupportedVideoTypesL@CVideoRecorderUtility@@QBEXAAVCDesC8Array@@@Z @ 77 NONAME ; void CVideoRecorderUtility::GetSupportedVideoTypesL(class CDesC8Array &) const
+ ?OpenFileL@CVideoPlayerUtility@@QAEXABVTDesC16@@VTUid@@@Z @ 78 NONAME ; void CVideoPlayerUtility::OpenFileL(class TDesC16 const &, class TUid)
+ ?OpenFileL@CVideoPlayerUtility@@QAEXABVTMMSource@@VTUid@@@Z @ 79 NONAME ; void CVideoPlayerUtility::OpenFileL(class TMMSource const &, class TUid)
+ ?PositionL@CVideoPlayerUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 80 NONAME ; class TTimeIntervalMicroSeconds CVideoPlayerUtility::PositionL(void) const
+ ?VideoFrameRateL@CVideoPlayerUtility@@QBEMXZ @ 81 NONAME ; float CVideoPlayerUtility::VideoFrameRateL(void) const
+ ?Record@CVideoRecorderUtility@@QAEXXZ @ 82 NONAME ; void CVideoRecorderUtility::Record(void)
+ ?AudioTypeL@CVideoPlayerUtility@@QBE?AVTFourCC@@XZ @ 83 NONAME ; class TFourCC CVideoPlayerUtility::AudioTypeL(void) const
+ ?NewL@CVideoRecorderUtility@@SAPAV1@AAVMVideoRecorderUtilityObserver@@HH@Z @ 84 NONAME ; class CVideoRecorderUtility * CVideoRecorderUtility::NewL(class MVideoRecorderUtilityObserver &, int, int)
+ ?SetVideoFrameSizeL@CVideoRecorderUtility@@QAEXABVTSize@@@Z @ 85 NONAME ; void CVideoRecorderUtility::SetVideoFrameSizeL(class TSize const &)
+ ?RotationL@CVideoPlayerUtility@@QBE?AW4TVideoRotation@@XZ @ 86 NONAME ; enum TVideoRotation CVideoPlayerUtility::RotationL(void) const
+ ?VideoFrameRateL@CVideoRecorderUtility@@QBEMXZ @ 87 NONAME ; float CVideoRecorderUtility::VideoFrameRateL(void) const
+ ?SetVideoBitRateL@CVideoRecorderUtility@@QAEXH@Z @ 88 NONAME ; void CVideoRecorderUtility::SetVideoBitRateL(int)
+ ?SetVideoEnabledL@CVideoPlayerUtility@@QAEXH@Z @ 89 NONAME ; void CVideoPlayerUtility::SetVideoEnabledL(int)
+ ?AudioSampleRateL@CVideoRecorderUtility@@QBEIXZ @ 90 NONAME ; unsigned int CVideoRecorderUtility::AudioSampleRateL(void) const
+ ?SetVideoFrameRateL@CVideoRecorderUtility@@QAEXM@Z @ 91 NONAME ; void CVideoRecorderUtility::SetVideoFrameRateL(float)
+ ?GetSupportedAudioChannelsL@CVideoRecorderUtility@@QBEXAAV?$RArray@I@@@Z @ 92 NONAME ; void CVideoRecorderUtility::GetSupportedAudioChannelsL(class RArray<unsigned int> &) const
+ ?GetVideoFrameSizeL@CVideoRecorderUtility@@QBEXAAVTSize@@@Z @ 93 NONAME ; void CVideoRecorderUtility::GetVideoFrameSizeL(class TSize &) const
+ ?VideoFrameRateFixedL@CVideoRecorderUtility@@QBEHXZ @ 94 NONAME ; int CVideoRecorderUtility::VideoFrameRateFixedL(void) const
+ ?RotationL@CVideoPlayerUtility2@@QAE?AW4TVideoRotation@@ABVRWindow@@@Z @ 95 NONAME ; enum TVideoRotation CVideoPlayerUtility2::RotationL(class RWindow const &)
+ ?EnableSubtitlesL@CVideoPlayerUtility2@@QAEXXZ @ 96 NONAME ; void CVideoPlayerUtility2::EnableSubtitlesL(void)
+ ?ReplaceMetaDataEntryL@CVideoRecorderUtility@@QAEXHABVCMMFMetaDataEntry@@@Z @ 97 NONAME ; void CVideoRecorderUtility::ReplaceMetaDataEntryL(int, class CMMFMetaDataEntry const &)
+ ?MaxGainL@CVideoRecorderUtility@@QBEHXZ @ 98 NONAME ; int CVideoRecorderUtility::MaxGainL(void) const
+ ?SetRotationL@CVideoPlayerUtility@@QAEXW4TVideoRotation@@@Z @ 99 NONAME ; void CVideoPlayerUtility::SetRotationL(enum TVideoRotation)
+ ?SubtitleLanguageL@CVideoPlayerUtility2@@QAE?AW4TLanguage@@XZ @ 100 NONAME ; enum TLanguage CVideoPlayerUtility2::SubtitleLanguageL(void)
+ ?OpenFileL@CVideoPlayerUtility@@QAEXABVRFile@@VTUid@@@Z @ 101 NONAME ; void CVideoPlayerUtility::OpenFileL(class RFile const &, class TUid)
+ ?SetAutoScaleL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TAutoScaleType@@@Z @ 102 NONAME ; void CVideoPlayerUtility2::SetAutoScaleL(class RWindow const &, enum TAutoScaleType)
+ ?AudioTypeL@CVideoRecorderUtility@@QBE?AVTFourCC@@XZ @ 103 NONAME ; class TFourCC CVideoRecorderUtility::AudioTypeL(void) const
+ ?NumberOfMetaDataEntriesL@CVideoRecorderUtility@@QBEHXZ @ 104 NONAME ; int CVideoRecorderUtility::NumberOfMetaDataEntriesL(void) const
+ ?DisableSubtitles@CVideoPlayerUtility2@@QAEXXZ @ 105 NONAME ; void CVideoPlayerUtility2::DisableSubtitles(void)
+ ?NewL@CVideoPlayerUtility2@@SAPAV1@AAVMVideoPlayerUtilityObserver@@HH@Z @ 106 NONAME ; class CVideoPlayerUtility2 * CVideoPlayerUtility2::NewL(class MVideoPlayerUtilityObserver &, int, int)
+ ?WillResumePlay@CVideoPlayerUtility@@QAEHXZ @ 107 NONAME ; int CVideoPlayerUtility::WillResumePlay(void)
+ ?VideoFormatMimeType@CVideoRecorderUtility@@QBEABVTDesC8@@XZ @ 108 NONAME ; class TDesC8 const & CVideoRecorderUtility::VideoFormatMimeType(void) const
+ ?SetAudioChannelsL@CVideoRecorderUtility@@QAEXI@Z @ 109 NONAME ; void CVideoRecorderUtility::SetAudioChannelsL(unsigned int)
+ ?MaxVolume@CVideoPlayerUtility@@QBEHXZ @ 110 NONAME ; int CVideoPlayerUtility::MaxVolume(void) const
+ ?GetPlayRateCapabilitiesL@CVideoPlayerUtility@@QBEXAAVTVideoPlayRateCapabilities@@@Z @ 111 NONAME ; void CVideoPlayerUtility::GetPlayRateCapabilitiesL(class TVideoPlayRateCapabilities &) const
+ ?SetAutoScaleL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TAutoScaleType@@HH@Z @ 112 NONAME ; void CVideoPlayerUtility2::SetAutoScaleL(class RWindow const &, enum TAutoScaleType, int, int)
+ ?Reserved2@@YAXXZ @ 113 NONAME ; void Reserved2(void)
+ ?SetAudioEnabledL@CVideoRecorderUtility@@QAEXH@Z @ 114 NONAME ; void CVideoRecorderUtility::SetAudioEnabledL(int)
+ ?CustomCommandSync@CVideoPlayerUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1@Z @ 115 NONAME ; int CVideoPlayerUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &)
+ ?GetSupportedPixelAspectRatiosL@CVideoRecorderUtility@@QBEXAAV?$RArray@VTVideoAspectRatio@@@@@Z @ 116 NONAME ; void CVideoRecorderUtility::GetSupportedPixelAspectRatiosL(class RArray<class TVideoAspectRatio> &) const
+ ?VideoQualityL@CVideoRecorderUtility@@QBEHXZ @ 117 NONAME ; int CVideoRecorderUtility::VideoQualityL(void) const
+ ?VideoBitRateL@CVideoPlayerUtility@@QBEHXZ @ 118 NONAME ; int CVideoPlayerUtility::VideoBitRateL(void) const
+ ?SetVideoTypeL@CVideoRecorderUtility@@QAEXABVTDesC8@@@Z @ 119 NONAME ; void CVideoRecorderUtility::SetVideoTypeL(class TDesC8 const &)
+ ?SetPlayVelocityL@CVideoPlayerUtility@@QAEXH@Z @ 120 NONAME ; void CVideoPlayerUtility::SetPlayVelocityL(int)
+ ?RemoveDisplay@CVideoPlayerUtility2@@QAEXH@Z @ 121 NONAME ; void CVideoPlayerUtility2::RemoveDisplay(int)
+ ?SetVolumeL@CVideoPlayerUtility@@QAEXH@Z @ 122 NONAME ; void CVideoPlayerUtility::SetVolumeL(int)
+ ?GetVideoLoadingProgressL@CVideoPlayerUtility@@QAEXAAH@Z @ 123 NONAME ; void CVideoPlayerUtility::GetVideoLoadingProgressL(int &)
+ ?SetVideoExtentL@CVideoPlayerUtility2@@QAEXABVRWindow@@ABVTRect@@@Z @ 124 NONAME ; void CVideoPlayerUtility2::SetVideoExtentL(class RWindow const &, class TRect const &)
+ ?VideoEnabledL@CVideoRecorderUtility@@QBEHXZ @ 125 NONAME ; int CVideoRecorderUtility::VideoEnabledL(void) const
+ ?AudioChannelsL@CVideoRecorderUtility@@QBEIXZ @ 126 NONAME ; unsigned int CVideoRecorderUtility::AudioChannelsL(void) const
+ ?OpenFileL@CVideoRecorderUtility@@QAEXABVRFile@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 127 NONAME ; void CVideoRecorderUtility::OpenFileL(class RFile const &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
+ ?Close@CVideoPlayerUtility@@QAEXXZ @ 128 NONAME ; void CVideoPlayerUtility::Close(void)
+ ?GainL@CVideoRecorderUtility@@QBEHXZ @ 129 NONAME ; int CVideoRecorderUtility::GainL(void) const
+ ?CustomCommandSync@CVideoRecorderUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@@Z @ 130 NONAME ; int CVideoRecorderUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &)
+ ?Play@CVideoPlayerUtility@@QAEXABVTTimeIntervalMicroSeconds@@0@Z @ 131 NONAME ; void CVideoPlayerUtility::Play(class TTimeIntervalMicroSeconds const &, class TTimeIntervalMicroSeconds const &)
+ ?AudioBitRateL@CVideoPlayerUtility@@QBEHXZ @ 132 NONAME ; int CVideoPlayerUtility::AudioBitRateL(void) const
+ ?SetPriorityL@CVideoPlayerUtility@@QAEXHH@Z @ 133 NONAME ; void CVideoPlayerUtility::SetPriorityL(int, int)
+ ?SetVideoQualityL@CVideoRecorderUtility@@QAEXH@Z @ 134 NONAME ; void CVideoRecorderUtility::SetVideoQualityL(int)
+ ?SetAudioBitRateL@CVideoRecorderUtility@@QAEXH@Z @ 135 NONAME ; void CVideoRecorderUtility::SetAudioBitRateL(int)
+ ?GetScaleFactorL@CVideoPlayerUtility2@@QAEXABVRWindow@@AAM1@Z @ 136 NONAME ; void CVideoPlayerUtility2::GetScaleFactorL(class RWindow const &, float &, float &)
+ ?AudioBitRateL@CVideoRecorderUtility@@QBEHXZ @ 137 NONAME ; int CVideoRecorderUtility::AudioBitRateL(void) const
+ ?NumberOfMetaDataEntriesL@CVideoPlayerUtility@@QBEHXZ @ 138 NONAME ; int CVideoPlayerUtility::NumberOfMetaDataEntriesL(void) const
+ ?PauseL@CVideoPlayerUtility@@QAEXXZ @ 139 NONAME ; void CVideoPlayerUtility::PauseL(void)
+ ?OpenUrlL@CVideoPlayerUtility@@QAEXABVTDesC16@@HABVTDesC8@@VTUid@@@Z @ 140 NONAME ; void CVideoPlayerUtility::OpenUrlL(class TDesC16 const &, int, class TDesC8 const &, class TUid)
+ ?NewL@CVideoPlayerUtility@@SAPAV1@AAVMVideoPlayerUtilityObserver@@HHAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindowBase@@ABVTRect@@4@Z @ 141 NONAME ; class CVideoPlayerUtility * CVideoPlayerUtility::NewL(class MVideoPlayerUtilityObserver &, int, int, class RWsSession &, class CWsScreenDevice &, class RWindowBase &, class TRect const &, class TRect const &)
+ ?Prepare@CVideoPlayerUtility@@QAEXXZ @ 142 NONAME ; void CVideoPlayerUtility::Prepare(void)
+ ?AudioEnabledL@CVideoRecorderUtility@@QBEHXZ @ 143 NONAME ; int CVideoRecorderUtility::AudioEnabledL(void) const
+ ?RegisterAudioResourceNotification@CVideoPlayerUtility@@QAEHAAVMMMFAudioResourceNotificationCallback@@VTUid@@ABVTDesC8@@@Z @ 144 NONAME ; int CVideoPlayerUtility::RegisterAudioResourceNotification(class MMMFAudioResourceNotificationCallback &, class TUid, class TDesC8 const &)
+ ?RefreshFrameL@CVideoPlayerUtility@@QAEXXZ @ 145 NONAME ; void CVideoPlayerUtility::RefreshFrameL(void)
+ ?DurationL@CVideoRecorderUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 146 NONAME ; class TTimeIntervalMicroSeconds CVideoRecorderUtility::DurationL(void) const
+ ?SetScaleFactorL@CVideoPlayerUtility2@@QAEXABVRWindow@@MM@Z @ 147 NONAME ; void CVideoPlayerUtility2::SetScaleFactorL(class RWindow const &, float, float)
+ ?RemoveMetaDataEntryL@CVideoRecorderUtility@@QAEXH@Z @ 148 NONAME ; void CVideoRecorderUtility::RemoveMetaDataEntryL(int)
+ ?SetExternalDisplaySwitchingL@CVideoPlayerUtility2@@QAEXHH@Z @ 149 NONAME ; void CVideoPlayerUtility2::SetExternalDisplaySwitchingL(int, int)
+ ?SetExternalDisplaySwitchingL@CVideoPlayerUtility@@QAEXHH@Z @ 150 NONAME ; void CVideoPlayerUtility::SetExternalDisplaySwitchingL(int, int)
+ ??0CExtDisplayConnectionProviderInterface@@IAE@XZ @ 151 NONAME ; CExtDisplayConnectionProviderInterface::CExtDisplayConnectionProviderInterface(void)
+ ??1CExtDisplayConnectionProviderInterface@@UAE@XZ @ 152 NONAME ; CExtDisplayConnectionProviderInterface::~CExtDisplayConnectionProviderInterface(void)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/eabi/TSU_MMF_VCLNT_01.DEF Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,350 @@
+EXPORTS
+ _Z29NewTestSuiteUnitMMFVidClientLv @ 1 NONAME
+ _Z9Reserved1v @ 2 NONAME
+ _Z9Reserved2v @ 3 NONAME
+ _ZN19CVideoPlayerUtility10SetVolumeLEi @ 4 NONAME
+ _ZN19CVideoPlayerUtility11SetBalanceLEi @ 5 NONAME
+ _ZN19CVideoPlayerUtility12SetPositionLERK25TTimeIntervalMicroSeconds @ 6 NONAME
+ _ZN19CVideoPlayerUtility12SetPriorityLEi22TMdaPriorityPreference @ 7 NONAME
+ _ZN19CVideoPlayerUtility12SetRotationLE14TVideoRotation @ 8 NONAME
+ _ZN19CVideoPlayerUtility13RefreshFrameLEv @ 9 NONAME
+ _ZN19CVideoPlayerUtility14SetCropRegionLERK5TRect @ 10 NONAME
+ _ZN19CVideoPlayerUtility15SetScaleFactorLEffi @ 11 NONAME
+ _ZN19CVideoPlayerUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_ @ 12 NONAME
+ _ZN19CVideoPlayerUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8 @ 13 NONAME
+ _ZN19CVideoPlayerUtility17SetDisplayWindowLER10RWsSessionR15CWsScreenDeviceR11RWindowBaseRK5TRectS8_ @ 14 NONAME
+ _ZN19CVideoPlayerUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R14TRequestStatus @ 15 NONAME
+ _ZN19CVideoPlayerUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8R14TRequestStatus @ 16 NONAME
+ _ZN19CVideoPlayerUtility18SetVideoFrameRateLEf @ 17 NONAME
+ _ZN19CVideoPlayerUtility19GetDRMCustomCommandEv @ 18 NONAME
+ _ZN19CVideoPlayerUtility24GetVideoLoadingProgressLERi @ 19 NONAME
+ _ZN19CVideoPlayerUtility35RegisterForVideoLoadingNotificationER21MVideoLoadingObserver @ 20 NONAME
+ _ZN19CVideoPlayerUtility36ControllerImplementationInformationLEv @ 21 NONAME
+ _ZN19CVideoPlayerUtility4NewLER27MVideoPlayerUtilityObserveri22TMdaPriorityPreferenceR10RWsSessionR15CWsScreenDeviceR11RWindowBaseRK5TRectSB_ @ 22 NONAME
+ _ZN19CVideoPlayerUtility4PlayERK25TTimeIntervalMicroSecondsS2_ @ 23 NONAME
+ _ZN19CVideoPlayerUtility4PlayEv @ 24 NONAME
+ _ZN19CVideoPlayerUtility4StopEv @ 25 NONAME
+ _ZN19CVideoPlayerUtility5CloseEv @ 26 NONAME
+ _ZN19CVideoPlayerUtility6PauseLEv @ 27 NONAME
+ _ZN19CVideoPlayerUtility7PrepareEv @ 28 NONAME
+ _ZN19CVideoPlayerUtility8OpenDesLERK6TDesC84TUid @ 29 NONAME
+ _ZN19CVideoPlayerUtility8OpenUrlLERK7TDesC16iRK6TDesC84TUid @ 30 NONAME
+ _ZN19CVideoPlayerUtility9GetFrameLE12TDisplayMode @ 31 NONAME
+ _ZN19CVideoPlayerUtility9GetFrameLE12TDisplayModeN13ContentAccess7TIntentE @ 32 NONAME
+ _ZN19CVideoPlayerUtility9OpenFileLERK5RFile4TUid @ 33 NONAME
+ _ZN19CVideoPlayerUtility9OpenFileLERK7TDesC164TUid @ 34 NONAME
+ _ZN19CVideoPlayerUtility9OpenFileLERK9TMMSource4TUid @ 35 NONAME
+ _ZN21CVideoRecorderUtility12SetPriorityLEi22TMdaPriorityPreference @ 36 NONAME
+ _ZN21CVideoRecorderUtility13SetAudioTypeLE7TFourCC @ 37 NONAME
+ _ZN21CVideoRecorderUtility13SetVideoTypeLERK6TDesC8 @ 38 NONAME
+ _ZN21CVideoRecorderUtility13VideoBitRateLEv @ 39 NONAME
+ _ZN21CVideoRecorderUtility15SetMaxClipSizeLEi @ 40 NONAME
+ _ZN21CVideoRecorderUtility16SetAudioBitRateLEi @ 41 NONAME
+ _ZN21CVideoRecorderUtility16SetAudioEnabledLEi @ 42 NONAME
+ _ZN21CVideoRecorderUtility16SetVideoBitRateLEi @ 43 NONAME
+ _ZN21CVideoRecorderUtility17AddMetaDataEntryLERK17CMMFMetaDataEntry @ 44 NONAME
+ _ZN21CVideoRecorderUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_ @ 45 NONAME
+ _ZN21CVideoRecorderUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8 @ 46 NONAME
+ _ZN21CVideoRecorderUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R14TRequestStatus @ 47 NONAME
+ _ZN21CVideoRecorderUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8R14TRequestStatus @ 48 NONAME
+ _ZN21CVideoRecorderUtility18SetVideoFrameRateLEf @ 49 NONAME
+ _ZN21CVideoRecorderUtility18SetVideoFrameSizeLERK5TSize @ 50 NONAME
+ _ZN21CVideoRecorderUtility20RemoveMetaDataEntryLEi @ 51 NONAME
+ _ZN21CVideoRecorderUtility21ReplaceMetaDataEntryLEiRK17CMMFMetaDataEntry @ 52 NONAME
+ _ZN21CVideoRecorderUtility36ControllerImplementationInformationLEv @ 53 NONAME
+ _ZN21CVideoRecorderUtility4NewLER29MVideoRecorderUtilityObserveri22TMdaPriorityPreference @ 54 NONAME
+ _ZN21CVideoRecorderUtility4StopEv @ 55 NONAME
+ _ZN21CVideoRecorderUtility5CloseEv @ 56 NONAME
+ _ZN21CVideoRecorderUtility6PauseLEv @ 57 NONAME
+ _ZN21CVideoRecorderUtility6RecordEv @ 58 NONAME
+ _ZN21CVideoRecorderUtility7PrepareEv @ 59 NONAME
+ _ZN21CVideoRecorderUtility8OpenDesLER5TDes8i4TUidS2_RK6TDesC87TFourCC @ 60 NONAME
+ _ZN21CVideoRecorderUtility8OpenUrlLERK7TDesC16ii4TUidS3_RK6TDesC87TFourCC @ 61 NONAME
+ _ZN21CVideoRecorderUtility8SetGainLEi @ 62 NONAME
+ _ZN21CVideoRecorderUtility9OpenFileLERK5RFilei4TUidS3_RK6TDesC87TFourCC @ 63 NONAME
+ _ZN21CVideoRecorderUtility9OpenFileLERK7TDesC16i4TUidS3_RK6TDesC87TFourCC @ 64 NONAME
+ _ZNK19CVideoPlayerUtility10AudioTypeLEv @ 65 NONAME
+ _ZNK19CVideoPlayerUtility13AudioBitRateLEv @ 66 NONAME
+ _ZNK19CVideoPlayerUtility13AudioEnabledLEv @ 67 NONAME
+ _ZNK19CVideoPlayerUtility13VideoBitRateLEv @ 68 NONAME
+ _ZNK19CVideoPlayerUtility14GetCropRegionLER5TRect @ 69 NONAME
+ _ZNK19CVideoPlayerUtility14MetaDataEntryLEi @ 70 NONAME
+ _ZNK19CVideoPlayerUtility15GetScaleFactorLERfS0_Ri @ 71 NONAME
+ _ZNK19CVideoPlayerUtility15VideoFrameRateLEv @ 72 NONAME
+ _ZNK19CVideoPlayerUtility15VideoFrameSizeLER5TSize @ 73 NONAME
+ _ZNK19CVideoPlayerUtility19VideoFormatMimeTypeEv @ 74 NONAME
+ _ZNK19CVideoPlayerUtility24NumberOfMetaDataEntriesLEv @ 75 NONAME
+ _ZNK19CVideoPlayerUtility6VolumeEv @ 76 NONAME
+ _ZNK19CVideoPlayerUtility7BalanceEv @ 77 NONAME
+ _ZNK19CVideoPlayerUtility9DurationLEv @ 78 NONAME
+ _ZNK19CVideoPlayerUtility9MaxVolumeEv @ 79 NONAME
+ _ZNK19CVideoPlayerUtility9PositionLEv @ 80 NONAME
+ _ZNK19CVideoPlayerUtility9PriorityLERiR22TMdaPriorityPreference @ 81 NONAME
+ _ZNK19CVideoPlayerUtility9RotationLEv @ 82 NONAME
+ _ZNK21CVideoRecorderUtility10AudioTypeLEv @ 83 NONAME
+ _ZNK21CVideoRecorderUtility12GetPriorityLERiR22TMdaPriorityPreference @ 84 NONAME
+ _ZNK21CVideoRecorderUtility13AudioBitRateLEv @ 85 NONAME
+ _ZNK21CVideoRecorderUtility13AudioEnabledLEv @ 86 NONAME
+ _ZNK21CVideoRecorderUtility14MetaDataEntryLEi @ 87 NONAME
+ _ZNK21CVideoRecorderUtility15VideoFrameRateLEv @ 88 NONAME
+ _ZNK21CVideoRecorderUtility18GetVideoFrameSizeLER5TSize @ 89 NONAME
+ _ZNK21CVideoRecorderUtility19RecordTimeAvailableEv @ 90 NONAME
+ _ZNK21CVideoRecorderUtility19VideoFormatMimeTypeEv @ 91 NONAME
+ _ZNK21CVideoRecorderUtility23GetSupportedAudioTypesLER6RArrayI7TFourCCE @ 92 NONAME
+ _ZNK21CVideoRecorderUtility23GetSupportedVideoTypesLER11CDesC8Array @ 93 NONAME
+ _ZNK21CVideoRecorderUtility24NumberOfMetaDataEntriesLEv @ 94 NONAME
+ _ZNK21CVideoRecorderUtility5GainLEv @ 95 NONAME
+ _ZNK21CVideoRecorderUtility8MaxGainLEv @ 96 NONAME
+ _ZNK21CVideoRecorderUtility9DurationLEv @ 97 NONAME
+ _ZTI19CVideoPlayerUtility @ 98 NONAME ; #<TI>#
+ _ZTI21CTestStepVidPlayerDrm @ 99 NONAME ; #<TI>#
+ _ZTI21CTestStepVidPlayerNew @ 100 NONAME ; #<TI>#
+ _ZTI21CTestStepVidPlayerVol @ 101 NONAME ; #<TI>#
+ _ZTI21CVideoRecorderUtility @ 102 NONAME ; #<TI>#
+ _ZTI22CTestStepVidPlayerMeta @ 103 NONAME ; #<TI>#
+ _ZTI22CTestStepVidPlayerPlay @ 104 NONAME ; #<TI>#
+ _ZTI22CTestStepVidPlayerStop @ 105 NONAME ; #<TI>#
+ _ZTI23CMMFVideoPlayerCallback @ 106 NONAME ; #<TI>#
+ _ZTI23CTestStepVidPlayerClose @ 107 NONAME ; #<TI>#
+ _ZTI23CTestStepVidPlayerPause @ 108 NONAME ; #<TI>#
+ _ZTI23CTestStepVidPlayerScale @ 109 NONAME ; #<TI>#
+ _ZTI23CTestStepVidRecorderNew @ 110 NONAME ; #<TI>#
+ _ZTI24CTestStepOOMVidPlayerNew @ 111 NONAME ; #<TI>#
+ _ZTI24CTestStepVidRecorderGain @ 112 NONAME ; #<TI>#
+ _ZTI24CTestStepVidRecorderMeta @ 113 NONAME ; #<TI>#
+ _ZTI24CTestStepVidRecorderStop @ 114 NONAME ; #<TI>#
+ _ZTI25CMMFVideoRecorderCallback @ 115 NONAME ; #<TI>#
+ _ZTI25CTestStepUnitMMFVidClient @ 116 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerBalance @ 117 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerOpenUrl @ 118 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerRestart @ 119 NONAME ; #<TI>#
+ _ZTI25CTestStepVidRecorderClose @ 120 NONAME ; #<TI>#
+ _ZTI25CTestStepVidRecorderPause @ 121 NONAME ; #<TI>#
+ _ZTI26CTestStepVidPlayerDuration @ 122 NONAME ; #<TI>#
+ _ZTI26CTestStepVidPlayerGetFrame @ 123 NONAME ; #<TI>#
+ _ZTI26CTestStepVidPlayerOpenDesc @ 124 NONAME ; #<TI>#
+ _ZTI26CTestStepVidPlayerOpenFile @ 125 NONAME ; #<TI>#
+ _ZTI26CTestStepVidPlayerPriority @ 126 NONAME ; #<TI>#
+ _ZTI26CTestStepVidPlayerRotation @ 127 NONAME ; #<TI>#
+ _ZTI26CTestStepVidRecorderRecord @ 128 NONAME ; #<TI>#
+ _ZTI26CTestSuiteUnitMMFVidClient @ 129 NONAME ; #<TI>#
+ _ZTI27CTestStepVidPlayerAudioType @ 130 NONAME ; #<TI>#
+ _ZTI27CTestStepVidPlayerPlayPause @ 131 NONAME ; #<TI>#
+ _ZTI27CTestStepVidPlayerVideoType @ 132 NONAME ; #<TI>#
+ _ZTI27CTestStepVidRecorderOpenUrl @ 133 NONAME ; #<TI>#
+ _ZTI27CTestStepVidRecorderPrepare @ 134 NONAME ; #<TI>#
+ _ZTI28CTestStepOOMVidPlayerOpenUrl @ 135 NONAME ; #<TI>#
+ _ZTI28CTestStepVidPlayerAudEnabled @ 136 NONAME ; #<TI>#
+ _ZTI28CTestStepVidPlayerCropRegion @ 137 NONAME ; #<TI>#
+ _ZTI28CTestStepVidPlayerPlayWindow @ 138 NONAME ; #<TI>#
+ _ZTI28CTestStepVidRecorderABitRate @ 139 NONAME ; #<TI>#
+ _ZTI28CTestStepVidRecorderDuration @ 140 NONAME ; #<TI>#
+ _ZTI28CTestStepVidRecorderOpenDesc @ 141 NONAME ; #<TI>#
+ _ZTI28CTestStepVidRecorderOpenFile @ 142 NONAME ; #<TI>#
+ _ZTI28CTestStepVidRecorderPriority @ 143 NONAME ; #<TI>#
+ _ZTI28CTestStepVidRecorderVBitRate @ 144 NONAME ; #<TI>#
+ _ZTI29CTestStepOOMVidPlayerOpenDesc @ 145 NONAME ; #<TI>#
+ _ZTI29CTestStepOOMVidPlayerOpenFile @ 146 NONAME ; #<TI>#
+ _ZTI29CTestStepVidPlayerGetABitRate @ 147 NONAME ; #<TI>#
+ _ZTI29CTestStepVidPlayerGetVBitRate @ 148 NONAME ; #<TI>#
+ _ZTI29CTestStepVidRecorderAudioType @ 149 NONAME ; #<TI>#
+ _ZTI29CTestStepVidRecorderVideoType @ 150 NONAME ; #<TI>#
+ _ZTI30CTestStepVidPlayerClipPosition @ 151 NONAME ; #<TI>#
+ _ZTI30CTestStepVidPlayerGeneralEvent @ 152 NONAME ; #<TI>#
+ _ZTI30CTestStepVidPlayerGetFrameRate @ 153 NONAME ; #<TI>#
+ _ZTI30CTestStepVidPlayerNewPriorPref @ 154 NONAME ; #<TI>#
+ _ZTI30CTestStepVidPlayerRefreshFrame @ 155 NONAME ; #<TI>#
+ _ZTI30CTestStepVidRecorderAudEnabled @ 156 NONAME ; #<TI>#
+ _ZTI30CTestStepVidRecorderRecordTime @ 157 NONAME ; #<TI>#
+ _ZTI30CTestStepVidRecorderVFrameRate @ 158 NONAME ; #<TI>#
+ _ZTI30CTestStepVidRecorderVFrameSize @ 159 NONAME ; #<TI>#
+ _ZTI31CTestStepVidPlayerGetVFrameSize @ 160 NONAME ; #<TI>#
+ _ZTI31CTestStepVidPlayerReloadingTest @ 161 NONAME ; #<TI>#
+ _ZTI31CTestStepVidRecorderHandleEvent @ 162 NONAME ; #<TI>#
+ _ZTI31CTestStepVidRecorderMaxClipSize @ 163 NONAME ; #<TI>#
+ _ZTI32CTestStepAllocFailVidRecorderNew @ 164 NONAME ; #<TI>#
+ _ZTI32CTestStepVidRecorderGeneralEvent @ 165 NONAME ; #<TI>#
+ _ZTI33CTestStepVidPlayerOpenFileCtrlUid @ 166 NONAME ; #<TI>#
+ _ZTI34CTestStepVidPlayerSetDisplayWindow @ 167 NONAME ; #<TI>#
+ _ZTI35CTestStepVidRecorderOpenFileCtrlUid @ 168 NONAME ; #<TI>#
+ _ZTI36CTestStepAllocFailVidRecorderOpenUrl @ 169 NONAME ; #<TI>#
+ _ZTI37CTestStepAllocFailVidRecorderOpenDesc @ 170 NONAME ; #<TI>#
+ _ZTI37CTestStepAllocFailVidRecorderOpenFile @ 171 NONAME ; #<TI>#
+ _ZTI39CTestStepVidPlayerGetImplementationInfo @ 172 NONAME ; #<TI>#
+ _ZTI39CTestStepVidPlayerSendCustomCommandSync @ 173 NONAME ; #<TI>#
+ _ZTI40CTestStepVidPlayerSendCustomCommandAsync @ 174 NONAME ; #<TI>#
+ _ZTI41CTestStepVidRecorderGetImplementationInfo @ 175 NONAME ; #<TI>#
+ _ZTI41CTestStepVidRecorderSendCustomCommandSync @ 176 NONAME ; #<TI>#
+ _ZTI42CTestStepVidRecorderSendCustomCommandAsync @ 177 NONAME ; #<TI>#
+ _ZTI44CTestStepAllocFailVidRecorderOpenFileCtrlUid @ 178 NONAME ; #<TI>#
+ _ZTV19CVideoPlayerUtility @ 179 NONAME ; #<VT>#
+ _ZTV21CTestStepVidPlayerDrm @ 180 NONAME ; #<VT>#
+ _ZTV21CTestStepVidPlayerNew @ 181 NONAME ; #<VT>#
+ _ZTV21CTestStepVidPlayerVol @ 182 NONAME ; #<VT>#
+ _ZTV21CVideoRecorderUtility @ 183 NONAME ; #<VT>#
+ _ZTV22CTestStepVidPlayerMeta @ 184 NONAME ; #<VT>#
+ _ZTV22CTestStepVidPlayerPlay @ 185 NONAME ; #<VT>#
+ _ZTV22CTestStepVidPlayerStop @ 186 NONAME ; #<VT>#
+ _ZTV23CMMFVideoPlayerCallback @ 187 NONAME ; #<VT>#
+ _ZTV23CTestStepVidPlayerClose @ 188 NONAME ; #<VT>#
+ _ZTV23CTestStepVidPlayerPause @ 189 NONAME ; #<VT>#
+ _ZTV23CTestStepVidPlayerScale @ 190 NONAME ; #<VT>#
+ _ZTV23CTestStepVidRecorderNew @ 191 NONAME ; #<VT>#
+ _ZTV24CTestStepOOMVidPlayerNew @ 192 NONAME ; #<VT>#
+ _ZTV24CTestStepVidRecorderGain @ 193 NONAME ; #<VT>#
+ _ZTV24CTestStepVidRecorderMeta @ 194 NONAME ; #<VT>#
+ _ZTV24CTestStepVidRecorderStop @ 195 NONAME ; #<VT>#
+ _ZTV25CMMFVideoRecorderCallback @ 196 NONAME ; #<VT>#
+ _ZTV25CTestStepUnitMMFVidClient @ 197 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerBalance @ 198 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerOpenUrl @ 199 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerRestart @ 200 NONAME ; #<VT>#
+ _ZTV25CTestStepVidRecorderClose @ 201 NONAME ; #<VT>#
+ _ZTV25CTestStepVidRecorderPause @ 202 NONAME ; #<VT>#
+ _ZTV26CTestStepVidPlayerDuration @ 203 NONAME ; #<VT>#
+ _ZTV26CTestStepVidPlayerGetFrame @ 204 NONAME ; #<VT>#
+ _ZTV26CTestStepVidPlayerOpenDesc @ 205 NONAME ; #<VT>#
+ _ZTV26CTestStepVidPlayerOpenFile @ 206 NONAME ; #<VT>#
+ _ZTV26CTestStepVidPlayerPriority @ 207 NONAME ; #<VT>#
+ _ZTV26CTestStepVidPlayerRotation @ 208 NONAME ; #<VT>#
+ _ZTV26CTestStepVidRecorderRecord @ 209 NONAME ; #<VT>#
+ _ZTV26CTestSuiteUnitMMFVidClient @ 210 NONAME ; #<VT>#
+ _ZTV27CTestStepVidPlayerAudioType @ 211 NONAME ; #<VT>#
+ _ZTV27CTestStepVidPlayerPlayPause @ 212 NONAME ; #<VT>#
+ _ZTV27CTestStepVidPlayerVideoType @ 213 NONAME ; #<VT>#
+ _ZTV27CTestStepVidRecorderOpenUrl @ 214 NONAME ; #<VT>#
+ _ZTV27CTestStepVidRecorderPrepare @ 215 NONAME ; #<VT>#
+ _ZTV28CTestStepOOMVidPlayerOpenUrl @ 216 NONAME ; #<VT>#
+ _ZTV28CTestStepVidPlayerAudEnabled @ 217 NONAME ; #<VT>#
+ _ZTV28CTestStepVidPlayerCropRegion @ 218 NONAME ; #<VT>#
+ _ZTV28CTestStepVidPlayerPlayWindow @ 219 NONAME ; #<VT>#
+ _ZTV28CTestStepVidRecorderABitRate @ 220 NONAME ; #<VT>#
+ _ZTV28CTestStepVidRecorderDuration @ 221 NONAME ; #<VT>#
+ _ZTV28CTestStepVidRecorderOpenDesc @ 222 NONAME ; #<VT>#
+ _ZTV28CTestStepVidRecorderOpenFile @ 223 NONAME ; #<VT>#
+ _ZTV28CTestStepVidRecorderPriority @ 224 NONAME ; #<VT>#
+ _ZTV28CTestStepVidRecorderVBitRate @ 225 NONAME ; #<VT>#
+ _ZTV29CTestStepOOMVidPlayerOpenDesc @ 226 NONAME ; #<VT>#
+ _ZTV29CTestStepOOMVidPlayerOpenFile @ 227 NONAME ; #<VT>#
+ _ZTV29CTestStepVidPlayerGetABitRate @ 228 NONAME ; #<VT>#
+ _ZTV29CTestStepVidPlayerGetVBitRate @ 229 NONAME ; #<VT>#
+ _ZTV29CTestStepVidRecorderAudioType @ 230 NONAME ; #<VT>#
+ _ZTV29CTestStepVidRecorderVideoType @ 231 NONAME ; #<VT>#
+ _ZTV30CTestStepVidPlayerClipPosition @ 232 NONAME ; #<VT>#
+ _ZTV30CTestStepVidPlayerGeneralEvent @ 233 NONAME ; #<VT>#
+ _ZTV30CTestStepVidPlayerGetFrameRate @ 234 NONAME ; #<VT>#
+ _ZTV30CTestStepVidPlayerNewPriorPref @ 235 NONAME ; #<VT>#
+ _ZTV30CTestStepVidPlayerRefreshFrame @ 236 NONAME ; #<VT>#
+ _ZTV30CTestStepVidRecorderAudEnabled @ 237 NONAME ; #<VT>#
+ _ZTV30CTestStepVidRecorderRecordTime @ 238 NONAME ; #<VT>#
+ _ZTV30CTestStepVidRecorderVFrameRate @ 239 NONAME ; #<VT>#
+ _ZTV30CTestStepVidRecorderVFrameSize @ 240 NONAME ; #<VT>#
+ _ZTV31CTestStepVidPlayerGetVFrameSize @ 241 NONAME ; #<VT>#
+ _ZTV31CTestStepVidPlayerReloadingTest @ 242 NONAME ; #<VT>#
+ _ZTV31CTestStepVidRecorderHandleEvent @ 243 NONAME ; #<VT>#
+ _ZTV31CTestStepVidRecorderMaxClipSize @ 244 NONAME ; #<VT>#
+ _ZTV32CTestStepAllocFailVidRecorderNew @ 245 NONAME ; #<VT>#
+ _ZTV32CTestStepVidRecorderGeneralEvent @ 246 NONAME ; #<VT>#
+ _ZTV33CTestStepVidPlayerOpenFileCtrlUid @ 247 NONAME ; #<VT>#
+ _ZTV34CTestStepVidPlayerSetDisplayWindow @ 248 NONAME ; #<VT>#
+ _ZTV35CTestStepVidRecorderOpenFileCtrlUid @ 249 NONAME ; #<VT>#
+ _ZTV36CTestStepAllocFailVidRecorderOpenUrl @ 250 NONAME ; #<VT>#
+ _ZTV37CTestStepAllocFailVidRecorderOpenDesc @ 251 NONAME ; #<VT>#
+ _ZTV37CTestStepAllocFailVidRecorderOpenFile @ 252 NONAME ; #<VT>#
+ _ZTV39CTestStepVidPlayerGetImplementationInfo @ 253 NONAME ; #<VT>#
+ _ZTV39CTestStepVidPlayerSendCustomCommandSync @ 254 NONAME ; #<VT>#
+ _ZTV40CTestStepVidPlayerSendCustomCommandAsync @ 255 NONAME ; #<VT>#
+ _ZTV41CTestStepVidRecorderGetImplementationInfo @ 256 NONAME ; #<VT>#
+ _ZTV41CTestStepVidRecorderSendCustomCommandSync @ 257 NONAME ; #<VT>#
+ _ZTV42CTestStepVidRecorderSendCustomCommandAsync @ 258 NONAME ; #<VT>#
+ _ZTV44CTestStepAllocFailVidRecorderOpenFileCtrlUid @ 259 NONAME ; #<VT>#
+ _ZN19CVideoPlayerUtility23StopDirectScreenAccessLEv @ 260 NONAME
+ _ZN19CVideoPlayerUtility24StartDirectScreenAccessLEv @ 261 NONAME
+ _ZTI30CTestStepVidPlayerStopStartDSA @ 262 NONAME ; #<TI>#
+ _ZTV30CTestStepVidPlayerStopStartDSA @ 263 NONAME ; #<VT>#
+ _ZTI31CTestStepVidPlayerOpenviaUriTag @ 264 NONAME ; #<TI>#
+ _ZTI33CTestStepVidPlayerOpenTryNextCtrl @ 265 NONAME ; #<TI>#
+ _ZTV31CTestStepVidPlayerOpenviaUriTag @ 266 NONAME ; #<VT>#
+ _ZTV33CTestStepVidPlayerOpenTryNextCtrl @ 267 NONAME ; #<VT>#
+ _ZTI41CTestStepVidPlayerCheckImplementationInfo @ 268 NONAME ; #<TI>#
+ _ZTI43CTestStepVidRecorderCheckImplementationInfo @ 269 NONAME ; #<TI>#
+ _ZTV41CTestStepVidPlayerCheckImplementationInfo @ 270 NONAME ; #<VT>#
+ _ZTV43CTestStepVidRecorderCheckImplementationInfo @ 271 NONAME ; #<VT>#
+ _ZTI43CTestStepVidPlayerOpenDurationCustomCommand @ 272 NONAME ; #<TI>#
+ _ZTV43CTestStepVidPlayerOpenDurationCustomCommand @ 273 NONAME ; #<VT>#
+ _ZN19CVideoPlayerUtility14WillResumePlayEv @ 274 NONAME
+ _ZN19CVideoPlayerUtility33RegisterAudioResourceNotificationER37MMMFAudioResourceNotificationCallback4TUidRK6TDesC8 @ 275 NONAME
+ _ZN19CVideoPlayerUtility39CancelRegisterAudioResourceNotificationE4TUid @ 276 NONAME
+ _ZTI21CTestStepVidPlayerARN @ 277 NONAME ; #<TI>#
+ _ZTV21CTestStepVidPlayerARN @ 278 NONAME ; #<VT>#
+ _ZTI23CTestGenericAosCallback @ 279 NONAME ; #<TI>#
+ _ZTI23CTestGenericArnCallback @ 280 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerARN0700 @ 281 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerARN0701 @ 282 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerARN0702 @ 283 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerARN0703 @ 284 NONAME ; #<TI>#
+ _ZTV23CTestGenericAosCallback @ 285 NONAME ; #<VT>#
+ _ZTV23CTestGenericArnCallback @ 286 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerARN0700 @ 287 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerARN0701 @ 288 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerARN0702 @ 289 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerARN0703 @ 290 NONAME ; #<VT>#
+ _ZTI33CTestStepVideoInterruptionByAudio @ 291 NONAME ; #<TI>#
+ _ZTV33CTestStepVideoInterruptionByAudio @ 292 NONAME ; #<VT>#
+ _ZN19CVideoPlayerUtility19SetInitScreenNumberEi @ 293 NONAME
+ _ZN21CVideoRecorderUtility17SetAudioChannelsLEj @ 294 NONAME
+ _ZN21CVideoRecorderUtility19SetAudioSampleRateLEj @ 295 NONAME
+ _ZN21CVideoRecorderUtility20SetPixelAspectRatioLERK17TVideoAspectRatio @ 296 NONAME
+ _ZNK21CVideoRecorderUtility14AudioChannelsLEv @ 297 NONAME
+ _ZNK21CVideoRecorderUtility16AudioSampleRateLEv @ 298 NONAME
+ _ZNK21CVideoRecorderUtility20GetPixelAspectRatioLER17TVideoAspectRatio @ 299 NONAME
+ _ZNK21CVideoRecorderUtility26GetSupportedAudioChannelsLER6RArrayIjE @ 300 NONAME
+ _ZNK21CVideoRecorderUtility29GetSupportedAudioSampleRatesLER6RArrayIjE @ 301 NONAME
+ _ZNK21CVideoRecorderUtility30GetSupportedPixelAspectRatiosLER6RArrayI17TVideoAspectRatioE @ 302 NONAME
+ _ZTI33CTestStepVidOnlyPlayerNoAudioType @ 303 NONAME
+ _ZTV33CTestStepVidOnlyPlayerNoAudioType @ 304 NONAME
+ _ZTI23CTestStepVidRecordError @ 305 NONAME
+ _ZTV23CTestStepVidRecordError @ 306 NONAME
+ _ZN19CVideoPlayerUtility10StepFrameLEi @ 307 NONAME
+ _ZN19CVideoPlayerUtility13SetAutoScaleLE14TAutoScaleType @ 308 NONAME
+ _ZN19CVideoPlayerUtility13SetAutoScaleLE14TAutoScaleTypeii @ 309 NONAME
+ _ZN19CVideoPlayerUtility16SetAudioEnabledLEi @ 310 NONAME
+ _ZN19CVideoPlayerUtility16SetPlayVelocityLEi @ 311 NONAME
+ _ZN19CVideoPlayerUtility16SetVideoEnabledLEi @ 312 NONAME
+ _ZN21CVideoRecorderUtility16SetVideoEnabledLEi @ 313 NONAME
+ _ZN21CVideoRecorderUtility16SetVideoQualityLEi @ 314 NONAME
+ _ZN21CVideoRecorderUtility23SetVideoFrameRateFixedLEi @ 315 NONAME
+ _ZNK19CVideoPlayerUtility13PlayVelocityLEv @ 316 NONAME
+ _ZNK19CVideoPlayerUtility13VideoEnabledLEv @ 317 NONAME
+ _ZNK19CVideoPlayerUtility24GetPlayRateCapabilitiesLER26TVideoPlayRateCapabilities @ 318 NONAME
+ _ZNK21CVideoRecorderUtility13VideoEnabledLEv @ 319 NONAME
+ _ZNK21CVideoRecorderUtility13VideoQualityLEv @ 320 NONAME
+ _ZNK21CVideoRecorderUtility20VideoFrameRateFixedLEv @ 321 NONAME
+ _ZN20CVideoPlayerUtility215SetVideoExtentLERK7RWindowRK5TRect @ 322 NONAME ABSENT
+ _ZN20CVideoPlayerUtility217AddDisplayWindowLER10RWsSessionR15CWsScreenDeviceR7RWindow @ 323 NONAME ABSENT
+ _ZN20CVideoPlayerUtility217AddDisplayWindowLER10RWsSessionR15CWsScreenDeviceR7RWindowRK5TRectS8_ @ 324 NONAME ABSENT
+ _ZN20CVideoPlayerUtility218SetWindowClipRectLERK7RWindowRK5TRect @ 325 NONAME ABSENT
+ _ZN20CVideoPlayerUtility219RemoveDisplayWindowER7RWindow @ 326 NONAME ABSENT
+ _ZN20CVideoPlayerUtility24NewLER27MVideoPlayerUtilityObserveri22TMdaPriorityPreference @ 327 NONAME ABSENT
+ _ZTI20CVideoPlayerUtility2 @ 328 NONAME ABSENT
+ _ZTI32CTestStepVidPlayerSetVideoExtent @ 329 NONAME ABSENT
+ _ZTI34CTestStepVidPlayerAddDisplayWindow @ 330 NONAME ABSENT
+ _ZTI35CTestStepVidPlayerSetWindowClipRect @ 331 NONAME ABSENT
+ _ZTI37CTestStepVidPlayerRemoveDisplayWindow @ 332 NONAME ABSENT
+ _ZTI37CTestStepVidPlayerSetInitScreenNumber @ 333 NONAME ABSENT
+ _ZTI50CTestStepVidPlayerEventParaChangedAndRemoveDisplay @ 334 NONAME ABSENT
+ _ZTV20CVideoPlayerUtility2 @ 335 NONAME ABSENT
+ _ZTV32CTestStepVidPlayerSetVideoExtent @ 336 NONAME ABSENT
+ _ZTV34CTestStepVidPlayerAddDisplayWindow @ 337 NONAME ABSENT
+ _ZTV35CTestStepVidPlayerSetWindowClipRect @ 338 NONAME ABSENT
+ _ZTV37CTestStepVidPlayerRemoveDisplayWindow @ 339 NONAME ABSENT
+ _ZTV37CTestStepVidPlayerSetInitScreenNumber @ 340 NONAME ABSENT
+ _ZTV50CTestStepVidPlayerEventParaChangedAndRemoveDisplay @ 341 NONAME ABSENT
+ _ZN20CVideoPlayerUtility212SetRotationLERK7RWindow14TVideoRotation @ 342 NONAME ABSENT
+ _ZN20CVideoPlayerUtility213SetAutoScaleLERK7RWindow14TAutoScaleType @ 343 NONAME ABSENT
+ _ZN20CVideoPlayerUtility213SetAutoScaleLERK7RWindow14TAutoScaleTypeii @ 344 NONAME ABSENT
+ _ZN20CVideoPlayerUtility215GetScaleFactorLERK7RWindowRfS3_ @ 345 NONAME ABSENT
+ _ZN20CVideoPlayerUtility215SetScaleFactorLERK7RWindowff @ 346 NONAME ABSENT
+ _ZN20CVideoPlayerUtility29RotationLERK7RWindow @ 347 NONAME ABSENT
+ _ZTI27CTestStepVidPlayerAutoScale @ 348 NONAME ABSENT
+ _ZTV27CTestStepVidPlayerAutoScale @ 349 NONAME ABSENT
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/eabi/TS_CmmfVideoTestCustomCommandsU.DEF Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,11 @@
+EXPORTS
+ _ZN22RMMFTestCustomCommands16MvcGetFrameRateLERf @ 1 NONAME
+ _ZN22RMMFTestCustomCommands16MvcSetFrameRateLEf @ 2 NONAME
+ _ZN22RMMFTestCustomCommandsC1ER14RMMFController4TUid @ 3 NONAME
+ _ZN22RMMFTestCustomCommandsC2ER14RMMFController4TUid @ 4 NONAME
+ _ZN27CMMFTestCustomCommandParser13HandleRequestER11TMMFMessage @ 5 NONAME
+ _ZN27CMMFTestCustomCommandParser4NewLE4TUidR32MMMFTestCustomCommandImplementor @ 6 NONAME
+ _ZN27CMMFTestCustomCommandParser5NewLCE4TUidR32MMMFTestCustomCommandImplementor @ 7 NONAME
+ _ZTI27CMMFTestCustomCommandParser @ 8 NONAME ; #<TI>#
+ _ZTV27CMMFTestCustomCommandParser @ 9 NONAME ; #<VT>#
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/eabi/tsu_mmf_vclnt_01_gce.def Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,353 @@
+EXPORTS
+ _Z29NewTestSuiteUnitMMFVidClientLv @ 1 NONAME
+ _Z9Reserved1v @ 2 NONAME
+ _Z9Reserved2v @ 3 NONAME
+ _ZN19CVideoPlayerUtility10SetVolumeLEi @ 4 NONAME
+ _ZN19CVideoPlayerUtility11SetBalanceLEi @ 5 NONAME
+ _ZN19CVideoPlayerUtility12SetPositionLERK25TTimeIntervalMicroSeconds @ 6 NONAME
+ _ZN19CVideoPlayerUtility12SetPriorityLEi22TMdaPriorityPreference @ 7 NONAME
+ _ZN19CVideoPlayerUtility12SetRotationLE14TVideoRotation @ 8 NONAME
+ _ZN19CVideoPlayerUtility13RefreshFrameLEv @ 9 NONAME
+ _ZN19CVideoPlayerUtility14SetCropRegionLERK5TRect @ 10 NONAME
+ _ZN19CVideoPlayerUtility15SetScaleFactorLEffi @ 11 NONAME
+ _ZN19CVideoPlayerUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_ @ 12 NONAME
+ _ZN19CVideoPlayerUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8 @ 13 NONAME
+ _ZN19CVideoPlayerUtility17SetDisplayWindowLER10RWsSessionR15CWsScreenDeviceR11RWindowBaseRK5TRectS8_ @ 14 NONAME
+ _ZN19CVideoPlayerUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R14TRequestStatus @ 15 NONAME
+ _ZN19CVideoPlayerUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8R14TRequestStatus @ 16 NONAME
+ _ZN19CVideoPlayerUtility18SetVideoFrameRateLEf @ 17 NONAME
+ _ZN19CVideoPlayerUtility19GetDRMCustomCommandEv @ 18 NONAME
+ _ZN19CVideoPlayerUtility24GetVideoLoadingProgressLERi @ 19 NONAME
+ _ZN19CVideoPlayerUtility35RegisterForVideoLoadingNotificationER21MVideoLoadingObserver @ 20 NONAME
+ _ZN19CVideoPlayerUtility36ControllerImplementationInformationLEv @ 21 NONAME
+ _ZN19CVideoPlayerUtility4NewLER27MVideoPlayerUtilityObserveri22TMdaPriorityPreferenceR10RWsSessionR15CWsScreenDeviceR11RWindowBaseRK5TRectSB_ @ 22 NONAME
+ _ZN19CVideoPlayerUtility4PlayERK25TTimeIntervalMicroSecondsS2_ @ 23 NONAME
+ _ZN19CVideoPlayerUtility4PlayEv @ 24 NONAME
+ _ZN19CVideoPlayerUtility4StopEv @ 25 NONAME
+ _ZN19CVideoPlayerUtility5CloseEv @ 26 NONAME
+ _ZN19CVideoPlayerUtility6PauseLEv @ 27 NONAME
+ _ZN19CVideoPlayerUtility7PrepareEv @ 28 NONAME
+ _ZN19CVideoPlayerUtility8OpenDesLERK6TDesC84TUid @ 29 NONAME
+ _ZN19CVideoPlayerUtility8OpenUrlLERK7TDesC16iRK6TDesC84TUid @ 30 NONAME
+ _ZN19CVideoPlayerUtility9GetFrameLE12TDisplayMode @ 31 NONAME
+ _ZN19CVideoPlayerUtility9GetFrameLE12TDisplayModeN13ContentAccess7TIntentE @ 32 NONAME
+ _ZN19CVideoPlayerUtility9OpenFileLERK5RFile4TUid @ 33 NONAME
+ _ZN19CVideoPlayerUtility9OpenFileLERK7TDesC164TUid @ 34 NONAME
+ _ZN19CVideoPlayerUtility9OpenFileLERK9TMMSource4TUid @ 35 NONAME
+ _ZN21CVideoRecorderUtility12SetPriorityLEi22TMdaPriorityPreference @ 36 NONAME
+ _ZN21CVideoRecorderUtility13SetAudioTypeLE7TFourCC @ 37 NONAME
+ _ZN21CVideoRecorderUtility13SetVideoTypeLERK6TDesC8 @ 38 NONAME
+ _ZN21CVideoRecorderUtility13VideoBitRateLEv @ 39 NONAME
+ _ZN21CVideoRecorderUtility15SetMaxClipSizeLEi @ 40 NONAME
+ _ZN21CVideoRecorderUtility16SetAudioBitRateLEi @ 41 NONAME
+ _ZN21CVideoRecorderUtility16SetAudioEnabledLEi @ 42 NONAME
+ _ZN21CVideoRecorderUtility16SetVideoBitRateLEi @ 43 NONAME
+ _ZN21CVideoRecorderUtility17AddMetaDataEntryLERK17CMMFMetaDataEntry @ 44 NONAME
+ _ZN21CVideoRecorderUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_ @ 45 NONAME
+ _ZN21CVideoRecorderUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8 @ 46 NONAME
+ _ZN21CVideoRecorderUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R14TRequestStatus @ 47 NONAME
+ _ZN21CVideoRecorderUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8R14TRequestStatus @ 48 NONAME
+ _ZN21CVideoRecorderUtility18SetVideoFrameRateLEf @ 49 NONAME
+ _ZN21CVideoRecorderUtility18SetVideoFrameSizeLERK5TSize @ 50 NONAME
+ _ZN21CVideoRecorderUtility20RemoveMetaDataEntryLEi @ 51 NONAME
+ _ZN21CVideoRecorderUtility21ReplaceMetaDataEntryLEiRK17CMMFMetaDataEntry @ 52 NONAME
+ _ZN21CVideoRecorderUtility36ControllerImplementationInformationLEv @ 53 NONAME
+ _ZN21CVideoRecorderUtility4NewLER29MVideoRecorderUtilityObserveri22TMdaPriorityPreference @ 54 NONAME
+ _ZN21CVideoRecorderUtility4StopEv @ 55 NONAME
+ _ZN21CVideoRecorderUtility5CloseEv @ 56 NONAME
+ _ZN21CVideoRecorderUtility6PauseLEv @ 57 NONAME
+ _ZN21CVideoRecorderUtility6RecordEv @ 58 NONAME
+ _ZN21CVideoRecorderUtility7PrepareEv @ 59 NONAME
+ _ZN21CVideoRecorderUtility8OpenDesLER5TDes8i4TUidS2_RK6TDesC87TFourCC @ 60 NONAME
+ _ZN21CVideoRecorderUtility8OpenUrlLERK7TDesC16ii4TUidS3_RK6TDesC87TFourCC @ 61 NONAME
+ _ZN21CVideoRecorderUtility8SetGainLEi @ 62 NONAME
+ _ZN21CVideoRecorderUtility9OpenFileLERK5RFilei4TUidS3_RK6TDesC87TFourCC @ 63 NONAME
+ _ZN21CVideoRecorderUtility9OpenFileLERK7TDesC16i4TUidS3_RK6TDesC87TFourCC @ 64 NONAME
+ _ZNK19CVideoPlayerUtility10AudioTypeLEv @ 65 NONAME
+ _ZNK19CVideoPlayerUtility13AudioBitRateLEv @ 66 NONAME
+ _ZNK19CVideoPlayerUtility13AudioEnabledLEv @ 67 NONAME
+ _ZNK19CVideoPlayerUtility13VideoBitRateLEv @ 68 NONAME
+ _ZNK19CVideoPlayerUtility14GetCropRegionLER5TRect @ 69 NONAME
+ _ZNK19CVideoPlayerUtility14MetaDataEntryLEi @ 70 NONAME
+ _ZNK19CVideoPlayerUtility15GetScaleFactorLERfS0_Ri @ 71 NONAME
+ _ZNK19CVideoPlayerUtility15VideoFrameRateLEv @ 72 NONAME
+ _ZNK19CVideoPlayerUtility15VideoFrameSizeLER5TSize @ 73 NONAME
+ _ZNK19CVideoPlayerUtility19VideoFormatMimeTypeEv @ 74 NONAME
+ _ZNK19CVideoPlayerUtility24NumberOfMetaDataEntriesLEv @ 75 NONAME
+ _ZNK19CVideoPlayerUtility6VolumeEv @ 76 NONAME
+ _ZNK19CVideoPlayerUtility7BalanceEv @ 77 NONAME
+ _ZNK19CVideoPlayerUtility9DurationLEv @ 78 NONAME
+ _ZNK19CVideoPlayerUtility9MaxVolumeEv @ 79 NONAME
+ _ZNK19CVideoPlayerUtility9PositionLEv @ 80 NONAME
+ _ZNK19CVideoPlayerUtility9PriorityLERiR22TMdaPriorityPreference @ 81 NONAME
+ _ZNK19CVideoPlayerUtility9RotationLEv @ 82 NONAME
+ _ZNK21CVideoRecorderUtility10AudioTypeLEv @ 83 NONAME
+ _ZNK21CVideoRecorderUtility12GetPriorityLERiR22TMdaPriorityPreference @ 84 NONAME
+ _ZNK21CVideoRecorderUtility13AudioBitRateLEv @ 85 NONAME
+ _ZNK21CVideoRecorderUtility13AudioEnabledLEv @ 86 NONAME
+ _ZNK21CVideoRecorderUtility14MetaDataEntryLEi @ 87 NONAME
+ _ZNK21CVideoRecorderUtility15VideoFrameRateLEv @ 88 NONAME
+ _ZNK21CVideoRecorderUtility18GetVideoFrameSizeLER5TSize @ 89 NONAME
+ _ZNK21CVideoRecorderUtility19RecordTimeAvailableEv @ 90 NONAME
+ _ZNK21CVideoRecorderUtility19VideoFormatMimeTypeEv @ 91 NONAME
+ _ZNK21CVideoRecorderUtility23GetSupportedAudioTypesLER6RArrayI7TFourCCE @ 92 NONAME
+ _ZNK21CVideoRecorderUtility23GetSupportedVideoTypesLER11CDesC8Array @ 93 NONAME
+ _ZNK21CVideoRecorderUtility24NumberOfMetaDataEntriesLEv @ 94 NONAME
+ _ZNK21CVideoRecorderUtility5GainLEv @ 95 NONAME
+ _ZNK21CVideoRecorderUtility8MaxGainLEv @ 96 NONAME
+ _ZNK21CVideoRecorderUtility9DurationLEv @ 97 NONAME
+ _ZTI19CVideoPlayerUtility @ 98 NONAME ; #<TI>#
+ _ZTI21CTestStepVidPlayerDrm @ 99 NONAME ; #<TI>#
+ _ZTI21CTestStepVidPlayerNew @ 100 NONAME ; #<TI>#
+ _ZTI21CTestStepVidPlayerVol @ 101 NONAME ; #<TI>#
+ _ZTI21CVideoRecorderUtility @ 102 NONAME ; #<TI>#
+ _ZTI22CTestStepVidPlayerMeta @ 103 NONAME ; #<TI>#
+ _ZTI22CTestStepVidPlayerPlay @ 104 NONAME ; #<TI>#
+ _ZTI22CTestStepVidPlayerStop @ 105 NONAME ; #<TI>#
+ _ZTI23CMMFVideoPlayerCallback @ 106 NONAME ; #<TI>#
+ _ZTI23CTestStepVidPlayerClose @ 107 NONAME ; #<TI>#
+ _ZTI23CTestStepVidPlayerPause @ 108 NONAME ; #<TI>#
+ _ZTI23CTestStepVidPlayerScale @ 109 NONAME ; #<TI>#
+ _ZTI23CTestStepVidRecorderNew @ 110 NONAME ; #<TI>#
+ _ZTI24CTestStepOOMVidPlayerNew @ 111 NONAME ; #<TI>#
+ _ZTI24CTestStepVidRecorderGain @ 112 NONAME ; #<TI>#
+ _ZTI24CTestStepVidRecorderMeta @ 113 NONAME ; #<TI>#
+ _ZTI24CTestStepVidRecorderStop @ 114 NONAME ; #<TI>#
+ _ZTI25CMMFVideoRecorderCallback @ 115 NONAME ; #<TI>#
+ _ZTI25CTestStepUnitMMFVidClient @ 116 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerBalance @ 117 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerOpenUrl @ 118 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerRestart @ 119 NONAME ; #<TI>#
+ _ZTI25CTestStepVidRecorderClose @ 120 NONAME ; #<TI>#
+ _ZTI25CTestStepVidRecorderPause @ 121 NONAME ; #<TI>#
+ _ZTI26CTestStepVidPlayerDuration @ 122 NONAME ; #<TI>#
+ _ZTI26CTestStepVidPlayerGetFrame @ 123 NONAME ; #<TI>#
+ _ZTI26CTestStepVidPlayerOpenDesc @ 124 NONAME ; #<TI>#
+ _ZTI26CTestStepVidPlayerOpenFile @ 125 NONAME ; #<TI>#
+ _ZTI26CTestStepVidPlayerPriority @ 126 NONAME ; #<TI>#
+ _ZTI26CTestStepVidPlayerRotation @ 127 NONAME ; #<TI>#
+ _ZTI26CTestStepVidRecorderRecord @ 128 NONAME ; #<TI>#
+ _ZTI26CTestSuiteUnitMMFVidClient @ 129 NONAME ; #<TI>#
+ _ZTI27CTestStepVidPlayerAudioType @ 130 NONAME ; #<TI>#
+ _ZTI27CTestStepVidPlayerPlayPause @ 131 NONAME ; #<TI>#
+ _ZTI27CTestStepVidPlayerVideoType @ 132 NONAME ; #<TI>#
+ _ZTI27CTestStepVidRecorderOpenUrl @ 133 NONAME ; #<TI>#
+ _ZTI27CTestStepVidRecorderPrepare @ 134 NONAME ; #<TI>#
+ _ZTI28CTestStepOOMVidPlayerOpenUrl @ 135 NONAME ; #<TI>#
+ _ZTI28CTestStepVidPlayerAudEnabled @ 136 NONAME ; #<TI>#
+ _ZTI28CTestStepVidPlayerCropRegion @ 137 NONAME ; #<TI>#
+ _ZTI28CTestStepVidPlayerPlayWindow @ 138 NONAME ; #<TI>#
+ _ZTI28CTestStepVidRecorderABitRate @ 139 NONAME ; #<TI>#
+ _ZTI28CTestStepVidRecorderDuration @ 140 NONAME ; #<TI>#
+ _ZTI28CTestStepVidRecorderOpenDesc @ 141 NONAME ; #<TI>#
+ _ZTI28CTestStepVidRecorderOpenFile @ 142 NONAME ; #<TI>#
+ _ZTI28CTestStepVidRecorderPriority @ 143 NONAME ; #<TI>#
+ _ZTI28CTestStepVidRecorderVBitRate @ 144 NONAME ; #<TI>#
+ _ZTI29CTestStepOOMVidPlayerOpenDesc @ 145 NONAME ; #<TI>#
+ _ZTI29CTestStepOOMVidPlayerOpenFile @ 146 NONAME ; #<TI>#
+ _ZTI29CTestStepVidPlayerGetABitRate @ 147 NONAME ; #<TI>#
+ _ZTI29CTestStepVidPlayerGetVBitRate @ 148 NONAME ; #<TI>#
+ _ZTI29CTestStepVidRecorderAudioType @ 149 NONAME ; #<TI>#
+ _ZTI29CTestStepVidRecorderVideoType @ 150 NONAME ; #<TI>#
+ _ZTI30CTestStepVidPlayerClipPosition @ 151 NONAME ; #<TI>#
+ _ZTI30CTestStepVidPlayerGeneralEvent @ 152 NONAME ; #<TI>#
+ _ZTI30CTestStepVidPlayerGetFrameRate @ 153 NONAME ; #<TI>#
+ _ZTI30CTestStepVidPlayerNewPriorPref @ 154 NONAME ; #<TI>#
+ _ZTI30CTestStepVidPlayerRefreshFrame @ 155 NONAME ; #<TI>#
+ _ZTI30CTestStepVidRecorderAudEnabled @ 156 NONAME ; #<TI>#
+ _ZTI30CTestStepVidRecorderRecordTime @ 157 NONAME ; #<TI>#
+ _ZTI30CTestStepVidRecorderVFrameRate @ 158 NONAME ; #<TI>#
+ _ZTI30CTestStepVidRecorderVFrameSize @ 159 NONAME ; #<TI>#
+ _ZTI31CTestStepVidPlayerGetVFrameSize @ 160 NONAME ; #<TI>#
+ _ZTI31CTestStepVidPlayerReloadingTest @ 161 NONAME ; #<TI>#
+ _ZTI31CTestStepVidRecorderHandleEvent @ 162 NONAME ; #<TI>#
+ _ZTI31CTestStepVidRecorderMaxClipSize @ 163 NONAME ; #<TI>#
+ _ZTI32CTestStepAllocFailVidRecorderNew @ 164 NONAME ; #<TI>#
+ _ZTI32CTestStepVidRecorderGeneralEvent @ 165 NONAME ; #<TI>#
+ _ZTI33CTestStepVidPlayerOpenFileCtrlUid @ 166 NONAME ; #<TI>#
+ _ZTI34CTestStepVidPlayerSetDisplayWindow @ 167 NONAME ; #<TI>#
+ _ZTI35CTestStepVidRecorderOpenFileCtrlUid @ 168 NONAME ; #<TI>#
+ _ZTI36CTestStepAllocFailVidRecorderOpenUrl @ 169 NONAME ; #<TI>#
+ _ZTI37CTestStepAllocFailVidRecorderOpenDesc @ 170 NONAME ; #<TI>#
+ _ZTI37CTestStepAllocFailVidRecorderOpenFile @ 171 NONAME ; #<TI>#
+ _ZTI39CTestStepVidPlayerGetImplementationInfo @ 172 NONAME ; #<TI>#
+ _ZTI39CTestStepVidPlayerSendCustomCommandSync @ 173 NONAME ; #<TI>#
+ _ZTI40CTestStepVidPlayerSendCustomCommandAsync @ 174 NONAME ; #<TI>#
+ _ZTI41CTestStepVidRecorderGetImplementationInfo @ 175 NONAME ; #<TI>#
+ _ZTI41CTestStepVidRecorderSendCustomCommandSync @ 176 NONAME ; #<TI>#
+ _ZTI42CTestStepVidRecorderSendCustomCommandAsync @ 177 NONAME ; #<TI>#
+ _ZTI44CTestStepAllocFailVidRecorderOpenFileCtrlUid @ 178 NONAME ; #<TI>#
+ _ZTV19CVideoPlayerUtility @ 179 NONAME ; #<VT>#
+ _ZTV21CTestStepVidPlayerDrm @ 180 NONAME ; #<VT>#
+ _ZTV21CTestStepVidPlayerNew @ 181 NONAME ; #<VT>#
+ _ZTV21CTestStepVidPlayerVol @ 182 NONAME ; #<VT>#
+ _ZTV21CVideoRecorderUtility @ 183 NONAME ; #<VT>#
+ _ZTV22CTestStepVidPlayerMeta @ 184 NONAME ; #<VT>#
+ _ZTV22CTestStepVidPlayerPlay @ 185 NONAME ; #<VT>#
+ _ZTV22CTestStepVidPlayerStop @ 186 NONAME ; #<VT>#
+ _ZTV23CMMFVideoPlayerCallback @ 187 NONAME ; #<VT>#
+ _ZTV23CTestStepVidPlayerClose @ 188 NONAME ; #<VT>#
+ _ZTV23CTestStepVidPlayerPause @ 189 NONAME ; #<VT>#
+ _ZTV23CTestStepVidPlayerScale @ 190 NONAME ; #<VT>#
+ _ZTV23CTestStepVidRecorderNew @ 191 NONAME ; #<VT>#
+ _ZTV24CTestStepOOMVidPlayerNew @ 192 NONAME ; #<VT>#
+ _ZTV24CTestStepVidRecorderGain @ 193 NONAME ; #<VT>#
+ _ZTV24CTestStepVidRecorderMeta @ 194 NONAME ; #<VT>#
+ _ZTV24CTestStepVidRecorderStop @ 195 NONAME ; #<VT>#
+ _ZTV25CMMFVideoRecorderCallback @ 196 NONAME ; #<VT>#
+ _ZTV25CTestStepUnitMMFVidClient @ 197 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerBalance @ 198 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerOpenUrl @ 199 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerRestart @ 200 NONAME ; #<VT>#
+ _ZTV25CTestStepVidRecorderClose @ 201 NONAME ; #<VT>#
+ _ZTV25CTestStepVidRecorderPause @ 202 NONAME ; #<VT>#
+ _ZTV26CTestStepVidPlayerDuration @ 203 NONAME ; #<VT>#
+ _ZTV26CTestStepVidPlayerGetFrame @ 204 NONAME ; #<VT>#
+ _ZTV26CTestStepVidPlayerOpenDesc @ 205 NONAME ; #<VT>#
+ _ZTV26CTestStepVidPlayerOpenFile @ 206 NONAME ; #<VT>#
+ _ZTV26CTestStepVidPlayerPriority @ 207 NONAME ; #<VT>#
+ _ZTV26CTestStepVidPlayerRotation @ 208 NONAME ; #<VT>#
+ _ZTV26CTestStepVidRecorderRecord @ 209 NONAME ; #<VT>#
+ _ZTV26CTestSuiteUnitMMFVidClient @ 210 NONAME ; #<VT>#
+ _ZTV27CTestStepVidPlayerAudioType @ 211 NONAME ; #<VT>#
+ _ZTV27CTestStepVidPlayerPlayPause @ 212 NONAME ; #<VT>#
+ _ZTV27CTestStepVidPlayerVideoType @ 213 NONAME ; #<VT>#
+ _ZTV27CTestStepVidRecorderOpenUrl @ 214 NONAME ; #<VT>#
+ _ZTV27CTestStepVidRecorderPrepare @ 215 NONAME ; #<VT>#
+ _ZTV28CTestStepOOMVidPlayerOpenUrl @ 216 NONAME ; #<VT>#
+ _ZTV28CTestStepVidPlayerAudEnabled @ 217 NONAME ; #<VT>#
+ _ZTV28CTestStepVidPlayerCropRegion @ 218 NONAME ; #<VT>#
+ _ZTV28CTestStepVidPlayerPlayWindow @ 219 NONAME ; #<VT>#
+ _ZTV28CTestStepVidRecorderABitRate @ 220 NONAME ; #<VT>#
+ _ZTV28CTestStepVidRecorderDuration @ 221 NONAME ; #<VT>#
+ _ZTV28CTestStepVidRecorderOpenDesc @ 222 NONAME ; #<VT>#
+ _ZTV28CTestStepVidRecorderOpenFile @ 223 NONAME ; #<VT>#
+ _ZTV28CTestStepVidRecorderPriority @ 224 NONAME ; #<VT>#
+ _ZTV28CTestStepVidRecorderVBitRate @ 225 NONAME ; #<VT>#
+ _ZTV29CTestStepOOMVidPlayerOpenDesc @ 226 NONAME ; #<VT>#
+ _ZTV29CTestStepOOMVidPlayerOpenFile @ 227 NONAME ; #<VT>#
+ _ZTV29CTestStepVidPlayerGetABitRate @ 228 NONAME ; #<VT>#
+ _ZTV29CTestStepVidPlayerGetVBitRate @ 229 NONAME ; #<VT>#
+ _ZTV29CTestStepVidRecorderAudioType @ 230 NONAME ; #<VT>#
+ _ZTV29CTestStepVidRecorderVideoType @ 231 NONAME ; #<VT>#
+ _ZTV30CTestStepVidPlayerClipPosition @ 232 NONAME ; #<VT>#
+ _ZTV30CTestStepVidPlayerGeneralEvent @ 233 NONAME ; #<VT>#
+ _ZTV30CTestStepVidPlayerGetFrameRate @ 234 NONAME ; #<VT>#
+ _ZTV30CTestStepVidPlayerNewPriorPref @ 235 NONAME ; #<VT>#
+ _ZTV30CTestStepVidPlayerRefreshFrame @ 236 NONAME ; #<VT>#
+ _ZTV30CTestStepVidRecorderAudEnabled @ 237 NONAME ; #<VT>#
+ _ZTV30CTestStepVidRecorderRecordTime @ 238 NONAME ; #<VT>#
+ _ZTV30CTestStepVidRecorderVFrameRate @ 239 NONAME ; #<VT>#
+ _ZTV30CTestStepVidRecorderVFrameSize @ 240 NONAME ; #<VT>#
+ _ZTV31CTestStepVidPlayerGetVFrameSize @ 241 NONAME ; #<VT>#
+ _ZTV31CTestStepVidPlayerReloadingTest @ 242 NONAME ; #<VT>#
+ _ZTV31CTestStepVidRecorderHandleEvent @ 243 NONAME ; #<VT>#
+ _ZTV31CTestStepVidRecorderMaxClipSize @ 244 NONAME ; #<VT>#
+ _ZTV32CTestStepAllocFailVidRecorderNew @ 245 NONAME ; #<VT>#
+ _ZTV32CTestStepVidRecorderGeneralEvent @ 246 NONAME ; #<VT>#
+ _ZTV33CTestStepVidPlayerOpenFileCtrlUid @ 247 NONAME ; #<VT>#
+ _ZTV34CTestStepVidPlayerSetDisplayWindow @ 248 NONAME ; #<VT>#
+ _ZTV35CTestStepVidRecorderOpenFileCtrlUid @ 249 NONAME ; #<VT>#
+ _ZTV36CTestStepAllocFailVidRecorderOpenUrl @ 250 NONAME ; #<VT>#
+ _ZTV37CTestStepAllocFailVidRecorderOpenDesc @ 251 NONAME ; #<VT>#
+ _ZTV37CTestStepAllocFailVidRecorderOpenFile @ 252 NONAME ; #<VT>#
+ _ZTV39CTestStepVidPlayerGetImplementationInfo @ 253 NONAME ; #<VT>#
+ _ZTV39CTestStepVidPlayerSendCustomCommandSync @ 254 NONAME ; #<VT>#
+ _ZTV40CTestStepVidPlayerSendCustomCommandAsync @ 255 NONAME ; #<VT>#
+ _ZTV41CTestStepVidRecorderGetImplementationInfo @ 256 NONAME ; #<VT>#
+ _ZTV41CTestStepVidRecorderSendCustomCommandSync @ 257 NONAME ; #<VT>#
+ _ZTV42CTestStepVidRecorderSendCustomCommandAsync @ 258 NONAME ; #<VT>#
+ _ZTV44CTestStepAllocFailVidRecorderOpenFileCtrlUid @ 259 NONAME ; #<VT>#
+ _ZN19CVideoPlayerUtility23StopDirectScreenAccessLEv @ 260 NONAME
+ _ZN19CVideoPlayerUtility24StartDirectScreenAccessLEv @ 261 NONAME
+ _ZTI30CTestStepVidPlayerStopStartDSA @ 262 NONAME ; #<TI>#
+ _ZTV30CTestStepVidPlayerStopStartDSA @ 263 NONAME ; #<VT>#
+ _ZTI31CTestStepVidPlayerOpenviaUriTag @ 264 NONAME ; #<TI>#
+ _ZTI33CTestStepVidPlayerOpenTryNextCtrl @ 265 NONAME ; #<TI>#
+ _ZTV31CTestStepVidPlayerOpenviaUriTag @ 266 NONAME ; #<VT>#
+ _ZTV33CTestStepVidPlayerOpenTryNextCtrl @ 267 NONAME ; #<VT>#
+ _ZTI41CTestStepVidPlayerCheckImplementationInfo @ 268 NONAME ; #<TI>#
+ _ZTI43CTestStepVidRecorderCheckImplementationInfo @ 269 NONAME ; #<TI>#
+ _ZTV41CTestStepVidPlayerCheckImplementationInfo @ 270 NONAME ; #<VT>#
+ _ZTV43CTestStepVidRecorderCheckImplementationInfo @ 271 NONAME ; #<VT>#
+ _ZTI43CTestStepVidPlayerOpenDurationCustomCommand @ 272 NONAME ; #<TI>#
+ _ZTV43CTestStepVidPlayerOpenDurationCustomCommand @ 273 NONAME ; #<VT>#
+ _ZN19CVideoPlayerUtility14WillResumePlayEv @ 274 NONAME
+ _ZN19CVideoPlayerUtility33RegisterAudioResourceNotificationER37MMMFAudioResourceNotificationCallback4TUidRK6TDesC8 @ 275 NONAME
+ _ZN19CVideoPlayerUtility39CancelRegisterAudioResourceNotificationE4TUid @ 276 NONAME
+ _ZTI21CTestStepVidPlayerARN @ 277 NONAME ; #<TI>#
+ _ZTV21CTestStepVidPlayerARN @ 278 NONAME ; #<VT>#
+ _ZTI23CTestGenericAosCallback @ 279 NONAME ; #<TI>#
+ _ZTI23CTestGenericArnCallback @ 280 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerARN0700 @ 281 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerARN0701 @ 282 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerARN0702 @ 283 NONAME ; #<TI>#
+ _ZTI25CTestStepVidPlayerARN0703 @ 284 NONAME ; #<TI>#
+ _ZTV23CTestGenericAosCallback @ 285 NONAME ; #<VT>#
+ _ZTV23CTestGenericArnCallback @ 286 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerARN0700 @ 287 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerARN0701 @ 288 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerARN0702 @ 289 NONAME ; #<VT>#
+ _ZTV25CTestStepVidPlayerARN0703 @ 290 NONAME ; #<VT>#
+ _ZTI33CTestStepVideoInterruptionByAudio @ 291 NONAME ; #<TI>#
+ _ZTV33CTestStepVideoInterruptionByAudio @ 292 NONAME ; #<VT>#
+ _ZN19CVideoPlayerUtility19SetInitScreenNumberEi @ 293 NONAME
+ _ZN21CVideoRecorderUtility17SetAudioChannelsLEj @ 294 NONAME
+ _ZN21CVideoRecorderUtility19SetAudioSampleRateLEj @ 295 NONAME
+ _ZN21CVideoRecorderUtility20SetPixelAspectRatioLERK17TVideoAspectRatio @ 296 NONAME
+ _ZNK21CVideoRecorderUtility14AudioChannelsLEv @ 297 NONAME
+ _ZNK21CVideoRecorderUtility16AudioSampleRateLEv @ 298 NONAME
+ _ZNK21CVideoRecorderUtility20GetPixelAspectRatioLER17TVideoAspectRatio @ 299 NONAME
+ _ZNK21CVideoRecorderUtility26GetSupportedAudioChannelsLER6RArrayIjE @ 300 NONAME
+ _ZNK21CVideoRecorderUtility29GetSupportedAudioSampleRatesLER6RArrayIjE @ 301 NONAME
+ _ZNK21CVideoRecorderUtility30GetSupportedPixelAspectRatiosLER6RArrayI17TVideoAspectRatioE @ 302 NONAME
+ _ZTI33CTestStepVidOnlyPlayerNoAudioType @ 303 NONAME
+ _ZTV33CTestStepVidOnlyPlayerNoAudioType @ 304 NONAME
+ _ZTI23CTestStepVidRecordError @ 305 NONAME
+ _ZTV23CTestStepVidRecordError @ 306 NONAME
+ _ZN19CVideoPlayerUtility10StepFrameLEi @ 307 NONAME
+ _ZN19CVideoPlayerUtility13SetAutoScaleLE14TAutoScaleType @ 308 NONAME
+ _ZN19CVideoPlayerUtility13SetAutoScaleLE14TAutoScaleTypeii @ 309 NONAME
+ _ZN19CVideoPlayerUtility16SetAudioEnabledLEi @ 310 NONAME
+ _ZN19CVideoPlayerUtility16SetPlayVelocityLEi @ 311 NONAME
+ _ZN19CVideoPlayerUtility16SetVideoEnabledLEi @ 312 NONAME
+ _ZN21CVideoRecorderUtility16SetVideoEnabledLEi @ 313 NONAME
+ _ZN21CVideoRecorderUtility16SetVideoQualityLEi @ 314 NONAME
+ _ZN21CVideoRecorderUtility23SetVideoFrameRateFixedLEi @ 315 NONAME
+ _ZNK19CVideoPlayerUtility13PlayVelocityLEv @ 316 NONAME
+ _ZNK19CVideoPlayerUtility13VideoEnabledLEv @ 317 NONAME
+ _ZNK19CVideoPlayerUtility24GetPlayRateCapabilitiesLER26TVideoPlayRateCapabilities @ 318 NONAME
+ _ZNK21CVideoRecorderUtility13VideoEnabledLEv @ 319 NONAME
+ _ZNK21CVideoRecorderUtility13VideoQualityLEv @ 320 NONAME
+ _ZNK21CVideoRecorderUtility20VideoFrameRateFixedLEv @ 321 NONAME
+ _ZN20CVideoPlayerUtility215SetVideoExtentLERK7RWindowRK5TRect @ 322 NONAME
+ _ZN20CVideoPlayerUtility217AddDisplayWindowLER10RWsSessionR15CWsScreenDeviceR7RWindow @ 323 NONAME
+ _ZN20CVideoPlayerUtility217AddDisplayWindowLER10RWsSessionR15CWsScreenDeviceR7RWindowRK5TRectS8_ @ 324 NONAME
+ _ZN20CVideoPlayerUtility218SetWindowClipRectLERK7RWindowRK5TRect @ 325 NONAME
+ _ZN20CVideoPlayerUtility219RemoveDisplayWindowER7RWindow @ 326 NONAME
+ _ZN20CVideoPlayerUtility24NewLER27MVideoPlayerUtilityObserveri22TMdaPriorityPreference @ 327 NONAME
+ _ZTI20CVideoPlayerUtility2 @ 328 NONAME
+ _ZTI32CTestStepVidPlayerSetVideoExtent @ 329 NONAME
+ _ZTI34CTestStepVidPlayerAddDisplayWindow @ 330 NONAME
+ _ZTI35CTestStepVidPlayerSetWindowClipRect @ 331 NONAME
+ _ZTI37CTestStepVidPlayerRemoveDisplayWindow @ 332 NONAME
+ _ZTI37CTestStepVidPlayerSetInitScreenNumber @ 333 NONAME
+ _ZTI50CTestStepVidPlayerEventParaChangedAndRemoveDisplay @ 334 NONAME
+ _ZTV20CVideoPlayerUtility2 @ 335 NONAME
+ _ZTV32CTestStepVidPlayerSetVideoExtent @ 336 NONAME
+ _ZTV34CTestStepVidPlayerAddDisplayWindow @ 337 NONAME
+ _ZTV35CTestStepVidPlayerSetWindowClipRect @ 338 NONAME
+ _ZTV37CTestStepVidPlayerRemoveDisplayWindow @ 339 NONAME
+ _ZTV37CTestStepVidPlayerSetInitScreenNumber @ 340 NONAME
+ _ZTV50CTestStepVidPlayerEventParaChangedAndRemoveDisplay @ 341 NONAME
+ _ZN20CVideoPlayerUtility212SetRotationLERK7RWindow14TVideoRotation @ 342 NONAME
+ _ZN20CVideoPlayerUtility213SetAutoScaleLERK7RWindow14TAutoScaleType @ 343 NONAME
+ _ZN20CVideoPlayerUtility213SetAutoScaleLERK7RWindow14TAutoScaleTypeii @ 344 NONAME
+ _ZN20CVideoPlayerUtility215GetScaleFactorLERK7RWindowRfS3_ @ 345 NONAME
+ _ZN20CVideoPlayerUtility215SetScaleFactorLERK7RWindowff @ 346 NONAME
+ _ZN20CVideoPlayerUtility29RotationLERK7RWindow @ 347 NONAME
+ _ZTI27CTestStepVidPlayerAutoScale @ 348 NONAME
+ _ZTV27CTestStepVidPlayerAutoScale @ 349 NONAME
+ _ZN20CVideoPlayerUtility211AddDisplayLER10RWsSessioniR23MMMFSurfaceEventHandler @ 350 NONAME
+ _ZN20CVideoPlayerUtility213RemoveDisplayEi @ 351 NONAME
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/eabi/tsu_mmf_vclnt_01_gce2.def Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,395 @@
+EXPORTS
+ _Z29NewTestSuiteUnitMMFVidClientLv @ 1 NONAME
+ _Z9Reserved1v @ 2 NONAME
+ _Z9Reserved2v @ 3 NONAME
+ _ZN19CVideoPlayerUtility10SetVolumeLEi @ 4 NONAME
+ _ZN19CVideoPlayerUtility10StepFrameLEi @ 5 NONAME
+ _ZN19CVideoPlayerUtility11SetBalanceLEi @ 6 NONAME
+ _ZN19CVideoPlayerUtility12SetPositionLERK25TTimeIntervalMicroSeconds @ 7 NONAME
+ _ZN19CVideoPlayerUtility12SetPriorityLEii @ 8 NONAME
+ _ZN19CVideoPlayerUtility12SetRotationLE14TVideoRotation @ 9 NONAME
+ _ZN19CVideoPlayerUtility13RefreshFrameLEv @ 10 NONAME
+ _ZN19CVideoPlayerUtility13SetAutoScaleLE14TAutoScaleType @ 11 NONAME
+ _ZN19CVideoPlayerUtility13SetAutoScaleLE14TAutoScaleTypeii @ 12 NONAME
+ _ZN19CVideoPlayerUtility14SetCropRegionLERK5TRect @ 13 NONAME
+ _ZN19CVideoPlayerUtility14WillResumePlayEv @ 14 NONAME
+ _ZN19CVideoPlayerUtility15SetScaleFactorLEffi @ 15 NONAME
+ _ZN19CVideoPlayerUtility16SetAudioEnabledLEi @ 16 NONAME
+ _ZN19CVideoPlayerUtility16SetPlayVelocityLEi @ 17 NONAME
+ _ZN19CVideoPlayerUtility16SetVideoEnabledLEi @ 18 NONAME
+ _ZN19CVideoPlayerUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_ @ 19 NONAME
+ _ZN19CVideoPlayerUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8 @ 20 NONAME
+ _ZN19CVideoPlayerUtility17SetDisplayWindowLER10RWsSessionR15CWsScreenDeviceR11RWindowBaseRK5TRectS8_ @ 21 NONAME
+ _ZN19CVideoPlayerUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R14TRequestStatus @ 22 NONAME
+ _ZN19CVideoPlayerUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8R14TRequestStatus @ 23 NONAME
+ _ZN19CVideoPlayerUtility18SetVideoFrameRateLEf @ 24 NONAME
+ _ZN19CVideoPlayerUtility19GetDRMCustomCommandEv @ 25 NONAME
+ _ZN19CVideoPlayerUtility19SetInitScreenNumberEi @ 26 NONAME
+ _ZN19CVideoPlayerUtility23StopDirectScreenAccessLEv @ 27 NONAME
+ _ZN19CVideoPlayerUtility24GetVideoLoadingProgressLERi @ 28 NONAME
+ _ZN19CVideoPlayerUtility24StartDirectScreenAccessLEv @ 29 NONAME
+ _ZN19CVideoPlayerUtility33RegisterAudioResourceNotificationER37MMMFAudioResourceNotificationCallback4TUidRK6TDesC8 @ 30 NONAME
+ _ZN19CVideoPlayerUtility35RegisterForVideoLoadingNotificationER21MVideoLoadingObserver @ 31 NONAME
+ _ZN19CVideoPlayerUtility36ControllerImplementationInformationLEv @ 32 NONAME
+ _ZN19CVideoPlayerUtility39CancelRegisterAudioResourceNotificationE4TUid @ 33 NONAME
+ _ZN19CVideoPlayerUtility4NewLER27MVideoPlayerUtilityObserveriiR10RWsSessionR15CWsScreenDeviceR11RWindowBaseRK5TRectSA_ @ 34 NONAME
+ _ZN19CVideoPlayerUtility4PlayERK25TTimeIntervalMicroSecondsS2_ @ 35 NONAME
+ _ZN19CVideoPlayerUtility4PlayEv @ 36 NONAME
+ _ZN19CVideoPlayerUtility4StopEv @ 37 NONAME
+ _ZN19CVideoPlayerUtility5CloseEv @ 38 NONAME
+ _ZN19CVideoPlayerUtility6PauseLEv @ 39 NONAME
+ _ZN19CVideoPlayerUtility7PrepareEv @ 40 NONAME
+ _ZN19CVideoPlayerUtility8OpenDesLERK6TDesC84TUid @ 41 NONAME
+ _ZN19CVideoPlayerUtility8OpenUrlLERK7TDesC16iRK6TDesC84TUid @ 42 NONAME
+ _ZN19CVideoPlayerUtility9GetFrameLE12TDisplayMode @ 43 NONAME
+ _ZN19CVideoPlayerUtility9GetFrameLE12TDisplayModeN13ContentAccess7TIntentE @ 44 NONAME
+ _ZN19CVideoPlayerUtility9OpenFileLERK5RFile4TUid @ 45 NONAME
+ _ZN19CVideoPlayerUtility9OpenFileLERK7TDesC164TUid @ 46 NONAME
+ _ZN19CVideoPlayerUtility9OpenFileLERK9TMMSource4TUid @ 47 NONAME
+ _ZN20CVideoPlayerUtility211AddDisplayLER10RWsSessioniR23MMMFSurfaceEventHandler @ 48 NONAME
+ _ZN20CVideoPlayerUtility212SetRotationLERK7RWindow14TVideoRotation @ 49 NONAME
+ _ZN20CVideoPlayerUtility213RemoveDisplayEi @ 50 NONAME
+ _ZN20CVideoPlayerUtility213SetAutoScaleLERK7RWindow14TAutoScaleType @ 51 NONAME
+ _ZN20CVideoPlayerUtility213SetAutoScaleLERK7RWindow14TAutoScaleTypeii @ 52 NONAME
+ _ZN20CVideoPlayerUtility214RedrawSubtitleER7RWindowRK5TRect @ 53 NONAME
+ _ZN20CVideoPlayerUtility215GetScaleFactorLERK7RWindowRfS3_ @ 54 NONAME
+ _ZN20CVideoPlayerUtility215SetScaleFactorLERK7RWindowff @ 55 NONAME
+ _ZN20CVideoPlayerUtility215SetVideoExtentLERK7RWindowRK5TRect @ 56 NONAME
+ _ZN20CVideoPlayerUtility216DisableSubtitlesEv @ 57 NONAME
+ _ZN20CVideoPlayerUtility216EnableSubtitlesLEv @ 58 NONAME
+ _ZN20CVideoPlayerUtility217AddDisplayWindowLER10RWsSessionR15CWsScreenDeviceR7RWindow @ 59 NONAME
+ _ZN20CVideoPlayerUtility217AddDisplayWindowLER10RWsSessionR15CWsScreenDeviceR7RWindowRK5TRectS8_ @ 60 NONAME
+ _ZN20CVideoPlayerUtility217SubtitleLanguageLEv @ 61 NONAME
+ _ZN20CVideoPlayerUtility218SetWindowClipRectLERK7RWindowRK5TRect @ 62 NONAME
+ _ZN20CVideoPlayerUtility218SubtitlesAvailableEv @ 63 NONAME
+ _ZN20CVideoPlayerUtility219RemoveDisplayWindowER7RWindow @ 64 NONAME
+ _ZN20CVideoPlayerUtility220SetSubtitleLanguageLE9TLanguage @ 65 NONAME
+ _ZN20CVideoPlayerUtility227SupportedSubtitleLanguagesLEv @ 66 NONAME
+ _ZN20CVideoPlayerUtility24NewLER27MVideoPlayerUtilityObserverii @ 67 NONAME
+ _ZN20CVideoPlayerUtility29RotationLERK7RWindow @ 68 NONAME
+ _ZN21CVideoRecorderUtility12SetPriorityLEii @ 69 NONAME
+ _ZN21CVideoRecorderUtility13SetAudioTypeLE7TFourCC @ 70 NONAME
+ _ZN21CVideoRecorderUtility13SetVideoTypeLERK6TDesC8 @ 71 NONAME
+ _ZN21CVideoRecorderUtility13VideoBitRateLEv @ 72 NONAME
+ _ZN21CVideoRecorderUtility15SetMaxClipSizeLEi @ 73 NONAME
+ _ZN21CVideoRecorderUtility16SetAudioBitRateLEi @ 74 NONAME
+ _ZN21CVideoRecorderUtility16SetAudioEnabledLEi @ 75 NONAME
+ _ZN21CVideoRecorderUtility16SetVideoBitRateLEi @ 76 NONAME
+ _ZN21CVideoRecorderUtility16SetVideoEnabledLEi @ 77 NONAME
+ _ZN21CVideoRecorderUtility16SetVideoQualityLEi @ 78 NONAME
+ _ZN21CVideoRecorderUtility17AddMetaDataEntryLERK17CMMFMetaDataEntry @ 79 NONAME
+ _ZN21CVideoRecorderUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_ @ 80 NONAME
+ _ZN21CVideoRecorderUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8 @ 81 NONAME
+ _ZN21CVideoRecorderUtility17SetAudioChannelsLEj @ 82 NONAME
+ _ZN21CVideoRecorderUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R14TRequestStatus @ 83 NONAME
+ _ZN21CVideoRecorderUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8R14TRequestStatus @ 84 NONAME
+ _ZN21CVideoRecorderUtility18SetVideoFrameRateLEf @ 85 NONAME
+ _ZN21CVideoRecorderUtility18SetVideoFrameSizeLERK5TSize @ 86 NONAME
+ _ZN21CVideoRecorderUtility19SetAudioSampleRateLEj @ 87 NONAME
+ _ZN21CVideoRecorderUtility20RemoveMetaDataEntryLEi @ 88 NONAME
+ _ZN21CVideoRecorderUtility20SetPixelAspectRatioLERK17TVideoAspectRatio @ 89 NONAME
+ _ZN21CVideoRecorderUtility21ReplaceMetaDataEntryLEiRK17CMMFMetaDataEntry @ 90 NONAME
+ _ZN21CVideoRecorderUtility23SetVideoFrameRateFixedLEi @ 91 NONAME
+ _ZN21CVideoRecorderUtility36ControllerImplementationInformationLEv @ 92 NONAME
+ _ZN21CVideoRecorderUtility4NewLER29MVideoRecorderUtilityObserverii @ 93 NONAME
+ _ZN21CVideoRecorderUtility4StopEv @ 94 NONAME
+ _ZN21CVideoRecorderUtility5CloseEv @ 95 NONAME
+ _ZN21CVideoRecorderUtility6PauseLEv @ 96 NONAME
+ _ZN21CVideoRecorderUtility6RecordEv @ 97 NONAME
+ _ZN21CVideoRecorderUtility7PrepareEv @ 98 NONAME
+ _ZN21CVideoRecorderUtility8OpenDesLER5TDes8i4TUidS2_RK6TDesC87TFourCC @ 99 NONAME
+ _ZN21CVideoRecorderUtility8OpenUrlLERK7TDesC16ii4TUidS3_RK6TDesC87TFourCC @ 100 NONAME
+ _ZN21CVideoRecorderUtility8SetGainLEi @ 101 NONAME
+ _ZN21CVideoRecorderUtility9OpenFileLERK5RFilei4TUidS3_RK6TDesC87TFourCC @ 102 NONAME
+ _ZN21CVideoRecorderUtility9OpenFileLERK7TDesC16i4TUidS3_RK6TDesC87TFourCC @ 103 NONAME
+ _ZNK19CVideoPlayerUtility10AudioTypeLEv @ 104 NONAME
+ _ZNK19CVideoPlayerUtility13AudioBitRateLEv @ 105 NONAME
+ _ZNK19CVideoPlayerUtility13AudioEnabledLEv @ 106 NONAME
+ _ZNK19CVideoPlayerUtility13PlayVelocityLEv @ 107 NONAME
+ _ZNK19CVideoPlayerUtility13VideoBitRateLEv @ 108 NONAME
+ _ZNK19CVideoPlayerUtility13VideoEnabledLEv @ 109 NONAME
+ _ZNK19CVideoPlayerUtility14GetCropRegionLER5TRect @ 110 NONAME
+ _ZNK19CVideoPlayerUtility14MetaDataEntryLEi @ 111 NONAME
+ _ZNK19CVideoPlayerUtility15GetScaleFactorLERfS0_Ri @ 112 NONAME
+ _ZNK19CVideoPlayerUtility15VideoFrameRateLEv @ 113 NONAME
+ _ZNK19CVideoPlayerUtility15VideoFrameSizeLER5TSize @ 114 NONAME
+ _ZNK19CVideoPlayerUtility19VideoFormatMimeTypeEv @ 115 NONAME
+ _ZNK19CVideoPlayerUtility24GetPlayRateCapabilitiesLER26TVideoPlayRateCapabilities @ 116 NONAME
+ _ZNK19CVideoPlayerUtility24NumberOfMetaDataEntriesLEv @ 117 NONAME
+ _ZNK19CVideoPlayerUtility6VolumeEv @ 118 NONAME
+ _ZNK19CVideoPlayerUtility7BalanceEv @ 119 NONAME
+ _ZNK19CVideoPlayerUtility9DurationLEv @ 120 NONAME
+ _ZNK19CVideoPlayerUtility9MaxVolumeEv @ 121 NONAME
+ _ZNK19CVideoPlayerUtility9PositionLEv @ 122 NONAME
+ _ZNK19CVideoPlayerUtility9PriorityLERiR22TMdaPriorityPreference @ 123 NONAME
+ _ZNK19CVideoPlayerUtility9RotationLEv @ 124 NONAME
+ _ZNK21CVideoRecorderUtility10AudioTypeLEv @ 125 NONAME
+ _ZNK21CVideoRecorderUtility12GetPriorityLERiR22TMdaPriorityPreference @ 126 NONAME
+ _ZNK21CVideoRecorderUtility13AudioBitRateLEv @ 127 NONAME
+ _ZNK21CVideoRecorderUtility13AudioEnabledLEv @ 128 NONAME
+ _ZNK21CVideoRecorderUtility13VideoEnabledLEv @ 129 NONAME
+ _ZNK21CVideoRecorderUtility13VideoQualityLEv @ 130 NONAME
+ _ZNK21CVideoRecorderUtility14AudioChannelsLEv @ 131 NONAME
+ _ZNK21CVideoRecorderUtility14MetaDataEntryLEi @ 132 NONAME
+ _ZNK21CVideoRecorderUtility15VideoFrameRateLEv @ 133 NONAME
+ _ZNK21CVideoRecorderUtility16AudioSampleRateLEv @ 134 NONAME
+ _ZNK21CVideoRecorderUtility18GetVideoFrameSizeLER5TSize @ 135 NONAME
+ _ZNK21CVideoRecorderUtility19RecordTimeAvailableEv @ 136 NONAME
+ _ZNK21CVideoRecorderUtility19VideoFormatMimeTypeEv @ 137 NONAME
+ _ZNK21CVideoRecorderUtility20GetPixelAspectRatioLER17TVideoAspectRatio @ 138 NONAME
+ _ZNK21CVideoRecorderUtility20VideoFrameRateFixedLEv @ 139 NONAME
+ _ZNK21CVideoRecorderUtility23GetSupportedAudioTypesLER6RArrayI7TFourCCE @ 140 NONAME
+ _ZNK21CVideoRecorderUtility23GetSupportedVideoTypesLER11CDesC8Array @ 141 NONAME
+ _ZNK21CVideoRecorderUtility24NumberOfMetaDataEntriesLEv @ 142 NONAME
+ _ZNK21CVideoRecorderUtility26GetSupportedAudioChannelsLER6RArrayIjE @ 143 NONAME
+ _ZNK21CVideoRecorderUtility29GetSupportedAudioSampleRatesLER6RArrayIjE @ 144 NONAME
+ _ZNK21CVideoRecorderUtility30GetSupportedPixelAspectRatiosLER6RArrayI17TVideoAspectRatioE @ 145 NONAME
+ _ZNK21CVideoRecorderUtility5GainLEv @ 146 NONAME
+ _ZNK21CVideoRecorderUtility8MaxGainLEv @ 147 NONAME
+ _ZNK21CVideoRecorderUtility9DurationLEv @ 148 NONAME
+ _ZTI19CVideoPlayerUtility @ 149 NONAME
+ _ZTI20CVideoPlayerUtility2 @ 150 NONAME
+ _ZTI21CTestStepVidPlayerARN @ 151 NONAME
+ _ZTI21CTestStepVidPlayerDrm @ 152 NONAME
+ _ZTI21CTestStepVidPlayerNew @ 153 NONAME
+ _ZTI21CTestStepVidPlayerVol @ 154 NONAME
+ _ZTI21CVideoRecorderUtility @ 155 NONAME
+ _ZTI22CTestStepVidPlayerMeta @ 156 NONAME
+ _ZTI22CTestStepVidPlayerPlay @ 157 NONAME
+ _ZTI22CTestStepVidPlayerStop @ 158 NONAME
+ _ZTI23CMMFVideoPlayerCallback @ 159 NONAME
+ _ZTI23CTestGenericAosCallback @ 160 NONAME
+ _ZTI23CTestGenericArnCallback @ 161 NONAME
+ _ZTI23CTestStepVidPlayerClose @ 162 NONAME
+ _ZTI23CTestStepVidPlayerPause @ 163 NONAME
+ _ZTI23CTestStepVidPlayerScale @ 164 NONAME
+ _ZTI23CTestStepVidRecordError @ 165 NONAME
+ _ZTI23CTestStepVidRecorderNew @ 166 NONAME
+ _ZTI24CTestStepOOMVidPlayerNew @ 167 NONAME
+ _ZTI24CTestStepVidRecorderGain @ 168 NONAME
+ _ZTI24CTestStepVidRecorderMeta @ 169 NONAME
+ _ZTI24CTestStepVidRecorderStop @ 170 NONAME
+ _ZTI25CMMFVideoRecorderCallback @ 171 NONAME
+ _ZTI25CTestStepUnitMMFVidClient @ 172 NONAME
+ _ZTI25CTestStepVidPlayerARN0700 @ 173 NONAME
+ _ZTI25CTestStepVidPlayerARN0701 @ 174 NONAME
+ _ZTI25CTestStepVidPlayerARN0702 @ 175 NONAME
+ _ZTI25CTestStepVidPlayerARN0703 @ 176 NONAME
+ _ZTI25CTestStepVidPlayerBalance @ 177 NONAME
+ _ZTI25CTestStepVidPlayerOpenUrl @ 178 NONAME
+ _ZTI25CTestStepVidPlayerRestart @ 179 NONAME
+ _ZTI25CTestStepVidRecorderClose @ 180 NONAME
+ _ZTI25CTestStepVidRecorderPause @ 181 NONAME
+ _ZTI26CTestStepVidPlayerDuration @ 182 NONAME
+ _ZTI26CTestStepVidPlayerGetFrame @ 183 NONAME
+ _ZTI26CTestStepVidPlayerOpenDesc @ 184 NONAME
+ _ZTI26CTestStepVidPlayerOpenFile @ 185 NONAME
+ _ZTI26CTestStepVidPlayerPriority @ 186 NONAME
+ _ZTI26CTestStepVidPlayerRotation @ 187 NONAME
+ _ZTI26CTestStepVidRecorderRecord @ 188 NONAME
+ _ZTI26CTestSuiteUnitMMFVidClient @ 189 NONAME
+ _ZTI27CTestStepVidPlayerAudioType @ 190 NONAME
+ _ZTI27CTestStepVidPlayerAutoScale @ 191 NONAME
+ _ZTI27CTestStepVidPlayerPlayPause @ 192 NONAME
+ _ZTI27CTestStepVidPlayerVideoType @ 193 NONAME
+ _ZTI27CTestStepVidRecorderOpenUrl @ 194 NONAME
+ _ZTI27CTestStepVidRecorderPrepare @ 195 NONAME
+ _ZTI28CTestStepOOMVidPlayerOpenUrl @ 196 NONAME
+ _ZTI28CTestStepVidPlayerAudEnabled @ 197 NONAME
+ _ZTI28CTestStepVidPlayerCropRegion @ 198 NONAME
+ _ZTI28CTestStepVidPlayerPlayWindow @ 199 NONAME
+ _ZTI28CTestStepVidRecorderABitRate @ 200 NONAME
+ _ZTI28CTestStepVidRecorderDuration @ 201 NONAME
+ _ZTI28CTestStepVidRecorderOpenDesc @ 202 NONAME
+ _ZTI28CTestStepVidRecorderOpenFile @ 203 NONAME
+ _ZTI28CTestStepVidRecorderPriority @ 204 NONAME
+ _ZTI28CTestStepVidRecorderVBitRate @ 205 NONAME
+ _ZTI29CTestStepOOMVidPlayerOpenDesc @ 206 NONAME
+ _ZTI29CTestStepOOMVidPlayerOpenFile @ 207 NONAME
+ _ZTI29CTestStepVidPlayerGetABitRate @ 208 NONAME
+ _ZTI29CTestStepVidPlayerGetVBitRate @ 209 NONAME
+ _ZTI29CTestStepVidRecorderAudioType @ 210 NONAME
+ _ZTI29CTestStepVidRecorderVideoType @ 211 NONAME
+ _ZTI30CTestStepVidPlayerClipPosition @ 212 NONAME
+ _ZTI30CTestStepVidPlayerGeneralEvent @ 213 NONAME
+ _ZTI30CTestStepVidPlayerGetFrameRate @ 214 NONAME
+ _ZTI30CTestStepVidPlayerNewPriorPref @ 215 NONAME
+ _ZTI30CTestStepVidPlayerRefreshFrame @ 216 NONAME
+ _ZTI30CTestStepVidPlayerStopStartDSA @ 217 NONAME
+ _ZTI30CTestStepVidRecorderAudEnabled @ 218 NONAME
+ _ZTI30CTestStepVidRecorderRecordTime @ 219 NONAME
+ _ZTI30CTestStepVidRecorderVFrameRate @ 220 NONAME
+ _ZTI30CTestStepVidRecorderVFrameSize @ 221 NONAME
+ _ZTI31CTestStepVidPlayerGetVFrameSize @ 222 NONAME
+ _ZTI31CTestStepVidPlayerOpenviaUriTag @ 223 NONAME
+ _ZTI31CTestStepVidPlayerReloadingTest @ 224 NONAME
+ _ZTI31CTestStepVidRecorderHandleEvent @ 225 NONAME
+ _ZTI31CTestStepVidRecorderMaxClipSize @ 226 NONAME
+ _ZTI32CTestStepAllocFailVidRecorderNew @ 227 NONAME
+ _ZTI32CTestStepVidPlayerSetVideoExtent @ 228 NONAME
+ _ZTI32CTestStepVidPlayerSubtitleRedraw @ 229 NONAME
+ _ZTI32CTestStepVidRecorderGeneralEvent @ 230 NONAME
+ _ZTI33CTestStepVidOnlyPlayerNoAudioType @ 231 NONAME
+ _ZTI33CTestStepVidPlayerOpenFileCtrlUid @ 232 NONAME
+ _ZTI33CTestStepVidPlayerOpenTryNextCtrl @ 233 NONAME
+ _ZTI33CTestStepVideoInterruptionByAudio @ 234 NONAME
+ _ZTI34CTestStepVidPlayerAddDisplayWindow @ 235 NONAME
+ _ZTI34CTestStepVidPlayerSetDisplayWindow @ 236 NONAME
+ _ZTI34CTestStepVidPlayerSubtitleLanguage @ 237 NONAME
+ _ZTI35CTestStepVidPlayerSetWindowClipRect @ 238 NONAME
+ _ZTI35CTestStepVidPlayerSubtitleAvailable @ 239 NONAME
+ _ZTI35CTestStepVidPlayerSubtitleEnableNeg @ 240 NONAME
+ _ZTI35CTestStepVidRecorderOpenFileCtrlUid @ 241 NONAME
+ _ZTI36CTestStepAllocFailVidRecorderOpenUrl @ 242 NONAME
+ _ZTI37CTestStepAllocFailVidRecorderOpenDesc @ 243 NONAME
+ _ZTI37CTestStepAllocFailVidRecorderOpenFile @ 244 NONAME
+ _ZTI37CTestStepVidPlayerRemoveDisplayWindow @ 245 NONAME
+ _ZTI37CTestStepVidPlayerSetInitScreenNumber @ 246 NONAME
+ _ZTI37CTestStepVidPlayerSubtitleMultiWindow @ 247 NONAME
+ _ZTI38CTestStepVidPlayerSubtitleLangNotAvail @ 248 NONAME
+ _ZTI39CTestStepVidPlayerGetImplementationInfo @ 249 NONAME
+ _ZTI39CTestStepVidPlayerSendCustomCommandSync @ 250 NONAME
+ _ZTI39CTestStepVidPlayerSubtitleEnableDisable @ 251 NONAME
+ _ZTI39CTestStepVidPlayerSubtitleLangNotEnable @ 252 NONAME
+ _ZTI40CTestStepVidPlayerSendCustomCommandAsync @ 253 NONAME
+ _ZTI40CTestStepVidPlayerSubtitleRedrawNotReady @ 254 NONAME
+ _ZTI41CTestStepVidPlayerCheckImplementationInfo @ 255 NONAME
+ _ZTI41CTestStepVidPlayerReplaceSurfaceSequence1 @ 256 NONAME
+ _ZTI41CTestStepVidPlayerReplaceSurfaceSequence2 @ 257 NONAME
+ _ZTI41CTestStepVidRecorderGetImplementationInfo @ 258 NONAME
+ _ZTI41CTestStepVidRecorderSendCustomCommandSync @ 259 NONAME
+ _ZTI42CTestStepVidPlayerSubtitleNotEnabledRedraw @ 260 NONAME
+ _ZTI42CTestStepVidRecorderSendCustomCommandAsync @ 261 NONAME
+ _ZTI43CTestStepVidPlayerOpenDurationCustomCommand @ 262 NONAME
+ _ZTI43CTestStepVidRecorderCheckImplementationInfo @ 263 NONAME
+ _ZTI44CTestStepAllocFailVidRecorderOpenFileCtrlUid @ 264 NONAME
+ _ZTI45CTestStepVidPlayerSubtitleWindowSettingChange @ 265 NONAME
+ _ZTI46CTestStepVidPlayerSubtitleAddRemoveMultiWindow @ 266 NONAME
+ _ZTI50CTestStepVidPlayerSubtitleMultiWindowSettingChange @ 267 NONAME
+ _ZTV19CVideoPlayerUtility @ 268 NONAME
+ _ZTV20CVideoPlayerUtility2 @ 269 NONAME
+ _ZTV21CTestStepVidPlayerARN @ 270 NONAME
+ _ZTV21CTestStepVidPlayerDrm @ 271 NONAME
+ _ZTV21CTestStepVidPlayerNew @ 272 NONAME
+ _ZTV21CTestStepVidPlayerVol @ 273 NONAME
+ _ZTV21CVideoRecorderUtility @ 274 NONAME
+ _ZTV22CTestStepVidPlayerMeta @ 275 NONAME
+ _ZTV22CTestStepVidPlayerPlay @ 276 NONAME
+ _ZTV22CTestStepVidPlayerStop @ 277 NONAME
+ _ZTV23CMMFVideoPlayerCallback @ 278 NONAME
+ _ZTV23CTestGenericAosCallback @ 279 NONAME
+ _ZTV23CTestGenericArnCallback @ 280 NONAME
+ _ZTV23CTestStepVidPlayerClose @ 281 NONAME
+ _ZTV23CTestStepVidPlayerPause @ 282 NONAME
+ _ZTV23CTestStepVidPlayerScale @ 283 NONAME
+ _ZTV23CTestStepVidRecordError @ 284 NONAME
+ _ZTV23CTestStepVidRecorderNew @ 285 NONAME
+ _ZTV24CTestStepOOMVidPlayerNew @ 286 NONAME
+ _ZTV24CTestStepVidRecorderGain @ 287 NONAME
+ _ZTV24CTestStepVidRecorderMeta @ 288 NONAME
+ _ZTV24CTestStepVidRecorderStop @ 289 NONAME
+ _ZTV25CMMFVideoRecorderCallback @ 290 NONAME
+ _ZTV25CTestStepUnitMMFVidClient @ 291 NONAME
+ _ZTV25CTestStepVidPlayerARN0700 @ 292 NONAME
+ _ZTV25CTestStepVidPlayerARN0701 @ 293 NONAME
+ _ZTV25CTestStepVidPlayerARN0702 @ 294 NONAME
+ _ZTV25CTestStepVidPlayerARN0703 @ 295 NONAME
+ _ZTV25CTestStepVidPlayerBalance @ 296 NONAME
+ _ZTV25CTestStepVidPlayerOpenUrl @ 297 NONAME
+ _ZTV25CTestStepVidPlayerRestart @ 298 NONAME
+ _ZTV25CTestStepVidRecorderClose @ 299 NONAME
+ _ZTV25CTestStepVidRecorderPause @ 300 NONAME
+ _ZTV26CTestStepVidPlayerDuration @ 301 NONAME
+ _ZTV26CTestStepVidPlayerGetFrame @ 302 NONAME
+ _ZTV26CTestStepVidPlayerOpenDesc @ 303 NONAME
+ _ZTV26CTestStepVidPlayerOpenFile @ 304 NONAME
+ _ZTV26CTestStepVidPlayerPriority @ 305 NONAME
+ _ZTV26CTestStepVidPlayerRotation @ 306 NONAME
+ _ZTV26CTestStepVidRecorderRecord @ 307 NONAME
+ _ZTV26CTestSuiteUnitMMFVidClient @ 308 NONAME
+ _ZTV27CTestStepVidPlayerAudioType @ 309 NONAME
+ _ZTV27CTestStepVidPlayerAutoScale @ 310 NONAME
+ _ZTV27CTestStepVidPlayerPlayPause @ 311 NONAME
+ _ZTV27CTestStepVidPlayerVideoType @ 312 NONAME
+ _ZTV27CTestStepVidRecorderOpenUrl @ 313 NONAME
+ _ZTV27CTestStepVidRecorderPrepare @ 314 NONAME
+ _ZTV28CTestStepOOMVidPlayerOpenUrl @ 315 NONAME
+ _ZTV28CTestStepVidPlayerAudEnabled @ 316 NONAME
+ _ZTV28CTestStepVidPlayerCropRegion @ 317 NONAME
+ _ZTV28CTestStepVidPlayerPlayWindow @ 318 NONAME
+ _ZTV28CTestStepVidRecorderABitRate @ 319 NONAME
+ _ZTV28CTestStepVidRecorderDuration @ 320 NONAME
+ _ZTV28CTestStepVidRecorderOpenDesc @ 321 NONAME
+ _ZTV28CTestStepVidRecorderOpenFile @ 322 NONAME
+ _ZTV28CTestStepVidRecorderPriority @ 323 NONAME
+ _ZTV28CTestStepVidRecorderVBitRate @ 324 NONAME
+ _ZTV29CTestStepOOMVidPlayerOpenDesc @ 325 NONAME
+ _ZTV29CTestStepOOMVidPlayerOpenFile @ 326 NONAME
+ _ZTV29CTestStepVidPlayerGetABitRate @ 327 NONAME
+ _ZTV29CTestStepVidPlayerGetVBitRate @ 328 NONAME
+ _ZTV29CTestStepVidRecorderAudioType @ 329 NONAME
+ _ZTV29CTestStepVidRecorderVideoType @ 330 NONAME
+ _ZTV30CTestStepVidPlayerClipPosition @ 331 NONAME
+ _ZTV30CTestStepVidPlayerGeneralEvent @ 332 NONAME
+ _ZTV30CTestStepVidPlayerGetFrameRate @ 333 NONAME
+ _ZTV30CTestStepVidPlayerNewPriorPref @ 334 NONAME
+ _ZTV30CTestStepVidPlayerRefreshFrame @ 335 NONAME
+ _ZTV30CTestStepVidPlayerStopStartDSA @ 336 NONAME
+ _ZTV30CTestStepVidRecorderAudEnabled @ 337 NONAME
+ _ZTV30CTestStepVidRecorderRecordTime @ 338 NONAME
+ _ZTV30CTestStepVidRecorderVFrameRate @ 339 NONAME
+ _ZTV30CTestStepVidRecorderVFrameSize @ 340 NONAME
+ _ZTV31CTestStepVidPlayerGetVFrameSize @ 341 NONAME
+ _ZTV31CTestStepVidPlayerOpenviaUriTag @ 342 NONAME
+ _ZTV31CTestStepVidPlayerReloadingTest @ 343 NONAME
+ _ZTV31CTestStepVidRecorderHandleEvent @ 344 NONAME
+ _ZTV31CTestStepVidRecorderMaxClipSize @ 345 NONAME
+ _ZTV32CTestStepAllocFailVidRecorderNew @ 346 NONAME
+ _ZTV32CTestStepVidPlayerSetVideoExtent @ 347 NONAME
+ _ZTV32CTestStepVidPlayerSubtitleRedraw @ 348 NONAME
+ _ZTV32CTestStepVidRecorderGeneralEvent @ 349 NONAME
+ _ZTV33CTestStepVidOnlyPlayerNoAudioType @ 350 NONAME
+ _ZTV33CTestStepVidPlayerOpenFileCtrlUid @ 351 NONAME
+ _ZTV33CTestStepVidPlayerOpenTryNextCtrl @ 352 NONAME
+ _ZTV33CTestStepVideoInterruptionByAudio @ 353 NONAME
+ _ZTV34CTestStepVidPlayerAddDisplayWindow @ 354 NONAME
+ _ZTV34CTestStepVidPlayerSetDisplayWindow @ 355 NONAME
+ _ZTV34CTestStepVidPlayerSubtitleLanguage @ 356 NONAME
+ _ZTV35CTestStepVidPlayerSetWindowClipRect @ 357 NONAME
+ _ZTV35CTestStepVidPlayerSubtitleAvailable @ 358 NONAME
+ _ZTV35CTestStepVidPlayerSubtitleEnableNeg @ 359 NONAME
+ _ZTV35CTestStepVidRecorderOpenFileCtrlUid @ 360 NONAME
+ _ZTV36CTestStepAllocFailVidRecorderOpenUrl @ 361 NONAME
+ _ZTV37CTestStepAllocFailVidRecorderOpenDesc @ 362 NONAME
+ _ZTV37CTestStepAllocFailVidRecorderOpenFile @ 363 NONAME
+ _ZTV37CTestStepVidPlayerRemoveDisplayWindow @ 364 NONAME
+ _ZTV37CTestStepVidPlayerSetInitScreenNumber @ 365 NONAME
+ _ZTV37CTestStepVidPlayerSubtitleMultiWindow @ 366 NONAME
+ _ZTV38CTestStepVidPlayerSubtitleLangNotAvail @ 367 NONAME
+ _ZTV39CTestStepVidPlayerGetImplementationInfo @ 368 NONAME
+ _ZTV39CTestStepVidPlayerSendCustomCommandSync @ 369 NONAME
+ _ZTV39CTestStepVidPlayerSubtitleEnableDisable @ 370 NONAME
+ _ZTV39CTestStepVidPlayerSubtitleLangNotEnable @ 371 NONAME
+ _ZTV40CTestStepVidPlayerSendCustomCommandAsync @ 372 NONAME
+ _ZTV40CTestStepVidPlayerSubtitleRedrawNotReady @ 373 NONAME
+ _ZTV41CTestStepVidPlayerCheckImplementationInfo @ 374 NONAME
+ _ZTV41CTestStepVidPlayerReplaceSurfaceSequence1 @ 375 NONAME
+ _ZTV41CTestStepVidPlayerReplaceSurfaceSequence2 @ 376 NONAME
+ _ZTV41CTestStepVidRecorderGetImplementationInfo @ 377 NONAME
+ _ZTV41CTestStepVidRecorderSendCustomCommandSync @ 378 NONAME
+ _ZTV42CTestStepVidPlayerSubtitleNotEnabledRedraw @ 379 NONAME
+ _ZTV42CTestStepVidRecorderSendCustomCommandAsync @ 380 NONAME
+ _ZTV43CTestStepVidPlayerOpenDurationCustomCommand @ 381 NONAME
+ _ZTV43CTestStepVidRecorderCheckImplementationInfo @ 382 NONAME
+ _ZTV44CTestStepAllocFailVidRecorderOpenFileCtrlUid @ 383 NONAME
+ _ZTV45CTestStepVidPlayerSubtitleWindowSettingChange @ 384 NONAME
+ _ZTV46CTestStepVidPlayerSubtitleAddRemoveMultiWindow @ 385 NONAME
+ _ZTV50CTestStepVidPlayerSubtitleMultiWindowSettingChange @ 386 NONAME
+ _ZN19CVideoPlayerUtility28SetExternalDisplaySwitchingLEii @ 387 NONAME
+ _ZN20CVideoPlayerUtility228SetExternalDisplaySwitchingLEii @ 388 NONAME
+ _ZN38CExtDisplayConnectionProviderInterfaceC2Ev @ 389 NONAME
+ _ZN38CExtDisplayConnectionProviderInterfaceD0Ev @ 390 NONAME
+ _ZN38CExtDisplayConnectionProviderInterfaceD1Ev @ 391 NONAME
+ _ZN38CExtDisplayConnectionProviderInterfaceD2Ev @ 392 NONAME
+ _ZTI38CExtDisplayConnectionProviderInterface @ 393 NONAME
+ _ZTV38CExtDisplayConnectionProviderInterface @ 394 NONAME
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/group/TSU_MMF_VCLNT.iby Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,63 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef TSU_MMF_VCLNT_IBY
+#define TSU_MMF_VCLNT_IBY
+
+#include <TSU_MMF_VCLNT_excl_test.iby>
+
+data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT_01_WM_CAF_V2.script \TSU_MMF_VCLNT_01_WM_CAF_V2.script
+data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script \TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script
+data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT_01_Alloc_WM.script \TSU_MMF_VCLNT_01_Alloc_WM.script
+data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT_DRM.script \TSU_MMF_VCLNT_DRM.script
+data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT_DRM_Alloc.script \TSU_MMF_VCLNT_DRM_Alloc.script
+data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT_RF_WM.script \TSU_MMF_VCLNT_RF_WM.script
+data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT_RF_ALLOC_WM.script \TSU_MMF_VCLNT_RF_ALLOC_WM.script
+
+
+#ifdef SYMBIAN_MMF_MODEL_CONTROLLERS
+#ifdef SYMBIAN_BUILD_GCE
+#ifdef SYMBIAN_GRAPHICS_USE_GCE
+data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_gce_alloc.script \tsu_mmf_vclnt_u_01_gce_alloc.script
+data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_gce_available.script \tsu_mmf_vclnt_u_01_gce_available.script
+data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_gce_avail_secscreen.script \tsu_mmf_vclnt_u_01_gce_avail_secscreen.script
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_subtitle_gce_on.script \tsu_mmf_vclnt_u_01_subtitle_gce_on.script
+data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_subtitle_gce_on_secscreen.script \tsu_mmf_vclnt_u_01_subtitle_gce_on_secscreen.script
+data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script \tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script
+data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_subtitle_gce_on_urel.script \tsu_mmf_vclnt_u_01_subtitle_gce_on_urel.script
+#endif
+#else
+data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_gce_unavailable.script \tsu_mmf_vclnt_u_01_gce_unavailable.script
+#endif
+#endif
+#endif
+
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\vclnt\small2.wav mm\mmf\testfiles\vclnt\small2.wav
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\vclnt\smallv.wav mm\mmf\testfiles\vclnt\smallv.wav
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\vclnt\clock.dummy mm\mmf\testfiles\vclnt\clock.dummy
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\vclnt\Video.content mm\mmf\testfiles\vclnt\Video.content
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\vclnt\VideoContentNoRights.content mm\mmf\testfiles\vclnt\VideoContentNoRights.content
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\vclnt\LongVideo.dummy mm\mmf\testfiles\vclnt\LongVideo.dummy
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\vclnt\ShortVideo.dummy mm\mmf\testfiles\vclnt\ShortVideo.dummy
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\vclnt\AudVid.avi mm\mmf\testfiles\vclnt\AudVid.avi
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\vclnt\Vid.avi mm\mmf\testfiles\vclnt\Vid.avi
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\vclnt\xvidonly.avi mm\mmf\testfiles\vclnt\xvidonly.avi
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\vclnt\clock2.dummy mm\mmf\testfiles\vclnt\clock2.dummy
+#endif
+
+#endif
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,93 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+PRJ_PLATFORMS
+DEFAULT
+
+PRJ_TESTMMPFILES
+
+// Video Clients
+../mmpfiles/TSU_MMF_VCLNT_01.mmp
+../mmpfiles/TS_CMMFVideoTestCustomCommands.mmp
+../mmpfiles/TS_CMMFVideoTestController.mmp
+
+#ifdef SYMBIAN_BUILD_GCE
+#ifdef EABI
+../mmpfiles/ts_cmmfvideotestcontroller_gce.mmp
+#endif // EABI
+#endif // SYMBIAN_BUILD_GCE
+../mmpfiles/TS_VideoInput.mmp
+../mmpfiles/TS_VideoOutput.mmp
+// ../mmpfiles/TSU_MMF_VCLNT_APP.mmp
+
+
+PRJ_TESTEXPORTS
+
+// test scripts
+
+../scripts/TSU_MMF_VCLNT_01_WM_CAF_V2.script c:/mm/tsu_mmf_vclnt_01_wm_caf_v2.script
+../scripts/TSU_MMF_VCLNT_01_ALLOC_WM.script c:/mm/tsu_mmf_vclnt_01_alloc_wm.script
+../scripts/TSU_MMF_VCLNT_RF_WM.script c:/mm/tsu_mmf_vclnt_rf_wm.script
+../scripts/TSU_MMF_VCLNT_RF_ALLOC_WM.script c:/mm/tsu_mmf_vclnt_rf_alloc_wm.script
+../scripts/TSU_MMF_VCLNT_DRM.script c:/mm/tsu_mmf_vclnt_drm.script
+../scripts/TSU_MMF_VCLNT_DRM_ALLOC.script c:/mm/tsu_mmf_vclnt_drm_alloc.script
+../scripts/TSU_MMF_VCLNT_01.ini c:/mm/tsu_mmf_vclnt_01.ini
+../scripts/TSU_MMF_VCLNT_RF_WM_NOTIFICATION.script c:/mm/tsu_mmf_vclnt_rf_wm_notification.script
+../scripts/TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script c:/mm/tsu_mmf_vclnt_01_wm_caf_v2_priority.script
+
+
+// --------------->> graphics support script <<-----------------------------------
+#ifdef SYMBIAN_BUILD_GCE
+../scripts/tsu_mmf_vclnt_u_01_gce_available.script c:/mm/tsu_mmf_vclnt_u_01_gce_available.script
+../scripts/tsu_mmf_vclnt_u_01_gce_unavailable.script c:/mm/tsu_mmf_vclnt_u_01_gce_unavailable.script
+../scripts/tsu_mmf_vclnt_u_01_gce_alloc.script c:/mm/tsu_mmf_vclnt_u_01_gce_alloc.script
+../scripts/tsu_mmf_vclnt_u_01_gce_avail_secscreen.script c:/mm/tsu_mmf_vclnt_u_01_gce_avail_secscreen.script
+../scripts/TSU_MMF_VCLNT_01_gce_unavailable.ini c:/mm/tsu_mmf_vclnt_01_gce_unavailable.ini
+#else
+// remove compile error and avoid test cases failed when CVideoPlayerUtility2 is not available
+../scripts/empty.script c:/mm/tsu_mmf_vclnt_u_01_gce_unavailable.script
+#endif
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+../scripts/tsu_mmf_vclnt_u_01_subtitle_gce_on.script c:/mm/tsu_mmf_vclnt_u_01_subtitle_gce_on.script
+../scripts/tsu_mmf_vclnt_u_01_subtitle_gce_on_secscreen.script c:/mm/tsu_mmf_vclnt_u_01_subtitle_gce_on_secscreen.script
+../scripts/tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script c:/mm/tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script
+../scripts/tsu_mmf_vclnt_u_01_subtitle_gce_on_urel.script c:/mm/tsu_mmf_vclnt_u_01_subtitle_gce_on_urel.script
+#endif
+
+
+// test data files
+
+//MM Video Clients Unit Testing
+../TSU_MMF_VCLNT_01/Data/small2.wav c:/mm/mmf/testfiles/vclnt/small2.wav
+../TSU_MMF_VCLNT_01/Data/smallv.wav c:/mm/mmf/testfiles/vclnt/smallv.wav
+../TSU_MMF_VCLNT_01/Data/clock.dummy c:/mm/mmf/testfiles/vclnt/clock.dummy
+../TSU_MMF_VCLNT_01/Data/Video.content c:/mm/mmf/testfiles/vclnt/video.content
+../TSU_MMF_VCLNT_01/Data/VideoContentNoRights.content c:/mm/mmf/testfiles/vclnt/videocontentnorights.content
+../TSU_MMF_VCLNT_01/Data/LongVideo.dummy c:/mm/mmf/testfiles/vclnt/longvideo.dummy
+../TSU_MMF_VCLNT_01/Data/ShortVideo.dummy c:/mm/mmf/testfiles/vclnt/shortvideo.dummy
+../TSU_MMF_VCLNT_01/Data/AudVid.avi c:/mm/mmf/testfiles/vclnt/audvid.avi
+../TSU_MMF_VCLNT_01/Data/Vid.avi c:/mm/mmf/testfiles/vclnt/vid.avi
+../TSU_MMF_VCLNT_01/Data/xvidonly.avi c:/mm/mmf/testfiles/vclnt/xvidonly.avi
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+../TSU_MMF_VCLNT_01/Data/clock2.dummy c:/mm/mmf/testfiles/vclnt/clock2.dummy
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+
+//iby files
+../group/TSU_MMF_VCLNT.iby /epoc32/rom/include/tsu_mmf_vclnt.iby
+../group/TSU_MMF_VCLNT_excl_test.iby /epoc32/rom/include/tsu_mmf_vclnt_excl_test.iby
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/group/tsu_mmf_vclnt_data.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,56 @@
+;
+; Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of the License "Symbian Foundation License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;
+
+//ini
+"\epoc32\data\c\mm\TSU_MMF_VCLNT_01.ini" - "c:\mm\TSU_MMF_VCLNT_01.ini"
+"\epoc32\data\c\mm\TSU_MMF_VCLNT_01_gce_unavailable.ini" - "c:\mm\TSU_MMF_VCLNT_01_gce_unavailable.ini"
+
+"\epoc32\data\c\mm\TSU_MMF_VCLNT_01_WM_CAF_V2.script" - "c:\TSU_MMF_VCLNT_01_WM_CAF_V2.script"
+"\epoc32\data\c\mm\TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script" - "c:\TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script"
+"\epoc32\data\c\mm\TSU_MMF_VCLNT_01_Alloc_WM.script" - "c:\TSU_MMF_VCLNT_01_Alloc_WM.script"
+"\epoc32\data\c\mm\TSU_MMF_VCLNT_DRM.script" - "c:\TSU_MMF_VCLNT_DRM.script"
+"\epoc32\data\c\mm\TSU_MMF_VCLNT_DRM_Alloc.script" - "c:\TSU_MMF_VCLNT_DRM_Alloc.script"
+"\epoc32\data\c\mm\TSU_MMF_VCLNT_RF_WM.script" - "c:\TSU_MMF_VCLNT_RF_WM.script"
+"\epoc32\data\c\mm\TSU_MMF_VCLNT_RF_ALLOC_WM.script" - "c:\TSU_MMF_VCLNT_RF_ALLOC_WM.script"
+"\epoc32\data\c\mm\TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script" - "c:\TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script"
+
+"\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_gce_alloc.script" - "c:\TSU_MMF_vclnt_u_01_gce_alloc.script"
+"\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_gce_available.script" - "c:\TSU_MMF_vclnt_u_01_gce_available.script"
+// For winscw use only
+// "\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_gce_avail_secscreen.script" - "c:\TSU_MMF_vclnt_u_01_gce_avail_secscreen.script"
+"\epoc32\data\c\mm\tsu_mmf_vclnt_u_01_gce_unavailable.script" - "c:\tsu_mmf_vclnt_u_01_gce_unavailable.script"
+
+"\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_subtitle_gce_on.script" - "c:\TSU_MMF_vclnt_u_01_subtitle_gce_on.script"
+// For winscw use only
+// "\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_subtitle_gce_on_secscreen.script" - "c:\TSU_MMF_vclnt_u_01_subtitle_gce_on_secscreen.script"
+"\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_subtitle_gce_on_udeb.script" - "c:\TSU_MMF_vclnt_u_01_subtitle_gce_on_udeb.script"
+// For winscw use only
+// "\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_subtitle_gce_on_urel.script" - "c:\TSU_MMF_vclnt_u_01_subtitle_gce_on_urel.script"
+
+// data files
+"\epoc32\data\c\mm\mmf\testfiles\vclnt\small2.wav" - "c:\mm\mmf\testfiles\vclnt\small2.wav"
+"\epoc32\data\c\mm\mmf\testfiles\vclnt\smallv.wav" - "c:\mm\mmf\testfiles\vclnt\smallv.wav"
+"\epoc32\data\c\mm\mmf\testfiles\vclnt\clock.dummy" - "c:\mm\mmf\testfiles\vclnt\clock.dummy"
+"\epoc32\data\c\mm\mmf\testfiles\vclnt\Video.content" - "c:\mm\mmf\testfiles\vclnt\Video.content"
+"\epoc32\data\c\mm\mmf\testfiles\vclnt\VideoContentNoRights.content" - "c:\mm\mmf\testfiles\vclnt\VideoContentNoRights.content"
+"\epoc32\data\c\mm\mmf\testfiles\vclnt\LongVideo.dummy" - "c:\mm\mmf\testfiles\vclnt\LongVideo.dummy"
+"\epoc32\data\c\mm\mmf\testfiles\vclnt\ShortVideo.dummy" - "c:\mm\mmf\testfiles\vclnt\ShortVideo.dummy"
+"\epoc32\data\c\mm\mmf\testfiles\vclnt\AudVid.avi" - "c:\mm\mmf\testfiles\vclnt\AudVid.avi"
+"\epoc32\data\c\mm\mmf\testfiles\vclnt\Vid.avi" - "c:\mm\mmf\testfiles\vclnt\Vid.avi"
+"\epoc32\data\c\mm\mmf\testfiles\vclnt\xvidonly.avi" - "c:\mm\mmf\testfiles\vclnt\xvidonly.avi"
+"\epoc32\data\c\mm\mmf\testfiles\vclnt\clock2.dummy" - "c:\mm\mmf\testfiles\vclnt\clock2.dummy"
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/group/tsu_mmf_vclnt_excl_test.iby Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,39 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef TSU_MMF_VCLNT_EXCL_TEST_IBY
+#define TSU_MMF_VCLNT_EXCL_TEST_IBY
+
+#include <testframework.iby>
+#include <cinidata.iby>
+
+file=ABI_DIR\DEBUG_DIR\TSU_MMF_VCLNT_01.DLL System\Libs\TSU_MMF_VCLNT_01.DLL
+
+#ifndef TSI_MMF_VCLNT_EXCL_TEST_IBY
+file=ABI_DIR\BUILD_DIR\TS_CmmfVideoTestCustomCommands.dll System\Libs\TS_CmmfVideoTestCustomCommands.dll
+ECOM_PLUGIN(ts_videoinput.dll,101f7f8c.rsc)
+ECOM_PLUGIN(ts_videooutput.dll,101f7f8d.rsc)
+#endif
+
+#ifdef SYMBIAN_GRAPHICS_USE_GCE
+ECOM_PLUGIN(ts_cmmfvideotestcontroller_gce.dll,101f7d2d_gce.rsc)
+#else
+ECOM_PLUGIN(ts_cmmfvideotestcontroller.dll,101f7d2d.rsc)
+#endif
+
+
+
+#endif
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/mmpfiles/TSU_MMF_VCLNT_01.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,127 @@
+// Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// using relative paths for sourcepath and user includes
+//
+//
+
+TARGET tsu_mmf_vclnt_01.dll
+CAPABILITY ALL -TCB
+TARGETTYPE dll
+//UID to be renamed
+UID 0x1000008d 0x101F7D2C
+VENDORID 0x70000001
+
+MACRO _TYPHOON_TEST2_
+
+SOURCEPATH ../TSU_MMF_VCLNT_01/src
+SOURCE TestSuiteUnitMMFVidClient.cpp
+SOURCE TestStepUnitMMFVidClient.cpp
+SOURCE TestStepVidPlayerNew.cpp
+SOURCE TestStepVidPlayerNewPriorPref.cpp
+SOURCE TestStepVidPlayerOpen.cpp
+SOURCE TestStepVidPlayerOpenFileCtrlUid.cpp
+SOURCE TestStepAllocFailVidPlayer.cpp
+SOURCE TestStepVidPlayerManip.cpp
+SOURCE TestStepVidRecorderNew.cpp
+SOURCE TestStepVidRecorderOpen.cpp
+SOURCE TestStepAllocFailVidRecorderNew.cpp
+SOURCE TestStepAllocFailVidRecorderOpen.cpp
+SOURCE TestStepVidRecorderManip.cpp
+SOURCE TestStepVidPlayerDrm.cpp
+source teststepvidplayerarn.cpp
+SOURCE TestStepVidRecordError.cpp
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+SOURCE teststepvidplayersubtitle.cpp
+#endif // SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+#ifdef SYMBIAN_BUILD_GCE
+source ../../../../../src/Client/Video/mmfclientvideoplayer2.cpp
+source ../../../../../src/Client/Video/mediaclientvideodisplaybody.cpp
+source ../../../../../src/Client/Video/mediaclientextdisplayinterface.cpp
+source ../../../../../src/Client/Video/mediaclientextdisplayhandler.cpp
+source ../../../../../src/Client/Video/mediaclientwseventobserver.cpp
+source ../../../../../src/Client/Video/mediaclientpolicyserverclient.cpp
+source ../../../../../src/Client/Video/mediaclientpolicyserversession.cpp
+source teststepvidplayereventhandler.cpp
+#endif
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+SOURCE ../../../../../src/Client/Video/mmfsubtitleutility.cpp
+#endif // SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+source ../../../../../src/Client/Video/mmfclientvideoplayer.cpp
+source ../../../../../src/Client/Video/mmfclientvideoplayerbody.cpp
+source ../../../../../src/Client/Video/mmfclientvideorecorder.cpp
+source ../../../../../src/Client/Video/mmfclientvideorecorderbody.cpp
+source ../../../../../src/Client/Video/Mmfclientvideocallback.cpp
+
+USERINCLUDE ../TSU_MMF_VCLNT_01/inc
+//USERINCLUDE ../TSU_MMF_VCLNT_APP
+USERINCLUDE ../../../../inc
+USERINCLUDE ../../../../src/Client/Utility
+USERINCLUDE ../TS_CMMFVideoTestController
+USERINCLUDE ../ts_cmmfvideotestcustomcommands
+USERINCLUDE ../../../../inc/mmf/plugin
+
+USERINCLUDE ../../../../src/Client/Video
+
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+//APP_LAYER_SYSTEMINCLUDE_SYMBIAN // Application layer macro required to link against Techview headers
+
+USERINCLUDE ../../../../inc/mmf/ControllerFramework
+USERINCLUDE ../../../../inc/mmf/common
+USERINCLUDE ../../../../inc/mmf/server
+
+LIBRARY ecom.lib
+LIBRARY ecam.lib
+LIBRARY euser.lib
+LIBRARY efsrv.lib
+LIBRARY fbscli.lib
+LIBRARY testframeworkclient.lib
+LIBRARY mediaclientutility.lib
+LIBRARY mediaclient.lib
+LIBRARY mediaclientaudiostream.lib
+LIBRARY mediaclientaudio.lib
+
+LIBRARY mmcommon.lib
+
+//
+// from the video client
+// add the test libs for the 'dummy' controller
+//
+library mmfcontrollerframework.lib
+library mmfstandardcustomcommands.lib
+
+library ws32.lib
+library eikcore.lib
+LIBRARY apgrfx.lib
+LIBRARY apparc.lib
+LIBRARY hal.lib
+LIBRARY bafl.lib
+LIBRARY cone.lib
+LIBRARY centralrepository.lib
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+DEFFILE tsu_mmf_vclnt_01_gce2.def
+#else
+
+#ifdef SYMBIAN_BUILD_GCE
+DEFFILE tsu_mmf_vclnt_01_gce.def
+#else
+DEFFILE TSU_MMF_VCLNT_01.DEF
+#endif //SYMBIAN_BUILD_GCE
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+NOSTRICTDEF
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/mmpfiles/TSU_MMF_VCLNT_APP.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,61 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+TARGET vclntapptest.exe
+TARGETTYPE exe
+
+
+CAPABILITY ALL -TCB
+UID 0x100039CE 0x101F7C13
+VENDORID 0x70000001
+SOURCEPATH ../TSU_MMF_VCLNT_APP
+SOURCE VclntAppTest.cpp
+
+USERINCLUDE ../TSU_MMF_VCLNT_01/inc
+USERINCLUDE ../TSU_MMF_VCLNT_APP
+USERINCLUDE ../TS_CMMFVideoTestController
+USERINCLUDE ../../../../src/Client/Video
+USERINCLUDE ../../../../src/Client/Utility
+
+APP_LAYER_SYSTEMINCLUDE_SYMBIAN // Application layer macro required to link against Techview headers
+
+START RESOURCE VclntAppTest.rss
+HEADER
+targetpath /resource/apps
+lang sc
+end
+
+LIBRARY euser.lib
+LIBRARY apparc.lib
+LIBRARY cone.lib
+LIBRARY efsrv.lib
+LIBRARY eikcore.lib
+LIBRARY eikdlg.lib
+LIBRARY ws32.lib
+LIBRARY mediaclientvideo.lib
+LIBRARY testframeworkclient.lib
+LIBRARY mmfcontrollerframework.lib
+LIBRARY ecom.lib
+
+#ifdef SYMBIAN_BUILD_GCE
+LIBRARY gceavailable.lib
+#endif
+
+sourcepath ../TSU_MMF_VCLNT_APP
+START RESOURCE VclntAppTest_reg.rss
+TARGETPATH /private/10003a3f/apps
+END
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/mmpfiles/TS_CMMFVideoTestController.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,66 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// using relative paths for sourcepath and user includes
+//
+//
+
+target ts_cmmfvideotestcontroller.dll
+CAPABILITY ALL -TCB
+targettype plugin
+UID 0x10009d8d 0x101f7D2D
+VENDORID 0x70000001
+
+SOURCEPATH ../TS_CMMFVideoTestController
+SOURCE Ts_cmmfvideotestcontroller.cpp
+
+#ifdef SYMBIAN_BUILD_GCE
+#ifdef WINSCW
+source gceavailable_winscw.cpp
+#endif
+
+#if defined(EABI) || defined(X86GCC)
+source gceavailable_nongce.cpp
+#endif
+#endif // SYMBIAN_BUILD_GCE
+
+USERINCLUDE ../TS_CMMFVideoTestController
+USERINCLUDE ../ts_cmmfvideotestcustomcommands
+USERINCLUDE ../TSU_MMF_VCLNT_01/inc
+USERINCLUDE ../../../../inc/mmf/ControllerFramework
+USERINCLUDE ../../../../inc/mmf
+USERINCLUDE ../../../../inc/mmf/common
+USERINCLUDE ../../../../inc/mmf/server
+USERINCLUDE ../../../../inc/mmf/PLUGIN
+
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+
+start resource 101f7D2D.rss
+target ts_cmmfvideotestcontroller.rsc
+end
+
+LIBRARY euser.lib
+LIBRARY mmfcontrollerframework.lib
+LIBRARY ts_cmmfvideotestcustomcommands.lib
+LIBRARY mmfstandardcustomcommands.lib
+LIBRARY fbscli.lib
+LIBRARY bafl.lib
+LIBRARY surfacemanager.lib
+#ifdef EABI
+library ecom.lib
+#endif
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+library ws32.lib
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/mmpfiles/TS_CMMFVideoTestCustomCommands.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,45 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+target ts_cmmfvideotestcustomcommands.dll
+CAPABILITY ALL -TCB
+targettype DLL
+UID 0x1000008d 0x101f7D2E
+VENDORID 0x70000001
+
+SOURCEPATH ../ts_cmmfvideotestcustomcommands
+source TS_CMMFVideoTestCustomCommands.cpp
+
+USERINCLUDE ../TS_CMMFVideoTestController
+USERINCLUDE ../ts_cmmfvideotestcustomcommands
+USERINCLUDE ../TSU_MMF_VCLNT_01/inc
+USERINCLUDE ../../../../inc/mmf
+USERINCLUDE ../../../../inc/mmf/ControllerFramework
+USERINCLUDE ../../../../inc/mmf/common
+USERINCLUDE ../../../../inc/mmf/server
+
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+
+LIBRARY euser.lib
+LIBRARY mmfcontrollerframework.lib
+LIBRARY ecom.lib
+
+//nostrictdef
+//exportunfrozen
+
+
+
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/mmpfiles/TS_VideoInput.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,38 @@
+// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+target ts_videoinput.dll
+CAPABILITY ALL -TCB
+targettype plugin
+
+// ECom Dll recognition UID followed by the unique UID for this dll
+UID 0x10009D8D 0x101F7F8C
+VENDORID 0x70000001
+
+SOURCEPATH ../TS_VideoInput
+SOURCE MmfVideoInput.cpp
+
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+
+start resource 101F7F8C.rss
+target ts_videoinput.rsc
+end
+
+LIBRARY euser.lib
+LIBRARY mmfserverbaseclasses.lib
+LIBRARY ecom.lib
+LIBRARY mmfcontrollerframework.lib
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/mmpfiles/TS_VideoOutput.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,38 @@
+// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+target ts_videooutput.dll
+CAPABILITY ALL -TCB
+targettype plugin
+
+// ECom Dll recognition UID followed by the unique UID for this dll
+UID 0x10009D8D 0x101F7F8D
+VENDORID 0x70000001
+
+SOURCEPATH ../TS_VideoOutput
+SOURCE MmfVideoOutput.cpp
+
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+
+start resource 101F7F8D.rss
+target ts_videooutput.rsc
+end
+
+LIBRARY euser.lib
+LIBRARY mmfserverbaseclasses.lib
+LIBRARY mmfcontrollerframework.lib
+LIBRARY ecom.lib
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/mmpfiles/ts_cmmfvideotestcontroller_gce.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,65 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// using relative paths for sourcepath and user includes
+//
+//
+
+target ts_cmmfvideotestcontroller_gce.dll
+CAPABILITY ALL -TCB
+targettype plugin
+UID 0x10009d8d 0x101f7D2D
+VENDORID 0x70000001
+
+SOURCEPATH ../TS_CMMFVideoTestController
+SOURCE Ts_cmmfvideotestcontroller.cpp
+
+#ifdef WINSCW
+source gceavailable_winscw.cpp
+#endif
+
+#ifdef EABI
+source gceavailable_gce.cpp
+#endif
+
+
+USERINCLUDE ../TS_CMMFVideoTestController
+USERINCLUDE ../ts_cmmfvideotestcustomcommands
+USERINCLUDE ../TSU_MMF_VCLNT_01/inc
+USERINCLUDE ../../../../inc/mmf/ControllerFramework
+USERINCLUDE ../../../../inc/mmf
+USERINCLUDE ../../../../inc/mmf/common
+USERINCLUDE ../../../../inc/mmf/server
+USERINCLUDE ../../../../inc/mmf/PLUGIN
+
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+
+start resource 101f7d2d_gce.rss
+target ts_cmmfvideotestcontroller_gce.rsc
+end
+
+LIBRARY euser.lib
+LIBRARY mmfcontrollerframework.lib
+LIBRARY ts_cmmfvideotestcustomcommands.lib
+LIBRARY mmfstandardcustomcommands.lib
+LIBRARY fbscli.lib
+LIBRARY bafl.lib surfacemanager.lib
+#ifdef EABI
+library ecom.lib
+#endif
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+library ws32.lib
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/TSU_MMF_VCLNT_01.ini Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,126 @@
+[SectionDRM]
+VideoContent = c:\mm\mmf\testfiles\vclnt\Video.content
+VideoContentNoRights = c:\mm\mmf\testfiles\vclnt\VideoContentNoRights.content
+
+[MM-MMF-VCLNT-U-1000-CP]
+AutoScaleType = EAutoScaleNone
+AutoScaleHoriz = EHorizontalAlignCenter
+AutoScaleVert = EVerticalAlignCenter
+ExpectedResult = 0
+
+[MM-MMF-VCLNT-U-1001-CP]
+AutoScaleType = EAutoScaleNone
+AutoScaleHoriz = EHorizontalAlignRight
+AutoScaleVert = EVerticalAlignBottom
+ExpectedResult = 0
+
+[MM-MMF-VCLNT-U-1002-CP]
+AutoScaleType = EAutoScaleNone
+AutoScaleHoriz = 0
+AutoScaleVert = 0
+ExpectedResult = 0
+
+[MM-MMF-VCLNT-U-1003-CP]
+AutoScaleType = EAutoScaleNone
+AutoScaleHoriz = 20
+AutoScaleVert = -10
+ExpectedResult = 0
+
+[MM-MMF-VCLNT-U-1004-CP]
+AutoScaleType = EAutoScaleBestFit
+AutoScaleHoriz = EHorizontalAlignLeft
+AutoScaleVert = EVerticalAlignTop
+ExpectedResult = 0
+
+[MM-MMF-VCLNT-U-1005-CP]
+AutoScaleType = EAutoScaleBestFit
+AutoScaleHoriz = EHorizontalAlignLeft
+AutoScaleVert = EVerticalAlignTop
+ExpectedResult = 0
+
+[MM-MMF-VCLNT-U-1006-CP]
+AutoScaleType = EAutoScaleClip
+AutoScaleHoriz = 0
+AutoScaleVert = 0
+ExpectedResult = 0
+
+[MM-MMF-VCLNT-U-1007-CP]
+AutoScaleType = EAutoScaleClip
+AutoScaleHoriz = EHorizontalAlignCenter
+AutoScaleVert = EVerticalAlignCenter
+ExpectedResult = 0
+
+[MM-MMF-VCLNT-U-1007-CP]
+AutoScaleType = EAutoScaleStretch
+AutoScaleHoriz = EHorizontalAlignCenter
+AutoScaleVert = EVerticalAlignCenter
+ExpectedResult = 0
+
+[MM-MMF-VCLNT-U-1007-CP]
+AutoScaleType = EAutoScaleStretch
+AutoScaleHoriz = 0
+AutoScaleVert = 0
+ExpectedResult = 0
+
+[MM-MMF-VCLNT-U-1100-CP]
+AddWindows=0,
+AddDisplays=0,
+
+[MM-MMF-VCLNT-U-1101-CP]
+AddWindows=0,
+AddDisplays=1,
+
+[MM-MMF-VCLNT-U-1102-CP]
+AddDisplays=0,
+SimulatedEvents=SurfaceCreated,
+ExpectedEvents=SurfaceCreated,
+
+[MM-MMF-VCLNT-U-1104-CP]
+AddDisplays=0,
+SimulatedEvents=SurfaceCreated,SurfaceParametersChanged,
+ExpectedEvents=SurfaceCreated,SurfaceParametersChanged,
+
+[MM-MMF-VCLNT-U-1106-CP]
+AddWindows=0,
+AddDisplays=0,
+
+[MM-MMF-VCLNT-U-1107-CP]
+AddDisplays=0,
+AddWindows=0,
+
+[MM-MMF-VCLNT-U-1108-CP]
+AddDisplays=0,
+AddWindows=0,
+
+[MM-MMF-VCLNT-U-1109-CP]
+AddDisplays=0,1,
+SimulatedEvents=SurfaceCreated,None,SurfaceParametersChanged,None,
+ExpectedEvents=SurfaceCreated,SurfaceCreated,SurfaceParametersChanged,SurfaceParametersChanged,
+
+[MM-MMF-VCLNT-U-1111-CP]
+AddDisplays=0,
+AddWindows=0,
+Iterations=10
+
+[MM-MMF-VCLNT-U-1112-CP]
+AddDisplays=0,
+SimulatedEvents=SurfaceCreated,SurfaceCreated,
+ExpectedEvents=SurfaceCreated,SurfaceCreated,
+
+[MM-MMF-VCLNT-U-1113-CP]
+AddDisplays=0,
+SimulatedEvents=SurfaceCreated,RemoveSurface,SurfaceCreated,
+ExpectedEvents=SurfaceCreated,RemoveSurface,SurfaceCreated,
+
+[MM-MMF-VCLNT-U-1114-CP]
+AddDisplays=0,1,
+SimulatedEvents=SurfaceCreated,None,SurfaceCreated,None,
+ExpectedEvents=SurfaceCreated,SurfaceCreated,SurfaceCreated,SurfaceCreated,
+
+[MM-MMF-VCLNT-U-1115-CP]
+AddDisplays=0,1,
+SimulatedEvents=SurfaceCreated,None,RemoveSurface,None,SurfaceCreated,None,
+ExpectedEvents=SurfaceCreated,SurfaceCreated,RemoveSurface,RemoveSurface,SurfaceCreated,SurfaceCreated,
+
+[MM-MMF-VCLNT-U-1201-CP]
+AddDisplays=0,0,
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/TSU_MMF_VCLNT_01_ALLOC_WM.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,81 @@
+// Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF Video Clients Unit Testing script 6/9/2002
+//
+//
+
+PRINT Run all the MMF Video Clients unit tests
+PRINT
+//PAUSE_AT_END
+
+// Wait for Window Manager
+DELAY 5000
+
+//
+MULTITHREAD
+
+
+//
+LOAD_SUITE TSU_MMF_VCLNT_01.dll
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0100-CP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0100-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0101-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0101-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0102-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0102-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0103-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0103-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0300-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0300-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0301-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0301-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0304-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0304-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0302-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0302-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0303-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0303-CP
+TEST_COMPLETE
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/TSU_MMF_VCLNT_01_WM_CAF_V2.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,431 @@
+// Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF Video Clients Unit Testing script
+//
+//
+
+PRINT Run all the MMF Video Clients unit tests
+PRINT
+
+// Wait for Window Manager
+DELAY 5000
+
+LOAD_SUITE TSU_MMF_VCLNT_01.dll
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0001-CP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0001-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0002-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0002-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0003-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0003-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0004-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0004-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0005-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0005-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0006-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0006-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0008-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0008-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0010-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0010-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0011-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0011-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0012-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0012-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0013-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0013-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0020-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0020-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0021-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0021-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0022-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0022-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0023-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0023-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0025-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0025-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0027-CP
+DELAY 5000
+RUN_TEST_STEP 120000, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0027-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0028-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0028-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0029-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0029-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0030-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0030-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0031-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0031-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0032-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0032-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0033-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0033-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0035-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0035-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0036-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0036-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0037-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0037-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0038-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0038-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0041-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0041-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0043-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0043-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0050-LP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0050-LP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0051-LP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0051-LP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0060-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0060-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0061-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0061-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0062-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0062-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0063-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0063-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0064-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0064-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0065-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0065-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0066-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0066-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0067-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0067-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0068-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0068-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0069-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0069-HP
+TEST_COMPLETE
+
+// INC041303 - PSS - PlaybackComplete problem in MMF Framework
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0070-CP
+DELAY 5000
+RUN_TEST_STEP 20000, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0070-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0071-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0071-CP
+TEST_COMPLETE
+
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0200-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0200-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0201-CP
+
+//RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0201-CP
+//TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0202-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0202-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0203-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0203-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0204-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0204-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0205-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0205-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0207-CP
+DELAY 5000
+RUN_TEST_STEP 20000, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0207-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0210-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0210-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0220-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0220-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0221-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0221-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0222-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0222-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0223-CP
+DELAY 5000
+//RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0223-CP
+//TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0225-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0225-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0229-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0229-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0230-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0230-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0231-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0231-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0232-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0232-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0234-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0234-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0235-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0235-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0236-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0236-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0237-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0237-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0238-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0238-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0239-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0239-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0240-LP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0240-LP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0241-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0241-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0250-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0250-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0251-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0251-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0252-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0252-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0253-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0253-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0313-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0313-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0314-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0314-CP
+TEST_COMPLETE
+
+// DEF083334 Checking for ControllerImplementation info
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0254-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0254-HP
+TEST_COMPLETE
+
+// DEF083334 Checking for ControllerImplementation info
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0255-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0255-HP
+TEST_COMPLETE
+
+//DEF082497,DEF081389,DEF085513
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0256-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0256-HP
+TEST_COMPLETE
+
+//DEF100150
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0257-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0257-HP
+TEST_COMPLETE
+
+//!@SYMTestCaseID MM-MMF-VCLNT-U-INC122181-CP
+//!@SYMTestCaseDesc Verify PlayComplete and FrameReady events can be outstanding at the same time.
+//!@SYMDEF INC122181
+//!@SYMTestPriority 1
+//!@SYMTestActions Open file. Prepare video player. Issue GetFrame. Issue Play.
+//!@SYMTestExpectedResults Both PlayComplete and FrameReady events are delivered to client.
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-INC122181-CP
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,28 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF Video Clients Unit Testing script
+//
+//
+
+// Wait for Window Manager
+DELAY 5000
+
+LOAD_SUITE TSU_MMF_VCLNT_01.dll
+
+//DEF097361
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0258-CP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0258-CP
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/TSU_MMF_VCLNT_01_gce_unavailable.ini Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,7 @@
+[SectionDRM]
+VideoContent = c:\mm\mmf\testfiles\vclnt\Video.content
+VideoContentNoRights = c:\mm\mmf\testfiles\vclnt\VideoContentNoRights.content
+
+[MM-MMF-VCLNT-U-1004-CP]
+ExpectedResult = -5
+UseSurfaces = false
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/TSU_MMF_VCLNT_DRM.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,64 @@
+// Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 01/04/2005
+//
+//
+
+PRINT Run all the MMF Video Clients unit tests
+PRINT
+
+// Wait for Window Manager
+DELAY 5000
+
+LOAD_SUITE TSU_MMF_VCLNT_01.dll
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0008-CP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0008-CP C:\MM\TSU_MMF_VCLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0013-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0013-CP C:\MM\TSU_MMF_VCLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0501-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0501-HP C:\MM\TSU_MMF_VCLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0502-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0502-HP C:\MM\TSU_MMF_VCLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0601-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0601-HP C:\MM\TSU_MMF_VCLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0602-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0602-HP C:\MM\TSU_MMF_VCLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0611-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0611-HP C:\MM\TSU_MMF_VCLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0612-HP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0612-HP C:\MM\TSU_MMF_VCLNT_01.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/TSU_MMF_VCLNT_DRM_ALLOC.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,34 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 01/04/2005
+//
+//
+
+PRINT Run all the DRM Video Client Alloc unit tests
+PRINT
+
+// Wait for Window Manager
+DELAY 5000
+
+LOAD_SUITE TSU_MMF_VCLNT_01.dll
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0505-HP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0505-HP C:\MM\TSU_MMF_VCLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0506-HP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0506-HP C:\MM\TSU_MMF_VCLNT_01.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/TSU_MMF_VCLNT_RF_ALLOC_WM.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,47 @@
+// Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF Video Clients Unit Testing script 6/9/2002
+//
+//
+
+PRINT Run all the MMF Video Clients unit tests
+PRINT
+//PAUSE_AT_END
+
+// Wait for Window Manager
+DELAY 5000
+
+//
+MULTITHREAD
+
+
+//
+LOAD_SUITE TSU_MMF_VCLNT_01.dll
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0111-CP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0111-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0311-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0311-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0312-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0312-CP
+TEST_COMPLETE
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/TSU_MMF_VCLNT_RF_WM.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,47 @@
+// Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF Video Clients Unit Testing script 6/9/2002
+//
+//
+
+PRINT Run all the MMF Video Clients unit tests
+PRINT
+//PAUSE_AT_END
+
+// Wait for Window Manager
+DELAY 5000
+
+LOAD_SUITE TSU_MMF_VCLNT_01.dll
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0011-CP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0011-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0012-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0012-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0211-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0211-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0212-CP
+DELAY 5000
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0212-CP
+TEST_COMPLETE
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/TSU_MMF_VCLNT_RF_WM_NOTIFICATION.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,49 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+PRINT Run all the MMF Video Clients unit tests
+PRINT
+//PAUSE_AT_END
+
+// Wait for Window Manager
+DELAY 5000
+
+LOAD_SUITE TSU_MMF_VCLNT_01.dll
+
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0508-HP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0508-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0700-HP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0700-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0701-HP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0701-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0702-HP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0702-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0703-HP
+
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0703-HP
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/empty.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,16 @@
+//
+// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/tsu_mmf_vclnt_u_01_gce_alloc.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,83 @@
+// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/08/2007
+// MMF Video Clients Unit Testing script related to graphics surfaces
+//
+//
+
+//! @file
+//! @SYMTestSuiteName tsu_mmf_vclnt_01
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
+testframework.exe [path]\[this script name]. It requires no exceptional network support. For WINSCW testing,
+epoc.ini should set graphics_gce_enable. The class CVideoUtility2 should be available to the client.
+//////////////////////////
+
+
+PRINT Run all the MMF Video Clients unit tests related to graphics surfaces
+PRINT
+
+// Wait for Window Manager
+DELAY 5000
+
+LOAD_SUITE tsu_mmf_vclnt_01.dll
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0900-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Alloc failure test of constructing a new object with CVideoPlayerUtility2 object.
+//! @SYMTestActions Alloc failure test of constructing a new object.
+//! @SYMTestExpectedResults Doesn't leave, CVideoPlayerUtility2 is constructed successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0900-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0901-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Alloc failure test of Open file with CVideoPlayerUtility2 object.
+//! @SYMTestActions Alloc failure test of Open file.
+//! @SYMTestExpectedResults Doesn't leave, File openned successfully.
+//! @SYMTestPriority High
+DELAY 5000
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0901-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0902-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Alloc failure test of Open descriptor with CVideoPlayerUtility2 object.
+//! @SYMTestActions Alloc failure test of Open descriptor.
+//! @SYMTestExpectedResults Doesn't leave, Descriptor content openned successfully.
+//! @SYMTestPriority High
+DELAY 5000
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0902-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0903-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Alloc failure test of Open URL with CVideoPlayerUtility2 object.
+//! @SYMTestActions Alloc failure test of Open URL.
+//! @SYMTestExpectedResults Doesn't leave, Url content openned successfully.
+//! @SYMTestPriority High
+DELAY 5000
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0903-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0904-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Alloc failure test of Open file with CVideoPlayerUtility2 object.
+//! @SYMTestActions Alloc failure test of Open file using file handler.
+//! @SYMTestExpectedResults Doesn't leave, File openned successfully.
+//! @SYMTestPriority High
+DELAY 5000
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0904-CP
+TEST_COMPLETE
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/tsu_mmf_vclnt_u_01_gce_avail_secscreen.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,83 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 24/09/2007
+// MMF Video Clients Unit Testing script related to graphics surfaces
+// testframework.exe [path]\[this script name]. It requires no exceptional network support. For WINSCW testing, epoc.ini
+// should set SYMBIAN_GRAPHICS_USE_GCE and the user should run: "perl secdisp_ini_append.pl append". After running the test script,
+// the user should run: "perl secdisp_ini_append.pl restore". The class CVideoUtility2 should be available to the client.
+//
+//
+
+//! @file
+//! @SYMTestSuiteName tsu_mmf_vclnt_01
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
+
+
+PRINT Run all the MMF Video Clients unit tests related to graphics surfaces
+PRINT
+
+// Wait for Window Manager
+DELAY 5000
+
+LOAD_SUITE tsu_mmf_vclnt_01.dll
+
+// positive tests
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1101-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Add display window succeeds when an event handler has been added with different display id as the window's.
+//! @SYMTestActions Add display window on display 0, add event handler on display 1
+//! @SYMTestExpectedResults Doesn't leave, window added successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1101-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1109-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Add two event handlers, make sure events are properly dispatched.
+//! @SYMTestActions Add display handler, add another display handler, generate events.
+//! @SYMTestExpectedResults Doesn't leave. No error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1109-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1114-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Event handler SurfaceCreated callback.
+//! @SYMTestActions Add event handler, generate SurfaceCreated event twice
+//! @SYMTestExpectedResults Event is received in callback twice per display
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1114-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1115-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Event handler SurfaceParametersChanged and RemoveSurfaceEvent callback.
+//! @SYMTestActions Add event handler, generate SurfaceParametersChanged and RemoveSurfaceEvent event
+//! @SYMTestExpectedResults Events are received in callback.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1115-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+// negative tests
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0865-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test AddDisplayWindowL() method with CVideoPlayerUtility2 object.
+//! @SYMTestActions Add display window fails when trying to add a different window.
+//! @SYMTestExpectedResults Leave with KErrInUse.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0865-CP
+TEST_COMPLETE
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/tsu_mmf_vclnt_u_01_gce_available.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,495 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/08/2007
+// MMF Video Clients Unit Testing script related to graphics surfaces
+// testframework.exe [path]\[this script name]. It requires no exceptional network support. For WINSCW testing,
+// epoc.ini should set SYMBIAN_GRAPHICS_USE_GCE. The class CVideoUtility2 should be available to the client.
+//
+//
+
+//! @file
+//! @SYMTestSuiteName tsu_mmf_vclnt_01
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
+
+
+PRINT Run all the MMF Video Clients unit tests related to graphics surfaces
+PRINT
+
+// Wait for Window Manager
+DELAY 5000
+
+LOAD_SUITE tsu_mmf_vclnt_01.dll
+
+// Positive test
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0801-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test NewL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Construct a new object, with default priority and preference values.
+//! @SYMTestExpectedResults Doesn't leave, CVideoPlayerUtility2 is constructed successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0801-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0802-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test NewL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Construct a new object, with various non default priority and preference values.
+//! @SYMTestExpectedResults Doesn't leave, CVideoPlayerUtility2 is constructed successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0802-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0803-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test OpenFileL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Open a file with a file name and no controller UID is specified.
+//! @SYMTestExpectedResults Doesn't leave, file openned successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0803-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0804-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test OpenFileL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Open a file with a file name and a controller UID is specified.
+//! @SYMTestExpectedResults Doesn't leave, file openned successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0804-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0805-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test OpenDesL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Open a descriptor with no controller UID is specified.
+//! @SYMTestExpectedResults Doesn't leave, descriptor content openned successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0805-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0806-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test OpenDesL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Open a descriptor with a controller UID is specified.
+//! @SYMTestExpectedResults Doesn't leave, descriptor content openned successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0806-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0807-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test OpenUrlL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Open a url with no controller UID is specified.
+//! @SYMTestExpectedResults Doesn't leave, url content openned successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0807-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0808-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test OpenUrlL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Open a url with a controller UID is specified.
+//! @SYMTestExpectedResults Doesn't leave, url content openned successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0808-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0809-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test OpenFileL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Open a file using file handle with no controller UID is specified.
+//! @SYMTestExpectedResults Doesn't leave, file openned successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0809-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0811-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test OpenFileL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Open a video clip from a file passing TMMFileSource with no controller UID is specified.
+//! @SYMTestExpectedResults Doesn't leave, the video clip openned successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0811-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0815-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test AddDisplayWindowL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Add display window with specific video extent and window clipping rectangle values which is
+completely within the window. Handle event KMMFEventCategoryVideoSurfaceCreated and KMMFEventCategoryVideoSurfaceUpdated.
+//! @SYMTestExpectedResults Doesn't leave, no error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0815-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0816-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test simplified variant AddDisplayWindowL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Add display window with default video extent and window clipping rectangle values. Handle event
+KMMFEventCategoryVideoSurfaceCreated and KMMFEventCategoryVideoSurfaceUpdated.
+//! @SYMTestExpectedResults Doesn't leave, no error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0816-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0817-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test RemoveDisplayWindow() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Remove a previous added display window.
+//! @SYMTestExpectedResults Doesn't leave, no error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0817-CP
+TEST_COMPLETE
+
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0818-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test RemoveDisplayWindow() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Remove a display window but it is not added yet.
+//! @SYMTestExpectedResults Doesn't leave, no error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0818-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0819-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetVideoExtentL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Set the video extent if the surface is created. Otherwise store the extent value.
+//! @SYMTestExpectedResults Doesn't leave, no error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0819-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0820-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetWindowClipRectL() method of CVideoPlayerUtility2 class.
+//! @SYMTestActions Set the window clipping rectangle, relative to the window. The clipping retangle is completely
+within the window.
+//! @SYMTestExpectedResults Doesn't leave, no error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0820-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0821-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test events handling of CVideoPlayerUtility2 class.
+//! @SYMTestActions Handle surface replace sequence consisting of events KMMFEventCategoryVideoSurfaceCreated,
+KMMFEventCategoryVideoSurfaceParametersChanged, KMMFEventCategoryVideoRemoveSurface, and KMMFEventCategoryVideoSurfaceCreated
+//! @SYMTestExpectedResults Doesn't leave, no error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0821-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0822-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test events handling of CVideoPlayerUtility2 class.
+//! @SYMTestActions Handle surface replace sequence consisting of events KMMFEventCategoryVideoSurfaceCreated,
+KMMFEventCategoryVideoSurfaceParametersChanged and KMMFEventCategoryVideoSurfaceCreated
+//! @SYMTestExpectedResults Doesn't leave, no error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0822-CP
+TEST_COMPLETE
+
+// Nagtive test for CVideoUtility2 object when the controller supports graphics surfaces
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0854-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetDisplayWindowL() method with CVideoPlayerUtility2 object.
+//! @SYMTestActions Set display window using CVideoPlayerUtility2 object regardless whether the controller
+supports the graphics surfaces.
+//! @SYMTestExpectedResults Returns with KErrNotSupported.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0854-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0855-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetInitScreenNumberL() method with CVideoPlayerUtility2 object.
+//! @SYMTestActions Set initial screen number using CVideoPlayerUtility2 object regardless whether the controller
+supports the graphics surfaces.
+//! @SYMTestExpectedResults Returns with KErrNotSupported.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0855-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0856-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test AddDisplayWindowL() method with CVideoPlayerUtility2 object.
+//! @SYMTestActions Add display window fails when the same window is already displayed.
+//! @SYMTestExpectedResults Returns with KErrInUse.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0856-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0857-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test AddDisplayWindowL() method with CVideoPlayerUtility2 object.
+//! @SYMTestActions Add display window fails when the source has not been opened.
+//! @SYMTestExpectedResults Returns with KErrNotReady.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0857-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0858-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test simplified variant of AddDisplayWindowL() method with CVideoPlayerUtility2 object.
+//! @SYMTestActions Add display window fails when one window is already displayed.
+//! @SYMTestExpectedResults Returns with KErrInUse.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0858-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0859-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test simplified variant of AddDisplayWindowL() method with CVideoPlayerUtility2 object.
+//! @SYMTestActions Add display window fails when the source has not been opened.
+//! @SYMTestExpectedResults Returns with KErrNotReady.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0859-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0860-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test AddDisplayWindowL() method with CVideoPlayerUtility2 object.
+//! @SYMTestActions Add display window fails when the cripping rectangle is not completely contained
+// within the window.
+//! @SYMTestExpectedResults Returns with KErrArgument.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0860-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0861-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetVideoExtentL() method with CVideoPlayerUtility2 object.
+//! @SYMTestActions Set video extent fails when the source has not been opened.
+//! @SYMTestExpectedResults Returns with KErrNotReady.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0861-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0862-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetWindowClipRectL() method with CVideoPlayerUtility2 object.
+//! @SYMTestActions Set window clipping rectangle when one window is already displayed.
+//! @SYMTestExpectedResults Returns with KErrNotReady.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0862-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0863-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetWindowClipRectL() method with CVideoPlayerUtility2 object.
+//! @SYMTestActions Set window clipping rectangle when the clipping rectangle is not contained within the window.
+//! @SYMTestExpectedResults Returns with KErrArgument.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0863-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0864-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test StartDirectScreenAccessL() and StopDirectScreenAccessLmethod with CVideoPlayerUtility2 object.
+//! @SYMTestActions Start and stop direct access using CVideoPlayerUtility2.
+//! @SYMTestExpectedResults Returns with KErrNotSupported.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0864-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1000-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility.
+//! @SYMTestActions Open and play a file with autoscale
+//! @SYMTestExpectedResults Plays a video file with no errors.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1000-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1001-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility.
+//! @SYMTestActions Open and play a file with autoscale
+//! @SYMTestExpectedResults Plays a video file with no errors.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1001-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1002-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility.
+//! @SYMTestActions Open and play a file with autoscale
+//! @SYMTestExpectedResults Plays a video file with no errors.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1002-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1003-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility.
+//! @SYMTestActions Open and play a file with autoscale
+//! @SYMTestExpectedResults Plays a video file with no errors.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1003-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1004-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility2.
+//! @SYMTestActions Open and play a file with autoscale
+//! @SYMTestExpectedResults Plays a video file with no errors.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1004-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1005-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility2.
+//! @SYMTestActions Open and play a file with autoscale
+//! @SYMTestExpectedResults Plays a video file with no errors.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1005-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1006-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility2.
+//! @SYMTestActions Open and play a file with autoscale
+//! @SYMTestExpectedResults Plays a video file with no errors.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1006-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1007-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility2.
+//! @SYMTestActions Open and play a file with autoscale
+//! @SYMTestExpectedResults Plays a video file with no errors.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1007-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1100-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Add display window succeeds when an event handler has been added with the same display id as the window's.
+//! @SYMTestActions Add display window with display id 0, add event handler with display id 0
+//! @SYMTestExpectedResults Doesn't leave, window added successfully.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1100-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1102-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Event handler SurfaceCreated callback.
+//! @SYMTestActions Add event handler, generate SurfaceCreated event
+//! @SYMTestExpectedResults Event is received in callback.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1102-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1104-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Event handler SurfaceParametersChanged callback.
+//! @SYMTestActions Add event handler, generate SurfaceParametersChanged event
+//! @SYMTestExpectedResults Event is received in callback.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1104-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1106-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Event handler is added after surface is created.
+//! @SYMTestActions Generate SurfaceCreated event, add event handler to display id 0
+//! @SYMTestExpectedResults SurfaceCreated event callback is received by event handler.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1106-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1107-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Removing event handler and window will remove display correctly.
+//! @SYMTestActions Add event handler on display id 0, add display window on display id 0, remove display, remove display window
+//! @SYMTestExpectedResults Doesn't leave. No error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1107-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1108-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Adding event handler and adding window and removing event handler before event is received.
+//! @SYMTestActions Add event handler on display 0, add display window on display 0, remove event handler, generate SurfaceCreated
+//! @SYMTestExpectedResults Doesn't leave. No error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1108-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1110-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Add event handler, remove event handler.
+//! @SYMTestActions Add event handler on display 0, remove event handler on display 0
+//! @SYMTestExpectedResults Doesn't leave. No error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1110-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1111-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Stress test, call AddDisplayWindowL and AddDisplay followed by RemoveDisplayWindow and RemoveDisplay 10 times
+//! @SYMTestActions Add display window, add display, remove display window, remove display.
+//! @SYMTestExpectedResults Doesn't leave. No error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1111-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1112-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Event handler SurfaceCreated callback.
+//! @SYMTestActions Add event handler, generate SurfaceCreated event twice
+//! @SYMTestExpectedResults Event is received in callback twice
+//! @SYMTestPriority High
+ RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1112-CP \mm\tsu_mmf_vclnt_01.ini
+ TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1113-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Event handler SurfaceParametersChanged and RemoveSurfaceEvent callback.
+//! @SYMTestActions Add event handler, generate SurfaceParametersChanged and RemoveSurfaceEvent event
+//! @SYMTestExpectedResults Events are received in callback.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1113-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1200-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Add window fails to add the same window again.
+//! @SYMTestActions Add window on display 0, add the same window again
+//! @SYMTestExpectedResults Fails with KErrInUse
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1200-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1201-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Add event handler fails to add event handler for the same display.
+//! @SYMTestActions Add event handler on display 0, add event handler on display 0 again
+//! @SYMTestExpectedResults Fails with KErrInUse
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1201-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1202-CP
+//! @SYMREQ REQ9475
+//! @SYMTestCaseDesc Add event handler fails to add before controller has been opened.
+//! @SYMTestActions Add event handler without opening file first.
+//! @SYMTestExpectedResults Fails with KErrNotReady
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1202-CP \mm\tsu_mmf_vclnt_01.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/tsu_mmf_vclnt_u_01_gce_unavailable.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,79 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF Video Clients Unit Testing script related to graphics surfaces
+//
+//
+
+//! @file
+//! @SYMTestSuiteName TSU_MMF_VCLNT_01
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework using the following test list entry:
+testframework.exe [path]\[this script name]. It requires no exceptional network support. For WINSCW testing, epoc.ini should not set SYMBIAN_GRAPHICS_USE_GCE. The class CVideoUtility2 should be available to the client.
+//////////////////////////
+
+
+PRINT Run MMF Video Clients CVideoUtility2 negative unit tests
+PRINT
+
+// Wait for Window Manager
+DELAY 5000
+
+LOAD_SUITE TSU_MMF_VCLNT_01.dll
+
+// Nagtive test for CVideoUtility2 object when the controller doesn't support graphics surfaces
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0850-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test OpenFileL() method using CVideoPlayerUtility2.
+//! @SYMTestActions Open file when the controller doesn't support graphics surface use
+//! @SYMTestExpectedResults Fails with KErrNotSupport.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0850-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0851-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test OpenDesL() method using CVideoPlayerUtility2.
+//! @SYMTestActions Open descriptor when the controller doesn't support graphics surface use
+//! @SYMTestExpectedResults Fails with KErrNotSupport.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0851-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0852-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test OpenUrlL() method using CVideoPlayerUtility2.
+//! @SYMTestActions Open URL when the controller doesn't support graphics surface use
+//! @SYMTestExpectedResults Fails with KErrNotSupport.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0852-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-0853-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test OpenFileL() method using CVideoPlayerUtility2.
+//! @SYMTestActions Open file using file handle when the controller doesn't support graphics surface use
+//! @SYMTestExpectedResults Fails with KErrNotSupport.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0853-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1004-CP
+//! @SYMREQ REQ7418
+//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility2.
+//! @SYMTestActions Open and play a file with autoscale
+//! @SYMTestExpectedResults Fails with KErrNotSupport.
+//! @SYMTestPriority High
+RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1004-CP \mm\tsu_mmf_vclnt_01_gce_unavailable.ini
+TEST_COMPLETE
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/tsu_mmf_vclnt_u_01_subtitle_gce_on.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,130 @@
+// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MMF Video Clients Unit Testing script related to subtitles
+// testframework.exe [path]\[this script name]. It requires no exceptional network support.
+// The class CVideoPlayerUtility2 should be available to the client.
+//
+//
+
+//! @file
+//! @SYMTestSuiteName tsu_mmf_vclnt_01
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
+
+PRINT Run all the MMF Video Clients unit tests related to subtitles
+PRINT
+
+LOAD_SUITE tsu_mmf_vclnt_01.dll
+
+// Positive test
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1300-CP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Check subtitles availability when subtitle is available
+//! @SYMTestActions Check for subtitle
+//! @SYMTestExpectedResults SubtitlesAvailable return ETrue
+//! @SYMTestPriority Critical
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1300-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1301-CP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Enable and disable subtitle
+//! @SYMTestActions Add display window, then enable subtitle, then disable subtitle.
+//! Then enable subtitle and disable subtitle again
+//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles and
+//! AddSubtitleConfig with proper config should be called in the controller,
+//! then event CRP ready is received. After subtitle is disabled, DisableSubtitles
+//! and RemoveSubtitleConfig should be called in the controller.
+//! @SYMTestPriority Critical
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1301-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1302-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Redraw subtitle
+//! @SYMTestActions Add display window, then enable subtitle. After CRP
+//! ready is received, call redraw subtitle on the added display window and another display window
+//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles and AddSubtitleConfig
+//! with proper config should be called in the controller, then event CRP ready is received.
+//! Then send a CRP ready event to client API with unexpected window handle and the event should be ignored.
+//! @SYMTestPriority High
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1302-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1303-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Redraw subtitle when CRP is not ready
+//! @SYMTestActions Add display window, then enable subtitle, and call redraw subtitle on
+//! the added display window but CRP ready is not received yet
+//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles and AddSubtitleConfig
+//! with proper config should be called in the controller. The event CRP ready is not received,
+//! so redraw subtitle will be ignored.
+//! @SYMTestPriority High
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1303-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1308-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Get supported subtitle language and subtitle language
+//! @SYMTestActions Add display window, then enable subtitle. Then get supported subtitle
+//! language, set and get subtitle language,
+//! @SYMTestExpectedResults Doesn't leave. No error returned.
+//! @SYMTestPriority High
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1308-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1309-HP
+//! @SYMREQ REQ9901 REQ9906
+//! @SYMTestCaseDesc Enable subtitle and change rotation setting
+//! @SYMTestActions Add 1 display window, then enable subtitle, and change rotation to
+//! same and different rotation settings. Also try redrawing when CRP ready is not received yet.
+//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles should be called in
+//! the controller, and AddSubtitleConfig with proper config should be called. After rotation
+//! is set, UpdateSubtitleConfig with proper config should be called in the controller. When
+//! new rotation setting is same as old setting, UpdateSubtitleConfig call is not expected.
+//! @SYMTestPriority High
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1309-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1310-HP
+//! @SYMREQ REQ9901 REQ9906
+//! @SYMTestCaseDesc Enable subtitle and change window clip rect setting
+//! @SYMTestActions Add 1 display window, then enable subtitle, and change window clip rect
+//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles should be called in
+//! the controller, and AddSubtitleConfig with proper config should be called. After window
+//! clip rect is set, UpdateSubtitleConfig with proper config should be called in the controller.
+//! When clip rec setting is same as old setting, UpdateSubtitleConfig call is not expected
+//! @SYMTestPriority High
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1310-HP
+TEST_COMPLETE
+
+// Negative test
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1352-MP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Enable subtitle twice
+//! @SYMTestActions Add display window, then enable subtitle twice
+//! @SYMTestExpectedResults Leave with KErrInUse on the second enable call
+//! @SYMTestPriority Medium
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1352-MP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1358-LP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Redraw subtitle when subtitle is not enabled
+//! @SYMTestActions Subtitle is not enabled, and call redraw subtitle
+//! @SYMTestExpectedResults Doesn't leave. No error returned. The call is ignored
+//! @SYMTestPriority Low
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1358-LP
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/tsu_mmf_vclnt_u_01_subtitle_gce_on_secscreen.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,86 @@
+// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MMF Video Clients Unit Testing script related to subtitles and secondary screen
+// testframework.exe [path]\[this script name]. It requires no exceptional network support. For WINSCW testing,
+// the user should run:
+// perl secdisp_ini_append.pl append secdisp /epoc.extra /wsini.extra
+// After running the test script, the user should run:
+// perl secdisp_ini_append.pl restore secdisp
+// The class CVideoUtility2 should be available to the client.
+//
+//
+
+//! @file
+//! @SYMTestSuiteName tsu_mmf_vclnt_01
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
+
+PRINT Run all the MMF Video Clients unit tests related to subtitles and secondary screen
+PRINT
+
+LOAD_SUITE tsu_mmf_vclnt_01.dll
+
+// Positive test
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1304-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Enable and disable subtitle with multiple windows on multiple screen
+//! @SYMTestActions Add 3 display windows, then enable subtitle, and then call redraw
+//! subtitle on the third window, then disable subtitle
+//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles should be called
+//! in the controller, and AddSubtitleConfig with proper config should be called 3 times,
+//! then event CRP ready is received 2 times. DisableSubtitles should be called and
+//! RemoveSubtitleConfig called 2 times in the controller.
+//! @SYMTestPriority High
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1304-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1305-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Enable subtitle and add and remove multiple windows on multiple screen
+//! @SYMTestActions Add 1 display window, then enable subtitle, and then add 2 more display
+//! windows, call redraw subtitle on the third window, and remove the second and third display
+//! window, then disable subtitle, then disable subtitle
+//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles should be called in
+//! the controller, and AddSubtitleConfig with proper config should be called 3 times, then
+//! event CRP ready is received 2 times. After window is removed, RemoveSubtitleConfig should
+//! be called in the controller. After subtitle is disabled, DisableSubtitles and
+//! RemoveSubtitleConfig should be called in the controller.
+//! @SYMTestPriority High
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1305-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1306-MP
+//! @SYMREQ REQ9901 REQ9906
+//! @SYMTestCaseDesc Enable subtitle with multiple window on multiple screen and change rotation setting
+//! @SYMTestActions Add 2 display window, then enable subtitle, and change rotation to same
+//! and different rotation settings. Also try redrawing when CRP ready is not received yet.
+//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles should be called
+//! in the controller, and AddSubtitleConfig with proper config should be called. After
+//! rotation is set, UpdateSubtitleConfig with proper config should be called in the controller.
+//! When new rotation setting is same as old setting, UpdateSubtitleConfig call is not expected.
+//! @SYMTestPriority Medium
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1306-MP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1307-MP
+//! @SYMREQ REQ9901 REQ9906
+//! @SYMTestCaseDesc Enable subtitle with multiple window on multiple screen and change window clip rect setting
+//! @SYMTestActions Add 2 display window, then enable subtitle, and change window clip rect
+//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles should be called in
+//! the controller, and AddSubtitleConfig with proper config should be called. After window
+//! clip rect is set, UpdateSubtitleConfig with proper config should be called in the controller.
+//! When clip rec setting is same as old setting, UpdateSubtitleConfig call is not expected
+//! @SYMTestPriority Medium
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1307-MP
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,99 @@
+// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MMF Video Clients Unit Testing script related to subtitles in debug mode
+// testframework.exe [path]\[this script name]. It requires no exceptional network support.
+// The class CVideoPlayerUtility2 should be available to the client.
+//
+//
+
+//! @file
+//! @SYMTestSuiteName tsu_mmf_vclnt_01
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
+
+PRINT Run the negative MMF Video Clients unit tests related to subtitles in udeb mode
+PRINT
+
+LOAD_SUITE tsu_mmf_vclnt_01.dll
+
+// Positive test
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1350-CP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Check subtitle availability and try to enable subtitle when not available
+//! @SYMTestActions Construct a new CVideoPlayerUtility2 object, open a file with subtitle
+//! not available, then check for subtitle and try to enable subtitle
+//! @SYMTestExpectedResults SubtitlesAvailable return EFalse. EnableSubtitles panic in udeb,
+//! leave with KErrNotFound in urel
+//! @SYMTestPriority Critical
+RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1350-CP, MMFVideoPlayUtil, 2
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1351-CP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Check subtitle availablility and try to enable subtitle without openning a source
+//! @SYMTestActions Construct a new CVideoPlayerUtility2 object with no source opened, then check
+//! for subtitle and try to enable subtitle
+//! @SYMTestExpectedResults SubtitlesAvailable return EFalse. EnableSubtitles panic in udeb,
+//! leave with KErrNotReady in urel
+//! @SYMTestPriority Critical
+RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1351-CP, MMFVideoPlayUtil, 1
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1353-CP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Enable subtitle without adding display window
+//! @SYMTestActions Enable subtitle without adding display window
+//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
+//! @SYMTestPriority Critical
+RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1353-CP, MMFVideoPlayUtil, 3
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1354-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Get supported subtitle language when subtitle is not enabled
+//! @SYMTestActions Subtitle is not enabled, try to get supported subtitle language
+//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
+//! @SYMTestPriority High
+RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1354-HP, MMFVideoPlayUtil, 4
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1355-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Get subtitle language when subtitle is not enabled
+//! @SYMTestActions Subtitle is not enabled, try to get subtitle language.
+//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
+//! @SYMTestPriority High
+RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1355-HP, MMFVideoPlayUtil, 4
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1356-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Set subtitle language when subtitle is not enabled
+//! @SYMTestActions Subtitle is not enabled, try to set subtitle language.
+//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
+//! @SYMTestPriority High
+RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1356-HP, MMFVideoPlayUtil, 4
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1357-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Get and set subtitle language when subtitle language is not available
+//! @SYMTestActions Construct a new CVideoPlayerUtility2 object, open a file with subtitle
+//! available but no subtitle language and add display window, then enable subtitle. Then get
+//! supported subtitle language, set and get subtitle language,
+//! @SYMTestExpectedResults SupportedSubtitleLanguagesL return empty array, SubtitleLanguageL
+//! return TLangNone, SetSubtitleLanguage panic in udeb and leave with KErrNotSupported in urel
+//! @SYMTestPriority High
+RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1357-HP, MMFVideoPlayUtil, 5
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/VCLNT/scripts/tsu_mmf_vclnt_u_01_subtitle_gce_on_urel.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,99 @@
+// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MMF Video Clients Unit Testing script related to subtitles in release mode
+// testframework.exe [path]\[this script name]. It requires no exceptional network support.
+// The class CVideoPlayerUtility2 should be available to the client.
+//
+//
+
+//! @file
+//! @SYMTestSuiteName tsu_mmf_vclnt_01
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
+
+PRINT Run the negative MMF Video Clients unit tests related to subtitles in udeb mode
+PRINT
+
+LOAD_SUITE tsu_mmf_vclnt_01.dll
+
+// Negative test
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1350-CP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Check subtitle availability and try to enable subtitle when not available
+//! @SYMTestActions Construct a new CVideoPlayerUtility2 object, open a file with subtitle
+//! not available, then check for subtitle and try to enable subtitle
+//! @SYMTestExpectedResults SubtitlesAvailable return EFalse. EnableSubtitles panic in udeb,
+//! leave with KErrNotFound in urel
+//! @SYMTestPriority Critical
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1350-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1351-CP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Check subtitle availablility and try to enable subtitle without openning a source
+//! @SYMTestActions Construct a new CVideoPlayerUtility2 object with no source opened, then check
+//! for subtitle and try to enable subtitle
+//! @SYMTestExpectedResults SubtitlesAvailable return EFalse. EnableSubtitles panic in udeb,
+//! leave with KErrNotReady in urel
+//! @SYMTestPriority Critical
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1351-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1353-CP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Enable subtitle without adding display window
+//! @SYMTestActions Enable subtitle without adding display window
+//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
+//! @SYMTestPriority Critical
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1353-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1354-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Get supported subtitle language when subtitle is not enabled
+//! @SYMTestActions Subtitle is not enabled, try to get supported subtitle language
+//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
+//! @SYMTestPriority High
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1354-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1355-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Get subtitle language when subtitle is not enabled
+//! @SYMTestActions Subtitle is not enabled, try to get subtitle language.
+//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
+//! @SYMTestPriority High
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1355-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1356-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Set subtitle language when subtitle is not enabled
+//! @SYMTestActions Subtitle is not enabled, try to set subtitle language.
+//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
+//! @SYMTestPriority High
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1356-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-VCLNT-U-1357-HP
+//! @SYMREQ REQ9901
+//! @SYMTestCaseDesc Get and set subtitle language when subtitle language is not available
+//! @SYMTestActions Construct a new CVideoPlayerUtility2 object, open a file with subtitle
+//! available but no subtitle language and add display window, then enable subtitle. Then get
+//! supported subtitle language, set and get subtitle language,
+//! @SYMTestExpectedResults SupportedSubtitleLanguagesL return empty array, SubtitleLanguageL
+//! return TLangNone, SetSubtitleLanguage panic in udeb and leave with KErrNotSupported in urel
+//! @SYMTestPriority High
+RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1357-HP
+TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TESTSTEPRecorderVARIOUS.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TESTSTEPRecorderVARIOUS.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -44,7 +44,7 @@
#include "mmfclientaudiorecorder.h"
#include "../../ctlfrm/TS_Codes.h"
-_LIT(KAudioControllerName,"Symbian Audio controller");
+_LIT(KAudioControllerName,"Symbian Audio Wav Test controller");
//
//
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepAudInStream.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepAudInStream.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -2708,7 +2708,7 @@
void CTestStepAudInStreamTestReqStop::KickoffTestL()
{
- INFO_PRINTF1(_L("DEF095804 CMdaAudioInputStream loses incomplete buffers from DevSound"));
+ INFO_PRINTF1(_L("DEF095804 CMdaAudioInputStream loses not complete buffers from DevSound"));
INFO_PRINTF1(_L("Calls RequestStop to ensure no data is lost."));
CTestStepAudInStreamAsyncTestStep::KickoffTestL();
@@ -2822,7 +2822,7 @@
void CTestStepAudInStreamTestReqStopThenStop::KickoffTestL()
{
- INFO_PRINTF1(_L("DEF095804 CMdaAudioInputStream loses incomplete buffers from DevSound"));
+ INFO_PRINTF1(_L("DEF095804 CMdaAudioInputStream loses not complete buffers from DevSound"));
INFO_PRINTF1(_L("Calls RequestStop then Stop to ensure correct operation."));
CTestStepAudInStreamAsyncTestStep::KickoffTestL();
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepAudOutStream.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepAudOutStream.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1790,7 +1790,7 @@
else
iTestStepResult = EPass;
- //try cotinuing playing and get positions while playing if there is more time. TBD
+ //xxx try cotinuing playing and get positions while playing if there is more time.
INFO_PRINTF1(_L("finished with this test step"));
// test steps return a result
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepConvertVarious.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepConvertVarious.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -43,7 +43,7 @@
#include "mmfclientaudioplayer.h"
#include "../../ctlfrm/TS_Codes.h"
-_LIT(KAudioControllerName,"Symbian Audio controller");
+_LIT(KAudioControllerName,"Symbian Audio Wav Test controller");
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepPlayerRepeats.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepPlayerRepeats.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -192,7 +192,7 @@
iPlayer->SetRepeats(0, TTimeIntervalMicroSeconds(0) );
// use the following line to check that test silence > KMaxTInt is supported
- // commented out because it will take > 35 minutes
+ // removed because it will take > 35 minutes
// iPlayer->SetRepeats(1, TTimeIntervalMicroSeconds(TInt64(KMaxTInt) + 10000000));
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepPlayerVarious.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepPlayerVarious.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -45,7 +45,7 @@
#include "mmfclientaudioplayer.h"
#include "../../ctlfrm/TS_Codes.h"
-_LIT(KAudioControllerName,"Symbian Audio controller");
+_LIT(KAudioControllerName,"Symbian Audio Wav Test controller");
// --------------------------------------------
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepRecorderCrop.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepRecorderCrop.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -67,7 +67,7 @@
// Orig duration = 1000120 Us, 90% = 900108 Us; @8KHz, 16bits, 1 channel = 14400 bytes (aligned to sample)
const TInt KExpectedCropSize1 = 14400 + 44;
-// Second crop - original duration is still taken from source (known bug) = 10000120 Us.
+// Second crop - original duration is still taken from source (known error) = 10000120 Us.
//Therefore crop point = 40% of 10000120 Us = 400048 Us.
//Crop from begining to 400048Us with @8KHz, 16bits, 1 channel = 6400 bytes (aligned to sample).
//New file = KExpectedCropSize1 - 6400 = 8046
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepRecorderRepeats.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepRecorderRepeats.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -187,7 +187,7 @@
TVerdict CTestStepRecorderRepeats::DoTestStepL()
{
// use the following test to check that test silence > KMaxTInt is supported
- // commented out because it will take > 35 minutes
+ // removed because it will take > 35 minutes
/*
iRecorder = CMMFMdaAudioRecorderUtility::NewL(*this);
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepUnitMMFAudClient.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestStepUnitMMFAudClient.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -174,7 +174,7 @@
delete iScheduler ;
iScheduler = NULL;
- // FIXME: determine whether this is reasonable: allow ECOM, et al to shut down properly
+ // XXX: determine whether this is reasonable: allow ECOM, et al to shut down properly
// it is rather horrible, but it may not be an issue at all (just a side affect of the whole
// EXE test bed structure
User::After(1000000);
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestSuiteUnitMMFAudClient.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/TSU_MMF_ACLNT_01/TestSuiteUnitMMFAudClient.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -491,7 +491,7 @@
AddTestStepL(CTestStepAudInStreamTestBitrate::NewL());
// Test Stop procedures of InputStream
- // DEF095804 CMdaAudioInputStream loses incomplete buffers from DevSound
+ // DEF095804 CMdaAudioInputStream loses not complete buffers from DevSound
AddTestStepL(CTestStepAudInStreamTestReqStop::NewL(this));
AddTestStepL(CTestStepAudInStreamTestReqStopThenStop::NewL(this));
//PDEF121312:CMMFMdaAudioInputStream::BufferToBeEmptied() might delete an invalid pointer
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -25,6 +25,13 @@
// test scripts
../scripts/TSU_MMF_ACLNT_01.script c:/mm/tsu_mmf_aclnt_01.script
+../scripts/TSU_MMF_ACLNT_01_POS_1.script c:/mm/TSU_MMF_ACLNT_01_POS_1.script
+../scripts/TSU_MMF_ACLNT_01_POS_2.script c:/mm/TSU_MMF_ACLNT_01_POS_2.script
+../scripts/TSU_MMF_ACLNT_01_POS_3.script c:/mm/TSU_MMF_ACLNT_01_POS_3.script
+../scripts/TSU_MMF_ACLNT_01_POS_4.script c:/mm/TSU_MMF_ACLNT_01_POS_4.script
+../scripts/TSU_MMF_ACLNT_01_POS_5.script c:/mm/TSU_MMF_ACLNT_01_POS_5.script
+../scripts/TSU_MMF_ACLNT_01_POS_6.script c:/mm/TSU_MMF_ACLNT_01_POS_6.script
+../scripts/TSU_MMF_ACLNT_01_POS_7.script c:/mm/TSU_MMF_ACLNT_01_POS_7.script
../scripts/TSU_MMF_ACLNT_01_tone.script c:/mm/TSU_MMF_ACLNT_01_tone.script
../scripts/TSU_MMF_ACLNT_01_PREEMPTION.script c:/mm/tsu_mmf_aclnt_01_preemption.script
../scripts/TSU_MMF_ACLNT_01_NOTIFICATION.script c:/mm/tsu_mmf_aclnt_01_notification.script
@@ -38,7 +45,7 @@
../scripts/TSU_MMF_ACLNT_DRM.script c:/mm/tsu_mmf_aclnt_drm.script
../scripts/TSU_MMF_ACLNT_DRM_ALLOC.script c:/mm/tsu_mmf_aclnt_drm_alloc.script
../scripts/tsu_mmf_aclnt_securedrmtestdata.ini c:/mm/tsu_mmf_aclnt_securedrmtestdata.ini
-../scripts/tsu_mmf_aclnt_securedrmtestdata.script c:/mm/tsu_mmf_aclnt_securedrmtestdata.script
+../scripts/te_tsu_mmf_aclnt_securedrmtestdata.script c:/mm/te_tsu_mmf_aclnt_securedrmtestdata.script
../scripts/tsu_mmf_aclnt_securedrm.ini c:/mm/tsu_mmf_aclnt_securedrm.ini
../scripts/tsu_mmf_aclnt_securedrm.script c:/mm/tsu_mmf_aclnt_securedrm.script
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/group/unittest_aclnt_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/group/unittest_aclnt_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -15,21 +15,39 @@
"\epoc32\release\armv5\udeb\TSU_MMF_ACLNT_01.DLL"-"c:\sys\bin\TSU_MMF_ACLNT_01.DLL"
"\epoc32\release\armv5\urel\RTAUtils.exe"-"c:\sys\bin\RTAUtils.exe"
+"\epoc32\release\armv5\urel\rtaserver.exe"-"c:\sys\bin\rtaserver.exe"
+"\epoc32\release\armv5\urel\rtaarchive.dll"-"c:\sys\bin\rtaarchive.dll"
+"\epoc32\release\armv5\urel\rtaclient.dll"-"c:\sys\bin\rtaclient.dll"
+"\epoc32\release\armv5\urel\rtaparser.dll"-"c:\sys\bin\rtaparser.dll"
+"\epoc32\release\armv5\urel\rtavirtualfile.dll"-"c:\sys\bin\rtavirtualfile.dll"
+"\epoc32\release\armv5\urel\caf.dll"-"c:\sys\bin\caf.dll"
+"\epoc32\release\armv5\urel\cafutils.dll"-"c:\sys\bin\cafutils.dll"
+"\epoc32\release\armv5\urel\apgrfx.dll"-"c:\sys\bin\apgrfx.dll"
+"\epoc32\release\armv5\urel\apmime.dll"-"c:\sys\bin\apmime.dll"
//scripts
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01.script"-"c:\tsu_mmf_aclnt_01.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01_POS_1.script"-"c:\TSU_MMF_ACLNT_01_POS_1.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01_POS_2.script"-"c:\TSU_MMF_ACLNT_01_POS_2.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01_POS_3.script"-"c:\TSU_MMF_ACLNT_01_POS_3.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01_POS_4.script"-"c:\TSU_MMF_ACLNT_01_POS_4.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01_POS_5.script"-"c:\TSU_MMF_ACLNT_01_POS_5.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01_POS_6.script"-"c:\TSU_MMF_ACLNT_01_POS_6.script"
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01_POS_7.script"-"c:\TSU_MMF_ACLNT_01_POS_7.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01_tone.script"-"c:\TSU_MMF_ACLNT_01_tone.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01_PREEMPTION.script"-"c:\tsu_mmf_aclnt_01_preemption.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01_NOTIFICATION.script"-"c:\tsu_mmf_aclnt_01_notification.script"
+//"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01_NOTIFICATION.script"-"c:\tsu_mmf_aclnt_01_notification.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_01_Alloc.script"-"c:\tsu_mmf_aclnt_01_alloc.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_02_Alloc.script"-"c:\tsu_mmf_aclnt_02_alloc.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_03_Alloc.script"-"c:\tsu_mmf_aclnt_03_alloc.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_04_Alloc.script"-"c:\tsu_mmf_aclnt_04_alloc.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_05_Alloc.script"-"c:\tsu_mmf_aclnt_05_alloc.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_RF_ALLOC.script"-"c:\tsu_mmf_aclnt_rf_alloc.script"
+
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_DRM.script"-"c:\tsu_mmf_aclnt_drm.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\TSU_MMF_ACLNT_DRM_ALLOC.script"-"c:\tsu_mmf_aclnt_drm_alloc.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\tsu_mmf_aclnt_securedrmtestdata.script"-"c:\tsu_mmf_aclnt_securedrmtestdata.script"
+
+
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\tsu_mmf_aclnt_securedrm.script"-"c:\tsu_mmf_aclnt_securedrm.script"
//ini
@@ -123,3 +141,18 @@
// Test case: MM-MMF-ACLNT-U-0012-CP
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\TSU_MMF_ACLNT_01\data\small.wav"-"c:\resource\small.wav"
+
+//RTA data (For DRM scripts)
+"\epoc32\data\c\rta\rta.ini"-"c:\rta\rta.ini"
+
+"\epoc32\data\c\rta\audiocontent.xml"-"c:\rta\audiocontent.xml"
+"\epoc32\data\c\rta\audiorights.xml"-"c:\rta\audiorights.xml"
+"\epoc32\data\c\rta\audiocontentnorights.xml"-"c:\rta\audiocontentnorights.xml"
+"\epoc32\data\c\rta\midicontent.xml"-"c:\rta\midicontent.xml"
+"\epoc32\data\c\rta\midirights.xml"-"c:\rta\midirights.xml"
+"\epoc32\data\c\rta\singletonecontent.xml"-"c:\rta\singletonecontent.xml"
+"\epoc32\data\c\rta\singletonerights.xml"-"c:\rta\singletonerights.xml"
+
+
+//securedrm test data generation scripts
+"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\scripts\te_tsu_mmf_aclnt_securedrmtestdata.script"-"c:\testdata\scripts\te_tsu_mmf_aclnt_securedrmtestdata.script"
\ No newline at end of file
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/scripts/TSU_MMF_ACLNT_01.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/scripts/TSU_MMF_ACLNT_01.script Mon Aug 23 18:56:36 2010 +0100
@@ -310,642 +310,4 @@
//! @SYMTestCaseID MM-MMF-ACLNT-U-0274-HP
RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0274-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF074869 - Not possible to append recording to audio file with WAV format and GSM610 codec.
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0275-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0275-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// Detection and rejection of corrupted wave Gsm610 file for record but can be played
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0276-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0276-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0277-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0277-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0290-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0290-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DevCR - Implement BitRate custom interface for AudioInputStream
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0511-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0511-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0550-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0550-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0551-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0551-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0552-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0552-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-///////// new converter tests
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0553-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0553-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0554-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0554-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0557-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0557-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0558-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0558-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0559-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0559-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0560-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0560-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0561-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0561-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0562-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0562-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0564-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0564-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0565-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0565-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0566-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0566-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0568-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0568-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0569-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0569-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0571-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0571-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0572-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0572-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0573-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0573-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0574-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0574-HP
-TEST_COMPLETE
-
-//////////////////////////////
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0600-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0600-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0601-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0601-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0602-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0602-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0603-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0603-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0606-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0606-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0608-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0608-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0609-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0609-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0610-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0610-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0611-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0611-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0612-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0612-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0615-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0615-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0620-LP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0620-LP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0630-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0630-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0631-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0631-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0632-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0632-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0633-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0633-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0634-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0634-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0635-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0635-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0636-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0636-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0637-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0637-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0638-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0638-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0639-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0639-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0640-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0640-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0641-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0641-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0642-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0642-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0700-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0700-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0701-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0701-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0702-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0702-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0703-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0703-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0706-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0706-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0708-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0708-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0710-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0710-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0711-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0711-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0712-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0712-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0730-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0730-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0740-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0740-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0741-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0741-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0742-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0742-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0743-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0743-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0744-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0744-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0745-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0745-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0746-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0746-CP
-TEST_COMPLETE
-
-// CR - Test entire Bitrate custom interface in DevSound through AudioInputStream
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0747-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0747-CP
-TEST_COMPLETE
-
-// DEF095804 CMdaAudioInputStream loses incomplete buffers from DevSound
-// Tests the Stopping procedures of the input stream
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0749-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0749-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0750-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0750-CP
-TEST_COMPLETE
-
-// Negative testing
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0800-CP
-RUN_TEST_STEP 45000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0800-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0801-CP
-RUN_TEST_STEP 45000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0801-CP
-TEST_COMPLETE
-
-// Test Playing once, getting the position after two seconds
-// waiting for play to complete and then playing again
-// Verify that the time take to play both times is roughly the same
-// i.e. that getting the position doesn't affect the second play's
-// starting point (DEF037064)
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0820-HP
-RUN_TEST_STEP 45000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0820-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// SetRepeats & test state during trailing silence (DEF037433)
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0821-LP
-RUN_TEST_STEP 600000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0821-LP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF038345 - MMF Audio - fast forward and rewind buttons not working correctly
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0822-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0822-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF039325 - open an MP3 file with using the test MP3 format plugin
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0823-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0823-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// INC038974 - SetPlayWindow,play,pause,ClearPlayWindow,pause,stop,play
-// make sure second play starts from start of file
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0824-HP
-RUN_TEST_STEP 45000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0824-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// INC042196 - test responsiveness of SetPosition while playing
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0825-HP
-RUN_TEST_STEP 45000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0825-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF042395 - Audio recording tck failure
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0826-HP
-RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0826-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// INC042545 - Phone freezes when playing *.wav audio with FF and Stop.
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0827-HP
-RUN_TEST_STEP 45000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0827-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF044042 - Test playing zero length tone on CMdaAudioToneUtility
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0829-CP
-RUN_TEST_STEP 5000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0829-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF103004: KErrArgument when playing wave file CMMFMdaAudioRecorderUtility::SetPlayWindow()
-// make sure setting negative value for start of window twice does not return KErrorArgument
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0830-HP
-RUN_TEST_STEP 600000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0830-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// Read the bit rate of the wav files - audio player utility.
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0850-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0850-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// Read the bit rate of the au files - audio player utility.
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0851-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0851-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// Read the bit rate of the wav files - audio recorder utility.
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0852-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0852-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// Read the bit rate of the au files - audio recorder utility.
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0853-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0853-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// INC045926 - NTT - Charlie Launch - Charlie doesn't play WAV, IMA ADPCM file formats.
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0854-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0854-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// INC047838: Voice Recorder: sound is played on the newly recorded clip while mute was
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0855-HP
-RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0855-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//INC048184 - setplaywindow,play,stop,fast farward,close,play
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0856-HP
-RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0856-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//INC048184(RecorderUtility) - Setplaywindow,Play,Stop,SetPosition,Stop
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0857-HP
-RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0857-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// INC060658 CMdaAudioRecorderUtility::OpenDesL fails with KErrNotFound
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0950-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0950-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF056298 To check for Header tag properly
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0955-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0955-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// INC063833: CMdaAudioPlayerUtility->OpenFile(FileName) Panic
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0956-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0956-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//DEF067052: The emulator-winscw crashes after paused the WAV and AU audio formats from console
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0957-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0957-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//DEF070060: Paused WAV can't always be resumed - Java TCK test setloopcount2 fails
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0958-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0958-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// CustomInterface CR - Add CustomInterface() to CMdaAudioOutputStream
-//! @SYMTestCaseID MM-MMF-ACLNT-U-1000-HP
-RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1000-HP
-TEST_COMPLETE
-
-// CustomInterface CR - Add CustomInterface() to CMdaAudioInputStream
-//! @SYMTestCaseID MM-MMF-ACLNT-U-1001-HP
-RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1001-HP
-TEST_COMPLETE
-
-// CustomInterface CR - Add CustomInterface() to CMdaAudioOutputStream
-//! @SYMTestCaseID MM-MMF-ACLNT-U-1002-HP
-RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1002-HP
-TEST_COMPLETE
-
-// DEF068366 Using record utility, callback of PlaybackBalance APIs fail.
-//! @SYMTestCaseID MM-MMF-ACLNT-U-1003-HP
-RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1003-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// temporarly moved here as causes problem with the other tests.
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0014-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0014-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF078081: TCK fail: CMMFMdaAudioPlayerUtility::Duration can't handle infinite sounds
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0960-HP
-RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0960-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF078081: TCK fail: CMMFMdaAudioPlayerUtility::Duration can't handle infinite sounds
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0961-HP
-RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0961-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//CR0632 uri scheme
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0957-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0957-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//CR0632 uri scheme
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0958-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0958-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//CR0632 uri scheme
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0959-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0959-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//CR0632 uri scheme
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0960-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0960-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF083334 Checking for ControllerImplementation info
-//! @SYMTestCaseID MM-MMF-ACLNT-U-1004-HP
-RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1004-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF083334 Checking for ControllerImplementation info
-//! @SYMTestCaseID MM-MMF-ACLNT-U-1005-HP
-RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1005-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF083334 Checking for ControllerImplementation info
-//! @SYMTestCaseID MM-MMF-ACLNT-U-1006-HP
-RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1006-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF083334 Checking for ControllerImplementation info
-//! @SYMTestCaseID MM-MMF-ACLNT-U-1007-HP
-RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1007-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF085172: Incorrect documentation of CMdaAudioRecorderUtility::SetVolume( )
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0965-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0965-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF087609: APIREG CMdaAudioPlayerUtility Panic tests fail with wrong panic
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0967-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0967-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// PDEF092098: DevSound fails to update policy if error occurs in StartPlayDataL
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0858-CP
-RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0858-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// PDEF090287: CMdaAudioOutputStream resumes incorrectly after an error
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0859-CP
-RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0859-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF090666 : T:Aclnt - Pausing during repeat causes the file to close itself
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0968-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0968-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// DEF093014: T: CMdaAudioRecorderUtility::SetDestinationFormatL causes panic
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0969-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0969-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// INC107513: Startup tone is played before tone initialization is completed.
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0970-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0970-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-// PDEF121312:CMMFMdaAudioInputStream::BufferToBeEmptied() might delete an invalid pointer
-// Tests the calling Stop on AudioInputStream from BufferCopied callback
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0751-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0751-CP
-
-//DEF120980:Creating two audiooutputstreams concurrently makes policyserver panic
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0971-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//DEF121928: Concurrently calling RecordL by audiorecorder in 3 threads make server panics
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0972-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0972-CP
-TEST_COMPLETE
-
-//DEF121928: Concurrently calling RecordL by audiorecorder in 3 threads make server panics
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0973-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0973-CP
-TEST_COMPLETE
-
-//DEF121928: Concurrently calling RecordL by audiorecorder in 3 threads make server panics
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0974-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0974-CP
-TEST_COMPLETE
-
-//DEF126403 PlayTone with 99% cpu time taken up elsewhere
-//! @SYMTestCaseID MM-MMF-ACLNT-U-2500-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-2500-CP C:\MM\TSU_MMF_ACLNT_01.ini MM-MMF-ACLNT-U-2500-CP
-TEST_COMPLETE
-
-DELAY 500 // wait 0.5s for clarify
-
-//DEF126403 PlayTone with 100% cpu time from 0.5s to 3.5
-//! @SYMTestCaseID MM-MMF-ACLNT-U-2501-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-2500-CP C:\MM\TSU_MMF_ACLNT_01.ini MM-MMF-ACLNT-U-2501-CP
-TEST_COMPLETE
-
-//DEF120897 In KeepOpenAtEnd Mode, call RequestStop before outputstream completes playing all the supplied buffers
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0975-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0975-CP
-TEST_COMPLETE
-
-//DEF120897 In KeepOpenAtEnd Mode, call RequestStop after outputstream completes playing all the supplied buffers
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0976-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0976-CP
-TEST_COMPLETE
-
-//DEF120897 In KeepOpenAtEnd Mode, call WriteL after RequestStop(Negative Step)
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0977-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0977-CP
-TEST_COMPLETE
-
-//DEF120897 Non KeepOpenAtEnd Mode
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0978-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0978-CP
-TEST_COMPLETE
-
-//DEF120897 In KeepOpenAtEnd Mode, stop output stream after play is started and then restart the play
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0979-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0979-CP
-TEST_COMPLETE
-
-//DEF120897 Non KeepOpenAtEnd Mode, stop output stream after play is started and then restart the play
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0980-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0980-CP
-TEST_COMPLETE
-
-//DEF125377 - Test negative frequency and duration values passed to CMdaAudioToneUtility
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0981-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0981-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0982-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0982-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0983-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0983-CP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
-
-//PDEF131534 SPPR_PERF: Music player crashes when opening corrupted wav file
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0984-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0984-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0985-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0985-CP
-TEST_COMPLETE
-
-//DEF127630: Fix for INC108007 appears to close client
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0986-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0986-CP
-TEST_COMPLETE
-
-//DEF127630: Fix for INC108007 appears to close client
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0987-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0987-CP
-TEST_COMPLETE
-
-//DEF127630: Fix for INC108007 appears to close client
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0988-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0988-CP
-TEST_COMPLETE
-
-//DEF127468 - Pause->Flush->Resume not supported properly by RMdaDevSound adapter
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0989-CP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0989-CP C:\MM\TSU_MMF_ACLNT_01.ini
-
-//! @SYMTestCaseID MM-MMF-ACLNT-U-0281-HP
-RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0281-HP C:\MM\TSU_MMF_ACLNT_01.ini
-TEST_COMPLETE
+TEST_COMPLETE
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/scripts/TSU_MMF_ACLNT_01_POS_1.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,53 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF 'Deprecated Audio Clients' Unit Testing script 13/08/2002
+//
+//
+
+PRINT Run all the MMF 'Deprecated Audio Clients' unit tests, excluding memory Alloc failure tests
+PRINT
+# wait for ring.wav to finish playing
+delay 1000
+
+//PAUSE_AT_END
+
+//
+MULTITHREAD
+
+
+//
+LOAD_SUITE TSU_MMF_ACLNT_01.dll
+
+// DEF074869 - Not possible to append recording to audio file with WAV format and GSM610 codec.
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0275-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0275-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// Detection and rejection of corrupted wave Gsm610 file for record but can be played
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0276-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0276-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0277-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0277-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0290-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0290-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0281-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0281-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/scripts/TSU_MMF_ACLNT_01_POS_2.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,117 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF 'Deprecated Audio Clients' Unit Testing script 13/08/2002
+//
+//
+
+PRINT Run all the MMF 'Deprecated Audio Clients' unit tests, excluding memory Alloc failure tests
+PRINT
+# wait for ring.wav to finish playing
+delay 1000
+
+//PAUSE_AT_END
+
+//
+MULTITHREAD
+
+
+//
+LOAD_SUITE TSU_MMF_ACLNT_01.dll
+
+// DevCR - Implement BitRate custom interface for AudioInputStream
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0511-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0511-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0550-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0550-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0551-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0551-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0552-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0552-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+///////// new converter tests
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0553-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0553-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0554-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0554-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0557-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0557-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0558-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0558-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0559-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0559-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0560-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0560-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0561-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0561-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0562-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0562-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0564-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0564-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0565-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0565-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0566-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0566-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0568-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0568-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0569-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0569-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0571-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0571-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0572-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0572-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0573-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0573-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0574-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0574-HP
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/scripts/TSU_MMF_ACLNT_01_POS_3.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,133 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF 'Deprecated Audio Clients' Unit Testing script 13/08/2002
+//
+//
+
+PRINT Run all the MMF 'Deprecated Audio Clients' unit tests, excluding memory Alloc failure tests
+PRINT
+# wait for ring.wav to finish playing
+delay 1000
+
+//PAUSE_AT_END
+
+//
+MULTITHREAD
+
+
+//
+LOAD_SUITE TSU_MMF_ACLNT_01.dll
+
+//////////////////////////////
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0600-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0600-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0601-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0601-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0602-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0602-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0603-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0603-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0606-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0606-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0608-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0608-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0609-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0609-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0610-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0610-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0611-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0611-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0612-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0612-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0615-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0615-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0620-LP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0620-LP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0630-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0630-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0631-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0631-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0632-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0632-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0633-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0633-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0634-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0634-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0635-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0635-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0636-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0636-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0637-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0637-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0638-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0638-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0639-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0639-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0640-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0640-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0641-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0641-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0642-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0642-CP
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/scripts/TSU_MMF_ACLNT_01_POS_4.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,116 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF 'Deprecated Audio Clients' Unit Testing script 13/08/2002
+//
+//
+
+PRINT Run all the MMF 'Deprecated Audio Clients' unit tests, excluding memory Alloc failure tests
+PRINT
+# wait for ring.wav to finish playing
+delay 1000
+
+//PAUSE_AT_END
+
+//
+MULTITHREAD
+
+
+//
+LOAD_SUITE TSU_MMF_ACLNT_01.dll
+
+//////////////////////////////
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0700-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0700-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0701-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0701-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0702-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0702-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0703-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0703-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0706-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0706-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0708-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0708-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0710-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0710-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0711-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0711-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0712-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0712-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0730-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0730-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0740-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0740-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0741-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0741-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0742-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0742-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0743-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0743-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0744-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0744-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0745-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0745-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0746-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0746-CP
+TEST_COMPLETE
+
+// CR - Test entire Bitrate custom interface in DevSound through AudioInputStream
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0747-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0747-CP
+TEST_COMPLETE
+
+// DEF095804 CMdaAudioInputStream loses incomplete buffers from DevSound
+// Tests the Stopping procedures of the input stream
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0749-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0749-CP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0750-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0750-CP
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/scripts/TSU_MMF_ACLNT_01_POS_5.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,293 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF 'Deprecated Audio Clients' Unit Testing script 13/08/2002
+//
+//
+
+PRINT Run all the MMF 'Deprecated Audio Clients' unit tests, excluding memory Alloc failure tests
+PRINT
+# wait for ring.wav to finish playing
+delay 1000
+
+//PAUSE_AT_END
+
+//
+MULTITHREAD
+
+
+//
+LOAD_SUITE TSU_MMF_ACLNT_01.dll
+
+//////////////////////////////
+
+// Negative testing
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0800-CP
+RUN_TEST_STEP 45000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0800-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0801-CP
+RUN_TEST_STEP 45000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0801-CP
+TEST_COMPLETE
+
+// Test Playing once, getting the position after two seconds
+// waiting for play to complete and then playing again
+// Verify that the time take to play both times is roughly the same
+// i.e. that getting the position doesn't affect the second play's
+// starting point (DEF037064)
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0820-HP
+RUN_TEST_STEP 45000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0820-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// SetRepeats & test state during trailing silence (DEF037433)
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0821-LP
+RUN_TEST_STEP 600000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0821-LP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF038345 - MMF Audio - fast forward and rewind buttons not working correctly
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0822-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0822-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF039325 - open an MP3 file with using the test MP3 format plugin
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0823-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0823-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// INC038974 - SetPlayWindow,play,pause,ClearPlayWindow,pause,stop,play
+// make sure second play starts from start of file
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0824-HP
+RUN_TEST_STEP 45000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0824-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// INC042196 - test responsiveness of SetPosition while playing
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0825-HP
+RUN_TEST_STEP 45000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0825-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF042395 - Audio recording tck failure
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0826-HP
+RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0826-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// INC042545 - Phone freezes when playing *.wav audio with FF and Stop.
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0827-HP
+RUN_TEST_STEP 45000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0827-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF044042 - Test playing zero length tone on CMdaAudioToneUtility
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0829-CP
+RUN_TEST_STEP 5000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0829-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF103004: KErrArgument when playing wave file CMMFMdaAudioRecorderUtility::SetPlayWindow()
+// make sure setting negative value for start of window twice does not return KErrorArgument
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0830-HP
+RUN_TEST_STEP 600000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0830-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// Read the bit rate of the wav files - audio player utility.
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0850-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0850-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// Read the bit rate of the au files - audio player utility.
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0851-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0851-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// Read the bit rate of the wav files - audio recorder utility.
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0852-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0852-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// Read the bit rate of the au files - audio recorder utility.
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0853-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0853-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// INC045926 - NTT - Charlie Launch - Charlie doesn't play WAV, IMA ADPCM file formats.
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0854-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0854-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// INC047838: Voice Recorder: sound is played on the newly recorded clip while mute was
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0855-HP
+RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0855-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//INC048184 - setplaywindow,play,stop,fast farward,close,play
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0856-HP
+RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0856-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//INC048184(RecorderUtility) - Setplaywindow,Play,Stop,SetPosition,Stop
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0857-HP
+RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0857-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// INC060658 CMdaAudioRecorderUtility::OpenDesL fails with KErrNotFound
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0950-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0950-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF056298 To check for Header tag properly
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0955-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0955-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// INC063833: CMdaAudioPlayerUtility->OpenFile(FileName) Panic
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0956-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0956-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//DEF067052: The emulator-winscw crashes after paused the WAV and AU audio formats from console
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0957-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0957-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//DEF070060: Paused WAV can't always be resumed - Java TCK test setloopcount2 fails
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0958-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0958-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// CustomInterface CR - Add CustomInterface() to CMdaAudioOutputStream
+//! @SYMTestCaseID MM-MMF-ACLNT-U-1000-HP
+RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1000-HP
+TEST_COMPLETE
+
+// CustomInterface CR - Add CustomInterface() to CMdaAudioInputStream
+//! @SYMTestCaseID MM-MMF-ACLNT-U-1001-HP
+RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1001-HP
+TEST_COMPLETE
+
+// CustomInterface CR - Add CustomInterface() to CMdaAudioOutputStream
+//! @SYMTestCaseID MM-MMF-ACLNT-U-1002-HP
+RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1002-HP
+TEST_COMPLETE
+
+// DEF068366 Using record utility, callback of PlaybackBalance APIs fail.
+//! @SYMTestCaseID MM-MMF-ACLNT-U-1003-HP
+RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1003-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// temporarly moved here as causes problem with the other tests.
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0014-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0014-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF078081: TCK fail: CMMFMdaAudioPlayerUtility::Duration can't handle infinite sounds
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0960-HP
+RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0960-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF078081: TCK fail: CMMFMdaAudioPlayerUtility::Duration can't handle infinite sounds
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0961-HP
+RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0961-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//CR0632 uri scheme
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0957-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0957-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//CR0632 uri scheme
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0958-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0958-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//CR0632 uri scheme
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0959-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0959-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//CR0632 uri scheme
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0960-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0960-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF083334 Checking for ControllerImplementation info
+//! @SYMTestCaseID MM-MMF-ACLNT-U-1004-HP
+RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1004-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF083334 Checking for ControllerImplementation info
+//! @SYMTestCaseID MM-MMF-ACLNT-U-1005-HP
+RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1005-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF083334 Checking for ControllerImplementation info
+//! @SYMTestCaseID MM-MMF-ACLNT-U-1006-HP
+RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1006-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF083334 Checking for ControllerImplementation info
+//! @SYMTestCaseID MM-MMF-ACLNT-U-1007-HP
+RUN_TEST_STEP 200000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-1007-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF085172: Incorrect documentation of CMdaAudioRecorderUtility::SetVolume( )
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0965-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0965-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF087609: APIREG CMdaAudioPlayerUtility Panic tests fail with wrong panic
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0967-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0967-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// PDEF092098: DevSound fails to update policy if error occurs in StartPlayDataL
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0858-CP
+RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0858-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// PDEF090287: CMdaAudioOutputStream resumes incorrectly after an error
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0859-CP
+RUN_TEST_STEP 320000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0859-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF090666 : T:Aclnt - Pausing during repeat causes the file to close itself
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0968-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0968-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// DEF093014: T: CMdaAudioRecorderUtility::SetDestinationFormatL causes panic
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0969-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0969-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+// INC107513: Startup tone is played before tone initialization is completed.
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0970-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0970-HP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+
+//DEF120980:Creating two audiooutputstreams concurrently makes policyserver panic
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0971-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//DEF121928: Concurrently calling RecordL by audiorecorder in 3 threads make server panics
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0972-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0972-CP
+TEST_COMPLETE
+
+//DEF121928: Concurrently calling RecordL by audiorecorder in 3 threads make server panics
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0973-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0973-CP
+TEST_COMPLETE
+
+//DEF121928: Concurrently calling RecordL by audiorecorder in 3 threads make server panics
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0974-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0974-CP
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/scripts/TSU_MMF_ACLNT_01_POS_6.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,110 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF 'Deprecated Audio Clients' Unit Testing script 13/08/2002
+//
+//
+
+PRINT Run all the MMF 'Deprecated Audio Clients' unit tests, excluding memory Alloc failure tests
+PRINT
+# wait for ring.wav to finish playing
+delay 1000
+
+//PAUSE_AT_END
+
+//
+MULTITHREAD
+
+
+//
+LOAD_SUITE TSU_MMF_ACLNT_01.dll
+
+//////////////////////////////
+
+DELAY 500 // wait 0.5s for clarify
+
+//DEF126403 PlayTone with 100% cpu time from 0.5s to 3.5
+//! @SYMTestCaseID MM-MMF-ACLNT-U-2501-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-2500-CP C:\MM\TSU_MMF_ACLNT_01.ini MM-MMF-ACLNT-U-2501-CP
+TEST_COMPLETE
+
+//DEF120897 In KeepOpenAtEnd Mode, call RequestStop before outputstream completes playing all the supplied buffers
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0975-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0975-CP
+TEST_COMPLETE
+
+//DEF120897 In KeepOpenAtEnd Mode, call RequestStop after outputstream completes playing all the supplied buffers
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0976-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0976-CP
+TEST_COMPLETE
+
+//DEF120897 In KeepOpenAtEnd Mode, call WriteL after RequestStop(Negative Step)
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0977-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0977-CP
+TEST_COMPLETE
+
+//DEF120897 Non KeepOpenAtEnd Mode
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0978-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0978-CP
+TEST_COMPLETE
+
+//DEF120897 In KeepOpenAtEnd Mode, stop output stream after play is started and then restart the play
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0979-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0979-CP
+TEST_COMPLETE
+
+//DEF120897 Non KeepOpenAtEnd Mode, stop output stream after play is started and then restart the play
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0980-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0980-CP
+TEST_COMPLETE
+
+//DEF125377 - Test negative frequency and duration values passed to CMdaAudioToneUtility
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0981-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0981-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0982-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0982-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0983-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0983-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
+
+//PDEF131534 SPPR_PERF: Music player crashes when opening corrupted wav file
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0984-HP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0984-HP
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0985-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0985-CP
+TEST_COMPLETE
+
+//DEF127630: Fix for INC108007 appears to close client
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0986-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0986-CP
+TEST_COMPLETE
+
+//DEF127630: Fix for INC108007 appears to close client
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0987-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0987-CP
+TEST_COMPLETE
+
+//DEF127630: Fix for INC108007 appears to close client
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0988-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0988-CP
+TEST_COMPLETE
+
+//DEF127468 - Pause->Flush->Resume not supported properly by RMdaDevSound adapter
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0989-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0989-CP C:\MM\TSU_MMF_ACLNT_01.ini
+TEST_COMPLETE
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/scripts/TSU_MMF_ACLNT_01_POS_7.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,45 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Creation Date 29/07/2002
+// MMF 'Deprecated Audio Clients' Unit Testing script 13/08/2002
+//
+//
+
+PRINT Run all the MMF 'Deprecated Audio Clients' unit tests, excluding memory Alloc failure tests
+PRINT
+# wait for ring.wav to finish playing
+delay 1000
+
+//PAUSE_AT_END
+
+//
+MULTITHREAD
+
+
+//
+LOAD_SUITE TSU_MMF_ACLNT_01.dll
+
+//////////////////////////////
+
+// Negative testing
+
+// PDEF121312:CMMFMdaAudioInputStream::BufferToBeEmptied() might delete an invalid pointer
+// Tests the calling Stop on AudioInputStream from BufferCopied callback
+//! @SYMTestCaseID MM-MMF-ACLNT-U-0751-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-0751-CP
+
+//DEF126403 PlayTone with 99% cpu time taken up elsewhere
+//! @SYMTestCaseID MM-MMF-ACLNT-U-2500-CP
+RUN_TEST_STEP 120000, TSU_MMF_ACLNT_01, MM-MMF-ACLNT-U-2500-CP C:\MM\TSU_MMF_ACLNT_01.ini MM-MMF-ACLNT-U-2500-CP
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/aclnt/scripts/te_tsu_mmf_aclnt_securedrmtestdata.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,37 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// tsu_mmf_aclnt_drmtestdata.script
+// <<UNUSED>>
+//
+//
+
+# Run using TestExecute as a non-automated utility to create
+# DRM protected content data files:
+#
+# %EPOCROOT%Epoc32\RELEASE\WINSCW\UDEB\testexecute \mm\tsu_mmf_aclnt_drmtestdata.script
+#
+# The output data files are then used as input by the automated TestFramework scripts.
+#
+# Results can be found in %EPOCROOT%Epoc32\winscw\c\Logs\TestExecute
+
+LOAD_SUITE RTAUtils
+
+RUN_TEST_STEP 1000 RTAUtils ClearRightsDb
+
+# Delete output data files before running these test steps, .content and .contentrights
+RUN_UTILS DeleteFile c:\mm\mmf\testfiles\aclnt\smallwav_audio.contentrights
+RUN_UTILS DeleteFile c:\mm\mmf\testfiles\aclnt\smallwav_audio.content
+RUN_TEST_STEP 1000 RTAUtils CreateDrmArchive c:\mm\tsu_mmf_aclnt_securedrmtestdata.ini CreateSmallWavDrmArchiveAudio
+RUN_TEST_STEP 1000 RTAUtils ImportDrmArchive c:\mm\tsu_mmf_aclnt_securedrmtestdata.ini ImportSmallWavDrmArchiveAudio
+
--- a/mmlibs/mmfw/tsrc/mmfunittest/aclnt/scripts/tsu_mmf_aclnt_securedrmtestdata.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// tsu_mmf_aclnt_drmtestdata.script
-// <<UNUSED>>
-//
-//
-
-# Run using TestExecute as a non-automated utility to create
-# DRM protected content data files:
-#
-# %EPOCROOT%Epoc32\RELEASE\WINSCW\UDEB\testexecute \mm\tsu_mmf_aclnt_drmtestdata.script
-#
-# The output data files are then used as input by the automated TestFramework scripts.
-#
-# Results can be found in %EPOCROOT%Epoc32\winscw\c\Logs\TestExecute
-
-LOAD_SUITE RTAUtils
-
-RUN_TEST_STEP 1000 RTAUtils ClearRightsDb
-
-# Delete output data files before running these test steps, .content and .contentrights
-RUN_UTILS DeleteFile c:\mm\mmf\testfiles\aclnt\smallwav_audio.contentrights
-RUN_UTILS DeleteFile c:\mm\mmf\testfiles\aclnt\smallwav_audio.content
-RUN_TEST_STEP 1000 RTAUtils CreateDrmArchive c:\mm\tsu_mmf_aclnt_securedrmtestdata.ini CreateSmallWavDrmArchiveAudio
-RUN_TEST_STEP 1000 RTAUtils ImportDrmArchive c:\mm\tsu_mmf_aclnt_securedrmtestdata.ini ImportSmallWavDrmArchiveAudio
-
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/bwins/TSU_MMF_AVICTRL_01U.DEF Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,3 @@
+EXPORTS
+ ?NewTestSuiteAviCtrlL@@YAPAVCTestSuiteAviCtrl@@XZ @ 1 NONAME ; class CTestSuiteAviCtrl * NewTestSuiteAviCtrlL(void)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/eabi/TSU_MMF_AVICTRL_01U.DEF Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z20NewTestSuiteAviCtrlLv @ 1 NONAME
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,82 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+#ifdef SYMBIAN_VARIABLE_BITRATE_CODEC // use system wide flag to trigger model controller build
+#define SYMBIAN_MMF_MODEL_CONTROLLERS
+#endif
+
+PRJ_PLATFORMS
+DEFAULT
+
+PRJ_TESTMMPFILES
+
+#ifdef SYMBIAN_MMF_MODEL_CONTROLLERS
+//.avi controller
+../mmpfiles/customaviplayercontroller.mmp
+../mmpFiles/tsu_mmf_avictrl_01.mmp
+#endif
+
+
+PRJ_TESTEXPORTS
+
+// test scripts
+
+#ifdef SYMBIAN_MMF_MODEL_CONTROLLERS
+// --------------->> avictrl script <<-----------------------------------
+../scripts/tsu_mmf_avictrl_play.script c:/tsu_mmf_avictrl_play.script
+../scripts/tsu_mmf_avictrl_play_alloc.script c:/tsu_mmf_avictrl_play_alloc.script
+../scripts/tsu_mmf_avictrl_record.script c:/tsu_mmf_avictrl_record.script
+../scripts/tsu_mmf_avictrl_secdisp.script c:/tsu_mmf_avictrl_secdisp.script
+../scripts/tsu_mmf_avictrl_secdisp_winscw.script c:/tsu_mmf_avictrl_secdisp_winscw.script
+../scripts/tsu_mmf_avictrl_01.ini c:/tsu_mmf_avictrl_01.ini
+#ifdef SYMBIAN_BUILD_GCE
+../scripts/tsu_mmf_avictrl_gce_enable.script c:/tsu_mmf_avictrl_gce_enable.script
+../scripts/tsu_mmf_avictrl_gce_disable.script c:/tsu_mmf_avictrl_gce_disable.script
+../scripts/tsu_mmf_avictrl_gce_enable.ini c:/tsu_mmf_avictrl_gce_enable.ini
+../scripts/tsu_mmf_avictrl_gce_disable.ini c:/tsu_mmf_avictrl_gce_disable.ini
+#endif //SYMBIAN_BUILD_GCE
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+../scripts/tsu_mmf_avictrl_subtitle.ini c:/tsu_mmf_avictrl_subtitle.ini
+../scripts/tsu_mmf_avictrl_subtitle.script c:/tsu_mmf_avictrl_subtitle.script
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+#endif //SYMBIAN_MMF_MODEL_CONTROLLERS
+
+
+// test data files
+
+#ifdef SYMBIAN_MMF_MODEL_CONTROLLERS
+//.avi controller test files
+../data/video_only.avi c:/mm/mmf/testfiles/avictrl/video_only.avi
+../data/aud_vid.avi c:/mm/mmf/testfiles/avictrl/aud_vid.avi
+../data/invalid.avi c:/mm/mmf/testfiles/avictrl/invalid.avi
+//#ifndef SYMBIAN_MMF_NO_COPYRIGHTED_FILES
+// We should put this file in a seperate copyrighted files directory
+// Also the files storage place need to be put in a seperate branch of its own.
+../data/low_mem_vdo_test.avi c:/mm/mmf/testfiles/avictrl/low_mem_vdo_test.avi
+//#endif
+../data/aud_vid_vprp.avi c:/mm/mmf/testfiles/avictrl/aud_vid_vprp.avi
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+../data/srt_available.avi c:/mm/mmf/testfiles/avictrl/srt_available.avi
+../data/srt_available.srt c:/mm/mmf/testfiles/avictrl/srt_available.srt
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+#endif //SYMBIAN_MMF_MODEL_CONTROLLERS
+
+
+//iby files
+../group/tsu_mmf_avictrl.iby /epoc32/rom/include/tsu_mmf_avictrl.iby
+../group/tsu_mmf_avictrl_excl_test.iby /epoc32/rom/include/tsu_mmf_avictrl_excl_test.iby
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/group/tsu_mmf_avictrl.iby Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,45 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef TSU_MMF_AVICTRL_IBY
+#define TSU_MMF_AVICTRL_IBY
+
+#include <tsu_mmf_avictrl_excl_test.iby>
+
+data=EPOCROOT##epoc32\data\c\tsu_mmf_avictrl_play.script \tsu_mmf_avictrl_play.script
+data=EPOCROOT##epoc32\data\c\tsu_mmf_avictrl_play_alloc.script \tsu_mmf_avictrl_play_alloc.script
+data=EPOCROOT##epoc32\data\c\tsu_mmf_avictrl_record.script \tsu_mmf_avictrl_record.script
+data=EPOCROOT##epoc32\data\c\tsu_mmf_avictrl_secdisp.script \tsu_mmf_subtitledecoder.script
+data=EPOCROOT##epoc32\data\c\tsu_mmf_avictrl_secdisp_winscw.script \tsu_mmf_avictrl_secdisp_winscw.script
+data=EPOCROOT##epoc32\data\c\tsu_mmf_avictrl_01.ini \tsu_mmf_avictrl_01.ini
+data=EPOCROOT##epoc32\data\c\tsu_mmf_avictrl_gce_enable.script \tsu_mmf_avictrl_gce_enable.script
+data=EPOCROOT##epoc32\data\c\tsu_mmf_avictrl_gce_disable.script \tsu_mmf_avictrl_gce_disable.script
+data=EPOCROOT##epoc32\data\c\tsu_mmf_avictrl_gce_enable.ini \tsu_mmf_avictrl_gce_enable.ini
+data=EPOCROOT##epoc32\data\c\tsu_mmf_avictrl_gce_disable.ini \tsu_mmf_avictrl_gce_disable.ini
+data=EPOCROOT##epoc32\data\c\tsu_mmf_avictrl_subtitle.ini \tsu_mmf_avictrl_subtitle.ini
+data=EPOCROOT##epoc32\data\c\tsu_mmf_avictrl_subtitle.script \tsu_mmf_avictrl_subtitle.script
+
+
+// Test files
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\avictrl\video_only.avi \mm\mmf\testfiles\avictrl\video_only.avi
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\avictrl\aud_vid.avi \mm\mmf\testfiles\avictrl\aud_vid.avi
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\avictrl\invalid.avi \mm\mmf\testfiles\avictrl\invalid.avi
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\avictrl\low_mem_vdo_test.avi \mm\mmf\testfiles\avictrl\low_mem_vdo_test.avi
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\avictrl\srt_available.avi \mm\mmf\testfiles\avictrl\srt_available.avi
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\avictrl\srt_available.srt \mm\mmf\testfiles\avictrl\srt_available.srt
+data=EPOCROOT##epoc32\data\c\mm\mmf\testfiles\avictrl\aud_vid_vprp.avi \mm\mmf\testfiles\avictrl\aud_vid_vprp.avi
+
+#endif // TSU_MMF_AVICTRL_IBY
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/group/tsu_mmf_avictrl_data.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,40 @@
+;
+; Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of the License "Symbian Foundation License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;
+
+
+"\epoc32\data\c\tsu_mmf_avictrl_play.script"-"c:\tsu_mmf_avictrl_play.script"
+"\epoc32\data\c\tsu_mmf_avictrl_play_alloc.script"-"c:\tsu_mmf_avictrl_play_alloc.script"
+"\epoc32\data\c\tsu_mmf_avictrl_record.script"-"c:\tsu_mmf_avictrl_record.script"
+"\epoc32\data\c\tsu_mmf_avictrl_secdisp.script"-"c:\tsu_mmf_avictrl_secdisp.script"
+// For winscw use only
+// "\epoc32\data\c\tsu_mmf_avictrl_secdisp_winscw.script"-"c:\tsu_mmf_avictrl_secdisp_winscw.script"
+"\epoc32\data\c\tsu_mmf_avictrl_01.ini"-"c:\tsu_mmf_avictrl_01.ini"
+"\epoc32\data\c\tsu_mmf_avictrl_gce_enable.script"-"c:\tsu_mmf_avictrl_gce_enable.script"
+"\epoc32\data\c\tsu_mmf_avictrl_gce_disable.script"-"c:\tsu_mmf_avictrl_gce_disable.script"
+"\epoc32\data\c\tsu_mmf_avictrl_gce_enable.ini"-"c:\tsu_mmf_avictrl_gce_enable.ini"
+"\epoc32\data\c\tsu_mmf_avictrl_gce_disable.ini"-"c:\tsu_mmf_avictrl_gce_disable.ini"
+"\epoc32\data\c\tsu_mmf_avictrl_subtitle.ini"-"c:\tsu_mmf_avictrl_subtitle.ini"
+"\epoc32\data\c\tsu_mmf_avictrl_subtitle.script"-"c:\tsu_mmf_avictrl_subtitle.script"
+
+// data files
+"\epoc32\data\c\mm\mmf\testfiles\avictrl\video_only.avi"-"c:\mm\mmf\testfiles\avictrl\video_only.avi"
+"\epoc32\data\c\mm\mmf\testfiles\avictrl\aud_vid.avi"-"c:\mm\mmf\testfiles\avictrl\aud_vid.avi"
+"\epoc32\data\c\mm\mmf\testfiles\avictrl\invalid.avi"-"c:\mm\mmf\testfiles\avictrl\invalid.avi"
+"\epoc32\data\c\mm\mmf\testfiles\avictrl\low_mem_vdo_test.avi"-"c:\mm\mmf\testfiles\avictrl\low_mem_vdo_test.avi"
+"\epoc32\data\c\mm\mmf\testfiles\avictrl\aud_vid_vprp.avi"-"c:\mm\mmf\testfiles\avictrl\aud_vid_vprp.avi"
+"\epoc32\data\c\mm\mmf\testfiles\avictrl\srt_available.avi"-"c:\mm\mmf\testfiles\avictrl\srt_available.avi"
+"\epoc32\data\c\mm\mmf\testfiles\avictrl\srt_available.srt"-"c:\mm\mmf\testfiles\avictrl\srt_available.srt"
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/group/tsu_mmf_avictrl_excl_test.iby Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,24 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef TSU_MMF_AVICTRL_EXCL_TEST_IBY
+#define TSU_MMF_AVICTRL_EXCL_TEST_IBY
+
+file=ABI_DIR\DEBUG_DIR\TSU_MMF_AVICTRL_01.DLL System\Libs\TSU_MMF_AVICTRL_01.DLL
+
+ECOM_PLUGIN(customaviplayercontroller.dll,102834b2.rsc)
+
+#endif // TSU_MMF_AVICTRL_EXCL_TEST_IBY
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/inc/tsu_mmf_avictrl_teststep.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,232 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+#ifndef TSU_MMF_AVICTRL_TESTSTEP_H
+#define TSU_MMF_AVICTRL_TESTSTEP_H
+
+#include <e32base.h>
+#include <e32std.h>
+#include <mmf/common/mmfcontroller.h>
+#include <mmf/server/mmffile.h>
+#include <mmf/server/mmfdes.h>
+#include <mmfcontrollerimplementationuids.hrh>
+#include <mmf/common/mmfstandardcustomcommands.h>
+#include <mmf/common/mmfcontroller.h>
+#include "tsu_mmf_avictrl_testsuite.h"
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+#include <mmf/common/mmfvideosurfacecustomcommands.h>
+#include <mmf/common/mmfvideosubtitlecustomcommands.h>
+
+#define KWindowClipRectFull TRect(0, 0, 640, 240)
+#define KWindowClipRectAlt1 TRect(20, 20, 620, 220)
+#define KWindowClipRectAlt2 TRect(50, 0, 290, 240)
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+class CTestSuiteAviCtrl;
+/**
+
+NOTE: RAsyncTestStepAviCtrlBase/RAsyncTestStepAviCtrlPlayBase should be used instead
+
+RTestStepAviCtrlBase is the (old) base class for all the test steps in this suite,
+providing default path functionality for all the teststeps in this suite.
+
+*/
+class RTestStepAviCtrlBase : public RTestStep,
+ public MMMFControllerEventMonitorObserver
+ {
+public:
+ RTestStepAviCtrlBase(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepPreambleL();
+ virtual TVerdict DoTestStepPostambleL();
+ void SetSuite( CTestSuiteAviCtrl* aPtr );
+ CTestSuiteAviCtrl* GetSuite();
+protected:
+ CTestSuiteAviCtrl* iSuite;
+ RFs iFs;
+ RMMFController iController;
+ TMMFPrioritySettings iPriority;
+ CMMFControllerEventMonitor* iControllerEventMonitor;
+ CActiveScheduler* iScheduler;
+ TMMFFileConfig iFileConfig;
+ TUid iControllerUid;
+ TBuf<25> iSectName; // Section name for retrieving filename
+ TBuf<25> iKeyName; // Key name for retrieving filename
+ };
+
+/**
+
+NOTE: RAsyncTestStepAviCtrlBase/RAsyncTestStepAviCtrlPlayBase should be used instead
+
+RTestStepAviCtrlPlayBase is the base class for all the AviPlayController test steps, providing common functionality.
+*/
+class RTestStepAviCtrlPlayBase : public RTestStepAviCtrlBase
+ {
+public:
+ RTestStepAviCtrlPlayBase(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepPreambleL();
+ TBool SetupReadFileConfigL();
+ TMMFFileConfig& ReadFileConfig();
+protected:
+ //from MMMFControllerEventMonitorObserver
+ void HandleEvent(const TMMFEvent& aEvent);
+protected:
+ TRect iScreenRect;
+ TRect iClipRect;
+ RRegion iRegion;
+ };
+
+/*
+RTestStepAviCtrlRecordBase is the base class for all the AviRecordController test steps, providing common functionality.
+*/
+class RTestStepAviCtrlRecordBase : public RTestStepAviCtrlBase
+ {
+public:
+ RTestStepAviCtrlRecordBase(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepPreambleL(void);
+ virtual TBool SetupWriteFileConfigL();
+ TMMFFileConfig& WriteFileConfig();
+protected:
+ //from MMMFControllerEventMonitorObserver
+ void HandleEvent(const TMMFEvent& aEvent);
+ };
+
+
+
+/**
+RAsyncTestStepAviCtrlBase is the base class for all the test steps in this
+suite, providing default path functionality for all the teststeps in this suite
+*/
+class RAsyncTestStepAviCtrlBase :
+ public RAsyncTestStep,
+ public MMMFControllerEventMonitorObserver
+ {
+
+public:
+
+ RAsyncTestStepAviCtrlBase(const TDesC& aTestName,
+ const TDesC& aSectName,
+ const TDesC& aKeyName,
+ TUid aControllerUid);
+
+ // From RAsyncTestStep
+ void KickoffTestL();
+ void CloseTest();
+
+ void SetSuite( CTestSuiteAviCtrl* aPtr );
+ CTestSuiteAviCtrl* GetSuite();
+
+
+protected:
+
+ static TInt RAsyncTestStepAviCtrlBaseCallBack(TAny* aPtr);
+ void DoRAsyncTestStepAviCtrlBaseCallBack();
+
+protected:
+
+ CTestSuiteAviCtrl* iSuite;
+ RFs iFs;
+ RMMFController iController;
+ TMMFPrioritySettings iPriority;
+ CMMFControllerEventMonitor* iControllerEventMonitor;
+ TMMFFileConfig iFileConfig;
+ TUid iControllerUid;
+ TBuf<25> iSectName; // Section name for retrieving filename
+ TBuf<25> iKeyName; // Key name for retrieving filename
+ CAsyncCallBack* iKickoffAOp;
+ };
+
+/**
+RTestStepAviCtrlPlayBase is the new base class for all the AviPlayController
+test steps, providing common functionality.
+*/
+class RAsyncTestStepAviCtrlPlayBase :
+ public RAsyncTestStepAviCtrlBase
+ {
+
+public:
+
+ RAsyncTestStepAviCtrlPlayBase(const TDesC& aTestName,
+ const TDesC& aSectName,
+ const TDesC& aKeyName,
+ TUid aControllerUid);
+
+ // From RAsyncTestStep
+ void KickoffTestL();
+ void CloseTest();
+
+ TBool SetupReadFileConfigL();
+ TMMFFileConfig& ReadFileConfig();
+
+
+protected:
+
+ static TInt RAsyncTestStepAviCtrlPlayBaseCallBack(TAny* aPtr);
+ void DoRAsyncTestStepAviCtrlPlayBaseCallBack();
+
+ //from MMMFControllerEventMonitorObserver
+ void HandleEvent(const TMMFEvent& aEvent);
+
+
+protected:
+
+ TRect iScreenRect;
+ TRect iClipRect;
+ RRegion iRegion;
+ CAsyncCallBack* iKickoffAOp;
+ TBool iGceEnabled;
+ };
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+class RAsyncTestStepSubtitleBase : public RAsyncTestStepAviCtrlPlayBase
+ {
+public:
+ RAsyncTestStepSubtitleBase(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+
+ // From MMMFControllerEventMonitorObserver
+ void HandleEvent(const TMMFEvent& aEvent);
+
+ // From RAsyncTestStep
+ void KickoffTestL();
+
+protected:
+ void SetExpectedCrpReadyCount(TInt aCount);
+
+ // Common actions to be performed during OpenComplete and PlayComplete handlers
+ void CheckAndEnableSubtitlesL();
+ void AddDefaultSubtitleConfL();
+ void StartPlaybackL();
+ void RemoveConfigDisableL();
+
+protected:
+ RMMFVideoPlaySurfaceSupportCustomCommands iSurfaceCommands;
+ RMMFVideoPlaySubtitleSupportCustomCommands iSubtitleCommands;
+
+ static const TInt KWindowIdValid;
+ static const TInt KWindowIdValidAlt;
+ static const TInt KWindowIdMismatched;
+
+private:
+ virtual void OnOpenCompleteL();
+ virtual void OnPlayCompleteL();
+
+private:
+ TInt iCrpReadyEventCount;
+ TInt iExpectedCrpReadyCount;
+ };
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/inc/tsu_mmf_avictrl_testsuite.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,56 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef TSU_MMF_AVICTRL_TESTSUITE_H
+#define TSU_MMF_AVICTRL_TESTSUITE_H
+
+#include <testframework.h>
+
+const TUid KAviRecordControllerUid = {0x102737E1};
+const TUid KAviPlayControllerUid = {0x102737A5};
+const TUid KAviRecordFormatUid = {0x102737E3};
+_LIT8(KAviVideoCodec,"XVID");
+
+const TInt KSizeBuf = 256;
+const TInt KPrimaryScreenNo = 0;
+const TInt KSecondaryScreenNo = 1;
+const TInt KInvalidScreenNo = 100;
+class RTestStepAviCtrlBase;
+class RAsyncTestStepAviCtrlBase;
+
+/**
+CTestSuiteAviCtrl is the test suite for the AviController
+*/
+class CTestSuiteAviCtrl : public CTestSuite
+ {
+public:
+ void InitialiseL();
+ virtual ~CTestSuiteAviCtrl();
+ void AddTestStepL(RTestStepAviCtrlBase* aPtrTestStep);
+ void AddTestStepL(RAsyncTestStepAviCtrlBase* aPtrTestStep);
+ TPtrC GetVersion();
+ const TDesC& DefaultPath() const;
+protected:
+ // To use the ECam Test Plug-in
+ void CreateDependencyFileL();
+ void RemoveDependencyFile();
+private:
+ void InitSystemPath();
+private:
+ TFileName iDefaultPath;
+ RFs ifsSession;
+ };
+
+#endif //tsu_mmf_avictrl_testsuite.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/inc/tsu_mmf_avictrlplay.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,707 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+#ifndef TSU_MMF_AVICTRLPLAY_H
+#define TSU_MMF_AVICTRLPLAY_H
+
+#include "tsu_mmf_avictrl_teststep.h"
+
+#ifdef SYMBIAN_BUILD_GCE
+#include <mmf/common/mmfvideosurfacecustomcommands.h>
+#endif // SYMBIAN_BUILD_GCE
+#define KMaxChunks 50 //The maximum chunks that can be allocated
+ //Has been adjusted such that we dont need higher than this
+
+/**
+This class tests playing an avi file completely and checks for
+playcompletion event with KErrNone from the aviplaycontroller.
+*/
+class RTestStepAviPlayCtrlPlay : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlPlay(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+/**
+This class tests setting the volume on AviPlayController in Stopped, Primed and Playing states
+and checks if the volume set is same as the volume got.
+*/
+class RTestStepAviPlayCtrlVolume : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlVolume(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests setting the PlayBalance on AviPlayController in Stopped, Primed and Playing states
+and checks if the PlayBalance set is same as the PlayBalance got.
+*/
+class RTestStepAviPlayCtrlPlayBalance : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlPlayBalance(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests the duration of the file using AviPlayController.
+*/
+class RTestStepAviPlayCtrlDuration : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlDuration(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+ /**
+This class tests pause functionality of AviPlayController in Stopped, Primed and Playing states and checks
+ if the play starts from the current position during playing state.
+*/
+class RTestStepAviPlayCtrlPause : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlPause(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests stop functionality of AviPlayController in Stopped, Primed and Playing
+states and checks if the play starts from the initial position during playing state
+*/
+class RTestStepAviPlayCtrlStop : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlStop(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests to set and get the crop region using AviPlayController.
+*/
+class RTestStepAviPlayCtrlSetGetCropRegion : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlSetGetCropRegion(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests to set and get the framerate of the file using AviPlayController.
+ */
+class RTestStepAviPlayCtrlSetGetFrameRate : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlSetGetFrameRate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests to get the frame size using AviPlayController.
+*/
+class RTestStepAviPlayCtrlGetFrameSize : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlGetFrameSize(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests to get the audio codec installed in the file using AviPlayController.
+*/
+class RTestStepAviPlayCtrlGetAudioDataType : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlGetAudioDataType(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests to get the video codec installed in the file using AviPlayController.
+*/
+class RTestStepAviPlayCtrlGetVideoDataType : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlGetVideoDataType(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests metadata support of the AviPlayController.
+*/
+class RTestStepAviPlayCtrlMetaData : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlMetaData(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests Rotation api of the AviPlayController.
+*/
+class RTestStepAviPlayCtrlSetGetRotation : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlSetGetRotation(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+/**
+This class tests Rotation api of the AviPlayController.
+*/
+class RTestStepAviPlayCtrlSetGetScaling : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlSetGetScaling(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests Position api of the AviPlayController.
+*/
+class RTestStepAviPlayCtrlSetPosition : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlSetPosition(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests getting video bit rate of the AviPlayController.
+*/
+class RTestStepAviPlayCtrlGetVideoBitrate : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlGetVideoBitrate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests getting audio bit rate of the AviPlayController.
+*/
+class RTestStepAviPlayCtrlGetAudioBitrate : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlGetAudioBitrate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests for direct screen access of aviplaycontroller
+*/
+class RTestStepAviCtrlDirectScreenAccess : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviCtrlDirectScreenAccess(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+ };
+
+/**
+This class tests for Play window property for .avi play controller
+*/
+class RTestStepAviCtrlSetPlayWindow : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviCtrlSetPlayWindow(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+ };
+
+//Negative Tests
+
+/**
+This class tests opening an invalid file using AviPlayController.
+*/
+class RTestStepAviCtrlPlayInvalid : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviCtrlPlayInvalid(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepPreambleL(void);
+ virtual TVerdict DoTestStepL(void);
+ };
+
+/**
+This class tests for volume and balance when audio is not enabled in the file.
+*/
+class RTestStepAviCtrlNotAudioEnabled : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviCtrlNotAudioEnabled(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+ };
+
+/**
+This class tests playing an avi file on primary or secondary screen depending on the screen number set during its
+construction and checks for playcompletion event with KErrNone from the aviplaycontroller.
+*/
+class RTestStepAviPlayCtrlSetScrnPlay : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlSetScrnPlay(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid, TInt aScreenNumber);
+ virtual TVerdict DoTestStepPreambleL(void);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ //from MMMFControllerEventMonitorObserver
+ void HandleEvent(const TMMFEvent& aEvent);
+public:
+ TInt iScreenNumber;
+ };
+
+/**
+This class tests setting an invalid screen id on AviPlayController.
+*/
+class RTestStepAviPlayCtrlSetInvalidScrn : public RTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlSetInvalidScrn(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid, TInt aScreenNumber);
+ virtual TVerdict DoTestStepPreambleL(void);
+ virtual TVerdict DoTestStepL(void);
+public:
+ TInt iScreenNumber;
+ };
+
+/**
+This class tests setting the invalid screen id after adding the datasink to the AviPlayController.
+It resets the controller and adds the datasink for the secondtime and expects KErrNotSupported.
+*/
+class RTestStepAviPlayCtrlAddDataSinkTwice : public RTestStepAviPlayCtrlSetScrnPlay
+ {
+public:
+ RTestStepAviPlayCtrlAddDataSinkTwice(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid, TInt aScreenNumber);
+ virtual TVerdict DoTestStepPreambleL(void);
+ virtual TVerdict DoTestStepL(void);
+ };
+
+
+/**
+This class tests playing an avi file when the xvid decoder finds low memory
+conditions. The codec will inform back to the controlller that a fatal error
+occured. After that, the memory conditions are returned back to normal and the
+video playback is restarted to demonstrate that DevVideo is recreated after the
+failure and that the video is played succesfully.
+*/
+class RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap :
+ public RAsyncTestStepAviCtrlPlayBase,
+ public MMMFControllerEventMonitorObserver
+
+ {
+public:
+ static const TUint KMaxFreeRamForTest = 0x4fff00; // 5-32k MB, this is adjusted
+ // to leave just enough
+ // memory for the xvid
+ // decoder to fail
+
+public:
+ RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap(
+ const TDesC& aTestName, const TDesC& aSectName,
+ const TDesC& aKeyName, TUid aControllerUid);
+
+ // from RAsyncTestStep
+ void KickoffTestL();
+ void CloseTest();
+
+protected:
+
+ // from MMMFControllerEventMonitorObserver
+ void HandleEvent(const TMMFEvent& aEvent);
+
+ // Call backs
+ static TInt AllocChunkCallBack(TAny* aPtr);
+ void DoAllocChunkCallBack();
+ static TInt PrimeControllerCallBack(TAny* aPtr);
+ void DoPrimeControllerCallBack();
+ static TInt PlayControllerCallBack(TAny* aPtr);
+ void DoPlayControllerCallBack();
+ static TInt ReturnChunckAndStopControllerCallBack(TAny* aPtr);
+ void DoReturnChunckAndStopControllerCallBack();
+
+
+protected:
+
+ // Set of states for simple state machine
+ enum TTestState
+ {
+ EStateDefault,
+ EStateLoadKickoffTestLComplete,
+ EStateAllocChunkCallBackComplete,
+ EStatePrimeControllerCallBackComplete1,
+ EStatePlayControllerCallBackComplete1,
+ EStateReturnChunckAndStopControllerCallBackComplete,
+ EStatePrimeControllerCallBackComplete2,
+ EStatePlayControllerCallBackComplete2
+ };
+
+ TTestState iTestState;
+ RChunk iRChunk[KMaxChunks];
+ TInt iNumAllocatedChunks;
+ CAsyncCallBack* iKickoff01;
+ CAsyncCallBack* iKickoff02;
+ CAsyncCallBack* iKickoff03;
+ CAsyncCallBack* iKickoff04;
+ CAsyncCallBack* iKickoff05;
+ CAsyncCallBack* iKickoff06;
+ };
+
+/**
+This class tests OOM situation on several controller functions.
+(e.g. AddSource/Sink)
+*/
+class RTestStepAviPlayCtrlMemAlloc1 : public RTestStepAviCtrlBase
+ {
+public:
+ RTestStepAviPlayCtrlMemAlloc1(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+protected:
+ //from MMMFControllerEventMonitorObserver
+ void HandleEvent(const TMMFEvent& aEvent);
+ };
+
+/**
+This class tests OOM situation on several controller functions.
+(e.g. Prime)
+*/
+class RTestStepAviPlayCtrlMemAlloc2 : public RTestStepAviCtrlBase
+ {
+public:
+ RTestStepAviPlayCtrlMemAlloc2(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+protected:
+ //from MMMFControllerEventMonitorObserver
+ void HandleEvent(const TMMFEvent& aEvent);
+ };
+
+/**
+This class tests OOM situation on several controller functions.
+(e.g. Prime)
+*/
+class RTestStepAviPlayCtrlMemAlloc3 : public RTestStepAviCtrlBase
+ {
+public:
+ RTestStepAviPlayCtrlMemAlloc3(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+protected:
+ //from MMMFControllerEventMonitorObserver
+ void HandleEvent(const TMMFEvent& aEvent);
+};
+
+#ifdef SYMBIAN_BUILD_GCE
+// Surface support positive tests:
+
+/**
+Test surface support in the AVI play controller. It enables surfaces, adds a rendering
+target display, gets the surface parameter, updates the display and finally removes the display.
+*/
+class RTestStepAviPlayCtrlSurfaceSupport : public RAsyncTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlSurfaceSupport(const TDesC& aTestName, const TDesC& aSecName, const TDesC& aKeyName, TUid aControllerUid);
+
+ // from RAsyncTestStep
+ virtual void KickoffTestL();
+ virtual void CloseTest();
+
+ // from MMMFControllerEventMonitorObserver
+ virtual void HandleEvent(const TMMFEvent& aEvent);
+
+private:
+ virtual TVerdict CheckTestResult();
+
+ // Call back functions
+ static TInt UseSurfacesCallBack(TAny* aPtr);
+ void DoUseSurfacesCallBack();
+
+ static TInt PrimeControllerCallBack(TAny* aPtr);
+ void DoPrimeControllerCallBack();
+
+ static TInt PlayControllerCallBack(TAny* aPtr);
+ void DoPlayControllerCallBack();
+
+private:
+ TBool iSurfaceCreated;
+ TSurfaceId iSurfaceId;
+
+ CAsyncCallBack* iKickoffUseSurfaces;
+ CAsyncCallBack* iKickoffUseSurfaces2;
+ CAsyncCallBack* iKickoffPrimeController;
+ CAsyncCallBack* iKickoffPlayController;
+
+ RMMFVideoPlaySurfaceSupportCustomCommands iVpsCommands;
+ };
+
+// Surface support negative tests:
+
+/**
+Test surface support in the AVI play controller. We expect a failure when we call surface removed
+without first callng UseSurfaces.
+*/
+class RTestStepAviPlayCtrlSurfaceRemovedNoUS : public RAsyncTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlSurfaceRemovedNoUS(const TDesC& aTestName, const TDesC& aSecName, const TDesC& aKeyName, TUid aControllerUid);
+
+ // from RAsyncTestStep
+ virtual void KickoffTestL();
+ virtual void CloseTest();
+
+private:
+ // Call back functions
+ static TInt SurfaceRemovedCallBack(TAny* aPtr);
+ void DoSurfaceRemovedCallBack();
+
+private:
+ CAsyncCallBack* iKickoffSurfaceRemoved;
+
+ TSurfaceId iSurfaceId;
+
+ RMMFVideoPlaySurfaceSupportCustomCommands iVpsCommands;
+ };
+
+/**
+Test surface support in the AVI play controller. We expect a failure when we get the surface parameters
+without first callng UseSurfaces.
+*/
+class RTestStepAviPlayCtrlGetSurfaceParametersNoUS : public RAsyncTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlGetSurfaceParametersNoUS(const TDesC& aTestName, const TDesC& aSecName, const TDesC& aKeyName, TUid aControllerUid);
+
+ // from RAsyncTestStep
+ virtual void KickoffTestL();
+ virtual void CloseTest();
+
+private:
+ // Call back functions
+ static TInt GetSurfaceParametersCallBack(TAny* aPtr);
+ void DoGetSurfaceParametersCallBack();
+
+private:
+ CAsyncCallBack* iKickoffGetSurfaceParameters;
+
+ RMMFVideoPlaySurfaceSupportCustomCommands iVpsCommands;
+ };
+
+/**
+Test surface support in the AVI play controller. We expect a failure when we call surface removed
+after callng UseSurfaces with a null surface Id
+*/
+class RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId : public RAsyncTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId(const TDesC& aTestName, const TDesC& aSecName, const TDesC& aKeyName, TUid aControllerUid);
+
+ // from RAsyncTestStep
+ virtual void KickoffTestL();
+ virtual void CloseTest();
+
+private:
+ // Call back functions
+ static TInt SurfaceRemovedCallBack(TAny* aPtr);
+ void DoSurfaceRemovedCallBack();
+ static TInt UseSurfacesCallBack(TAny* aPtr);
+ void DoUseSurfacesCallBack();
+
+private:
+ CAsyncCallBack* iKickoffSurfaceRemoved;
+ CAsyncCallBack* iKickoffUseSurfaces;
+
+ TSurfaceId iSurfaceId;
+
+ RMMFVideoPlaySurfaceSupportCustomCommands iVpsCommands;
+ };
+
+/**
+Test surface support in the AVI play controller. We expect a failure when we call surface removed
+after calling UseSurfaces with an invalid surface Id
+*/
+class RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId : public RAsyncTestStepAviCtrlPlayBase
+ {
+public:
+ RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId(const TDesC& aTestName, const TDesC& aSecName, const TDesC& aKeyName, TUid aControllerUid);
+
+ // from RAsyncTestStep
+ virtual void KickoffTestL();
+ virtual void CloseTest();
+
+private:
+ // Call back functions
+ static TInt SurfaceRemovedCallBack(TAny* aPtr);
+ void DoSurfaceRemovedCallBack();
+ static TInt UseSurfacesCallBack(TAny* aPtr);
+ void DoUseSurfacesCallBack();
+
+private:
+ CAsyncCallBack* iKickoffSurfaceRemoved;
+ CAsyncCallBack* iKickoffUseSurfaces;
+
+ TSurfaceId iSurfaceId;
+
+ RMMFVideoPlaySurfaceSupportCustomCommands iVpsCommands;
+ };
+
+#endif // SYMBIAN_BUILD_GCE
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+/**
+ * MM-MMF-AVICTRL-U-0100-HP
+ */
+class RAsyncTestSubtitlePlay : public RAsyncTestStepSubtitleBase
+ {
+public:
+ RAsyncTestSubtitlePlay(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+
+private:
+ // From RAsyncTestStepSubtitleBase
+ void OnOpenCompleteL();
+ void OnPlayCompleteL();
+ };
+
+/**
+ * MM-MMF-AVICTRL-U-0101-HP
+ */
+class RAsyncTestSubtitleUpdateConfig : public RAsyncTestStepSubtitleBase
+ {
+public:
+ RAsyncTestSubtitleUpdateConfig(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+
+private:
+ // From RAsyncTestStepSubtitleBase
+ void OnOpenCompleteL();
+ void OnPlayCompleteL();
+ };
+
+class CCallBackTimer : public CTimer
+ {
+public:
+ static CCallBackTimer* NewL(const TCallBack& aCallBack, TInt aPriority);
+
+protected:
+ void RunL();
+
+private:
+ CCallBackTimer(const TCallBack& aCallBack, TInt aPriority);
+
+private:
+ TCallBack iCallBack;
+ };
+
+/**
+ * MM-MMF-AVICTRL-U-0102-HP
+ */
+class RAsyncTestSubtitleUpdateDuring : public RAsyncTestStepSubtitleBase
+ {
+public:
+ RAsyncTestSubtitleUpdateDuring(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+
+ //From RAsyncTestStep
+ void KickoffTestL();
+ void CloseTest();
+
+private:
+ // From RAsyncTestStepSubtitleBase
+ void OnOpenCompleteL();
+ void OnPlayCompleteL();
+
+ static TInt DuringPlaybackCallBack(TAny* aPtr);
+ void OnDuringPlayback();
+
+private:
+ CCallBackTimer* iCallBackTimer;
+ TBool iHasUpdated;
+ };
+
+/**
+ * MM-MMF-AVICTRL-U-0103-HP
+ */
+class RAsyncTestSubtitleRemoveAdd : public RAsyncTestStepSubtitleBase
+ {
+public:
+ RAsyncTestSubtitleRemoveAdd(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+
+private:
+ // From RAsyncTestStepSubtitleBase
+ void OnOpenCompleteL();
+ void OnPlayCompleteL();
+ };
+
+/**
+ * MM-MMF-AVICTRL-U-0200-HP
+ */
+class RAsyncTestSubtitleNotEnabled : public RAsyncTestStepSubtitleBase
+ {
+public:
+ RAsyncTestSubtitleNotEnabled(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+
+private:
+ // From RAsyncTestStepSubtitleBase
+ void OnOpenCompleteL();
+ void OnPlayCompleteL();
+ };
+
+/**
+ * MM-MMF-AVICTRL-U-0201-HP
+ */
+class RAsyncTestSubtitleNotAvailable : public RAsyncTestStepSubtitleBase
+ {
+public:
+ RAsyncTestSubtitleNotAvailable(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+
+private:
+ // From RAsyncTestStepSubtitleBase
+ void OnOpenCompleteL();
+ void OnPlayCompleteL();
+ };
+
+/**
+ * MM-MMF-AVICTRL-U-0202-HP
+ */
+class RAsyncTestSubtitleMismatchedId : public RAsyncTestStepSubtitleBase
+ {
+public:
+ RAsyncTestSubtitleMismatchedId(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+
+private:
+ // From RAsyncTestStepSubtitleBase
+ void OnOpenCompleteL();
+ };
+
+/**
+ * MM-MMF-AVICTRL-U-0203-HP
+ */
+class RAsyncTestSubtitleDoubleCall : public RAsyncTestStepSubtitleBase
+ {
+public:
+ RAsyncTestSubtitleDoubleCall(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+
+private:
+ // From RAsyncTestStepSubtitleBase
+ void OnOpenCompleteL();
+ void OnPlayCompleteL();
+ };
+
+/**
+ * MM-MMF-AVICTRL-U-0204-HP
+ */
+class RAsyncTestSubtitleMultipleConfigs : public RAsyncTestStepSubtitleBase
+ {
+public:
+ RAsyncTestSubtitleMultipleConfigs(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+
+private:
+ // From RAsyncTestStepSubtitleBase
+ void OnOpenCompleteL();
+ };
+
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+#endif //(tsu_mmf_avictrlplay.h)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/inc/tsu_mmf_avictrlrecord.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,324 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef TSU_MMF_AVICTRLRECORD_H
+#define TSU_MMF_AVICTRLRECORD_H
+
+#include "tsu_mmf_avictrl_teststep.h"
+const TInt KBalanceMultiplyFactor = 30;
+
+/**
+This class tests recording an .avi file for 2 secs using the AviRecordController
+*/
+class RTestStepAviRecordCtrlRecord : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlRecord(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL();
+ };
+
+/**
+This class tests setting the gain on AviRecordController in Stopped, Primed and Playing
+states and checks if the gain set is same as the gain got.
+*/
+class RTestStepAviRecordCtrlGain : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlGain(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This class tests setting the RecordBalance on AviRecordController in Stopped, Primed and Playing
+states and checks if the RecordBalance set is same as the RecordBalance got.
+*/
+class RTestStepAviRecordCtrlRecordBalance : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlRecordBalance(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This test Primes the AviRecordController and sets a limit on the recorded file size
+ and checks for the KErrEof from the AviRecordController
+*/
+class RTestStepAviRecordCtrlSetMaxFileSize : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlSetMaxFileSize(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+/**
+This class checks for the available record time using .avi record controller.
+*/
+class RTestStepAviRecordCtrlRecordTimeAvailable : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlRecordTimeAvailable(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This tests setting the frame rate on AviRecordController in Stopped, Primed and Recording
+states and checks if the framerate set is same as the frame rate got.
+*/
+class RTestStepAviRecordCtrlSetGetFrameRate : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlSetGetFrameRate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This tests setting the bitrate on AviRecordController in Stopped, Primed and Recording
+ states and checks if the bitrate set is same as the bitrate got.
+*/
+ class RTestStepAviRecirdCtrlSetGetFrameSize : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecirdCtrlSetGetFrameSize(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This tests setting the SinkAudioDataType on AviRecordController in Stopped, Primed and Recording
+states and checks if the SinkAudioDataType set is same as the SinkAudioDataType got.
+*/
+class RTestStepAviRecordCtrlGetSetAudioDataType : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlGetSetAudioDataType(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This tests setting the SinkVideoDataType on AviRecordController in Stopped, Primed and Recording
+ states and checks if the SinkVideoDataType set is same as the SinkVideoDataType got.
+*/
+ class RTestStepAviRecordCtrlGetSetVideoDataType : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlGetSetVideoDataType(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This test Adds new metadata to the Avi file and checks if the meta data is added to the clip
+*/
+class RTestStepAviRecordCtrlGetSetMetaData : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlGetSetMetaData(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+ /**
+This test Primes the AviRecordController, Records an .Avi file for 2 secs and stop the controller
+ recording again and checks the duration
+*/
+ class RTestStepAviRecordCtrlDuration : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlDuration(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This test Primes the AviRecordController and does the -ve testing for gain and balance when audio is not supported
+*/
+ class RTestStepAviRecordNotAudioEnabled : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordNotAudioEnabled(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This test tests for setting and getting the recording position and see if it returns KErrNotSupported
+*/
+class RTestStepAviRecordCtrlPosition : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlPosition(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+This test checks for Pause functionality while recording and checks if it returns KErrNotSupported
+*/
+class RTestStepAviRecordCtrlPause : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlPause(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+DEF088332: MVS UI Application does not update the timer during video recording
+This tests the Duration functionality of the AviPlayController.
+*/
+class RTestStepAviRecordCtrlDurationNewClip : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlDurationNewClip(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL( );
+ };
+
+/**
+CR0958: MMF Video Recorder Utility API improvements
+This tests getting and setting the video pixel aspect ratio for recording.
+*/
+class RTestStepAviRecordCtrlSetGetPixelAspectRatio : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlSetGetPixelAspectRatio(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ };
+
+/**
+CR0958: MMF Video Recorder Utility API improvements
+This tests getting the list of suported video pixel aspect ratios for recording.
+*/
+class RTestStepAviRecordCtrlGetSupportedPixelAspectRatios : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlGetSupportedPixelAspectRatios(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ };
+
+/**
+CR0958: MMF Video Recorder Utility API improvements
+This tests getting and setting the audio sample rate for recording.
+*/
+class RTestStepAviRecordCtrlSetGetAudioSampleRate : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlSetGetAudioSampleRate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ };
+
+/**
+CR0958: MMF Video Recorder Utility API improvements
+This tests getting the list of supported audio sample rates for recording.
+*/
+class RTestStepAviRecordCtrlGetSupportedAudioSampleRate : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlGetSupportedAudioSampleRate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ };
+
+/**
+CR0958: MMF Video Recorder Utility API improvements
+This tests getting and setting the number of audio channels for recording.
+*/
+class RTestStepAviRecordCtrlSetGetAudioChannels : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlSetGetAudioChannels(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ };
+
+/**
+CR0958: MMF Video Recorder Utility API improvements
+This tests getting the list of supported numbers of audio channels for recording.
+*/
+class RTestStepAviRecordCtrlGetSupportedAudioChannels : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlGetSupportedAudioChannels(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ };
+
+/**
+CR0958: MMF Video Recorder Utility API improvements
+This tests setting an invalid video pixel aspect ratio for recording.
+*/
+class RTestStepAviRecordCtrlSetInvalidPixelAspectRatio : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlSetInvalidPixelAspectRatio(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ };
+
+/**
+CR0958: MMF Video Recorder Utility API improvements
+This tests setting an invalid audio sample rate for recording.
+*/
+class RTestStepAviRecordCtrlSetInvalidAudioSampleRate : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlSetInvalidAudioSampleRate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ };
+
+/**
+CR0958: MMF Video Recorder Utility API improvements
+This tests setting an invalid number of audio channels for recording.
+*/
+class RTestStepAviRecordCtrlSetInvalidAudioChannels : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlSetInvalidAudioChannels(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ };
+
+/**
+CR0958: MMF Video Recorder Utility API improvements
+This tests setting the video pixel aspect ratio for recording while recording (invalid state).
+*/
+class RTestStepAviRecordCtrlInvalidStateSetPixelAspectRatio : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlInvalidStateSetPixelAspectRatio(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ };
+
+/**
+CR0958: MMF Video Recorder Utility API improvements
+This tests setting the audio sample rate for recording while recording (invalid state).
+*/
+class RTestStepAviRecordCtrlInvalidStateSetAudioSampleRate : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlInvalidStateSetAudioSampleRate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ };
+
+/**
+CR0958: MMF Video Recorder Utility API improvements
+This tests setting the number of audio channels for recording while recording (invalid state).
+*/
+class RTestStepAviRecordCtrlInvalidStateSetAudioChannels : public RTestStepAviCtrlRecordBase
+ {
+public:
+ RTestStepAviRecordCtrlInvalidStateSetAudioChannels(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid);
+ virtual TVerdict DoTestStepL(void);
+protected:
+ };
+
+#endif //(TSU_MMF_AVICTRLRECORD.H)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/inc/tsu_mmf_avictrltestids.h Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,31 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef TSU_MMF_AVICTRLTESTIDS_H
+#define TSU_MMF_AVICTRLTESTIDS_H
+
+#include "customaviplaycontrolleruids.hrh"
+
+const TUid KUidCustomTestAviPlayPlugin = { KCustomMmfAviPlayControllerImpUid };
+const TUid KMemoryAllocationTestId = { 0x101F7D28 };
+
+const TInt KMemoryAllocTest1 = 0xaaaaa;
+const TInt KMemoryAllocTest2 = 0xaaaab;
+const TInt KMemoryAllocTest3 = 0xaaaac;
+const TInt KMemoryAllocResult = 0xaaaad;
+const TInt KOOMPrimeTestEnable = 0xaaaae;
+const TInt KOOMPrimeTestFailCount = 0xaaaaf;
+
+#endif // endif AVICTRLTESTIDS_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/mmpfiles/customaviplayercontroller.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,76 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+target customaviplayercontroller.dll
+CAPABILITY ALL -TCB
+targettype plugin
+
+// ECom Dll recognition UID followed by the unique UID for this dll
+UID 0x10009D8D 0x102834B2
+VENDORID 0x70000001
+
+SOURCEPATH ../../../../../../mmplugins/mmfwplugins/src/Plugin/Controller/Video/AviPlayController
+SOURCE aviplaycontroller.cpp
+SOURCE avireader.cpp
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+SOURCE srtreader.cpp
+#endif
+
+SOURCEPATH ../testplugins/aviplaycontroller
+SOURCE customaviplaycontroller.cpp
+SOURCE customaviplaycontrollerexports.cpp
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+USERINCLUDE ../../../../../../mmplugins/mmfwplugins/src/Plugin/Controller/Video/AviPlayController/devsubtitle
+#endif
+
+USERINCLUDE ../../../../../../mmplugins/mmfwplugins/src/Plugin/Controller/Video/AviPlayController
+USERINCLUDE ../inc
+USERINCLUDE ../testplugins/aviplaycontroller
+
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+
+/*#ifdef __OMAP__
+
+// Delete the HwDevice once we have OMAP Server implementation
+// Interfacing with HwDevice implementation begins
+USERINCLUDE /GenericGatewayComponent/raw/RawHwDevice
+USERINCLUDE /GenericGatewayComponent/raw/RawGwc
+USERINCLUDE /GenericGatewayComponent/Gwc
+USERINCLUDE /GenericGatewayComponent/BridgeAbstractionLayer
+// Interfacing with HwDevice implementation ends
+#endif //__OMAP__*/
+
+start resource 102834B2.rss
+target customaviplayercontroller.rsc
+end
+
+LIBRARY euser.lib
+LIBRARY ecom.lib
+LIBRARY mmfserverbaseclasses.lib
+LIBRARY mmfdevsound.lib
+LIBRARY devvideo.lib
+LIBRARY mmfcontrollerframework.lib
+LIBRARY mmfstandardcustomcommands.lib
+LIBRARY fbscli.lib
+LIBRARY bitgdi.lib
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+LIBRARY bafl.lib
+LIBRARY efsrv.lib
+LIBRARY devsubtitle.lib
+#endif
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/mmpfiles/tsu_mmf_avictrl_01.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,56 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// tsu_mmf_avictrl_01.dll
+//
+//
+
+
+TARGET tsu_mmf_avictrl_01.dll
+CAPABILITY ALL -TCB
+TARGETTYPE dll
+
+UID 0x1000008d 0x102737F7
+VENDORID 0x70000001
+
+SOURCEPATH ../src
+SOURCE tsu_mmf_avictrl_testsuite.cpp
+SOURCE tsu_mmf_avictrl_teststep.cpp
+SOURCE tsu_mmf_avictrlplay.cpp
+SOURCE tsu_mmf_avictrlrecord.cpp
+
+USERINCLUDE ../inc
+USERINCLUDE ../testplugins/aviplaycontroller
+
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+
+LIBRARY euser.lib
+LIBRARY testframeworkclient.lib
+LIBRARY mmfcontrollerframework.lib
+LIBRARY mmfstandardcustomcommands.lib
+LIBRARY efsrv.lib
+LIBRARY ecom.lib
+LIBRARY hal.lib
+LIBRARY devvideo.lib
+LIBRARY mmfdevsound.lib
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+LIBRARY ws32.lib
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+#ifdef EABI
+NOEXPORTLIBRARY
+#endif
+
+DEFFILE TSU_MMF_AVICTRL_01.DEF
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/scripts/tsu_mmf_avictrl_01.ini Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,9 @@
+[SectionPlayer]
+video_only = \mm\mmf\testfiles\avictrl\video_only.avi
+aud_vid = \mm\mmf\testfiles\avictrl\aud_vid.avi
+invalid = \mm\mmf\testfiles\avictrl\invalid.avi
+long_video = \mm\mmf\testfiles\avictrl\low_mem_vdo_test.avi
+videoprophdr = \mm\mmf\testfiles\avictrl\aud_vid_vprp.avi
+gce = false
+[SectionRecorder]
+record = \mm\mmf\testfiles\avictrl\record.avi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/scripts/tsu_mmf_avictrl_gce_disable.ini Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,8 @@
+[SectionPlayer]
+video_only = \mm\mmf\testfiles\avictrl\video_only.avi
+aud_vid = \mm\mmf\testfiles\avictrl\aud_vid.avi
+invalid = \mm\mmf\testfiles\avictrl\invalid.avi
+long_video = \mm\mmf\testfiles\avictrl\longvideoplay.avi
+gce = false
+[SectionRecorder]
+record = \mm\mmf\testfiles\avictrl\record.avi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/scripts/tsu_mmf_avictrl_gce_disable.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,79 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// testframework.exe [path]\[this script name]. It requires no exceptional software or network support
+//
+//
+
+//! @file
+//! @SYMTestSuiteName MM-MMF-AVICTRLPLAY-U
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework using the following test list entry:
+
+PRINT Run the MMF AviPlayController surface tests expecting surfaces to be disabled.
+PRINT
+
+LOAD_SUITE TSU_MMF_AVICTRL_01.dll
+
+# wait for ring.wav to finish playing
+
+delay 1000
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0059-HP
+//! @SYMPREQ PREQ1714
+//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to use surfaces as a rendering target.
+//! @SYMTestActions Calls surface related functions UseSurfaces, GetSurfaceParameters and SurfaceRemoved.
+//! @SYMTestExpectedResults Expect a return value of KErrNone from all the calls to the Surface functions
+//! when surfaces are enabled. Calling UseSurfaces a second time should not leave or cause any errors.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0059-HP \tsu_mmf_avictrl_gce_disable.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0064-HP
+//! @SYMPREQ PREQ1714
+//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
+//! @SYMTestActions Get the surface parameters when not using surfaces.
+//! @SYMTestExpectedResults This will return KErrNotReady when surface support is enabled. When surface
+//! support is not present we except KErrNotSupported.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0064-HP \tsu_mmf_avictrl_gce_disable.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0073-HP
+//! @SYMPREQ PREQ1714
+//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
+//! @SYMTestActions Call SurfaceRemoved when not using surfaces.
+//! @SYMTestExpectedResults This will return KErrNotReady when surface support is enabled. When surface
+//! support is not present we except KErrNotSupported.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0073-HP \tsu_mmf_avictrl_gce_disable.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0074-HP
+//! @SYMPREQ PREQ1714
+//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
+//! @SYMTestActions Call SurfaceRemoved with null surface id.
+//! @SYMTestExpectedResults This will return KErrArgument when surface support is enabled. When surface
+//! support is not present we except KErrNotSupported.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0074-HP \tsu_mmf_avictrl_gce_disable.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0075-HP
+//! @SYMPREQ PREQ1714
+//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
+//! @SYMTestActions Call SurfaceRemoved with an invalid surface id.
+//! @SYMTestExpectedResults This will return KErrNotReady when surface support is enabled. When surface
+//! support is not present we except KErrNotSupported.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0075-HP \tsu_mmf_avictrl_gce_disable.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/scripts/tsu_mmf_avictrl_gce_enable.ini Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,8 @@
+[SectionPlayer]
+video_only = \mm\mmf\testfiles\avictrl\video_only.avi
+aud_vid = \mm\mmf\testfiles\avictrl\aud_vid.avi
+invalid = \mm\mmf\testfiles\avictrl\invalid.avi
+long_video = \mm\mmf\testfiles\avictrl\longvideoplay.avi
+gce = true
+[SectionRecorder]
+record = \mm\mmf\testfiles\avictrl\record.avi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/scripts/tsu_mmf_avictrl_gce_enable.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,75 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// testframework.exe [path]\[this script name]. It requires no exceptional software or network support
+//
+//
+
+//! @file
+//! @SYMTestSuiteName MM-MMF-AVICTRLPLAY-U
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework using the following test list entry:
+
+PRINT Run the MMF AviPlayController surface tests expecting surfaces to be enabled.
+PRINT
+
+LOAD_SUITE TSU_MMF_AVICTRL_01.dll
+
+# wait for ring.wav to finish playing
+
+delay 1000
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0059-HP
+//! @SYMPREQ PREQ1714
+//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to use surfaces as a rendering target.
+//! @SYMTestActions Calls surface related functions UseSurfaces, GetSurfaceParameters and SurfaceRemoved.
+//! @SYMTestExpectedResults Expect a return value of KErrNone from all the calls to the Surface functions
+//! when surfaces are enabled. Calling UseSurfaces a second time should not leave or cause any errors.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0059-HP \tsu_mmf_avictrl_gce_enable.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0064-HP
+//! @SYMPREQ PREQ1714
+//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
+//! @SYMTestActions Get the surface parameters when not using surfaces.
+//! @SYMTestExpectedResults This will return KErrNotSupported.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0064-HP \tsu_mmf_avictrl_gce_enable.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0073-HP
+//! @SYMPREQ PREQ1714
+//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
+//! @SYMTestActions Call SurfaceRemoved when not using surfaces.
+//! @SYMTestExpectedResults This will return KErrNotSupported.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0073-HP \tsu_mmf_avictrl_gce_enable.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0074-HP
+//! @SYMPREQ PREQ1714
+//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
+//! @SYMTestActions Call SurfaceRemoved with null surface id.
+//! @SYMTestExpectedResults This will return KErrArgument.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0074-HP \tsu_mmf_avictrl_gce_enable.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0075-HP
+//! @SYMPREQ PREQ1714
+//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
+//! @SYMTestActions Call SurfaceRemoved with an invalid surface id.
+//! @SYMTestExpectedResults This will return KErrNotReady.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0075-HP \tsu_mmf_avictrl_gce_enable.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/scripts/tsu_mmf_avictrl_play.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,123 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// testframework.exe [path]\[this script name]. It requires no exceptional software or network support
+//
+//
+
+//! @file
+//! @SYMTestSuiteName MM-MMF-AVICTRLPLAY-U
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework using the following test list entry:
+
+
+PRINT Run all the MMF AviPlayController tests
+PRINT
+
+LOAD_SUITE TSU_MMF_AVICTRL_01.dll
+
+# wait for ring.wav to finish playing
+
+delay 1000
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0001-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0001-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0002-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0002-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0003-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0003-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0004-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0004-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0005-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0005-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0006-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0006-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0007-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0007-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0008-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0008-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0009-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0009-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0010-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0010-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0011-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0011-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0012-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0012-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0013-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0013-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0014-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0014-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0015-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0015-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0016-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0016-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0017-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0017-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0018-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0018-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0019-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0019-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0020-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0020-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0021-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0021-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0057-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0057-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0058-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0058-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/scripts/tsu_mmf_avictrl_play_alloc.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,43 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// testframework.exe [path]\[this script name]. It requires no exceptional software or network support
+//
+//
+
+//! @file
+//! @SYMTestSuiteName MM-MMF-AVICTRLPLAY-U
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework using the following test list entry:
+
+
+PRINT Run the MMF AviPlayController OOM tests
+PRINT
+
+LOAD_SUITE TSU_MMF_AVICTRL_01.dll
+
+# wait for ring.wav to finish playing
+
+delay 1000
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0070-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0070-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0071-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0071-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0072-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0072-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/scripts/tsu_mmf_avictrl_record.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,134 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+PRINT Run all the MMF AviRecordController tests
+PRINT
+
+LOAD_SUITE TSU_MMF_AVICTRL_01.dll
+
+# wait for ring.wav to finish playing
+delay 1000
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0021-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0021-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0024-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0024-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0025-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0025-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0026-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0026-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0027-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0027-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0028-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0028-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0029-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0029-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0030-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0030-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0031-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0031-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0032-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0032-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0033-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0033-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0034-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0034-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0022-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0022-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0023-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0023-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+// DEF088332: MVS UI Application does not update the timer during video recording
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0035-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0035-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+
+//Tests for CR0958
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0045-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0045-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0046-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0046-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0047-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0047-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0048-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0048-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0049-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0049-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0050-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0050-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0051-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0051-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0052-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0052-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0053-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0053-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0054-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0054-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0055-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0055-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0056-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0056-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/scripts/tsu_mmf_avictrl_secdisp.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,34 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+LOAD_SUITE TSU_MMF_AVICTRL_01.dll
+
+# wait for ring.wav to finish playing
+
+delay 1000
+
+//CR0779 tests
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0041-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0041-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0043-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0043-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0044-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0044-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/scripts/tsu_mmf_avictrl_secdisp_winscw.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,25 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+LOAD_SUITE TSU_MMF_AVICTRL_01.dll
+
+# wait for ring.wav to finish playing
+
+delay 1000
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0042-HP
+
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0042-HP \tsu_mmf_avictrl_01.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/scripts/tsu_mmf_avictrl_subtitle.ini Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,8 @@
+[SectionPlayer]
+video_only = \mm\mmf\testfiles\avictrl\video_only.avi
+aud_vid = \mm\mmf\testfiles\avictrl\aud_vid.avi
+invalid = \mm\mmf\testfiles\avictrl\invalid.avi
+long_video = \mm\mmf\testfiles\avictrl\longvideoplay.avi
+gce = true
+srt_available = \mm\mmf\testfiles\avictrl\srt_available.avi
+srt_unavailable = \mm\mmf\testfiles\avictrl\video_only.avi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/scripts/tsu_mmf_avictrl_subtitle.script Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,119 @@
+// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// testframework.exe [path]\[this script name]. It requires no exceptional software or network support
+//
+//
+
+//! @file
+//! @SYMTestSuiteName MM-MMF-AVICTRLPLAY-U
+//! @SYMScriptTestEnvironment This test runs using multimedia test framework using the following test list entry:
+
+PRINT Run the MMF AviPlayController surface tests expecting subtitles to be enabled.
+PRINT
+
+LOAD_SUITE TSU_MMF_AVICTRL_01.dll
+
+# wait for ring.wav to finish playing
+
+delay 1000
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0100-HP
+//! @SYMPREQ PREQ1939
+//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
+//! @SYMTestCaseDesc Play video with subtitles enabled
+//! @SYMTestActions Verify subtitles are available and playing with subtitles works. Verify language support is not available.
+//! @SYMTestExpectedResults Subtitles are available. Language APIs are not supported.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0100-HP, \tsu_mmf_avictrl_subtitle.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0101-HP
+//! @SYMPREQ PREQ1939
+//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
+//! @SYMTestCaseDesc Update subtitle configuration before video playback.
+//! @SYMTestActions Enable subtitles and add a config. Update configuration and start playback.
+//! @SYMTestExpectedResults Playback completes with no errors or leaves.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0101-HP, \tsu_mmf_avictrl_subtitle.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0102-HP
+//! @SYMPREQ PREQ1939
+//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
+//! @SYMTestCaseDesc Update subtitle configuration during video playback.
+//! @SYMTestActions Enable subtitles and add a config. Start playback and update configuration after a short delay.
+//! @SYMTestExpectedResults Playback completes with no errors or leaves.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0102-HP, \tsu_mmf_avictrl_subtitle.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0103-HP
+//! @SYMPREQ PREQ1939
+//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
+//! @SYMTestCaseDesc Remove subtitle configuration and add a new configuration.
+//! @SYMTestActions Enable subtitles and add a config. Remove the configuration and add a different configuration. Start video playback.
+//! @SYMTestExpectedResults Playback completes with no errors or leaves.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0103-HP, \tsu_mmf_avictrl_subtitle.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0200-HP
+//! @SYMPREQ PREQ1939
+//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
+//! @SYMTestCaseDesc Subtitles not enabled
+//! @SYMTestActions Call subtitle API methods without enabling subtitles.
+//! @SYMTestExpectedResults Subtitles are available. Other subtitle API methods leave with KErrNotReady.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0200-HP, \tsu_mmf_avictrl_subtitle.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0201-HP
+//! @SYMPREQ PREQ1939
+//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
+//! @SYMTestCaseDesc Subtitles not available.
+//! @SYMTestActions Call subtitle API methods when no subtitle SRT file is available.
+//! @SYMTestExpectedResults Subtitles are not available. Enabling subtitles results in KErrNotFound. Other subtitle API methods leave with KErrNotReady.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0201-HP, \tsu_mmf_avictrl_subtitle.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0202-HP
+//! @SYMPREQ PREQ1939
+//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
+//! @SYMTestCaseDesc Mismatched window ID
+//! @SYMTestActions Get CPR parameters and update/remove configurations using invalid window IDs.
+//! @SYMTestExpectedResults Using an invalid window ID should cause a leave with error code KErrNotFound.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0202-HP, \tsu_mmf_avictrl_subtitle.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0203-HP
+//! @SYMPREQ PREQ1939
+//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
+//! @SYMTestCaseDesc Disable subtitles when not enabled. Enable twice.
+//! @SYMTestActions Disable subtitles before enabling. Enable twice. After playing video disable subtitles twice.
+//! @SYMTestExpectedResults Disabling when not enabled should have no effect. Enabling when already enabled should leave with KErrInUse.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0203-HP, \tsu_mmf_avictrl_subtitle.ini
+TEST_COMPLETE
+
+//! @SYMTestCaseID MM-MMF-AVICTRL-U-0204-HP
+//! @SYMPREQ PREQ1939
+//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
+//! @SYMTestCaseDesc Add multiple subtitle window configurations.
+//! @SYMTestActions Enable and add a window configuration. Add other configurations with the same ID and different IDs.
+//! @SYMTestExpectedResults Adding a window configuration when one has already been added should leave with KErrInUse.
+//! @SYMTestPriority High
+RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0204-HP, \tsu_mmf_avictrl_subtitle.ini
+TEST_COMPLETE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/src/tsu_mmf_avictrl_teststep.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,881 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include "tsu_mmf_avictrl_teststep.h"
+#include "tsu_mmf_avictrl_testsuite.h"
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+const TInt RAsyncTestStepSubtitleBase::KWindowIdValid = 100;
+const TInt RAsyncTestStepSubtitleBase::KWindowIdValidAlt = 200;
+const TInt RAsyncTestStepSubtitleBase::KWindowIdMismatched = 1;
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+RTestStepAviCtrlBase::RTestStepAviCtrlBase(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ {
+ iTestStepName = aTestName;
+ iSectName = aSectName;
+ iKeyName = aKeyName;
+ iControllerUid = aControllerUid;
+ }
+
+/**
+DoTestStepPreambleL is the preamble function for all avictrl test steps.It creates an active scheduler and installs it.
+It also creates CMMFControllerEventMonitor object and starts it to avail the receiving of events from AviControllers
+*/
+ TVerdict RTestStepAviCtrlBase::DoTestStepPreambleL(void)
+ {
+ const TInt KDefaultPriorityValue = 11;
+ iScheduler = new(ELeave)CActiveScheduler;
+ CleanupStack::PushL(iScheduler );
+ CActiveScheduler::Install(iScheduler );
+ CleanupStack::Pop();
+ iPriority.iPriority = KDefaultPriorityValue; // set the priority to some default value
+ iPriority.iPref = EMdaPriorityPreferenceQuality;
+ iControllerEventMonitor = CMMFControllerEventMonitor::NewL(*this, iController);
+ return EPass;
+ }
+
+/**
+DoTestStepPostambleL is the postamble function for all test steps
+It cleans up all the initialization that is done in Preamble
+*/
+TVerdict RTestStepAviCtrlBase::DoTestStepPostambleL(void)
+ {
+ iController.Stop();
+ iController.Reset();
+ iControllerEventMonitor->Cancel();
+ delete iControllerEventMonitor;
+ iControllerEventMonitor = NULL;
+ iController.Close();
+ iFs.Close();
+ return EPass;
+ }
+
+
+void RTestStepAviCtrlBase::SetSuite( CTestSuiteAviCtrl* aPtr )
+ {
+ iSuite = aPtr;
+ }
+
+CTestSuiteAviCtrl* RTestStepAviCtrlBase::GetSuite()
+ {
+ return iSuite;
+ }
+
+RTestStepAviCtrlPlayBase::RTestStepAviCtrlPlayBase(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ :RTestStepAviCtrlBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+
+/**
+Prepares the TMMFFileConfig from filename to pass it to the AddDataSource
+*/
+TBool RTestStepAviCtrlPlayBase::SetupReadFileConfigL()
+ {
+ User::LeaveIfError(iFs.Connect());
+ TPtrC fileName;
+ if(!GetStringFromConfig(iSectName, iKeyName, fileName))
+ {
+ return EFalse;
+ }
+ iFileConfig().iPath = fileName ;
+ return ETrue;
+ }
+
+TMMFFileConfig& RTestStepAviCtrlPlayBase::ReadFileConfig()
+ {
+ return iFileConfig;
+ }
+
+/**
+DoTestStepPreambleL is the preamble function for all play test steps
+Loads aviPlayController,adds DataSource and DataSink which is necessary for all the teststeps.
+*/
+ TVerdict RTestStepAviCtrlPlayBase::DoTestStepPreambleL(void)
+ {
+ RTestStepAviCtrlBase::DoTestStepPreambleL();
+ TInt errorCode = iController.Open(KAviPlayControllerUid, iPriority);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Failed to load the controller %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ iControllerEventMonitor->Start();
+ if(!SetupReadFileConfigL())
+ {
+ return EInconclusive;
+ }
+ errorCode = iController.AddDataSink(KUidMmfAudioOutput,KNullDesC8);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("AddDataSink failed with %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ errorCode = iController.AddDataSource(KUidMmfFileSource, ReadFileConfig());
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("AddDataSource failed with %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ CActiveScheduler::Start();
+ return EPass;
+ }
+
+
+/**
+This is from MMMFControllerEventMonitorObserver. CMMFControllerEventMonitor
+calls the method whenever it receives an event from AviPlayController. Basically
+checks for the Playcompletion event and passes the error back to the test step.
+*/
+void RTestStepAviCtrlPlayBase::HandleEvent(const TMMFEvent& aEvent)
+ {
+ TInt errorCode = 0;
+ if (aEvent.iEventType==KMMFEventCategoryPlaybackComplete)
+ {
+ if(aEvent.iErrorCode == KErrNone)
+ {
+ INFO_PRINTF2(_L("PlayCompletion is passed with %d "), aEvent.iErrorCode);
+ iTestStepResult = EPass;
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("PlayCompletion is failed with %d "), aEvent.iErrorCode);
+ }
+ CActiveScheduler::Stop();
+ }
+ else if (aEvent.iEventType == KMMFEventCategoryVideoOpenComplete)
+ {
+ if((aEvent.iErrorCode == KErrNone) || (aEvent.iErrorCode == KErrEof))
+ {
+ //add code here to set display window and to update display region.
+ RMMFVideoPlayControllerCustomCommands thePlayCommander(iController);
+ errorCode = thePlayCommander.SetDisplayWindow(iScreenRect,iClipRect);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetDisplayWindow failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ errorCode = thePlayCommander.UpdateDisplayRegion(iRegion);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("UpdateDisplayRegion failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ INFO_PRINTF2(_L("Open completion is passed with %d "), aEvent.iErrorCode);
+ errorCode = thePlayCommander.Prepare();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prepare failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("Video open complete is failed with %d "), aEvent.iErrorCode);
+ }
+ }
+ else if (aEvent.iEventType == KMMFEventCategoryVideoPrepareComplete)
+ {
+ if((aEvent.iErrorCode == KErrNone) || (aEvent.iErrorCode == KErrEof))
+ {
+ INFO_PRINTF2(_L("Prepare completion is passed with %d "), aEvent.iErrorCode);
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("PrepareComplete is failed with %d "),aEvent.iErrorCode);
+ }
+ CActiveScheduler::Stop();
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Failed to receive completion Events"));
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ }
+
+ }
+
+RTestStepAviCtrlRecordBase::RTestStepAviCtrlRecordBase(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ :RTestStepAviCtrlBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+Prepares the TMMFFileConfig from filename to pass it to the AddDataSource
+*/
+TBool RTestStepAviCtrlRecordBase::SetupWriteFileConfigL()
+ {
+ User::LeaveIfError(iFs.Connect());
+ TPtrC fileName;
+ if(!GetStringFromConfig(iSectName, iKeyName, fileName))
+ {
+ return EFalse;
+ }
+ TInt ret = iFs.Delete(fileName);
+ if (ret != KErrNone && ret != KErrNotFound)
+ {
+ User::Leave(ret);
+ }
+ iFileConfig().iPath = fileName ;
+ return ETrue;
+ }
+
+TMMFFileConfig& RTestStepAviCtrlRecordBase::WriteFileConfig()
+ {
+ return iFileConfig;
+ }
+
+/**
+DoTestStepPreambleL is the preamble function for all record test steps.
+ Loads AviRecordController,adds DataSource and DataSink which is necessary for all the teststeps.
+*/
+ TVerdict RTestStepAviCtrlRecordBase::DoTestStepPreambleL(void)
+ {
+ RTestStepAviCtrlBase::DoTestStepPreambleL();
+ TInt errorCode = iController.Open(KAviRecordControllerUid, iPriority);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Failed to load the controller %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ iControllerEventMonitor->Start();
+ if(!SetupWriteFileConfigL())
+ {
+ return EInconclusive;
+ }
+ errorCode = iController.AddDataSink(KUidMmfFileSink, WriteFileConfig());
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("AddDataSink failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ errorCode = iController.AddDataSource(KUidMmfAudioInput,KNullDesC8);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("AddDataSource failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ RMMFVideoRecordControllerCustomCommands theVideoCommander(iController);
+ errorCode = theVideoCommander.SetVideoFormat(KAviRecordFormatUid);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetVideoFormat failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ errorCode = theVideoCommander.SetVideoCodec(KAviVideoCodec);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetVideoCodec failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ errorCode = theVideoCommander.SetAudioCodec(KMMFFourCCCodePCM8);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetAudioCodec failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ errorCode = theVideoCommander.SetCameraHandle(0);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetCameraHandle failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ CActiveScheduler::Start();
+ return EPass;
+ }
+
+/**
+This is from MMMFControllerEventMonitorObserver. CMMFControllerEventMonitor
+calls the method whenever it receives an event from AviRecordController. Basically
+checks for the Playcompletion event and passes the error back to the test step
+ */
+void RTestStepAviCtrlRecordBase::HandleEvent(const TMMFEvent& aEvent)
+ {
+ TInt errorCode = KErrNone;
+ const TSize KDefaultFrameSize(176,144);
+ const TReal32 KDefaultFrameRate = 10.00;
+ RMMFVideoRecordControllerCustomCommands theVideoCommander(iController);
+ if (aEvent.iEventType==KMMFEventCategoryPlaybackComplete)
+ {
+ if((aEvent.iErrorCode == KErrNone) || (aEvent.iErrorCode == KErrEof))
+ {
+ iTestStepResult = EPass;
+ INFO_PRINTF2(_L("RecordCompletion is passed with %d "), aEvent.iErrorCode);
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("RecordCompletion is failed with %d "), aEvent.iErrorCode);
+ }
+ CActiveScheduler::Stop();
+ }
+ else if (aEvent.iEventType == KMMFEventCategoryVideoOpenComplete)
+ {
+ if((aEvent.iErrorCode == KErrNone) || (aEvent.iErrorCode == KErrEof))
+ {
+ errorCode = theVideoCommander.Prepare();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prepare failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("Video open complete is failed with %d "), aEvent.iErrorCode);
+ }
+ }
+ else if (aEvent.iEventType==KMMFEventCategoryVideoPrepareComplete)
+ {
+ if((aEvent.iErrorCode == KErrNone) || (aEvent.iErrorCode == KErrEof))
+ {
+ INFO_PRINTF2(_L("Video Record Prepare complete is called with %d "), errorCode);
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("PrepareComplete is failed with %d "),aEvent.iErrorCode);
+ }
+
+ RMMFVideoControllerCustomCommands theCommander(iController);
+ TInt errorCode =theCommander.SetFrameRate(KDefaultFrameRate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetFrameRate() during Stopped State is failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ errorCode =theVideoCommander.SetVideoFrameSize(KDefaultFrameSize);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetFrameSize() during Stopped State is failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ CActiveScheduler::Stop();
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Failed to receive completion Events"));
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ }
+ }
+
+
+
+//
+// RAsyncTestStepAviCtrlBase
+//
+
+RAsyncTestStepAviCtrlBase::RAsyncTestStepAviCtrlBase(const TDesC& aTestName,
+ const TDesC& aSectName,
+ const TDesC& aKeyName,
+ TUid aControllerUid)
+ {
+ iTestStepName = aTestName;
+ iSectName = aSectName;
+ iKeyName = aKeyName;
+ iControllerUid = aControllerUid;
+ iKickoffAOp = NULL;
+ }
+
+/**
+ This method is used at the beginning of the test, and initialises the
+ asynchronous calls that will be activated once the call returns. The
+ ActiveScheduler is active at this point. If this test leaves, then
+ StopTest() will be called with the leave value, so implicitly the test
+ stops.
+
+ KickoffTestL is the preamble function for all avictrl test steps. It creates
+ CMMFControllerEventMonitor object and starts it to avail the receiving of
+ events from AviControllers. Note that CMMFControllerEventMonitor is an
+ EPriorityStandard AO.
+*/
+void RAsyncTestStepAviCtrlBase::KickoffTestL()
+ {
+ // Set up an asynchronous call
+ TCallBack callback (RAsyncTestStepAviCtrlBaseCallBack, this);
+ delete iKickoffAOp;
+ iKickoffAOp = NULL;
+ iKickoffAOp =
+ new (ELeave) CAsyncCallBack (callback, CActive::EPriorityLow);
+ // Queues this active object to be run once.
+ iKickoffAOp->Call();
+ }
+
+TInt RAsyncTestStepAviCtrlBase::RAsyncTestStepAviCtrlBaseCallBack(TAny* aPtr)
+ {
+ RAsyncTestStepAviCtrlBase* self = static_cast<RAsyncTestStepAviCtrlBase*> (aPtr);
+ self->DoRAsyncTestStepAviCtrlBaseCallBack();
+ return KErrNone;
+ }
+
+void RAsyncTestStepAviCtrlBase::DoRAsyncTestStepAviCtrlBaseCallBack()
+ {
+ const TInt KDefaultPriorityValue = 11;
+ iPriority.iPriority = KDefaultPriorityValue; // set the priority to some default value
+ iPriority.iPref = EMdaPriorityPreferenceQuality;
+ TRAPD(errorCode,
+ iControllerEventMonitor =
+ CMMFControllerEventMonitor::NewL(*this, iController));
+ if (KErrNone != errorCode)
+ {
+ StopTest(errorCode, EInconclusive);
+ }
+ }
+
+void RAsyncTestStepAviCtrlBase::CloseTest()
+ {
+ iController.Stop();
+ iController.Reset();
+ iControllerEventMonitor->Cancel();
+ delete iControllerEventMonitor;
+ iControllerEventMonitor = NULL;
+ iController.Close();
+ iFs.Close();
+
+ delete iKickoffAOp; // no need to Cancel
+ iKickoffAOp = NULL;
+ }
+
+
+void RAsyncTestStepAviCtrlBase::SetSuite( CTestSuiteAviCtrl* aPtr )
+ {
+ iSuite = aPtr;
+ }
+
+CTestSuiteAviCtrl* RAsyncTestStepAviCtrlBase::GetSuite()
+ {
+ return iSuite;
+ }
+
+
+//
+// RAsyncTestStepAviCtrlPlayBase
+//
+
+RAsyncTestStepAviCtrlPlayBase::RAsyncTestStepAviCtrlPlayBase(
+ const TDesC& aTestName,
+ const TDesC& aSectName,
+ const TDesC& aKeyName,
+ TUid aControllerUid)
+ :
+ RAsyncTestStepAviCtrlBase(aTestName, aSectName, aKeyName, aControllerUid),
+ iScreenRect(),
+ iClipRect(),
+ iRegion(),
+ iKickoffAOp(NULL)
+ {
+ }
+
+void RAsyncTestStepAviCtrlPlayBase::CloseTest()
+ {
+ delete iKickoffAOp; // no need to Cancel
+ iKickoffAOp = NULL;
+ RAsyncTestStepAviCtrlBase::CloseTest();
+ }
+
+
+/**
+ Prepares the TMMFFileConfig from filename to pass it to the AddDataSource
+*/
+TBool RAsyncTestStepAviCtrlPlayBase::SetupReadFileConfigL()
+ {
+ User::LeaveIfError(iFs.Connect());
+ TPtrC fileName;
+ if(!GetStringFromConfig(iSectName, iKeyName, fileName))
+ {
+ return EFalse;
+ }
+ iFileConfig().iPath = fileName ;
+
+ if (!GetBoolFromConfig(iSectName, _L("gce"), iGceEnabled))
+ {
+ iGceEnabled = EFalse;
+ }
+
+ return ETrue;
+ }
+
+TMMFFileConfig& RAsyncTestStepAviCtrlPlayBase::ReadFileConfig()
+ {
+ return iFileConfig;
+ }
+
+/**
+ KickoffTestL function for all play test opens the aviplaycontroller and adds
+ DataSource and DataSink which are necessary for all the teststeps.
+*/
+void RAsyncTestStepAviCtrlPlayBase::KickoffTestL()
+ {
+ RAsyncTestStepAviCtrlBase::KickoffTestL();
+
+ // Set up an asynchronous call
+ TCallBack callback (RAsyncTestStepAviCtrlPlayBaseCallBack, this);
+ delete iKickoffAOp;
+ iKickoffAOp = NULL;
+ iKickoffAOp =
+ new (ELeave) CAsyncCallBack (callback, CActive::EPriorityLow);
+ // Queues this active object to be run once.
+ iKickoffAOp->Call();
+ }
+
+TInt RAsyncTestStepAviCtrlPlayBase::RAsyncTestStepAviCtrlPlayBaseCallBack(TAny* aPtr)
+ {
+ RAsyncTestStepAviCtrlPlayBase* self =
+ static_cast<RAsyncTestStepAviCtrlPlayBase*> (aPtr);
+ self->DoRAsyncTestStepAviCtrlPlayBaseCallBack();
+ return KErrNone;
+ }
+
+void RAsyncTestStepAviCtrlPlayBase::DoRAsyncTestStepAviCtrlPlayBaseCallBack()
+ {
+ TInt errorCode = iController.Open(KAviPlayControllerUid, iPriority);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Failed to load the controller %d "), errorCode);
+ StopTest(errorCode, EInconclusive);
+ return;
+ }
+ iControllerEventMonitor->Start();
+
+ TBool configFileOk = EFalse;
+ TRAPD(setupReadFileConfigErr,
+ configFileOk = SetupReadFileConfigL());
+
+ if((KErrNone != setupReadFileConfigErr) || (configFileOk == EFalse))
+ {
+ StopTest(KErrGeneral, EInconclusive);
+ return;
+ }
+ errorCode = iController.AddDataSink(KUidMmfAudioOutput,KNullDesC8);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("AddDataSink failed with %d "), errorCode);
+ StopTest(errorCode, EInconclusive);
+ return;
+ }
+ errorCode = iController.AddDataSource(KUidMmfFileSource, ReadFileConfig());
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("AddDataSource failed with %d "), errorCode);
+ StopTest(errorCode, EInconclusive);
+ }
+ }
+
+
+/**
+ This is from MMMFControllerEventMonitorObserver. CMMFControllerEventMonitor
+ calls the method whenever it receives an event
+ fromAviPlayController. Basically checks for the Playcompletion event and
+ passes the error back to the test step. This method may be reimplemented by
+ subclasses in case its behaviour needs to be customized.
+*/
+void RAsyncTestStepAviCtrlPlayBase::HandleEvent(const TMMFEvent& aEvent)
+ {
+ TInt errorCode = 0;
+ if (aEvent.iEventType==KMMFEventCategoryPlaybackComplete)
+ {
+ if(aEvent.iErrorCode == KErrNone)
+ {
+ INFO_PRINTF2(_L("PlayCompletion is passed with %d "),
+ aEvent.iErrorCode);
+ iTestStepResult = EPass;
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("PlayCompletion is failed with %d "),
+ aEvent.iErrorCode);
+ }
+ }
+ else if (aEvent.iEventType == KMMFEventCategoryVideoOpenComplete)
+ {
+ if((aEvent.iErrorCode == KErrNone) || (aEvent.iErrorCode == KErrEof))
+ {
+ //add code here to set display window and to update display region.
+ RMMFVideoPlayControllerCustomCommands thePlayCommander(iController);
+ errorCode = thePlayCommander.SetDisplayWindow(iScreenRect,iClipRect);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetDisplayWindow failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ errorCode = thePlayCommander.UpdateDisplayRegion(iRegion);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("UpdateDisplayRegion failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ INFO_PRINTF2(_L("Open completion is passed with %d "), aEvent.iErrorCode);
+ errorCode = thePlayCommander.Prepare();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prepare failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ }
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("Video open complete is failed with %d "), aEvent.iErrorCode);
+ }
+ }
+ else if (aEvent.iEventType == KMMFEventCategoryVideoPrepareComplete)
+ {
+ if((aEvent.iErrorCode == KErrNone) || (aEvent.iErrorCode == KErrEof))
+ {
+ INFO_PRINTF2(_L("Prepare completion is passed with %d "), aEvent.iErrorCode);
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("PrepareComplete is failed with %d "),aEvent.iErrorCode);
+ }
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Failed to receive completion Events"));
+ iTestStepResult = EFail;
+ }
+
+ // Stop the test here for convenience in case of failure. Subclasses classes
+ // may need to change this behaviour by overwritting this method.
+ if (iTestStepResult == EFail)
+ {
+ StopTest(KErrGeneral, EFail);
+ return;
+ }
+ }
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+RAsyncTestStepSubtitleBase::RAsyncTestStepSubtitleBase(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+: RAsyncTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid),
+ iSurfaceCommands(iController),
+ iSubtitleCommands(iController)
+ {
+ }
+
+void RAsyncTestStepSubtitleBase::KickoffTestL()
+ {
+ // Reset the CRP ready event counter and kick off the test.
+ iCrpReadyEventCount = 0;
+ RAsyncTestStepAviCtrlPlayBase::KickoffTestL();
+ }
+
+void RAsyncTestStepSubtitleBase::HandleEvent(const TMMFEvent& aEvent)
+ {
+ if (KMMFEventCategoryVideoOpenComplete == aEvent.iEventType)
+ {
+ if (aEvent.iErrorCode != KErrNone)
+ {
+ ERR_PRINTF2(_L("Video open complete has failed with %d "), aEvent.iErrorCode);
+ StopTest(aEvent.iErrorCode, EFail);
+ }
+ else
+ {
+ TInt err = iSurfaceCommands.UseSurfaces();
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("UseSurfaces() failed with %d."), err);
+ StopTest(err, EInconclusive);
+ return;
+ }
+
+ TRAP(err, OnOpenCompleteL());
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("Test failed with error %d in open complete event handler"), err);
+ StopTest(err, EFail);
+ }
+ }
+ }
+ else if (KMMFEventCategoryPlaybackComplete == aEvent.iEventType)
+ {
+ if (aEvent.iErrorCode != KErrNone)
+ {
+ ERR_PRINTF2(_L("Playback completed with error &d."), aEvent.iErrorCode);
+ StopTest(aEvent.iErrorCode, EFail);
+ }
+ else
+ {
+ TRAPD(err, OnPlayCompleteL());
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("Test failed with error %d in play complete event handler"), err);
+ StopTest(err, EFail);
+ }
+
+ if (iExpectedCrpReadyCount != iCrpReadyEventCount)
+ {
+ ERR_PRINTF3(_L("Received %d CRP ready event notifications, but expecting %d."), iCrpReadyEventCount, iExpectedCrpReadyCount);
+ StopTest(KErrGeneral, EFail);
+ }
+
+ StopTest();
+ }
+ }
+ else if (KMMFEventCategoryVideoSubtitleCrpReady == aEvent.iEventType)
+ {
+ iCrpReadyEventCount++;
+
+ TWsGraphicId id(TWsGraphicId::EUninitialized);
+ TRect rect;
+ TInt err = iSubtitleCommands.GetCrpParameters(aEvent.iErrorCode, id, rect);
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF3(_L("GetCrpParameters returned %d in CRP ready event handler; expected %d"), err, KErrNone);
+ StopTest(err, EFail);
+ }
+
+ if (rect.IsEmpty())
+ {
+ ERR_PRINTF1(_L("GetCrpParameters returned an empty rectangle"));
+ StopTest(KErrGeneral, EFail);
+ }
+
+ if (!id.IsId())
+ {
+ ERR_PRINTF1(_L("GetCrpParameters returned an invalid id; IsId() is EFalse"));
+ StopTest(KErrGeneral, EFail);
+ }
+
+ if (id.IsUid())
+ {
+ ERR_PRINTF1(_L("GetCrpParameters returned an invalid id; IsUid() is ETrue"));
+ StopTest(KErrGeneral, EFail);
+ }
+
+ if (id.Id() == 0)
+ {
+ ERR_PRINTF1(_L("GetCrpParameters returned an invalid id; Id() is 0"));
+ StopTest(KErrGeneral, EFail);
+ }
+ }
+ else if (KMMFEventCategoryVideoSurfaceCreated == aEvent.iEventType)
+ {
+ // Ignore these events
+ }
+ else
+ {
+ ERR_PRINTF3(_L("Unexpected Event from the Controller: type %d error: %d"), aEvent.iEventType, aEvent.iErrorCode);
+ StopTest(KErrGeneral, EFail);
+ }
+ }
+
+void RAsyncTestStepSubtitleBase::SetExpectedCrpReadyCount(TInt aCount)
+ {
+ iExpectedCrpReadyCount = aCount;
+ }
+
+void RAsyncTestStepSubtitleBase::CheckAndEnableSubtitlesL()
+ {
+ TBool available = EFalse;
+
+ TInt err = iSubtitleCommands.GetSubtitlesAvailable(available);
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("GetSubtitlesAvailable failed with %d"), err);
+ User::Leave(err);
+ }
+
+ if (!available)
+ {
+ ERR_PRINTF1(_L("Subtitles unavailable"));
+ User::Leave(KErrGeneral);
+ }
+
+ err = iSubtitleCommands.EnableSubtitles();
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EnableSubtitles failed with %d"), err);
+ User::Leave(err);
+ }
+ }
+
+void RAsyncTestStepSubtitleBase::AddDefaultSubtitleConfL()
+ {
+ TMMFSubtitleWindowConfig config;
+ config.iWindowId = KWindowIdValid;
+ config.iDisplayMode = EColor16MA;
+ config.iRotation = EVideoRotationNone;
+ config.iWindowClipRect = KWindowClipRectFull;
+ TInt err = iSubtitleCommands.AddSubtitleConfig(config);
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddSubtitleConfig failed with %d"), err);
+ User::Leave(err);
+ }
+ }
+
+void RAsyncTestStepSubtitleBase::StartPlaybackL()
+ {
+ TInt err = iController.Prime();
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("Prepare failed with %d."), err);
+ User::Leave(err);
+ }
+
+ err = iController.Play();
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("Could not start playback. Play() failed with %d."), err);
+ User::Leave(err);
+ }
+ }
+
+void RAsyncTestStepSubtitleBase::RemoveConfigDisableL()
+ {
+ TInt err = iSubtitleCommands.RemoveSubtitleConfig(KWindowIdValid);
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("RemoveSubtitleConfig failed with %d"), err);
+ User::Leave(err);
+ }
+
+ err = iSubtitleCommands.DisableSubtitles();
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("DisableSubtitles failed with %d"), err);
+ User::Leave(err);
+ }
+ }
+
+void RAsyncTestStepSubtitleBase::OnOpenCompleteL()
+ {
+ }
+
+void RAsyncTestStepSubtitleBase::OnPlayCompleteL()
+ {
+ }
+
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/src/tsu_mmf_avictrl_testsuite.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,256 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include <e32base.h>
+#include <testframework.h>
+#include "tsu_mmf_avictrl_testsuite.h"
+#include "tsu_mmf_avictrl_teststep.h"
+#include "tsu_mmf_avictrlplay.h"
+#include "tsu_mmf_avictrlrecord.h"
+#include "tsu_mmf_avictrltestids.h"
+
+_LIT(KTextVersion,"0.1");
+_LIT(KTestCameraPluginName, "C:\\102070cc.txt");
+_LIT(KMMCameraPluginName, "C:\\mmcameraclientplugin.txt");
+
+#ifndef EKA2
+/**
+Required for all DLLs but not used
+*/
+GLDEF_C TInt E32Dll(enum TDllReason)
+ {
+ return 0;
+ }
+#endif
+
+/**
+NewTestSuite is exported at ordinal 1this provides the interface to allow schedule test to create instances of this test suite.
+@return CTestSuiteAviCtrl*
+*/
+EXPORT_C CTestSuiteAviCtrl* NewTestSuiteAviCtrlL()
+ {
+ CTestSuiteAviCtrl* self = new (ELeave) CTestSuiteAviCtrl;
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop();
+ return self;
+ }
+/**
+Destructor
+*/
+CTestSuiteAviCtrl::~CTestSuiteAviCtrl()
+ {
+ RemoveDependencyFile();
+ }
+
+/**
+Make a version string available for test system
+@return the version.
+*/
+TPtrC CTestSuiteAviCtrl::GetVersion()
+ {
+ return KTextVersion();
+ }
+
+/**
+Add a test step into the suite
+@param aPtrTestStep
+*/
+void CTestSuiteAviCtrl::AddTestStepL(RTestStepAviCtrlBase* aPtrTestStep)
+ {
+ ASSERT(aPtrTestStep);
+ aPtrTestStep->SetSuite(this);
+ CTestSuite::AddTestStepL(aPtrTestStep);
+ }
+
+/**
+Add a RAsyncTestStep based test step into the suite
+@param aPtrTestStep
+*/
+void CTestSuiteAviCtrl::AddTestStepL(RAsyncTestStepAviCtrlBase* aPtrTestStep)
+ {
+ ASSERT(aPtrTestStep);
+ aPtrTestStep->SetSuite(this);
+ CTestSuite::AddTestStepL(aPtrTestStep);
+ }
+
+/**
+ Constructor for test suite this creates all the test steps and stores them inside CTestSuiteAviCtrl
+ */
+void CTestSuiteAviCtrl::InitialiseL( void )
+ {
+ InitSystemPath();
+ // Create the dependancy files.
+ CreateDependencyFileL();
+ iSuiteName = _L("tsu_mmf_avictrl");
+ //Steps to test PlayController
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlPlay(_L("MM-MMF-AVICTRL-U-0001-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlVolume(_L("MM-MMF-AVICTRL-U-0002-HP"), _L("SectionPlayer"), _L("aud_vid"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlPlayBalance(_L("MM-MMF-AVICTRL-U-0003-HP"), _L("SectionPlayer"), _L("aud_vid"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlDuration(_L("MM-MMF-AVICTRL-U-0004-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlPause(_L("MM-MMF-AVICTRL-U-0005-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlStop(_L("MM-MMF-AVICTRL-U-0006-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlSetGetCropRegion(_L("MM-MMF-AVICTRL-U-0007-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlSetGetFrameRate(_L("MM-MMF-AVICTRL-U-0008-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlGetFrameSize(_L("MM-MMF-AVICTRL-U-0009-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlGetAudioDataType(_L("MM-MMF-AVICTRL-U-0010-HP"), _L("SectionPlayer"), _L("aud_vid"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlGetVideoDataType(_L("MM-MMF-AVICTRL-U-0011-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlMetaData(_L("MM-MMF-AVICTRL-U-0012-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlSetGetRotation(_L("MM-MMF-AVICTRL-U-0013-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlSetGetScaling(_L("MM-MMF-AVICTRL-U-0014-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlSetPosition(_L("MM-MMF-AVICTRL-U-0015-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlGetVideoBitrate(_L("MM-MMF-AVICTRL-U-0016-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlGetAudioBitrate(_L("MM-MMF-AVICTRL-U-0017-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviCtrlPlayInvalid(_L("MM-MMF-AVICTRL-U-0018-HP"), _L("SectionPlayer"), _L("invalid"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviCtrlNotAudioEnabled(_L("MM-MMF-AVICTRL-U-0019-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviCtrlDirectScreenAccess(_L("MM-MMF-AVICTRL-U-0020-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ // TODO: MM-MMF-AVICTRL-U-0021-HP identifier is duplicated, should be fixed
+ AddTestStepL( new(ELeave) RTestStepAviCtrlSetPlayWindow(_L("MM-MMF-AVICTRL-U-0021-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ // NOTE: More PlayController test steps follow at the bottom...
+
+
+ //Steps to test RecordController
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlRecord(_L("MM-MMF-AVICTRL-U-0021-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlGain(_L("MM-MMF-AVICTRL-U-0022-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlRecordBalance(_L("MM-MMF-AVICTRL-U-0023-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlSetMaxFileSize(_L("MM-MMF-AVICTRL-U-0024-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlRecordTimeAvailable(_L("MM-MMF-AVICTRL-U-0025-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlSetGetFrameRate(_L("MM-MMF-AVICTRL-U-0026-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecirdCtrlSetGetFrameSize(_L("MM-MMF-AVICTRL-U-0027-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlGetSetAudioDataType(_L("MM-MMF-AVICTRL-U-0028-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlGetSetVideoDataType(_L("MM-MMF-AVICTRL-U-0029-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlGetSetMetaData(_L("MM-MMF-AVICTRL-U-0030-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlDuration(_L("MM-MMF-AVICTRL-U-0031-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordNotAudioEnabled(_L("MM-MMF-AVICTRL-U-0032-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlPosition(_L("MM-MMF-AVICTRL-U-0033-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlPause(_L("MM-MMF-AVICTRL-U-0034-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlDurationNewClip(_L("MM-MMF-AVICTRL-U-0035-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ // CR0958
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlSetGetPixelAspectRatio(_L("MM-MMF-AVICTRL-U-0045-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlGetSupportedPixelAspectRatios(_L("MM-MMF-AVICTRL-U-0046-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlSetGetAudioSampleRate(_L("MM-MMF-AVICTRL-U-0047-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlGetSupportedAudioSampleRate(_L("MM-MMF-AVICTRL-U-0048-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlSetGetAudioChannels(_L("MM-MMF-AVICTRL-U-0049-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlGetSupportedAudioChannels(_L("MM-MMF-AVICTRL-U-0050-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+
+ // Steps to test RecordController: Negative Testing
+ // CR958
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlSetInvalidPixelAspectRatio(_L("MM-MMF-AVICTRL-U-0051-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlSetInvalidAudioSampleRate(_L("MM-MMF-AVICTRL-U-0052-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlSetInvalidAudioChannels(_L("MM-MMF-AVICTRL-U-0053-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlInvalidStateSetPixelAspectRatio(_L("MM-MMF-AVICTRL-U-0054-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlInvalidStateSetAudioSampleRate(_L("MM-MMF-AVICTRL-U-0055-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+ AddTestStepL( new(ELeave) RTestStepAviRecordCtrlInvalidStateSetAudioChannels(_L("MM-MMF-AVICTRL-U-0056-HP"), _L("SectionRecorder"), _L("record"), KAviRecordControllerUid));
+
+ //Steps to test setting Screen device on AviPlayController - CR0779
+ //Play on primary screen
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlSetScrnPlay(_L("MM-MMF-AVICTRL-U-0041-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid, KPrimaryScreenNo));
+ //Play on secondary screen
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlSetScrnPlay(_L("MM-MMF-AVICTRL-U-0042-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid, KSecondaryScreenNo));
+ //try setting an invalid screen id
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlSetInvalidScrn(_L("MM-MMF-AVICTRL-U-0043-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid, KInvalidScreenNo));
+ //Add data sink twice
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlAddDataSinkTwice(_L("MM-MMF-AVICTRL-U-0044-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid, KInvalidScreenNo));
+
+ // More PlayController test steps here...
+ AddTestStepL( new(ELeave) RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap(_L("MM-MMF-AVICTRL-U-0057-HP"), _L("SectionPlayer"), _L("long_video"), KAviPlayControllerUid));
+ // INC112128 : To test if AVI Files with Video Property Header are played correctly
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlPlay(_L("MM-MMF-AVICTRL-U-0058-HP"), _L("SectionPlayer"), _L("videoprophdr"), KAviPlayControllerUid));
+
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlMemAlloc1(_L("MM-MMF-AVICTRL-U-0070-HP"), _L("SectionPlayer"), _L("aud_vid"), KUidCustomTestAviPlayPlugin));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlMemAlloc2(_L("MM-MMF-AVICTRL-U-0071-HP"), _L("SectionPlayer"), _L("aud_vid"), KUidCustomTestAviPlayPlugin));
+ AddTestStepL( new(ELeave) RTestStepAviPlayCtrlMemAlloc3(_L("MM-MMF-AVICTRL-U-0072-HP"), _L("SectionPlayer"), _L("aud_vid"), KUidCustomTestAviPlayPlugin));
+
+#ifdef SYMBIAN_BUILD_GCE
+ // PlayController test steps for surface support here:
+ AddTestStepL(new (ELeave) RTestStepAviPlayCtrlSurfaceSupport(_L("MM-MMF-AVICTRL-U-0059-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL(new (ELeave) RTestStepAviPlayCtrlGetSurfaceParametersNoUS(_L("MM-MMF-AVICTRL-U-0064-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL(new (ELeave) RTestStepAviPlayCtrlSurfaceRemovedNoUS(_L("MM-MMF-AVICTRL-U-0073-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL(new (ELeave) RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId(_L("MM-MMF-AVICTRL-U-0074-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+ AddTestStepL(new (ELeave) RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId(_L("MM-MMF-AVICTRL-U-0075-HP"), _L("SectionPlayer"), _L("video_only"), KAviPlayControllerUid));
+#endif // SYMBIAN_BUILD_GCE
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+ // AVI play controller test steps for subtitle support.
+ AddTestStepL(new (ELeave) RAsyncTestSubtitlePlay(_L("MM-MMF-AVICTRL-U-0100-HP"), _L("SectionPlayer"), _L("srt_available"), KAviPlayControllerUid));
+ AddTestStepL(new (ELeave) RAsyncTestSubtitleUpdateConfig(_L("MM-MMF-AVICTRL-U-0101-HP"), _L("SectionPlayer"), _L("srt_available"), KAviPlayControllerUid));
+ AddTestStepL(new (ELeave) RAsyncTestSubtitleUpdateDuring(_L("MM-MMF-AVICTRL-U-0102-HP"), _L("SectionPlayer"), _L("srt_available"), KAviPlayControllerUid));
+ AddTestStepL(new (ELeave) RAsyncTestSubtitleRemoveAdd(_L("MM-MMF-AVICTRL-U-0103-HP"), _L("SectionPlayer"), _L("srt_available"), KAviPlayControllerUid));
+ AddTestStepL(new (ELeave) RAsyncTestSubtitleNotEnabled(_L("MM-MMF-AVICTRL-U-0200-HP"), _L("SectionPlayer"), _L("srt_available"), KAviPlayControllerUid));
+ AddTestStepL(new (ELeave) RAsyncTestSubtitleNotAvailable(_L("MM-MMF-AVICTRL-U-0201-HP"), _L("SectionPlayer"), _L("srt_unavailable"), KAviPlayControllerUid));
+ AddTestStepL(new (ELeave) RAsyncTestSubtitleMismatchedId(_L("MM-MMF-AVICTRL-U-0202-HP"), _L("SectionPlayer"), _L("srt_available"), KAviPlayControllerUid));
+ AddTestStepL(new (ELeave) RAsyncTestSubtitleDoubleCall(_L("MM-MMF-AVICTRL-U-0203-HP"), _L("SectionPlayer"), _L("srt_available"), KAviPlayControllerUid));
+ AddTestStepL(new (ELeave) RAsyncTestSubtitleMultipleConfigs(_L("MM-MMF-AVICTRL-U-0204-HP"), _L("SectionPlayer"), _L("srt_available"), KAviPlayControllerUid));
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+ }
+
+/**
+Initialises the system path.
+*/
+void CTestSuiteAviCtrl::InitSystemPath()
+ {
+ _LIT(KTestSourcePathOnC,"c:\\mm\\mmf\\testfiles\\avictrl\\");
+ RFs fs;
+ TUint att;
+ TInt ret = fs.Connect();
+ __ASSERT_ALWAYS(ret == KErrNone,User::Panic(_L("Sys path not setup"),ret));
+ if (fs.Att(KTestSourcePathOnC, att) == KErrNone)
+ {
+ iDefaultPath = KTestSourcePathOnC;
+ }
+ else
+ {
+ User::Panic(_L("Test files not found"),KErrNotFound);
+ }
+ fs.Close();
+ }
+
+const TDesC& CTestSuiteAviCtrl::DefaultPath() const
+ {
+ return iDefaultPath;
+ }
+
+
+/**
+ * Creates the dependency file for test camera
+ */
+void CTestSuiteAviCtrl::CreateDependencyFileL()
+ {
+ // enforce dependency
+ // create the file the plugin depends on.
+ User::LeaveIfError(ifsSession.Connect());
+
+ ifsSession.Delete(KMMCameraPluginName);
+
+ RFile file;
+ TInt err = file.Replace(ifsSession, KTestCameraPluginName, EFileShareAny);
+ file.Close();
+ if(err != KErrNone)
+ {
+ User::LeaveIfError(KErrNotSupported);
+ }
+ }
+
+/**
+ * Removes the dependency file for test camera
+ */
+void CTestSuiteAviCtrl::RemoveDependencyFile()
+ {
+ ifsSession.Delete(KTestCameraPluginName);
+ ifsSession.Close();
+ }
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/src/tsu_mmf_avictrlplay.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,3662 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include <hal.h>
+#include <hal_data.h>
+
+// Specific includes for this test code
+#include <mmf/common/mmfstandardcustomcommands.h>
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include <mmf/common/mmfstandardcustomcommandsenums.h>
+#include <mmf/common/mmfstandardcustomcommandsimpl.h>
+#endif
+#include "tsu_mmf_avictrl_teststep.h"
+#include "tsu_mmf_avictrl_testsuite.h"
+#include "tsu_mmf_avictrlplay.h"
+#include "tsu_mmf_avictrltestids.h"
+#define KExtraIterations 5
+
+const TUint RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::KMaxFreeRamForTest;
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlPlay::RTestStepAviPlayCtrlPlay(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This test Primes the AviPlayController and Plays an avi file to its completion
+and checks for the proper play completion
+*/
+TVerdict RTestStepAviPlayCtrlPlay::DoTestStepL()
+ {
+ INFO_PRINTF1(_L("this step plays an avi file "));
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EFail;
+ }
+ CActiveScheduler::Start();
+ return iTestStepResult;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlVolume::RTestStepAviPlayCtrlVolume(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step.This tests setting the volume on AviPlayController in Stopped, Primed and Playing
+states and checks if the volume set is same as the volume got.
+*/
+TVerdict RTestStepAviPlayCtrlVolume::DoTestStepL( void )
+ {
+ TInt errorCode = 0;
+ RMMFVideoPlayControllerCustomCommands thePlayCommander(iController);
+ TBool enabled = EFalse;
+ thePlayCommander.GetAudioEnabled(enabled);
+ if(!enabled)
+ {
+ INFO_PRINTF2(_L("GetAudioEnabled() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ INFO_PRINTF1(_L("this step tests SetVolume/GetVolume() APIs of AviPlayController"));
+ RMMFAudioPlayDeviceCustomCommands theAudioDevice(iController);
+ TInt maxVolume(0);
+ errorCode =theAudioDevice.GetMaxVolume(maxVolume);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetMaxVolume() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ TInt theVolume = maxVolume /2;
+ TTimeIntervalMicroSeconds ramp(100);
+ //try setting volume in Stopped State
+ errorCode =theAudioDevice.SetVolume(theVolume);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetVolume() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ TInt theNewVolume (0);
+ errorCode =theAudioDevice.GetVolume(theNewVolume);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetVolume() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( theNewVolume != theVolume )
+ {
+ INFO_PRINTF1(_L("Set and Get Volumes are different during Stopped State"));
+ return EFail;
+ }
+ errorCode =theAudioDevice.SetVolumeRamp(ramp);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetVolumeRamp() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ //try setting volume in Primed State
+ errorCode =theAudioDevice.SetVolume(theVolume);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetVolume() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetVolume(theNewVolume);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetVolume() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( theNewVolume != theVolume )
+ {
+ INFO_PRINTF1(_L("Set and Get Volumes are different during Primed State"));
+ return EFail;
+ }
+ errorCode =theAudioDevice.SetVolumeRamp(ramp);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetVolumeRamp() during primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ //try setting volume in Playing State
+ errorCode =theAudioDevice.SetVolume(theVolume);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetVolume() during Playing State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetVolume(theNewVolume);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetVolume() during Playing State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ if(theNewVolume != theVolume)
+ {
+ //stop the controller
+ INFO_PRINTF1(_L("Set and Get Volumes are different during Playing State"));
+ iController.Stop();
+ return EFail;
+ }
+ errorCode =theAudioDevice.SetVolumeRamp(ramp);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetVolumeRamp() during play State is failed with %d "), errorCode);
+ return EFail;
+ }
+ //get the play completion event
+ CActiveScheduler::Start();
+ return iTestStepResult;
+ }
+
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlPlayBalance::RTestStepAviPlayCtrlPlayBalance(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step.This tests setting the PlayBalance on AviPlayController in Stopped, Primed and Playing
+states and checks if the PlayBalance set is same as the PlayBalance got.
+*/
+TVerdict RTestStepAviPlayCtrlPlayBalance::DoTestStepL( void )
+ {
+ TInt errorCode=0;
+ INFO_PRINTF1(_L("this checks if audio is enabled on the sample.avi file"));
+ RMMFVideoPlayControllerCustomCommands thePlayCommander(iController);
+ TBool enabled = EFalse;
+ thePlayCommander.GetAudioEnabled(enabled);
+ if(!enabled)
+ {
+ INFO_PRINTF2(_L("GetAudioEnabled() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ INFO_PRINTF1(_L("this step tests SetBalance/GetBalance() APIs of AviPlayController "));
+ RMMFAudioPlayDeviceCustomCommands theAudioDevice( iController );
+ TInt theBalance = (30 * (KMMFBalanceMaxRight-KMMFBalanceMaxLeft))/100 + KMMFBalanceMaxLeft;
+ errorCode = theAudioDevice.SetBalance(theBalance);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetBalance() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ TInt theNewBalance (0);
+ errorCode =theAudioDevice.GetBalance(theNewBalance);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetBalance() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( theNewBalance != theBalance )
+ {
+ INFO_PRINTF1(_L("Set and Get Balances are different during Stopped State"));
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = theAudioDevice.SetBalance( theBalance );
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetBalance() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetBalance( theNewBalance );
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetBalance() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( theNewBalance != theBalance )
+ {
+ INFO_PRINTF1(_L("Set and Get Balances are different during Primed State"));
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =theAudioDevice.SetBalance(theBalance);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetBalance() during Playing State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetBalance(theNewBalance);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetBalance() during Playing State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ if(theNewBalance != theBalance)
+ {
+ //stop the controller
+ INFO_PRINTF1(_L("Set and Get Balances are different during Playing State"));
+ iController.Stop();
+ return EFail;
+ }
+ //get the play completion event
+ CActiveScheduler::Start();
+ return iTestStepResult;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlDuration::RTestStepAviPlayCtrlDuration(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+ Do the test step.This tests checks for the duration of the file in Stopped, Primed and Playing states.
+*/
+TVerdict RTestStepAviPlayCtrlDuration::DoTestStepL(void)
+ {
+ const TTimeIntervalMicroSeconds KExpectedDuration = 6300000;
+ INFO_PRINTF1(_L("this step checks for duration of the file"));
+ TTimeIntervalMicroSeconds expectedDuration(KExpectedDuration);
+ TTimeIntervalMicroSeconds currentDuration;
+ TInt errorCode = iController.GetDuration(currentDuration);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("DurationL() is failed with %d "), errorCode);
+ return EFail;
+ }
+ else if(currentDuration != expectedDuration)
+ {
+ INFO_PRINTF2(_L("GetDuration() returned the wrong duration %d "), currentDuration. Int64());
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.GetDuration(currentDuration);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("DurationL() is failed with %d "), errorCode);
+ return EFail;
+ }
+ else if(currentDuration != expectedDuration)
+ {
+ INFO_PRINTF2(_L("GetDuration() returned the wrong duration %d "), currentDuration. Int64());
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.GetDuration(currentDuration);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("DurationL() is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ else if(currentDuration != expectedDuration)
+ {
+ INFO_PRINTF2(_L("GetDuration() returned the wrong duration %d "), currentDuration. Int64());
+ iController.Stop();
+ return EFail;
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlPause::RTestStepAviPlayCtrlPause(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+Do the test step. This tests the Pause functionality of the AviPlayController in Stopped, Primed and Playing
+states and checks if it returns KErrNot Supported.
+*/
+TVerdict RTestStepAviPlayCtrlPause::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests Pause() API of AviPlayController "));
+ TInt errorCode = iController.Pause();
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("Pause() during Stopped State is failed to return KErrNotSupported but returned %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Pause();
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("Pause() during Primed State is failed to return KErrNotSupported but returned %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Pause();
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("Pause() during Playing State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode != KErrNotReady)
+ {
+ INFO_PRINTF2(_L("Play() after Pause() is failed with %d "), errorCode);
+ return EFail;
+ }
+ //get the play completion event
+ CActiveScheduler::Start();
+ return iTestStepResult;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlStop::RTestStepAviPlayCtrlStop(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+Do the test step. This tests the Stop functionality of the AviPlayController in Stopped, Primed and Playing
+states It expects KErrNotReady error if Stop is called during Stopped state.
+*/
+TVerdict RTestStepAviPlayCtrlStop::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests Stop() API of AviPlayController "));
+ TInt errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ User::After(2000000);
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() during Playing State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() after Stop() is failed with %d "), errorCode);
+ iController.Stop();
+ return EInconclusive;
+ }
+ //get the play completion event
+ CActiveScheduler::Start();
+ return iTestStepResult;
+ }
+
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlSetGetCropRegion::RTestStepAviPlayCtrlSetGetCropRegion(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+Do the test step.This test tries to set and get the crop region for the file.
+*/
+ TVerdict RTestStepAviPlayCtrlSetGetCropRegion::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests GetCropRegion() APIs of AviPlayController"));
+ TRect cropRegion(1,3,5,7);
+ TRect newCropRegion(1,3,5,7);
+ RMMFVideoPlayControllerCustomCommands thePlayCommander(iController);
+ TInt errorCode =thePlayCommander.SetCropRegion(cropRegion);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetCropRegion() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =thePlayCommander.GetCropRegion(newCropRegion);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetCropRegion() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =thePlayCommander.SetCropRegion(cropRegion);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetCropRegion() during primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =thePlayCommander.GetCropRegion(newCropRegion);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetCropRegion() during primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =thePlayCommander.SetCropRegion(cropRegion);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetCropRegion() during play State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ errorCode =thePlayCommander.GetCropRegion(newCropRegion);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetCropRegion() during play State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ CActiveScheduler::Start();
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlSetGetFrameRate::RTestStepAviPlayCtrlSetGetFrameRate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+Do the test step.This test tries to set and get the framerate for the file
+*/
+TVerdict RTestStepAviPlayCtrlSetGetFrameRate::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests SetFrameRate/GetFrameRate() APIs of AviPlayController"));
+ TInt KFrameRate = 10;
+ TReal32 frameRate(KFrameRate);
+ TReal32 expectedFrameRate(KFrameRate) ;
+ RMMFVideoControllerCustomCommands theVideoCommander(iController);
+ TInt errorCode =theVideoCommander.SetFrameRate(frameRate);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetFrameRate() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theVideoCommander.GetFrameRate(expectedFrameRate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetFrameRate() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if(expectedFrameRate != KFrameRate)
+ {
+ INFO_PRINTF1(_L("Set and Get Framerates are different during Stopped State"));
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =theVideoCommander.SetFrameRate(frameRate);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetFrameRate() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theVideoCommander.GetFrameRate(expectedFrameRate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetFrameRate() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if(expectedFrameRate != KFrameRate)
+ {
+ INFO_PRINTF1(_L("Set and Get Framerates are different during Primed State"));
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EInconclusive;
+ }
+ //try getting framerate inPlaying State
+ errorCode =theVideoCommander.SetFrameRate(frameRate);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetFrameRate() during Playing State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ errorCode =theVideoCommander.GetFrameRate(expectedFrameRate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetFrameRate() during Playing State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ if(expectedFrameRate != KFrameRate)
+ {
+ INFO_PRINTF1(_L("Set and Get Framerates are different during Playing State"));
+ return EFail;
+ }
+ CActiveScheduler::Start();
+ return EPass;
+ }
+
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlGetFrameSize::RTestStepAviPlayCtrlGetFrameSize(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+Do the test step.This test tries to get the framesize from the file.
+*/
+TVerdict RTestStepAviPlayCtrlGetFrameSize::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests GetFrameSize() APIs of AviPlayController"));
+ TSize frameSize(0,0);
+ TSize expectedFrameSize(176,144);
+ RMMFVideoControllerCustomCommands theVideoCommander(iController);
+ TInt errorCode =theVideoCommander.GetVideoFrameSize(frameSize);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetFrameSize() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if(frameSize != expectedFrameSize)
+ {
+ INFO_PRINTF1(_L("Frame sizes are different during Stopped states"));
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =theVideoCommander.GetVideoFrameSize(frameSize);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetFrameSize() during primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( frameSize != expectedFrameSize )
+ {
+ INFO_PRINTF1(_L("Frame sizes are different during Primed state"));
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play is failed with %d "), errorCode);
+ iController.Stop();
+ return EInconclusive;
+ }
+ errorCode =theVideoCommander.GetVideoFrameSize(frameSize);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetFrameSize() during play State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ if( frameSize != expectedFrameSize )
+ {
+ INFO_PRINTF1(_L("Frame sizes are different during play state"));
+ iController.Stop();
+ return EFail;
+ }
+ //get the play completion event
+ CActiveScheduler::Start();
+ return EPass;
+ }
+
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlGetAudioDataType::RTestStepAviPlayCtrlGetAudioDataType(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+Do the test step.This test tries to get the audio data type from the avi file.
+*/
+ TVerdict RTestStepAviPlayCtrlGetAudioDataType::DoTestStepL()
+ {
+ INFO_PRINTF1(_L("this step tests GetAudioType() and GetAudioBitRate() APIs of AviPlayController"));
+ TFourCC audioCodec;
+ TFourCC expectedAudioCodec(KMMFFourCCCodePCM16);
+ TInt errorCode = 0;
+ TInt bitRate = 705600;
+ TInt newBitRate =0;
+ RMMFVideoPlayControllerCustomCommands thePlayCommander(iController);
+ TBool enabled(EFalse);
+ thePlayCommander.GetAudioEnabled(enabled);
+ if(!enabled)
+ {
+ INFO_PRINTF2(_L("GetAudioEnabled() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ RMMFVideoControllerCustomCommands theCommander(iController);
+ errorCode =theCommander.GetAudioCodec(audioCodec);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetAudioCodec() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( audioCodec != expectedAudioCodec )
+ {
+ INFO_PRINTF1(_L("Wrong audio codec was returned"));
+ return EFail;
+ }
+ errorCode = theCommander.GetAudioBitRate(newBitRate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetAudioBitRate() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if(newBitRate != bitRate )
+ {
+ INFO_PRINTF1(_L("Wrong audio bitrate was returned"));
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ //Check for audio codec
+ errorCode =theCommander.GetAudioCodec(audioCodec);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetAudioCodec() during primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( audioCodec != expectedAudioCodec )
+ {
+ INFO_PRINTF1(_L("Wrong audio codec was returned"));
+ return EFail;
+ }
+ errorCode = theCommander.GetAudioBitRate(newBitRate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetAudioBitRate() during primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if(newBitRate != bitRate )
+ {
+ INFO_PRINTF1(_L("Wrong audio bitrate was returned"));
+ return EFail;
+ }
+ errorCode = iController.Play();
+ //Check for audio codec
+ errorCode =theCommander.GetAudioCodec(audioCodec);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetAudioCodec() during play State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ if( audioCodec != expectedAudioCodec )
+ {
+ INFO_PRINTF1(_L("Wrong audio codec was returned"));
+ iController.Stop();
+ return EFail;
+ }
+ errorCode = theCommander.GetAudioBitRate(newBitRate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetAudioBitRate() during play State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ if(newBitRate != bitRate )
+ {
+ INFO_PRINTF1(_L("Wrong audio bitrate was returned"));
+ iController.Stop();
+ return EFail;
+ }
+ CActiveScheduler::Start();
+ return EPass;
+ }
+
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlGetVideoDataType::RTestStepAviPlayCtrlGetVideoDataType(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+/**
+Do the test step.This test tries to get the video mime type
+*/
+TVerdict RTestStepAviPlayCtrlGetVideoDataType::DoTestStepL(void)
+ {
+ const TInt KBufferSize = 256;
+ INFO_PRINTF1(_L("this step tests GetVideoMimeType() APIs of AviPlayController"));
+ HBufC8* iMimeType = HBufC8::NewL(KBufferSize);
+ TPtr8 des = iMimeType->Des();
+ TInt errorCode = 0;
+ char xv[]="XVID";
+ TUint8* p = (TUint8*)xv;
+ TPtrC8 temp(p);
+ RMMFVideoControllerCustomCommands theCommander(iController);
+ errorCode =theCommander.GetVideoMimeType(des);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetVideoMimeType() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if (des.Compare(temp))
+ {
+ INFO_PRINTF1(_L("Wrong video mime type returned"));
+ return EFail;
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Correct video mime type returned"));
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =theCommander.GetVideoMimeType(des);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetVideoMimeType() during primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if (des.Compare(temp))
+ {
+ INFO_PRINTF1(_L("Wrong video mime type returned"));
+ return EFail;
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Correct video mime type returned"));
+ }
+
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =theCommander.GetVideoMimeType(des);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetVideoMimeType() during play State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if (des.Compare(temp))
+ {
+ INFO_PRINTF1(_L("Wrong video mime type returned"));
+ return EFail;
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Correct video mime type returned"));
+ }
+ CActiveScheduler::Start();
+ return EPass;
+ }
+
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlMetaData::RTestStepAviPlayCtrlMetaData(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+Do the test step.This test tries to fetch the metadata from the avi file.
+*/
+TVerdict RTestStepAviPlayCtrlMetaData::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests GetNumberOfMetaDataEntries/GetMetaDataEntryL() APIs of AviPlayController "));
+ TInt numEntries = 0;
+ TInt errorCode = iController.GetNumberOfMetaDataEntries( numEntries );
+ CMMFMetaDataEntry* metaEntry = NULL;
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetNumberOfMetaDataEntries() is failed with %d "), errorCode);
+ return EFail;
+ }
+ if(numEntries == 0)
+ {
+ INFO_PRINTF1(_L("File does not have meta entries "));
+ }
+ else
+ {
+ for(TInt counter = 0; counter < numEntries; ++counter)
+ {
+ TRAP(errorCode, metaEntry = iController.GetMetaDataEntryL(counter));
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetMetaDataEntryL is failed with %d "), errorCode);
+ return EFail;
+ }
+ INFO_PRINTF3(_L("%S %S"), &metaEntry->Name(), &metaEntry->Value());
+ }
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlSetGetRotation::RTestStepAviPlayCtrlSetGetRotation(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+Do the test step.This test tries to set and get the rotation
+*/
+TVerdict RTestStepAviPlayCtrlSetGetRotation::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests SetRotation/GetRotation() APIs of AviPlayController"));
+ TVideoRotation aRotation;
+ RMMFVideoPlayControllerCustomCommands theVideoPlayCommander(iController);
+ TInt errorCode = theVideoPlayCommander.SetRotation(EVideoRotationClockwise90);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetRotation() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theVideoPlayCommander.GetRotation(aRotation);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetRotation() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =theVideoPlayCommander.SetRotation(EVideoRotationClockwise90);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetRotation() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theVideoPlayCommander.GetRotation(aRotation);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetRotation() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =theVideoPlayCommander.SetRotation(EVideoRotationClockwise90);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetRotation() during Play State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theVideoPlayCommander.GetRotation(aRotation);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetRotation() during Play State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ CActiveScheduler::Start();
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlSetGetScaling::RTestStepAviPlayCtrlSetGetScaling(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+* Do the test step.This test tries to do the scaling and expect KErrNotsupported
+*/
+TVerdict RTestStepAviPlayCtrlSetGetScaling::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests SetScaling/GetScaling() APIs of AviPlayController"));
+ TReal32 aWidthPercentage = .75;
+ TReal32 aHeightPercentage = .3;
+ TBool aAntiAliasFiltering = EFalse;
+
+ RMMFVideoPlayControllerCustomCommands theVideoPlayCommander(iController);
+ TInt errorCode = theVideoPlayCommander.SetScaleFactor(aWidthPercentage,aHeightPercentage,aAntiAliasFiltering);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetScaleFactor() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theVideoPlayCommander.GetScaleFactor(aWidthPercentage,aHeightPercentage,aAntiAliasFiltering);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetScaleFactor() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = theVideoPlayCommander.SetScaleFactor(aWidthPercentage,aHeightPercentage,aAntiAliasFiltering);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetScaleFactor() during primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theVideoPlayCommander.GetScaleFactor(aWidthPercentage,aHeightPercentage,aAntiAliasFiltering);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetScaleFactor() during primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = theVideoPlayCommander.SetScaleFactor(aWidthPercentage,aHeightPercentage,aAntiAliasFiltering);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetScaleFactor() during play State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theVideoPlayCommander.GetScaleFactor(aWidthPercentage,aHeightPercentage,aAntiAliasFiltering);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetScaleFactor() during play State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ CActiveScheduler::Start();
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlSetPosition::RTestStepAviPlayCtrlSetPosition(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ :RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+ Do the test step.This test tries to set the position in the file and expect KErrNotSupported
+ */
+TVerdict RTestStepAviPlayCtrlSetPosition::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests SetPosition() APIs of AviPlayController"));
+ TTimeIntervalMicroSeconds aPosition;
+ TInt errorCode = KErrNone;
+ errorCode = iController.SetPosition(aPosition);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetPosition() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.SetPosition(aPosition);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetPosition() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.SetPosition(aPosition);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetPosition() during Playing State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ CActiveScheduler::Start();
+ return EPass;
+ }
+
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlGetVideoBitrate::RTestStepAviPlayCtrlGetVideoBitrate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+Do the test step.This test tries to get the bitrate from the file
+*/
+TVerdict RTestStepAviPlayCtrlGetVideoBitrate::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests GetVideoBitrate() APIs of AviPlayController"));
+ TInt aBitRate;
+ RMMFVideoControllerCustomCommands theVideoCommander(iController);
+ TInt errorCode =theVideoCommander.GetVideoBitRate(aBitRate);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetVideoBitRate() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L("GetVideoBitRate() during Stopped State returned KErrNotSupported %d "), errorCode);
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =theVideoCommander.GetVideoBitRate(aBitRate);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetVideoBitRate() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L("GetVideoBitRate() during Primed State returned KErrNotSupported %d "), errorCode);
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EInconclusive;
+ }
+ errorCode =theVideoCommander.GetVideoBitRate(aBitRate);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetVideoBitRate() during Playing State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L("GetVideoBitRate() during Play State returned KErrNotSupported %d "), errorCode);
+ }
+ CActiveScheduler::Start();
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlGetAudioBitrate::RTestStepAviPlayCtrlGetAudioBitrate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+Do the test step.This test tries to fetch the audio bit rate.
+*/
+TVerdict RTestStepAviPlayCtrlGetAudioBitrate::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests GetAudioBitrate() APIs of AviPlayController"));
+ TInt audioBitRate;
+ RMMFVideoControllerCustomCommands theVideoCommander(iController);
+ TInt errorCode =theVideoCommander.GetAudioBitRate(audioBitRate);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetAudioBitRate() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L("GetAudioBitRate() during Stopped State returned KErrNotSupported %d "), errorCode);
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ else
+ {
+ INFO_PRINTF2(_L("GetAudioBitRate() during Primed State returned KErrNotSupported %d "), errorCode);
+ }
+ errorCode =theVideoCommander.GetAudioBitRate(audioBitRate);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetAudioBitRate() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EInconclusive;
+ }
+ //try getting framerate inPlaying State
+ errorCode =theVideoCommander.GetAudioBitRate(audioBitRate);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetAudioBitRate() during Playing State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L("GetAudioBitRate() during Playing State returned KErrNotSupported %d "), errorCode);
+ }
+ CActiveScheduler::Start();
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviCtrlDirectScreenAccess::RTestStepAviCtrlDirectScreenAccess(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+This test code tries to check the direct screen access property.
+*/
+TVerdict RTestStepAviCtrlDirectScreenAccess::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests DirectScreenAccessL of AviPlayController when audio not enabled"));
+ RMMFVideoPlayControllerCustomCommands theVideoCommander(iController);
+ TMMFDSAEvent dsaEvent1 = EAbortDSA;
+ TMMFDSAEvent dsaEvent2 = EResumeDSA;
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = theVideoCommander.DirectScreenAccessEvent(dsaEvent2);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("DirectScreenAccessEvent() is failed during primed state %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = theVideoCommander.DirectScreenAccessEvent(dsaEvent1);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("DirectScreenAccessEvent() is failed during primed state %d "), errorCode);
+ return EInconclusive;
+ }
+ CActiveScheduler::Start();
+ return iTestStepResult;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviCtrlSetPlayWindow::RTestStepAviCtrlSetPlayWindow(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+This test code tries to set the set playwindow and expects KErrNotSupported
+*/
+TVerdict RTestStepAviCtrlSetPlayWindow::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step plays an avi file "));
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EFail;
+ }
+ RMMFVideoPlayControllerCustomCommands theVideoCommander(iController);
+ TTimeIntervalMicroSeconds theDuration;
+ errorCode = iController.GetDuration(theDuration);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("DurationL() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ TInt64 duration = theDuration. Int64();
+ TTimeIntervalMicroSeconds thePlayStart(duration/2);
+ TTimeIntervalMicroSeconds thePlayEnd(duration);
+ errorCode = theVideoCommander.Play(thePlayStart, thePlayEnd);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() after SetPlayWindow() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ CActiveScheduler::Start();
+ return iTestStepResult;
+ }
+
+//Negative Tests
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviCtrlPlayInvalid::RTestStepAviCtrlPlayInvalid(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+TVerdict RTestStepAviCtrlPlayInvalid::DoTestStepPreambleL(void)
+ {
+ return EPass;
+ }
+
+/**
+Do the test step(Negative Test).This test tries to open an invalid file. Expects KErrCurrupt from AviPlayController
+*/
+TVerdict RTestStepAviCtrlPlayInvalid::DoTestStepL(void)
+ {
+ const TUid KAviPlayControllerUid = {0x102737A5};
+ INFO_PRINTF1(_L("This test tries to open an invalid file using AviPlayController"));
+ iScheduler = new(ELeave)CActiveScheduler;
+ CleanupStack::PushL(iScheduler );
+ CActiveScheduler::Install(iScheduler );
+ CleanupStack::Pop();
+ iPriority.iPriority = 11; // set the priority to some default value
+ iPriority.iPref = EMdaPriorityPreferenceQuality;
+ iControllerEventMonitor = CMMFControllerEventMonitor::NewL(*this, iController);
+ TInt errorCode = iController.Open(KAviPlayControllerUid, iPriority);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Failed to load the controller %d "), errorCode);
+ return EInconclusive;
+ }
+ iControllerEventMonitor->Start();
+ SetupReadFileConfigL();
+ errorCode = iController.AddDataSource(KUidMmfFileSource, ReadFileConfig());
+ if(errorCode != KErrCorrupt)
+ {
+ INFO_PRINTF2(_L("AddDataSource failed with %d "), errorCode);
+ return EFail;
+ }
+ else
+ {
+ INFO_PRINTF2(_L("AddDataSource() returned KErrCorrupt with invalid .avi file %d "), errorCode);
+ return EPass;
+ }
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviCtrlNotAudioEnabled::RTestStepAviCtrlNotAudioEnabled(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+This test step tries to get the volume and balance from a file where audio is not enabled and expect KErrNotsupported
+*/
+TVerdict RTestStepAviCtrlNotAudioEnabled::DoTestStepL(void)
+ {
+ TInt theNewBalance (0);
+ TTimeIntervalMicroSeconds ramp(100);
+ INFO_PRINTF1(_L("this step tests SetVolume/GetVolume() APIs of AviPlayController when audio not enabled"));
+ RMMFAudioPlayDeviceCustomCommands theAudioDevice(iController);
+ TInt maxVolume(0);
+ TInt errorCode = theAudioDevice.GetMaxVolume(maxVolume);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetMaxVolume() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ TInt theVolume = maxVolume /2;
+ //try setting volume in Stopped State
+ errorCode =theAudioDevice.SetVolume(theVolume);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetVolume() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ TInt theNewVolume (0);
+ errorCode =theAudioDevice.GetVolume(theNewVolume);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetVolume() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ TInt theBalance = (30 * (KMMFBalanceMaxRight-KMMFBalanceMaxLeft))/100 + KMMFBalanceMaxLeft;
+ errorCode = theAudioDevice.SetBalance(theBalance);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetBalance() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetBalance(theNewBalance);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetBalance() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theAudioDevice.SetVolumeRamp(ramp);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetVolumeRamp() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ //try setting volume in Primed State
+ errorCode =theAudioDevice.SetVolume(theVolume);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetVolume() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetVolume(theNewVolume);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetVolume() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theAudioDevice.SetVolumeRamp(ramp);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetVolumeRamp() during primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ theBalance = (30 * (KMMFBalanceMaxRight-KMMFBalanceMaxLeft))/100 + KMMFBalanceMaxLeft;
+ errorCode = theAudioDevice.SetBalance(theBalance);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetBalance() during primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetBalance(theNewBalance);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetBalance() during primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ //try setting volume in Playing State
+ errorCode =theAudioDevice.SetVolume(theVolume);
+ if(errorCode!= KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetVolume() during Playing State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetVolume(theNewVolume);
+ if(errorCode!= KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetVolume() during Playing State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ errorCode =theAudioDevice.SetVolumeRamp(ramp);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetVolumeRamp() during play State is failed with %d "), errorCode);
+ return EFail;
+ }
+ theBalance = (30 * (KMMFBalanceMaxRight-KMMFBalanceMaxLeft))/100 + KMMFBalanceMaxLeft;
+ errorCode = theAudioDevice.SetBalance(theBalance);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetBalance() during playing State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetBalance(theNewBalance);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetBalance() during playing State is failed with %d "), errorCode);
+ return EFail;
+ }
+ //get the play completion event
+ CActiveScheduler::Start();
+ return iTestStepResult;
+ }
+
+/**
+Test step constructor. It initialises its own name, input filename and the screen number.
+*/
+RTestStepAviPlayCtrlSetScrnPlay::RTestStepAviPlayCtrlSetScrnPlay(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid, TInt aScreenNumber)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ iScreenNumber = aScreenNumber;
+ }
+
+//Override base class Preamble
+TVerdict RTestStepAviPlayCtrlSetScrnPlay::DoTestStepPreambleL(void)
+ {
+ RTestStepAviCtrlBase::DoTestStepPreambleL();
+ return EPass;
+ }
+
+/**
+This is from MMMFControllerEventMonitorObserver.which handles all the events from AviPlayController.
+Base class version is overridden to avoid starting the active schedular twice.
+*/
+void RTestStepAviPlayCtrlSetScrnPlay::HandleEvent(const TMMFEvent& aEvent)
+ {
+ TInt errorCode = 0;
+ if (aEvent.iEventType==KMMFEventCategoryPlaybackComplete)
+ {
+ if(aEvent.iErrorCode == KErrNone)
+ {
+ INFO_PRINTF2(_L("PlayCompletion is passed with %d "), aEvent.iErrorCode);
+ iTestStepResult = EPass;
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("PlayCompletion is failed with %d "), aEvent.iErrorCode);
+ }
+ CActiveScheduler::Stop();
+ }
+ else if (aEvent.iEventType == KMMFEventCategoryVideoOpenComplete)
+ {
+ if((aEvent.iErrorCode == KErrNone) || (aEvent.iErrorCode == KErrEof))
+ {
+ //add code here to set display window and to update display region.
+ RMMFVideoPlayControllerCustomCommands thePlayCommander(iController);
+ errorCode = thePlayCommander.SetDisplayWindow(iScreenRect,iClipRect);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetDisplayWindow failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ return;
+ }
+ errorCode = thePlayCommander.UpdateDisplayRegion(iRegion);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("UpdateDisplayRegion failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ return;
+ }
+ INFO_PRINTF2(_L("Open completion is passed with %d "), aEvent.iErrorCode);
+ errorCode = thePlayCommander.Prepare();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prepare failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ }
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("Video open complete is failed with %d "), aEvent.iErrorCode);
+ CActiveScheduler::Stop();
+ }
+ }
+ else if (aEvent.iEventType == KMMFEventCategoryVideoPrepareComplete)
+ {
+ if((aEvent.iErrorCode == KErrNone) || (aEvent.iErrorCode == KErrEof))
+ {
+ INFO_PRINTF2(_L("Prepare completion is passed with %d "), aEvent.iErrorCode);
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ return;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ }
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("PrepareComplete is failed with %d "),aEvent.iErrorCode);
+ CActiveScheduler::Stop();
+ }
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Unexpected Event from the Controller"));
+ iTestStepResult = EFail;
+ CActiveScheduler::Stop();
+ }
+
+ }
+
+/**
+This test step plays the video on the primary or secondary screen depending the value of screen number passed during its construction.
+*/
+TVerdict RTestStepAviPlayCtrlSetScrnPlay::DoTestStepL(void)
+ {
+ INFO_PRINTF2(_L("this step plays an avi file on screen %d using RMMFVideoSetInitScreenCustomCommands"), iScreenNumber);
+ iTestStepResult = EFail;
+ TInt errorCode = iController.Open(KAviPlayControllerUid, iPriority);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Failed to load the controller %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ iControllerEventMonitor->Start();
+ if(!SetupReadFileConfigL())
+ {
+ return EInconclusive;
+ }
+ RMMFVideoSetInitScreenCustomCommands setInitScrn(iController);
+ errorCode = setInitScrn.SetInitScreenNumber(iScreenNumber);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetInitScreenNumber failed with %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ errorCode = iController.AddDataSink(KUidMmfAudioOutput,KNullDesC8);
+#ifdef __EABI__ //we dont have secondary screen support on hardware. So fail gracefully.
+ if(errorCode == KErrNotSupported && iScreenNumber == KSecondaryScreenNo)
+ {
+ INFO_PRINTF1(_L("No support for secondary display"));
+ return EKnownFailure;
+ }
+#endif
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("AddDataSink failed with %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ errorCode = iController.AddDataSource(KUidMmfFileSource, ReadFileConfig());
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("AddDataSource failed with %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ CActiveScheduler::Start();
+ return iTestStepResult;
+ }
+
+/**
+Test step constructor. It initialises its own name, input filename and the screen number.
+*/
+RTestStepAviPlayCtrlSetInvalidScrn::RTestStepAviPlayCtrlSetInvalidScrn(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid, TInt aScreenNumber)
+:RTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ iScreenNumber = aScreenNumber;
+ }
+
+//Override base class Preamble
+TVerdict RTestStepAviPlayCtrlSetInvalidScrn::DoTestStepPreambleL(void)
+ {
+ RTestStepAviCtrlBase::DoTestStepPreambleL();
+ return EPass;
+ }
+
+/**
+This test step tries to set an invalid screen on AviPlayController and expects AddDataSink to fail with KErrNotSupported..
+*/
+TVerdict RTestStepAviPlayCtrlSetInvalidScrn::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tries to set an invalid screen number on the AviPlayController"));
+ TInt errorCode = iController.Open(KAviPlayControllerUid, iPriority);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Failed to load the controller %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ iControllerEventMonitor->Start();
+ if(!SetupReadFileConfigL())
+ {
+ return EInconclusive;
+ }
+ RMMFVideoSetInitScreenCustomCommands setInitScrn(iController);
+ errorCode = setInitScrn.SetInitScreenNumber(iScreenNumber);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetInitScreenNumber failed with %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ errorCode = iController.AddDataSink(KUidMmfAudioOutput,KNullDesC8);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("AddDataSink failed to return KErrNotSupported but returned %d with an invalid screen"), errorCode);
+ return EFail;
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name, input filename and the screen number.
+*/
+RTestStepAviPlayCtrlAddDataSinkTwice::RTestStepAviPlayCtrlAddDataSinkTwice(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid, TInt aScreenNumber)
+:RTestStepAviPlayCtrlSetScrnPlay(aTestName, aSectName, aKeyName, aControllerUid, aScreenNumber)
+ {
+ }
+/**
+This test step tries to set an invalid screen after calling AddDataSink on AviController and tries playing.
+It resets the controller after the play is successful and tries to call AddDataSink again and expects
+it to fail with KErrNotSupported.
+*/
+TVerdict RTestStepAviPlayCtrlAddDataSinkTwice::DoTestStepPreambleL(void)
+ {
+ RTestStepAviCtrlBase::DoTestStepPreambleL();
+ return EPass;
+ }
+
+TVerdict RTestStepAviPlayCtrlAddDataSinkTwice::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tries to add data sink twice.Second time invalid screen"));
+ iTestStepResult = EFail;
+ TInt errorCode = iController.Open(KAviPlayControllerUid, iPriority);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Failed to load the controller %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ iControllerEventMonitor->Start();
+ if(!SetupReadFileConfigL())
+ {
+ return EInconclusive;
+ }
+ errorCode = iController.AddDataSink(KUidMmfAudioOutput,KNullDesC8);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("AddDataSink failed with %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ RMMFVideoSetInitScreenCustomCommands setInitScrn(iController);
+ errorCode = setInitScrn.SetInitScreenNumber(iScreenNumber);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetInitScreenNumber failed with %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ errorCode = iController.AddDataSource(KUidMmfFileSource, ReadFileConfig());
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("AddDataSource failed with %d "), errorCode);
+ User::LeaveIfError( errorCode );
+ }
+ CActiveScheduler::Start();
+ if(iTestStepResult == EFail)
+ {
+ return iTestStepResult;
+ }
+ errorCode = iController.Reset();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Reset is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.AddDataSink(KUidMmfAudioOutput,KNullDesC8);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("AddDataSink failed to return KErrNotSupported but returned %d with an invalid screen"), errorCode);
+ return EFail;
+ }
+ return iTestStepResult;
+ }
+
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::
+RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap(const TDesC& aTestName,
+ const TDesC& aSectName,
+ const TDesC& aKeyName,
+ TUid aControllerUid)
+ :
+ RAsyncTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid),
+ iTestState(EStateDefault),
+ iRChunk(),
+ iKickoff01(NULL),
+ iKickoff02(NULL),
+ iKickoff03(NULL),
+ iKickoff04(NULL),
+ iKickoff05(NULL),
+ iKickoff06(NULL)
+ {
+ }
+
+
+/**
+Do the test step. This test check that under low memory conditions the xvid
+codec may leave and DevVideo will be notified by the codec and and in turn
+AviPlayController will be notified too by DevVideo using the FatalError
+callbacks. Once the low memory conditions return to normal, the test case
+Primes the AviPlayController and Plays an avi file to its completion and checks
+for the proper play completion. This will prove that DevVideo is destroyed and
+then recreated after a FatalError occurs.
+
+The idea here is :
+
+1.- To allocate enough memory with the aim of leaving around KMaxFreeRamForTest
+bytes available for the rest of the test case.
+
+2.- After that, the testcase Primes the AviPlayController and Plays an avi
+file. Play is expected to fail with KErrTooBig (in the play completion event).
+
+3.- Then returns memory back to the system.
+
+4.- Then try to play the video file again, this time everything will work
+fine...With this we test that DevVideo's been recreated...
+
+*/
+void RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::KickoffTestL()
+ {
+ iTestState = EStateLoadKickoffTestLComplete;
+
+ INFO_PRINTF1(_L("this step plays an avi file under low memory conditions for the xvid decoder "));
+
+ // This will install two callbacks
+ RAsyncTestStepAviCtrlPlayBase::KickoffTestL();
+
+ // STEP 1: The idea here is to allocate enough memory with the aim of
+ // leaving around KMaxFreeRamForTest bytes available for the rest of the
+ // step. That will make the xvid decoder to fail the frame decoding as the
+ // decoder heap will not be large enough.
+ TCallBack callback01 (AllocChunkCallBack, this);
+ delete iKickoff01;
+ iKickoff01 = NULL;
+ iKickoff01 = new (ELeave) CAsyncCallBack (callback01, CActive::EPriorityLow);
+
+
+ // STEP 2: Prime the controller...
+ TCallBack callback02 (PrimeControllerCallBack, this);
+ delete iKickoff02;
+ iKickoff02 = NULL;
+ iKickoff02 = new (ELeave) CAsyncCallBack (callback02, CActive::EPriorityLow);
+
+ // STEP 3: play is expected to fail with KErrTooBig (in the play completion event ) ...
+ TCallBack callback03 (PlayControllerCallBack, this);
+ delete iKickoff03;
+ iKickoff03 = NULL;
+ iKickoff03 = new (ELeave) CAsyncCallBack (callback03, CActive::EPriorityLow);
+
+ // STEP 4: Return memory back to system here...
+ TCallBack callback04 (ReturnChunckAndStopControllerCallBack, this);
+ delete iKickoff04;
+ iKickoff04 = NULL;
+ iKickoff04 = new (ELeave) CAsyncCallBack (callback04, CActive::EPriorityLow);
+
+ // Repeat prime....
+ TCallBack callback05 (PrimeControllerCallBack, this);
+ delete iKickoff05;
+ iKickoff05 = NULL;
+ iKickoff05 = new (ELeave) CAsyncCallBack (callback05, CActive::EPriorityLow);
+
+ // ...and repeat play
+ TCallBack callback06 (PlayControllerCallBack, this);
+ delete iKickoff06;
+ iKickoff06 = NULL;
+ iKickoff06 = new (ELeave) CAsyncCallBack (callback06, CActive::EPriorityLow);
+
+ // Start allocate chunck callback.
+ iKickoff01->Call();
+ }
+
+void RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::CloseTest()
+ {
+ delete iKickoff01; // no need to Cancel
+ iKickoff01 = NULL;
+ delete iKickoff02; // no need to Cancel
+ iKickoff02 = NULL;
+ delete iKickoff03; // no need to Cancel
+ iKickoff03 = NULL;
+ delete iKickoff04; // no need to Cancel
+ iKickoff04 = NULL;
+ delete iKickoff05; // no need to Cancel
+ iKickoff05 = NULL;
+ delete iKickoff06; // no need to Cancel
+ iKickoff06 = NULL;
+
+ RAsyncTestStepAviCtrlPlayBase::CloseTest();
+ }
+
+
+TInt RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::AllocChunkCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap* self =
+ static_cast<RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap*> (aPtr);
+ self->DoAllocChunkCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::DoAllocChunkCallBack()
+ {
+ // Check simple FSM
+ if (iTestState != EStateLoadKickoffTestLComplete)
+ {
+ INFO_PRINTF1(_L("FSM error in DoAllocChunkCallBack"));
+ StopTest(KErrGeneral, EFail);
+ return;
+ }
+
+ iTestState = EStateAllocChunkCallBackComplete;
+
+ TInt freeRam = 0;
+
+ TInt halError = KErrNone;
+ if ((halError = HAL::Get(HALData::EMemoryRAMFree, freeRam)) != KErrNone)
+ {
+ INFO_PRINTF1(_L("Unable to obtain the amount of free ram available "));
+ StopTest(halError, EInconclusive);
+ return;
+ }
+
+ if (freeRam > KMaxFreeRamForTest)
+ {
+ TInt memToAllocate = freeRam - KMaxFreeRamForTest;
+ INFO_PRINTF3(_L("freeRam = %d bytes, before allocating %d bytes"),
+ freeRam, memToAllocate);
+ TInt chunkError = KErrNone;
+ //We have calculated the amount of memory to allocate
+ //start by allocating half of that amount
+
+ if((chunkError=iRChunk[0].CreateLocal(memToAllocate/2, memToAllocate/2 + 1))!=KErrNone)
+ {
+ INFO_PRINTF3(_L("At least %d mem bytes are needed for this test (err=%d)"),
+ KMaxFreeRamForTest, chunkError);
+ StopTest(chunkError, EInconclusive);
+ return;
+ }
+ //WDP: we are allocating on paged memory. So keep allocating chunks till you are Out of Memory
+ //Now allocate smaller chunks. Only half of memToAllocate has been allocated yet
+ //In every iteration we try to allocate KMaxFreeRamForTest/2
+ //Calculate the max loop value till which we should run, add some extra iterations so that this loop goes on till OOM for sure
+ //Number of iterations is (0.5*memToAllocate)/(0.5*KMaxFreeRamForTest)
+ TInt loopValue=(memToAllocate/KMaxFreeRamForTest)+KExtraIterations;
+ if(loopValue>KMaxChunks)
+ {
+ //We should not get here.
+ INFO_PRINTF1(_L("Cannot Create so many chunks"));
+ StopTest(chunkError, EInconclusive);
+ return;
+ }
+ for(iNumAllocatedChunks=1;iNumAllocatedChunks<KMaxChunks;iNumAllocatedChunks++)
+ {
+ chunkError = KErrNone;
+ if ((chunkError = iRChunk[iNumAllocatedChunks].CreateLocal(KMaxFreeRamForTest/2, KMaxFreeRamForTest/2 + 1)) != KErrNone)
+ {
+ if(chunkError==KErrNoMemory)
+ {
+ //We have run out of memory
+ //Close the last two chunks so now you have approximately KMaxFreeRamForTest free
+ iRChunk[--iNumAllocatedChunks].Close();
+ if(iNumAllocatedChunks>0)
+ {
+ iRChunk[--iNumAllocatedChunks].Close();
+ }
+ break;
+ }
+ else
+ {
+ //Unexpected error
+ INFO_PRINTF1(_L("Received Unexpected error"));
+ StopTest(chunkError, EInconclusive);
+ return;
+ }
+ }
+ }
+ if(chunkError!=KErrNoMemory)
+ {
+ //We are out of the loop and still not out of memory. This is not expected
+ INFO_PRINTF2(_L("Expecting -4 by now but still not out of memory. Allocated chunks %d"),iNumAllocatedChunks);
+ StopTest(chunkError, EInconclusive);
+ return;
+ }
+
+ iKickoff02->Call(); // Start prime
+ }
+ else
+ {
+ INFO_PRINTF2(_L("At least %d mem bytes are needed for this test "), KMaxFreeRamForTest);
+ StopTest(KErrGeneral, EInconclusive);
+ }
+ }
+
+
+TInt RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::PrimeControllerCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap* self =
+ static_cast<RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap*> (aPtr);
+ self->DoPrimeControllerCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::DoPrimeControllerCallBack()
+ {
+
+ // Check simple fsm
+ switch (iTestState)
+ {
+ case EStateAllocChunkCallBackComplete:
+ {
+ iTestState = EStatePrimeControllerCallBackComplete1;
+ iKickoff03->Call(); // Start 1st playback
+ break;
+ }
+ case EStateReturnChunckAndStopControllerCallBackComplete:
+ {
+ iTestState = EStatePrimeControllerCallBackComplete2;
+ iKickoff06->Call(); // Start 2nd playback
+ break;
+ }
+ default:
+ {
+ INFO_PRINTF1(_L("FSM error in DoPrimeControllerCallBack"));
+ StopTest(KErrGeneral, EFail);
+ return;
+ }
+ };
+
+ INFO_PRINTF1(_L("iController.Prime()"));
+
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ StopTest(errorCode, EFail);
+ }
+ }
+
+
+TInt RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::PlayControllerCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap* self =
+ static_cast<RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap*> (aPtr);
+ self->DoPlayControllerCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::DoPlayControllerCallBack()
+ {
+
+ // Check simple fsm
+ switch (iTestState)
+ {
+ case EStatePrimeControllerCallBackComplete1:
+ {
+ iTestState = EStatePlayControllerCallBackComplete1;
+ break;
+ }
+ case EStatePrimeControllerCallBackComplete2:
+ {
+ iTestState = EStatePlayControllerCallBackComplete2;
+ break;
+ }
+ default:
+ {
+ INFO_PRINTF1(_L("FSM error in DoPlayControllerCallBack"));
+ StopTest(KErrGeneral, EFail);
+ return;
+ }
+ };
+
+ INFO_PRINTF1(_L("iController.Play()"));
+
+ TInt errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() failed with error %d"), errorCode);
+ StopTest(errorCode, EFail);
+ }
+ }
+
+TInt RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::ReturnChunckAndStopControllerCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap* self =
+ static_cast<RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap*> (aPtr);
+ self->DoReturnChunckAndStopControllerCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::DoReturnChunckAndStopControllerCallBack()
+ {
+ // Check simple fsm
+ if (iTestState != EStatePlayControllerCallBackComplete1)
+ {
+ INFO_PRINTF1(_L("FSM error in DoReturnChunckAndStopControllerCallBack"));
+ StopTest(KErrGeneral, EFail);
+ return;
+ }
+ iTestState = EStateReturnChunckAndStopControllerCallBackComplete;
+
+ INFO_PRINTF1(_L("Returning memory back to the system"));
+
+ for(TInt i=0;i<iNumAllocatedChunks;i++)
+ {
+ iRChunk[i].Close();
+ }
+ // Get controller back to an initial state
+ iController.Stop();
+
+ iKickoff05->Call(); // call prime again
+ }
+
+
+/**
+This is from MMMFControllerEventMonitorObserver.which handles all the events
+from AviPlayController. Base class version is overridden to avoid starting the
+active schedular twice.
+*/
+void RTestStepAviPlayNotEnoughMemoryForXvidCodecHeap::HandleEvent(const TMMFEvent& aEvent)
+ {
+ INFO_PRINTF2(_L("HandleEvent aEvent.iEventType %d "),
+ aEvent.iEventType);
+ INFO_PRINTF2(_L("::HandleEvent aEvent.iErrorCode %d "),
+ aEvent.iErrorCode);
+
+ if (aEvent.iEventType == KMMFEventCategoryPlaybackComplete)
+ {
+ if(aEvent.iErrorCode == KErrNone)
+ {
+ iTestStepResult = EPass;
+ INFO_PRINTF2(_L("PlayCompletion is passed with %d "),
+ aEvent.iErrorCode);
+ }
+ else
+ {
+ iTestStepResult = EFail;
+ INFO_PRINTF2(_L("PlayCompletion is failed with %d "),
+ aEvent.iErrorCode);
+ }
+
+ //
+ // Match fsm state with play completion event just processed
+ //
+ switch(iTestState)
+ {
+ case EStatePlayControllerCallBackComplete1:
+ {
+ if (iTestStepResult == EPass)
+ {
+ INFO_PRINTF1(_L("Error: completion event was expected to be failed at this point"));
+ StopTest(KErrGeneral, EFail);
+ return;
+ }
+
+ iKickoff04->Call(); // Return memory
+ break;
+ }
+ case EStatePlayControllerCallBackComplete2:
+ {
+ if (iTestStepResult == EFail)
+ {
+ INFO_PRINTF1(_L("Error: PlayCompletion event was expected to pass at this point"));
+ StopTest(KErrGeneral, EFail);
+ return;
+ }
+ else
+ {
+ // Test has finished succesfully at this point
+ INFO_PRINTF1(_L("Test successfully completed"));
+ StopTest();
+ return;
+ }
+ }
+ default:
+ {
+ INFO_PRINTF1(_L("FSM error in HandleEvent"));
+ StopTest(KErrGeneral, EFail);
+ return;
+ }
+ };
+ }
+ else if (aEvent.iEventType == KMMFEventCategoryVideoOpenComplete)
+ {
+ if(aEvent.iErrorCode != KErrNone)
+ {
+ INFO_PRINTF2(_L("Video open complete is failed with %d "), aEvent.iErrorCode);
+ StopTest(KErrGeneral, EFail);
+ return;
+ }
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Unexpected Event from the Controller"));
+ StopTest(KErrGeneral, EFail);
+ }
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlMemAlloc1::RTestStepAviPlayCtrlMemAlloc1(const TDesC& aTestName,
+ const TDesC& aSectName,
+ const TDesC& aKeyName,
+ TUid aControllerUid)
+ : RTestStepAviCtrlBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This test issue a custom command to the custom AviPlay controller
+and runs the OOM test within the controller.
+*/
+TVerdict RTestStepAviPlayCtrlMemAlloc1::DoTestStepL()
+ {
+ TVerdict result = EPass;
+
+ Log( _L("Memory Allocation Test 1") );
+
+ Log( _L("This test checks memory allocation of the plugin") );
+
+ TInt errorCode = iController.Open(KUidCustomTestAviPlayPlugin, iPriority);
+ User::LeaveIfError( errorCode );
+
+ //[ send the custom command to the custom audio controller ]
+ TMMFMessageDestinationPckg destinationPckg(KMemoryAllocationTestId);
+
+ //[ send memory alloc test to the custom plugin ]
+ //[ we have only ensured that the controller is loaded into memory
+ // and that all add sources etc will be don
+ errorCode = iController.CustomCommandSync(destinationPckg,
+ KMemoryAllocTest1,
+ KNullDesC8,
+ KNullDesC8);
+
+ //[ ensure the controller is unloaded so that it does
+ // not interfere with the following test ]
+ // There is a bug in this code and the stop followed by reset
+ // ensure the controller resources are released.
+ iController.Stop();
+ iController.Reset();
+ iController.Close();
+
+ User::LeaveIfError( errorCode );
+ return result ;
+ }
+
+/**
+This is from MMMFControllerEventMonitorObserver.which handles all the events
+from AviPlayController. Base class version is overridden to avoid starting the
+active schedular twice.
+*/
+void RTestStepAviPlayCtrlMemAlloc1::HandleEvent(const TMMFEvent& aEvent)
+ {
+ (void)aEvent;
+ };
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlMemAlloc2::RTestStepAviPlayCtrlMemAlloc2(const TDesC& aTestName,
+ const TDesC& aSectName,
+ const TDesC& aKeyName,
+ TUid aControllerUid)
+ : RTestStepAviCtrlBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This test issue a custom command to the custom AviPlay controller
+and runs the OOM test within the controller.
+*/
+TVerdict RTestStepAviPlayCtrlMemAlloc2::DoTestStepL()
+ {
+ TVerdict result = EPass;
+
+ Log( _L("Memory Allocation Test 2") );
+
+ Log( _L("This test checks memory allocation of the plugin") );
+
+ TInt errorCode = iController.Open(KUidCustomTestAviPlayPlugin, iPriority);
+ User::LeaveIfError( errorCode );
+
+ //[ send the custom command to the custom audio controller ]
+ TMMFMessageDestinationPckg destinationPckg(KMemoryAllocationTestId);
+
+ //[ set the prime OOM test mode ]
+ //[ we have only ensured that the controller is loaded into memory
+ // and that all add sources etc will be don
+ TPckgBuf<TBool> primeTestEnable(ETrue);
+ errorCode = iController.CustomCommandSync(destinationPckg,
+ KOOMPrimeTestEnable,
+ primeTestEnable,
+ KNullDesC8);
+ if (errorCode == KErrNone)
+ {
+ TInt failCount = 1;
+ for (;;)
+ {
+ TPckgBuf<TInt> primeTestFailCount(failCount);
+ errorCode = iController.CustomCommandSync(destinationPckg,
+ KOOMPrimeTestFailCount,
+ primeTestFailCount,
+ KNullDesC8);
+ if (errorCode != KErrNone)
+ {
+ result = EInconclusive;
+ break;
+ }
+
+ errorCode = iController.CustomCommandSync(destinationPckg,
+ KMemoryAllocTest2,
+ KNullDesC8,
+ KNullDesC8);
+ if (errorCode != KErrNone)
+ {
+ result = EInconclusive;
+ break;
+ }
+
+ errorCode = iController.Prime();
+ if (errorCode == KErrNone)
+ {
+ result = EPass;
+ break;
+ }
+ else if (errorCode != KErrNoMemory)
+ {
+ result = EFail;
+ break;
+ }
+
+ iController.Reset();
+ failCount++;
+ }
+ }
+ else
+ {
+ result = EInconclusive;
+ }
+
+ primeTestEnable() = EFalse;
+ iController.CustomCommandSync(destinationPckg,
+ KOOMPrimeTestEnable,
+ primeTestEnable,
+ KNullDesC8);
+
+ //[ ensure the controller is unloaded so that it does
+ // not interfere with the following test ]
+ // There is a bug in this code and the stop followed by reset
+ // ensure the controller resources are released.
+ iController.Stop();
+ iController.Reset();
+ iController.Close();
+
+ return result ;
+ }
+
+/**
+This is from MMMFControllerEventMonitorObserver.which handles all the events
+from AviPlayController. Base class version is overridden to avoid starting the
+active schedular twice.
+*/
+void RTestStepAviPlayCtrlMemAlloc2::HandleEvent(const TMMFEvent& aEvent)
+ {
+ (void)aEvent;
+ };
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviPlayCtrlMemAlloc3::RTestStepAviPlayCtrlMemAlloc3(const TDesC& aTestName,
+ const TDesC& aSectName,
+ const TDesC& aKeyName,
+ TUid aControllerUid)
+ : RTestStepAviCtrlBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This test issue a custom command to the custom AviPlay controller
+and runs the OOM test within the controller.
+*/
+TVerdict RTestStepAviPlayCtrlMemAlloc3::DoTestStepL()
+ {
+ TVerdict result = EPass;
+
+ Log( _L("Memory Allocation Test 3") );
+
+ Log( _L("This test checks memory allocation of the plugin") );
+
+ TInt errorCode = iController.Open(KUidCustomTestAviPlayPlugin, iPriority);
+ User::LeaveIfError( errorCode );
+
+ //[ send the custom command to the custom audio controller ]
+ TMMFMessageDestinationPckg destinationPckg(KMemoryAllocationTestId);
+
+ TInt failCount = 1;
+ for (;;)
+ {
+ TPckgBuf<TInt> primeTestFailCount(failCount);
+ errorCode = iController.CustomCommandSync(destinationPckg,
+ KOOMPrimeTestFailCount,
+ primeTestFailCount,
+ KNullDesC8);
+ if (errorCode != KErrNone)
+ {
+ result = EInconclusive;
+ break;
+ }
+
+ errorCode = iController.CustomCommandSync(destinationPckg,
+ KMemoryAllocTest2,
+ KNullDesC8,
+ KNullDesC8);
+ if (errorCode != KErrNone)
+ {
+ result = EInconclusive;
+ break;
+ }
+
+ errorCode = iController.Prime();
+ if (errorCode != KErrNone)
+ {
+ result = EInconclusive;
+ break;
+ }
+
+ errorCode = iController.CustomCommandSync(destinationPckg,
+ KMemoryAllocTest3,
+ KNullDesC8,
+ KNullDesC8);
+
+ if (errorCode == KErrNone)
+ {
+ result = EPass;
+ break;
+ }
+ else if (errorCode != KErrNoMemory)
+ {
+ result = EFail;
+ break;
+ }
+
+ iController.Reset();
+ failCount++;
+ }
+
+ //[ ensure the controller is unloaded so that it does
+ // not interfere with the following test ]
+ // There is a bug in this code and the stop followed by reset
+ // ensure the controller resources are released.
+ iController.Stop();
+ iController.Reset();
+ iController.Close();
+
+ return result ;
+ }
+
+/**
+This is from MMMFControllerEventMonitorObserver.which handles all the events
+from AviPlayController. Base class version is overridden to avoid starting the
+active schedular twice.
+*/
+void RTestStepAviPlayCtrlMemAlloc3::HandleEvent(const TMMFEvent& aEvent)
+ {
+ (void)aEvent;
+ };
+
+#ifdef SYMBIAN_BUILD_GCE
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviPlayCtrlSurfaceSupport::RTestStepAviPlayCtrlSurfaceSupport(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RAsyncTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid), iVpsCommands(iController)
+ {
+ }
+
+void RTestStepAviPlayCtrlSurfaceSupport::KickoffTestL()
+ {
+ // Allow parent to create some call backs for its initialization.
+ // Should open the video controller, set the filename, add the source and add the sink.
+ RAsyncTestStepAviCtrlPlayBase::KickoffTestL();
+
+ iSurfaceCreated = EFalse;
+
+ // Call UseSurfaces
+ TCallBack callbackUseSurfaces(UseSurfacesCallBack, this);
+ delete iKickoffUseSurfaces;
+ iKickoffUseSurfaces = NULL;
+ iKickoffUseSurfaces = new (ELeave) CAsyncCallBack(callbackUseSurfaces, CActive::EPriorityLow);
+ iKickoffUseSurfaces->Call();
+
+ // Call UseSurfaces again. This should not fail or cause any other subsequent step to fail.
+ delete iKickoffUseSurfaces2;
+ iKickoffUseSurfaces2 = NULL;
+ iKickoffUseSurfaces2 = new (ELeave) CAsyncCallBack(callbackUseSurfaces, CActive::EPriorityLow);
+ iKickoffUseSurfaces2->Call();
+
+ // Prime the controller
+ TCallBack callbackPrimeController(PrimeControllerCallBack, this);
+ delete iKickoffPrimeController;
+ iKickoffPrimeController = NULL;
+ iKickoffPrimeController = new (ELeave) CAsyncCallBack(callbackPrimeController, CActive::EPriorityLow);
+ iKickoffPrimeController->Call();
+
+ TCallBack callbackPlayController(PlayControllerCallBack, this);
+ delete iKickoffPlayController;
+ iKickoffPlayController = NULL;
+ iKickoffPlayController = new (ELeave) CAsyncCallBack(callbackPlayController, CActive::EPriorityLow);
+ iKickoffPlayController->Call();
+ }
+
+void RTestStepAviPlayCtrlSurfaceSupport::CloseTest()
+ {
+ // no need to Cancel before deleting.
+ delete iKickoffUseSurfaces;
+ iKickoffUseSurfaces = NULL;
+ delete iKickoffUseSurfaces2;
+ iKickoffUseSurfaces2 = NULL;
+ delete iKickoffPrimeController;
+ iKickoffPrimeController = NULL;
+
+ RAsyncTestStepAviCtrlPlayBase::CloseTest();
+ }
+
+/**
+Check if we have passed the test. We need to make sure that we have received all the event
+messages that we expect.
+*/
+TVerdict RTestStepAviPlayCtrlSurfaceSupport::CheckTestResult()
+ {
+ // Only report that we have not received all expected events if everything else passes.
+ // We don't expect the event generators to work properly if something else failed (and those
+ // other error codes and reasons should be more useful). We won't see these events if GCE is
+ // not enabled. So, if GCE is disabled, do not fail because we didn't see these events.
+ if (Result() == EPass && !iSurfaceCreated && iGceEnabled)
+ {
+ if (!iSurfaceCreated)
+ {
+ ERR_PRINTF1(_L("Failed to receive surface created event"));
+ }
+
+ return EFail;
+ }
+
+ return RAsyncTestStepAviCtrlPlayBase::CheckTestResult();
+ }
+
+/**
+This is from MMMFControllerEventMonitorObserver.which handles all the events
+from AviPlayController. Base class version is overridden to avoid starting the
+active schedular twice.
+*/
+void RTestStepAviPlayCtrlSurfaceSupport::HandleEvent(const TMMFEvent& aEvent)
+ {
+ if (aEvent.iEventType == KMMFEventCategoryVideoOpenComplete)
+ {
+ if(aEvent.iErrorCode != KErrNone)
+ {
+ ERR_PRINTF2(_L("Video open complete has failed with %d "), aEvent.iErrorCode);
+ StopTest(KErrGeneral, EInconclusive);
+ return;
+ }
+ }
+ else if (aEvent.iEventType == KMMFEventCategoryVideoSurfaceCreated)
+ {
+ if (!iGceEnabled)
+ {
+ ERR_PRINTF1(_L("Surface events should not be generated when GCE is not enabled"));
+ StopTest(KErrGeneral, EFail);
+ return;
+ }
+
+ // The error code is actually the display for which a surface has been created.
+ if (aEvent.iErrorCode != KErrNone)
+ {
+ ERR_PRINTF2(_L("Video surface created event has error %d."), aEvent.iErrorCode);
+ StopTest(KErrGeneral, EFail);
+ }
+
+ // Now that the surface has been created we can check if can retrieve the surface parameters
+ TRect cropRect;
+ TVideoAspectRatio pixelAspectRatio;
+
+ TInt error = iVpsCommands.GetSurfaceParameters(iSurfaceId, cropRect, pixelAspectRatio);
+ if (error)
+ {
+ ERR_PRINTF2(_L("GetSurfaceParameters failed with code %d."), error);
+ StopTest(error, EFail);
+ }
+
+ iSurfaceCreated = ETrue;
+ }
+ else if (aEvent.iEventType == KMMFEventCategoryPlaybackComplete)
+ {
+ if(aEvent.iErrorCode == KErrNone)
+ {
+ if(iGceEnabled)
+ {
+ TInt error = iVpsCommands.SurfaceRemoved(iSurfaceId);
+ if (error)
+ {
+ ERR_PRINTF2(_L("SurfaceRemoved failed with code %d."), error);
+ StopTest(error, EFail);
+ }
+ }
+ StopTest();
+ }
+ else
+ {
+ ERR_PRINTF2(_L("Video playback complete has failed with %d "), aEvent.iErrorCode);
+ StopTest(KErrGeneral, EInconclusive);
+ }
+ }
+ else
+ {
+ ERR_PRINTF3(_L("Unexpected Event from the Controller: type %d error: %d"), aEvent.iEventType, aEvent.iErrorCode);
+ StopTest(KErrGeneral, EFail);
+ }
+ }
+
+TInt RTestStepAviPlayCtrlSurfaceSupport::UseSurfacesCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayCtrlSurfaceSupport* self =
+ static_cast<RTestStepAviPlayCtrlSurfaceSupport*> (aPtr);
+ self->DoUseSurfacesCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayCtrlSurfaceSupport::DoUseSurfacesCallBack()
+ {
+ TInt error = iVpsCommands.UseSurfaces();
+
+ if (iGceEnabled && error != KErrNone)
+ {
+ ERR_PRINTF2(_L("UseSurfaces failed with code %d."), error);
+ StopTest(error, EFail);
+ }
+ else if (!iGceEnabled && error != KErrNotSupported)
+ {
+ ERR_PRINTF2(_L("UseSurfaces failed to return KErrNotSupported. Actual result: %d."), error);
+ StopTest(error, EFail);
+ }
+ }
+
+TInt RTestStepAviPlayCtrlSurfaceSupport::PrimeControllerCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayCtrlSurfaceSupport* self =
+ static_cast<RTestStepAviPlayCtrlSurfaceSupport*> (aPtr);
+ self->DoPrimeControllerCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayCtrlSurfaceSupport::DoPrimeControllerCallBack()
+ {
+ TInt error = iController.Prime();
+ if (error != KErrNone)
+ {
+ ERR_PRINTF2(_L("Prime failed with %d "), error);
+ StopTest(error, EFail);
+ }
+ }
+
+TInt RTestStepAviPlayCtrlSurfaceSupport::PlayControllerCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayCtrlSurfaceSupport* self =
+ static_cast<RTestStepAviPlayCtrlSurfaceSupport*> (aPtr);
+ self->DoPlayControllerCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayCtrlSurfaceSupport::DoPlayControllerCallBack()
+ {
+ TInt error = iController.Play();
+ if (error != KErrNone)
+ {
+ ERR_PRINTF2(_L("Play failed with %d "), error);
+ StopTest(error, EFail);
+ }
+ }
+
+RTestStepAviPlayCtrlSurfaceRemovedNoUS::RTestStepAviPlayCtrlSurfaceRemovedNoUS(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RAsyncTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid), iVpsCommands(iController)
+ {
+ }
+
+void RTestStepAviPlayCtrlSurfaceRemovedNoUS::KickoffTestL()
+ {
+ // Allow parent to create some call backs for its initialization.
+ // Should open the video controller, set the filename, add the source and add the sink.
+ RAsyncTestStepAviCtrlPlayBase::KickoffTestL();
+
+ // Call SurfaceRemoved
+ iSurfaceId = TSurfaceId::CreateNullId();
+
+ TCallBack callbackSurfaceRemoved(SurfaceRemovedCallBack, this);
+ delete iKickoffSurfaceRemoved;
+ iKickoffSurfaceRemoved = NULL;
+ iKickoffSurfaceRemoved = new (ELeave) CAsyncCallBack(callbackSurfaceRemoved, CActive::EPriorityLow);
+ iKickoffSurfaceRemoved->Call();
+ }
+
+void RTestStepAviPlayCtrlSurfaceRemovedNoUS::CloseTest()
+ {
+ // no need to Cancel before deleting.
+ delete iKickoffSurfaceRemoved;
+ iKickoffSurfaceRemoved = NULL;
+
+ RAsyncTestStepAviCtrlPlayBase::CloseTest();
+ }
+
+TInt RTestStepAviPlayCtrlSurfaceRemovedNoUS::SurfaceRemovedCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayCtrlSurfaceRemovedNoUS* self =
+ static_cast<RTestStepAviPlayCtrlSurfaceRemovedNoUS*> (aPtr);
+ self->DoSurfaceRemovedCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayCtrlSurfaceRemovedNoUS::DoSurfaceRemovedCallBack()
+ {
+ TInt error = iVpsCommands.SurfaceRemoved(iSurfaceId);
+
+ if (iGceEnabled && error != KErrNotSupported)
+ {
+ ERR_PRINTF2(_L("SurfaceRemoved failed to return error KErrNotSupported. Actual error was %d "), error);
+ StopTest(KErrGeneral, EFail);
+ }
+ else if (!iGceEnabled && error != KErrNotSupported)
+ {
+ ERR_PRINTF2(_L("SurfaceRemoved failed to return KErrNotSupported. Actual result: %d."), error);
+ StopTest(error, EFail);
+ }
+ else
+ {
+ StopTest();
+ }
+ }
+
+RTestStepAviPlayCtrlGetSurfaceParametersNoUS::RTestStepAviPlayCtrlGetSurfaceParametersNoUS(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RAsyncTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid), iVpsCommands(iController)
+ {
+ }
+
+void RTestStepAviPlayCtrlGetSurfaceParametersNoUS::KickoffTestL()
+ {
+ // Allow parent to create some call backs for its initialization.
+ // Should open the video controller, set the filename, add the source and add the sink.
+ RAsyncTestStepAviCtrlPlayBase::KickoffTestL();
+
+ // Get the surface parameters.
+ TCallBack callbackGetSurfaceParameters(GetSurfaceParametersCallBack, this);
+ delete iKickoffGetSurfaceParameters;
+ iKickoffGetSurfaceParameters = NULL;
+ iKickoffGetSurfaceParameters = new (ELeave) CAsyncCallBack(callbackGetSurfaceParameters, CActive::EPriorityLow);
+ iKickoffGetSurfaceParameters->Call();
+ }
+
+void RTestStepAviPlayCtrlGetSurfaceParametersNoUS::CloseTest()
+ {
+ // no need to Cancel before deleting.
+ delete iKickoffGetSurfaceParameters;
+ iKickoffGetSurfaceParameters = NULL;
+
+ RAsyncTestStepAviCtrlPlayBase::CloseTest();
+ }
+
+TInt RTestStepAviPlayCtrlGetSurfaceParametersNoUS::GetSurfaceParametersCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayCtrlGetSurfaceParametersNoUS* self =
+ static_cast<RTestStepAviPlayCtrlGetSurfaceParametersNoUS*> (aPtr);
+ self->DoGetSurfaceParametersCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayCtrlGetSurfaceParametersNoUS::DoGetSurfaceParametersCallBack()
+ {
+ TSurfaceId surfaceID;
+ TRect cropRect;
+ TVideoAspectRatio pixelAspectRatio;
+
+ TInt error = iVpsCommands.GetSurfaceParameters(surfaceID, cropRect, pixelAspectRatio);
+
+ if (iGceEnabled && error != KErrNotSupported)
+ {
+ ERR_PRINTF2(_L("GetSurfaceParameters failed to return error KErrNotSupported. Actual error was %d "), error);
+ StopTest(KErrGeneral, EFail);
+ }
+ else if (!iGceEnabled && error != KErrNotSupported)
+ {
+ ERR_PRINTF2(_L("GetSurfaceParameters failed to return KErrNotSupported. Actual result: %d."), error);
+ StopTest(error, EFail);
+ }
+ else
+ {
+ StopTest();
+ }
+ }
+
+RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId::RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RAsyncTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid), iVpsCommands(iController)
+ {
+ }
+
+void RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId::KickoffTestL()
+ {
+ // Allow parent to create some call backs for its initialization.
+ // Should open the video controller, set the filename, add the source and add the sink.
+ RAsyncTestStepAviCtrlPlayBase::KickoffTestL();
+
+ // Call UseSurfaces
+ TCallBack callbackUseSurfaces(UseSurfacesCallBack, this);
+ delete iKickoffUseSurfaces;
+ iKickoffUseSurfaces = NULL;
+ iKickoffUseSurfaces = new (ELeave) CAsyncCallBack(callbackUseSurfaces, CActive::EPriorityLow);
+ iKickoffUseSurfaces->Call();
+
+ // Call SurfaceRemoved
+ iSurfaceId = TSurfaceId::CreateNullId();
+
+ TCallBack callbackSurfaceRemoved(SurfaceRemovedCallBack, this);
+ delete iKickoffSurfaceRemoved;
+ iKickoffSurfaceRemoved = NULL;
+ iKickoffSurfaceRemoved = new (ELeave) CAsyncCallBack(callbackSurfaceRemoved, CActive::EPriorityLow);
+ iKickoffSurfaceRemoved->Call();
+ }
+
+void RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId::CloseTest()
+ {
+ // no need to Cancel before deleting.
+ delete iKickoffSurfaceRemoved;
+ iKickoffSurfaceRemoved = NULL;
+
+ RAsyncTestStepAviCtrlPlayBase::CloseTest();
+ }
+
+TInt RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId::SurfaceRemovedCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId* self =
+ static_cast<RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId*> (aPtr);
+ self->DoSurfaceRemovedCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId::DoSurfaceRemovedCallBack()
+ {
+ TInt error = iVpsCommands.SurfaceRemoved(iSurfaceId);
+
+ if (iGceEnabled && error != KErrArgument)
+ {
+ ERR_PRINTF2(_L("SurfaceRemoved failed to return error KErrArgument. Actual error was %d "), error);
+ StopTest(KErrGeneral, EFail);
+ }
+ else if (!iGceEnabled && error != KErrNotSupported)
+ {
+ ERR_PRINTF2(_L("SurfaceRemoved failed to return KErrNotSupported. Actual result: %d."), error);
+ StopTest(error, EFail);
+ }
+ else
+ {
+ StopTest();
+ }
+ }
+
+TInt RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId::UseSurfacesCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId* self =
+ static_cast<RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId*> (aPtr);
+ self->DoUseSurfacesCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayCtrlSurfaceRemovedNullSurfaceId::DoUseSurfacesCallBack()
+ {
+ TInt error = iVpsCommands.UseSurfaces();
+
+ if (iGceEnabled && error != KErrNone)
+ {
+ ERR_PRINTF2(_L("UseSurfaces failed with code %d."), error);
+ StopTest(error, EFail);
+ }
+ else if (!iGceEnabled && error != KErrNotSupported)
+ {
+ ERR_PRINTF2(_L("UseSurfaces failed to return KErrNotSupported. Actual result: %d."), error);
+ StopTest(error, EFail);
+ }
+ }
+
+RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId::RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RAsyncTestStepAviCtrlPlayBase(aTestName, aSectName, aKeyName, aControllerUid), iVpsCommands(iController)
+ {
+ }
+
+void RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId::KickoffTestL()
+ {
+ // Allow parent to create some call backs for its initialization.
+ // Should open the video controller, set the filename, add the source and add the sink.
+ RAsyncTestStepAviCtrlPlayBase::KickoffTestL();
+
+ // Call UseSurfaces
+ TCallBack callbackUseSurfaces(UseSurfacesCallBack, this);
+ delete iKickoffUseSurfaces;
+ iKickoffUseSurfaces = NULL;
+ iKickoffUseSurfaces = new (ELeave) CAsyncCallBack(callbackUseSurfaces, CActive::EPriorityLow);
+ iKickoffUseSurfaces->Call();
+
+ // Call SurfaceRemoved
+ iSurfaceId.iInternal[0] = 1111;
+ iSurfaceId.iInternal[1] = 1111;
+ iSurfaceId.iInternal[2] = 1111;
+ iSurfaceId.iInternal[3] = 1111;
+
+ TCallBack callbackSurfaceRemoved(SurfaceRemovedCallBack, this);
+ delete iKickoffSurfaceRemoved;
+ iKickoffSurfaceRemoved = NULL;
+ iKickoffSurfaceRemoved = new (ELeave) CAsyncCallBack(callbackSurfaceRemoved, CActive::EPriorityLow);
+ iKickoffSurfaceRemoved->Call();
+ }
+
+void RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId::CloseTest()
+ {
+ // no need to Cancel before deleting.
+ delete iKickoffSurfaceRemoved;
+ iKickoffSurfaceRemoved = NULL;
+
+ RAsyncTestStepAviCtrlPlayBase::CloseTest();
+ }
+
+TInt RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId::SurfaceRemovedCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId* self =
+ static_cast<RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId*> (aPtr);
+ self->DoSurfaceRemovedCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId::DoSurfaceRemovedCallBack()
+ {
+ TInt error = iVpsCommands.SurfaceRemoved(iSurfaceId);
+
+ if (iGceEnabled && error != KErrNotReady)
+ {
+ ERR_PRINTF2(_L("SurfaceRemoved failed to return error KErrNotReady. Actual error was %d "), error);
+ StopTest(KErrGeneral, EFail);
+ }
+ else if (!iGceEnabled && error != KErrNotSupported)
+ {
+ ERR_PRINTF2(_L("SurfaceRemoved failed to return KErrNotSupported. Actual result: %d."), error);
+ StopTest(error, EFail);
+ }
+ else
+ {
+ StopTest();
+ }
+ }
+
+TInt RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId::UseSurfacesCallBack(TAny* aPtr)
+ {
+ RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId* self =
+ static_cast<RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId*> (aPtr);
+ self->DoUseSurfacesCallBack();
+ return KErrNone;
+ }
+
+void RTestStepAviPlayCtrlSurfaceRemovedInvalidSurfaceId::DoUseSurfacesCallBack()
+ {
+ TInt error = iVpsCommands.UseSurfaces();
+
+ if (iGceEnabled && error != KErrNone)
+ {
+ ERR_PRINTF2(_L("UseSurfaces failed with code %d."), error);
+ StopTest(error, EFail);
+ }
+ else if (!iGceEnabled && error != KErrNotSupported)
+ {
+ ERR_PRINTF2(_L("UseSurfaces failed to return KErrNotSupported. Actual result: %d."), error);
+ StopTest(error, EFail);
+ }
+ }
+
+#endif // SYMBIAN_BUILD_GCE
+
+#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
+
+//
+// RAsyncTestSubtitlePlay
+//
+RAsyncTestSubtitlePlay::RAsyncTestSubtitlePlay(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ :RAsyncTestStepSubtitleBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ SetExpectedCrpReadyCount(1);
+ }
+
+void RAsyncTestSubtitlePlay::OnOpenCompleteL()
+ {
+ CheckAndEnableSubtitlesL();
+ AddDefaultSubtitleConfL();
+
+ RArray<TLanguage> languages;
+ CleanupClosePushL(languages);
+ TRAPD(err, iSubtitleCommands.GetSupportedSubtitleLanguagesL(languages));
+
+ if (err != KErrNotSupported)
+ {
+ ERR_PRINTF3(_L("GetSupportedSubtitleLanguagesL left with %d; expected %d"), err, KErrNotSupported);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ if (languages.Count() != 0)
+ {
+ ERR_PRINTF2(_L("GetSupportedSubtitleLanguagesL returned %d languages"), languages.Count());
+ User::Leave(KErrGeneral);
+ }
+
+ CleanupStack::PopAndDestroy(); // languages
+
+ TLanguage language = ELangNone;
+ err = iSubtitleCommands.GetSubtitleLanguage(language);
+
+ if (err != KErrNotSupported)
+ {
+ ERR_PRINTF3(_L("GetSubtitleLanguage failed with %d; expected %d"), err, KErrNotSupported);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ if (language != ELangNone)
+ {
+ ERR_PRINTF3(_L("GetSubtitleLanguage returned %d, expected %d"), language, ELangNone);
+ User::Leave(KErrGeneral);
+ }
+
+ err = iSubtitleCommands.SetSubtitleLanguage(ELangCanadianEnglish);
+
+ if (err != KErrNotSupported)
+ {
+ ERR_PRINTF3(_L("SetSubtitleLanguage failed with %d, expected %d"), err, KErrNotSupported);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ StartPlaybackL();
+ }
+
+void RAsyncTestSubtitlePlay::OnPlayCompleteL()
+ {
+ RemoveConfigDisableL();
+ }
+
+//
+// RAsyncTestSubtitleUpdateConfig
+//
+RAsyncTestSubtitleUpdateConfig::RAsyncTestSubtitleUpdateConfig(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ :RAsyncTestStepSubtitleBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ SetExpectedCrpReadyCount(2);
+ }
+
+void RAsyncTestSubtitleUpdateConfig::OnOpenCompleteL()
+ {
+ CheckAndEnableSubtitlesL();
+ AddDefaultSubtitleConfL();
+
+ TMMFSubtitleWindowConfig config;
+ config.iWindowId = KWindowIdValid;
+ config.iDisplayMode = EColor16MA;
+ config.iRotation = EVideoRotationClockwise90;
+ config.iWindowClipRect = KWindowClipRectAlt1;
+ TInt err = iSubtitleCommands.UpdateSubtitleConfig(config);
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("UpdateSubtitleConfig failed with %d"), err);
+ User::Leave(err);
+ }
+
+ StartPlaybackL();
+ }
+
+void RAsyncTestSubtitleUpdateConfig::OnPlayCompleteL()
+ {
+ RemoveConfigDisableL();
+ }
+
+//
+// RAsyncTestSubtitleUpdateDuring
+//
+
+CCallBackTimer* CCallBackTimer::NewL(const TCallBack& aCallBack, TInt aPriority)
+ {
+ CCallBackTimer* self = new (ELeave) CCallBackTimer(aCallBack, aPriority);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop();
+ return self;
+ }
+
+CCallBackTimer::CCallBackTimer(const TCallBack& aCallBack, TInt aPriority)
+ : CTimer(aPriority), iCallBack(aCallBack)
+ {
+ CActiveScheduler::Add(this);
+ }
+
+void CCallBackTimer::RunL()
+ {
+ User::LeaveIfError(iCallBack.CallBack());
+ }
+
+RAsyncTestSubtitleUpdateDuring::RAsyncTestSubtitleUpdateDuring(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ :RAsyncTestStepSubtitleBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ SetExpectedCrpReadyCount(2);
+ }
+
+void RAsyncTestSubtitleUpdateDuring::KickoffTestL()
+ {
+ TCallBack callBack(DuringPlaybackCallBack, this);
+ iCallBackTimer = CCallBackTimer::NewL(callBack, CTimer::EPriorityStandard);
+ iHasUpdated = EFalse;
+ RAsyncTestStepSubtitleBase::KickoffTestL();
+ }
+
+void RAsyncTestSubtitleUpdateDuring::CloseTest()
+ {
+ delete iCallBackTimer;
+ iCallBackTimer = NULL;
+ RAsyncTestStepSubtitleBase::CloseTest();
+ }
+
+TInt RAsyncTestSubtitleUpdateDuring::DuringPlaybackCallBack(TAny* aPtr)
+ {
+ RAsyncTestSubtitleUpdateDuring* self = static_cast<RAsyncTestSubtitleUpdateDuring*>(aPtr);
+ self->OnDuringPlayback();
+ return KErrNone;
+ }
+
+void RAsyncTestSubtitleUpdateDuring::OnOpenCompleteL()
+ {
+ CheckAndEnableSubtitlesL();
+ AddDefaultSubtitleConfL();
+
+ // Start the call back timer. Will trigger the during playback handler.
+ iCallBackTimer->After(2500000);
+
+ StartPlaybackL();
+ }
+
+void RAsyncTestSubtitleUpdateDuring::OnDuringPlayback()
+ {
+ TMMFSubtitleWindowConfig config;
+ config.iWindowId = KWindowIdValid;
+ config.iDisplayMode = EColor16MA;
+ config.iRotation = EVideoRotationClockwise90;
+ config.iWindowClipRect = KWindowClipRectAlt1;
+ TInt err = iSubtitleCommands.UpdateSubtitleConfig(config);
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("UpdateSubtitleConfig during playback failed with %d"), err);
+ StopTest(err, EFail);
+ }
+ else
+ {
+ iHasUpdated = ETrue;
+ }
+ }
+
+void RAsyncTestSubtitleUpdateDuring::OnPlayCompleteL()
+ {
+ RemoveConfigDisableL();
+
+ if (!iHasUpdated)
+ {
+ ERR_PRINTF1(_L("Subtitle configuration was not updated during playback."));
+ User::Leave(KErrGeneral);
+ }
+ }
+
+//
+// RAsyncTestSubtitleRemoveAdd
+//
+RAsyncTestSubtitleRemoveAdd::RAsyncTestSubtitleRemoveAdd(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ :RAsyncTestStepSubtitleBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ SetExpectedCrpReadyCount(2);
+ }
+
+void RAsyncTestSubtitleRemoveAdd::OnOpenCompleteL()
+ {
+ CheckAndEnableSubtitlesL();
+ AddDefaultSubtitleConfL();
+
+ TInt err = iSubtitleCommands.RemoveSubtitleConfig(KWindowIdValid);
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("RemoveSubtitleConfig failed with %d"), err);
+ User::Leave(err);
+ }
+
+ TMMFSubtitleWindowConfig config;
+ config.iWindowId = KWindowIdValid;
+ config.iDisplayMode = EColor16MA;
+ config.iRotation = EVideoRotationClockwise270;
+ config.iWindowClipRect = KWindowClipRectAlt2;
+ err = iSubtitleCommands.AddSubtitleConfig(config);
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("AddSubtitleConfig failed with %d"), err);
+ User::Leave(err);
+ }
+
+ StartPlaybackL();
+ }
+
+void RAsyncTestSubtitleRemoveAdd::OnPlayCompleteL()
+ {
+ RemoveConfigDisableL();
+ }
+
+//
+// RAsyncTestSubtitleNotEnabled
+//
+RAsyncTestSubtitleNotEnabled::RAsyncTestSubtitleNotEnabled(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ :RAsyncTestStepSubtitleBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ SetExpectedCrpReadyCount(0);
+ }
+
+void RAsyncTestSubtitleNotEnabled::OnOpenCompleteL()
+ {
+ // Make sure that subtitles are available:
+ TBool available = EFalse;
+ TInt err = iSubtitleCommands.GetSubtitlesAvailable(available);
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("GetSubtitlesAvailable failed with %d"), err);
+ User::Leave(err);
+ }
+
+ if (!available)
+ {
+ ERR_PRINTF1(_L("Subtitles unavailable"));
+ User::Leave(KErrGeneral);
+ }
+
+ // Perform severy subtitle related functions without enabling subtitles.
+ TMMFSubtitleWindowConfig config;
+ config.iWindowId = KWindowIdValid;
+ config.iDisplayMode = EColor16MA;
+ config.iRotation = EVideoRotationNone;
+ config.iWindowClipRect = KWindowClipRectFull;
+
+ err = iSubtitleCommands.AddSubtitleConfig(config);
+ if (err != KErrNotReady)
+ {
+ ERR_PRINTF3(_L("AddSubtitleConfig returned %d; expected %d"), err, KErrNotReady);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ err = iSubtitleCommands.UpdateSubtitleConfig(config);
+ if (err != KErrNotReady)
+ {
+ ERR_PRINTF3(_L("UpdateSubtitleConfig returned %d; expected %d"), err, KErrNotReady);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ RArray<TLanguage> languages;
+ TRAP(err, iSubtitleCommands.GetSupportedSubtitleLanguagesL(languages));
+ languages.Close();
+
+ if (err != KErrNotReady)
+ {
+ ERR_PRINTF3(_L("GetSupportedSubtitleLanguagesL left with %d; expected %d"), err, KErrNotReady);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ TLanguage language = ELangNone;
+ err = iSubtitleCommands.GetSubtitleLanguage(language);
+
+ if (err != KErrNotReady)
+ {
+ ERR_PRINTF3(_L("GetSubtitleLanguage returned %d; expected %d"), err, KErrNotReady);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ err = iSubtitleCommands.SetSubtitleLanguage(ELangCanadianEnglish);
+
+ if (err != KErrNotReady)
+ {
+ ERR_PRINTF3(_L("SetSubtitleLanguage returned %d; expected %d"), err, KErrNotReady);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ StartPlaybackL();
+ }
+
+void RAsyncTestSubtitleNotEnabled::OnPlayCompleteL()
+ {
+ TInt err = iSubtitleCommands.RemoveSubtitleConfig(KWindowIdValid);
+
+ if (err != KErrNotReady)
+ {
+ ERR_PRINTF3(_L("RemoveSubtitleConfig returned %d; expected %d"), err, KErrNotReady);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ err = iSubtitleCommands.DisableSubtitles();
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF3(_L("DisableSubtitles returned %d; expected %d"), err, KErrNone);
+ User::Leave(err);
+ }
+ }
+
+//
+// RAsyncTestSubtitleNotAvailable
+//
+RAsyncTestSubtitleNotAvailable::RAsyncTestSubtitleNotAvailable(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ :RAsyncTestStepSubtitleBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ SetExpectedCrpReadyCount(0);
+ }
+
+void RAsyncTestSubtitleNotAvailable::OnOpenCompleteL()
+ {
+ // Make sure that subtitles are available:
+ TBool available = EFalse;
+ TInt err = iSubtitleCommands.GetSubtitlesAvailable(available);
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("GetSubtitlesAvailable failed with %d"), err);
+ User::Leave(err);
+ }
+
+ if (available)
+ {
+ ERR_PRINTF1(_L("Subtitles available, but should not be"));
+ User::Leave(KErrGeneral);
+ }
+
+ err = iSubtitleCommands.EnableSubtitles();
+
+ if (err != KErrNotFound)
+ {
+ ERR_PRINTF3(_L("EnableSubtitles returned %d; expected %d"), err, KErrNotFound);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ // Perform severy subtitle related functions without enabling subtitles.
+ TMMFSubtitleWindowConfig config;
+ config.iWindowId = KWindowIdValid;
+ config.iDisplayMode = EColor16MA;
+ config.iRotation = EVideoRotationNone;
+ config.iWindowClipRect = KWindowClipRectFull;
+
+ err = iSubtitleCommands.AddSubtitleConfig(config);
+ if (err != KErrNotReady)
+ {
+ ERR_PRINTF3(_L("AddSubtitleConfig returned %d; expected %d"), err, KErrNotReady);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ err = iSubtitleCommands.UpdateSubtitleConfig(config);
+ if (err != KErrNotReady)
+ {
+ ERR_PRINTF3(_L("UpdateSubtitleConfig returned %d; expected %d"), err, KErrNotReady);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ RArray<TLanguage> languages;
+ TRAP(err, iSubtitleCommands.GetSupportedSubtitleLanguagesL(languages));
+ languages.Close();
+
+ if (err != KErrNotReady)
+ {
+ ERR_PRINTF3(_L("GetSupportedSubtitleLanguagesL left with %d; expected %d"), err, KErrNotReady);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ TLanguage language = ELangNone;
+ err = iSubtitleCommands.GetSubtitleLanguage(language);
+
+ if (err != KErrNotReady)
+ {
+ ERR_PRINTF3(_L("GetSubtitleLanguage returned %d; expected %d"), err, KErrNotReady);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ err = iSubtitleCommands.SetSubtitleLanguage(ELangCanadianEnglish);
+
+ if (err != KErrNotReady)
+ {
+ ERR_PRINTF3(_L("SetSubtitleLanguage returned %d; expected %d"), err, KErrNotReady);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ StartPlaybackL();
+ }
+
+void RAsyncTestSubtitleNotAvailable::OnPlayCompleteL()
+ {
+ TInt err = iSubtitleCommands.RemoveSubtitleConfig(KWindowIdValid);
+
+ if (err != KErrNotReady)
+ {
+ ERR_PRINTF3(_L("RemoveSubtitleConfig returned %d; expected %d"), err, KErrNotReady);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ err = iSubtitleCommands.DisableSubtitles();
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF3(_L("DisableSubtitles returned %d; expected %d"), err, KErrNone);
+ User::Leave(err);
+ }
+ }
+
+//
+// RAsyncTestSubtitleMismatchedId
+//
+RAsyncTestSubtitleMismatchedId::RAsyncTestSubtitleMismatchedId(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ :RAsyncTestStepSubtitleBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ SetExpectedCrpReadyCount(1);
+ }
+
+void RAsyncTestSubtitleMismatchedId::OnOpenCompleteL()
+ {
+ CheckAndEnableSubtitlesL();
+ AddDefaultSubtitleConfL();
+
+ TMMFSubtitleWindowConfig config;
+ config.iWindowId = KWindowIdMismatched;
+ config.iDisplayMode = EColor16MA;
+ config.iRotation = EVideoRotationClockwise90;
+ config.iWindowClipRect = KWindowClipRectAlt1;
+
+ TInt err = iSubtitleCommands.UpdateSubtitleConfig(config);
+ if (err != KErrNotFound)
+ {
+ ERR_PRINTF3(_L("UpdateSubtitleConfig returned %d; expected %d"), err, KErrNotFound);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ err = iSubtitleCommands.RemoveSubtitleConfig(KWindowIdMismatched);
+ if (err != KErrNotFound)
+ {
+ ERR_PRINTF3(_L("RemoveSubtitleConfig returned %d; expected %d"), err, KErrNotFound);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ TWsGraphicId id(TWsGraphicId::EUninitialized);
+ TRect rect;
+ err = iSubtitleCommands.GetCrpParameters(KWindowIdMismatched, id, rect);
+ if (err != KErrNotFound)
+ {
+ ERR_PRINTF3(_L("GetCrpParameters returned %d; expected %d"), err, KErrNotFound);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ // If we haven't left yet then the test passes.
+ StopTest();
+ }
+
+//
+// RAsyncTestSubtitleDoubleCall
+//
+RAsyncTestSubtitleDoubleCall::RAsyncTestSubtitleDoubleCall(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ :RAsyncTestStepSubtitleBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ SetExpectedCrpReadyCount(1);
+ }
+
+void RAsyncTestSubtitleDoubleCall::OnOpenCompleteL()
+ {
+ TBool available = EFalse;
+
+ TInt err = iSubtitleCommands.GetSubtitlesAvailable(available);
+
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("GetSubtitlesAvailable failed with %d"), err);
+ User::Leave(err);
+ }
+
+ if (!available)
+ {
+ ERR_PRINTF1(_L("Subtitles unavailable"));
+ User::Leave(KErrGeneral);
+ }
+
+ // Disable subtitles when they are not enabled.
+ err = iSubtitleCommands.DisableSubtitles();
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("DisableSubtitles failed with %d"), err);
+ User::Leave(err);
+ }
+
+ err = iSubtitleCommands.EnableSubtitles();
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("EnableSubtitles failed with %d"), err);
+ User::Leave(err);
+ }
+
+ // Enable subtitles when they are already enabled.
+ err = iSubtitleCommands.EnableSubtitles();
+ if (err != KErrInUse)
+ {
+ ERR_PRINTF3(_L("EnableSubtitles failed with %d; expecting %d when already enabled."), err, KErrInUse);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ AddDefaultSubtitleConfL();
+ StartPlaybackL();
+ }
+
+void RAsyncTestSubtitleDoubleCall::OnPlayCompleteL()
+ {
+ RemoveConfigDisableL();
+
+ // Disable subtitles when they are not enabled.
+ TInt err = iSubtitleCommands.DisableSubtitles();
+ if (err != KErrNone)
+ {
+ ERR_PRINTF2(_L("DisableSubtitles failed with %d"), err);
+ User::Leave(err);
+ }
+ }
+
+//
+// RAsyncTestSubtitleMultipleConfigs
+//
+RAsyncTestSubtitleMultipleConfigs::RAsyncTestSubtitleMultipleConfigs(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+ :RAsyncTestStepSubtitleBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ SetExpectedCrpReadyCount(1);
+ }
+
+void RAsyncTestSubtitleMultipleConfigs::OnOpenCompleteL()
+ {
+ CheckAndEnableSubtitlesL();
+ AddDefaultSubtitleConfL();
+
+ TMMFSubtitleWindowConfig config;
+ config.iWindowId = KWindowIdValid;
+ config.iDisplayMode = EColor16MA;
+ config.iRotation = EVideoRotationClockwise90;
+ config.iWindowClipRect = KWindowClipRectAlt1;
+
+ // Add a config with the same window ID.
+ TInt err = iSubtitleCommands.AddSubtitleConfig(config);
+ if (err != KErrArgument)
+ {
+ ERR_PRINTF3(_L("AddSubtitleConfig returned %d; expected %d"), err, KErrArgument);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ // Add a config with a different ID.
+ config.iWindowId = KWindowIdValidAlt;
+ err = iSubtitleCommands.AddSubtitleConfig(config);
+ if (err != KErrInUse)
+ {
+ ERR_PRINTF3(_L("AddSubtitleConfig returned %d; expected %d"), err, KErrInUse);
+ User::Leave(err == KErrNone ? KErrGeneral : err);
+ }
+
+ // If we haven't left yet then the test passes.
+ StopTest();
+ }
+
+#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/avictrl/src/tsu_mmf_avictrlrecord.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,1639 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+// Specific includes for this test suite
+#include "tsu_mmf_avictrl_teststep.h"
+#include "tsu_mmf_avictrl_testsuite.h"
+#include "tsu_mmf_avictrlrecord.h"
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include <mmf/common/mmfstandardcustomcommandsenums.h>
+#include <mmf/common/mmfstandardcustomcommandsimpl.h>
+#endif
+const TInt KTwoSeconds = 2000000;
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlRecord::RTestStepAviRecordCtrlRecord(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+
+/**
+Do the test step. This test Primes the AviRecordController and Records an Avi file for 2 secs
+*/
+TVerdict RTestStepAviRecordCtrlRecord::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("this step records an Avi file with default config using AviRecordController"));
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ User::After(KTwoSeconds);
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() is failed with %d "), errorCode);
+ return EFail;
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlGain::RTestStepAviRecordCtrlGain(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests setting the Gain on AviRecordController in Stopped, Primed and Playing
+states and checks if the Gain set is same as the Gain got.
+*/
+TVerdict RTestStepAviRecordCtrlGain::DoTestStepL( void )
+ {
+ TInt maxGain(0);
+ RMMFVideoRecordControllerCustomCommands theRecordCommander(iController);
+ TBool enabled(ETrue);
+ TInt errorCode =theRecordCommander.SetAudioEnabled( enabled );
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetAudioEnabled() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ theRecordCommander.GetAudioEnabled(enabled);
+ if(!enabled)
+ {
+ INFO_PRINTF2(_L("GetAudioEnabled() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ INFO_PRINTF1(_L("this step tests SetGain/GetGain() APIs of AviRecordController"));
+ RMMFAudioRecordDeviceCustomCommands theAudioDevice( iController );
+ errorCode =theAudioDevice.GetMaxGain( maxGain );
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetMaxGain() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ TInt theGain = maxGain /2;
+ //try setting gain in Stopped State
+ errorCode =theAudioDevice.SetGain(theGain);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetGain() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ TInt theNewGain (0);
+ errorCode =theAudioDevice.GetGain(theNewGain);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetGain() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( theNewGain != theGain )
+ {
+ INFO_PRINTF1(_L("Set and Get Gains are different during Stopped State"));
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ //try setting Gain in Primed State
+ theGain = maxGain /4;
+ errorCode =theAudioDevice.SetGain(theGain);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetGain() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetGain(theNewGain);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetGain() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+
+ if( theNewGain != theGain )
+ {
+ INFO_PRINTF1(_L("Set and Get Gains are different during Primed State"));
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EInconclusive;
+ }
+ //try setting Gain in Playing State
+ theGain = maxGain;
+ errorCode =theAudioDevice.SetGain(theGain);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetGain() during Recording State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetGain(theNewGain);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetGain() during Recording State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ if( theNewGain != theGain )
+ {
+ INFO_PRINTF1(_L("Set and Get Gains are different during Recording State"));
+ iController.Stop();
+ return EFail;
+ }
+ User::After(KTwoSeconds);
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() is failed with %d "), errorCode);
+ return EFail;
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlRecordBalance::RTestStepAviRecordCtrlRecordBalance(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+ Do the test step. This tests setting the RecordBalance on AviRecordController in Stopped, Primed and Recording
+ states and checks if the RecordBalance set is same as the RecordBalance got.
+ */
+TVerdict RTestStepAviRecordCtrlRecordBalance::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("this step tests SetBalance/GetBalance() APIs of AviRecordController "));
+ RMMFVideoRecordControllerCustomCommands theRecordCommander(iController);
+ TBool enabled(ETrue);
+ TInt errorCode =theRecordCommander.SetAudioEnabled( enabled );
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetAudioEnabled() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ theRecordCommander.GetAudioEnabled(enabled);
+ if(!enabled)
+ {
+ INFO_PRINTF2(_L("GetAudioEnabled() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ RMMFAudioRecordDeviceCustomCommands theCommander( iController );
+ TInt theBalance = (KBalanceMultiplyFactor * (KMMFBalanceMaxRight-KMMFBalanceMaxLeft))/100 + KMMFBalanceMaxLeft;
+ errorCode = theCommander.SetBalance( theBalance );
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetBalance() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ TInt theNewBalance (0);
+ errorCode =theCommander.GetBalance( theNewBalance );
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetBalance() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( theNewBalance != theBalance )
+ {
+ INFO_PRINTF1(_L("Set and Get Balances are different during Stopped State"));
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = theCommander.SetBalance( theBalance );
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetBalance() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theCommander.GetBalance( theNewBalance );
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetBalance() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( theNewBalance != theBalance )
+ {
+ INFO_PRINTF1(_L("Set and Get Balances are different during Primed State"));
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =theCommander.SetBalance(theBalance);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetBalance() during Recording State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ errorCode =theCommander.GetBalance(theNewBalance);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetBalance() during Recording State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ if(theNewBalance != theBalance)
+ {
+ //stop the controller
+ INFO_PRINTF1(_L("Set and Get Balances are different during Recording State"));
+ iController.Stop();
+ return EFail;
+ }
+ User::After(KTwoSeconds);
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() is failed with %d "), errorCode);
+ return EFail;
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlSetMaxFileSize::RTestStepAviRecordCtrlSetMaxFileSize(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+ Do the test step. This test Primes the AviRecordController and sets a limit on the recorded file size
+ and checks for the KErrEof from the AviRecordController
+ */
+TVerdict RTestStepAviRecordCtrlSetMaxFileSize::DoTestStepL()
+ {
+ INFO_PRINTF1(_L("this step sets a limit on the recorded file size on AviRecordController"));
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EFail;
+ }
+ RMMFVideoRecordControllerCustomCommands theVideoCommander( iController );
+ TInt theSize = 15000;
+ errorCode = theVideoCommander.SetMaxFileSize( theSize );
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetMaxFileSize() is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ //Dont Stop! Wait for the KErrEOF event
+ CActiveScheduler::Start();
+ return iTestStepResult;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlRecordTimeAvailable::RTestStepAviRecordCtrlRecordTimeAvailable(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This test Primes the AviRecordController, sets a limit on the record file size
+ and queries recordtime availiable
+ */
+TVerdict RTestStepAviRecordCtrlRecordTimeAvailable::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("this step tries to get the RecordTimeAvailable from AviRecordController"));
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EFail;
+ }
+ RMMFVideoRecordControllerCustomCommands theVideoCommander( iController );
+ TInt theSize = 15000;
+ errorCode = theVideoCommander.SetMaxFileSize( theSize );
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetMaxFileSize() is failed with %d "), errorCode);
+ return EFail;
+ }
+ TTimeIntervalMicroSeconds theTimeAvailable(0);
+ errorCode = theVideoCommander.GetRecordTimeAvailable(theTimeAvailable);
+ if( errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetRecordTimeAvailable() is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ //Dont Stop! Wait for the KErrEOF event
+ CActiveScheduler::Start();
+ return iTestStepResult;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlSetGetFrameRate::RTestStepAviRecordCtrlSetGetFrameRate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests setting the frame rate on AviRecordController in Stopped, Primed and Recording
+states and checks if the framerate set is same as the framerate got.
+*/
+TVerdict RTestStepAviRecordCtrlSetGetFrameRate::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("this step tests SetFrameRate/GetFrameRate() APIs of AviRecordController"));
+ TReal32 framerate = 10.0;
+ TReal32 newFramerate;
+ RMMFVideoControllerCustomCommands theCommander(iController);
+ TInt errorCode =theCommander.SetFrameRate(framerate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetFrameRate() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theCommander.GetFrameRate(newFramerate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Get FrameRate() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( newFramerate != framerate )
+ {
+ INFO_PRINTF1(_L("Set and Get frame rates are different during Stopped State"));
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =theCommander.SetFrameRate(framerate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetFrameRate() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theCommander.GetFrameRate(newFramerate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetFrame Rate() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( newFramerate != framerate )
+ {
+ INFO_PRINTF1(_L("Set and Get Frame rates are different during Primed State"));
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EInconclusive;
+ }
+ errorCode =theCommander.SetFrameRate(framerate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetFrameRate() during recording state is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ errorCode =theCommander.GetFrameRate(newFramerate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetFrameRate() during recording State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ if( newFramerate != framerate )
+ {
+ INFO_PRINTF1(_L("Set and Get Frame Rates are different during recording State"));
+ return EFail;
+ }
+ User::After(KTwoSeconds);
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() is failed with %d "), errorCode);
+ return EFail;
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecirdCtrlSetGetFrameSize::RTestStepAviRecirdCtrlSetGetFrameSize(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests setting the bitrate on AviRecordController in Stopped, Primed and Recording
+states and checks if the bitrate set is same as the bitrate got.
+*/
+TVerdict RTestStepAviRecirdCtrlSetGetFrameSize::DoTestStepL( void )
+ {
+ const TSize KFrameSize (176,144);
+ const TSize KVideoFrameSize(KFrameSize);
+ TSize framesize(KVideoFrameSize);
+ TSize newFramesize;
+ RMMFVideoRecordControllerCustomCommands theCommander(iController);
+ TInt errorCode =theCommander.SetVideoFrameSize(framesize);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetFrameSize() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ RMMFVideoControllerCustomCommands getCommander(iController);
+ errorCode =getCommander.GetVideoFrameSize(newFramesize);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetFrameSize() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( newFramesize != framesize )
+ {
+ INFO_PRINTF1(_L("Set and Get Framesizes are different during Stopped State"));
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode =theCommander.SetVideoFrameSize(framesize);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetFrameSize() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =getCommander.GetVideoFrameSize(newFramesize);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetFrameSize() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( newFramesize != framesize )
+ {
+ INFO_PRINTF1(_L("Set and Get Frame Sizes are different during Primed State"));
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EInconclusive;
+ }
+ errorCode =getCommander.GetVideoFrameSize(newFramesize);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetFrameSize() during recording State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ if( newFramesize != framesize )
+ {
+ INFO_PRINTF1(_L("Set and Get frame sizes are different during recording State"));
+ return EFail;
+ }
+ User::After(KTwoSeconds);
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() is failed with %d "), errorCode);
+ return EFail;
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlGetSetAudioDataType::RTestStepAviRecordCtrlGetSetAudioDataType(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+ Do the test step. This tests setting the SinkDataType on AviRecordController in Stopped, Primed and Recording
+ states and checks if the SinkDataType set is same as the SinkDataType got.
+ */
+TVerdict RTestStepAviRecordCtrlGetSetAudioDataType::DoTestStepL( void )
+ {
+ RMMFVideoRecordControllerCustomCommands theVideoRecordCommander(iController);
+ TFourCC theNewCodec;
+ TInt errorCode = 0;
+ TBool enabled(ETrue);
+ TInt bitRate = 705600;
+ TInt newBitRate = 0;
+ errorCode =theVideoRecordCommander.SetAudioEnabled( enabled );
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetAudioEnabled() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ theVideoRecordCommander.GetAudioEnabled(enabled);
+ if(!enabled)
+ {
+ INFO_PRINTF2(_L("GetAudioEnabled() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = theVideoRecordCommander.SetAudioCodec(KMMFFourCCCodePCM8);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetAudioCodec() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ RMMFVideoControllerCustomCommands theGetCommander(iController);
+ errorCode =theGetCommander.GetAudioCodec(theNewCodec);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetAudioCodec() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( theNewCodec != KMMFFourCCCodePCM8)
+ {
+ INFO_PRINTF1(_L("GetAudioCodec() returned datatype different from PCM8 "));
+ return EFail;
+ }
+ errorCode = theVideoRecordCommander.SetAudioBitRate(bitRate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetAudioBitRate() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theGetCommander.GetAudioBitRate(newBitRate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetAudioBitRate() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( newBitRate != bitRate)
+ {
+ INFO_PRINTF1(_L("GetAudioBitRate() returned wronng bit rate "));
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ //Audio codec fail;
+ errorCode = theVideoRecordCommander.SetAudioCodec(KMMFFourCCCodePCM8);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetAudioCodec() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theGetCommander.GetAudioCodec(theNewCodec);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetAudioCodec() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( theNewCodec != KMMFFourCCCodePCM8 )
+ {
+ INFO_PRINTF1(_L("GetAudioCodec() returned datatype different from PCM8 "));
+ return EFail;
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlGetSetVideoDataType::RTestStepAviRecordCtrlGetSetVideoDataType(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+ Do the test step. This tests setting the SinkDataType on AviRecordController in Stopped, Primed and Recording
+ states and checks if the SinkDataType set is same as the SinkDataType got.
+ */
+TVerdict RTestStepAviRecordCtrlGetSetVideoDataType::DoTestStepL( void )
+ {
+ HBufC8* iMimeType = HBufC8::NewL(256);
+ TPtr8 des = iMimeType->Des();
+ char xv[]="XVID";
+ TUint8* p = (TUint8*)xv;
+ TPtrC8 temp(p);
+ _LIT8(KAviVideoCodec,"XVID");
+ INFO_PRINTF1(_L("this step tests SetVideoMimeType/GetVideoMimeType() APIs of AviRecordController"));
+
+ RMMFVideoRecordControllerCustomCommands theVideoRecordCommander(iController);
+ TInt errorCode = theVideoRecordCommander.SetVideoCodec(KAviVideoCodec);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetVideoCodec() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ RMMFVideoControllerCustomCommands theGetCommander(iController);
+ errorCode =theGetCommander.GetVideoMimeType(des);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetVideoMimeType() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if (des.Compare(temp))
+ {
+ INFO_PRINTF1(_L("GetVideoMimeType() returned datatype different from XVID "));
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = theVideoRecordCommander.SetVideoCodec(KAviVideoCodec);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetVideoCodec() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ //RMMFVideoControllerCustomCommands theGetCommander(iController);
+ errorCode =theGetCommander.GetVideoMimeType(des);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetVideoMimeType() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if (des.Compare(temp))
+ {
+ INFO_PRINTF1(_L("GetVideoMimeType() returned datatype different from XVID "));
+ return EFail;
+ }
+ return EPass;
+ }
+
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlGetSetMetaData::RTestStepAviRecordCtrlGetSetMetaData(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+/**
+This test Adds new metadata to the Avi file and checks if the meta data is added to the clip
+ */
+TVerdict RTestStepAviRecordCtrlGetSetMetaData::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This test Adds metadata to the Avi file "));
+ _LIT(K1, "Title");
+ _LIT(K2, "Author");
+ _LIT(k1, "SampleMetaData");
+ _LIT(k2, "Symbian");
+ CMMFMetaDataEntry* metaEntry = NULL;
+ RMMFAudioRecordControllerCustomCommands theCommander( iController );
+ TPtrC ptr1;
+ TPtrC ptr2;
+ ptr1.Set(K1);
+ ptr2.Set(k1);
+ CMMFMetaDataEntry* metaTitle = CMMFMetaDataEntry::NewL(ptr1,ptr2);
+ CleanupStack::PushL(metaTitle);
+ ptr1.Set(K2);
+ ptr2.Set(k2);
+ CMMFMetaDataEntry* metaAuthor = CMMFMetaDataEntry::NewL(ptr1,ptr2);
+ CleanupStack::PushL(metaAuthor);
+ TInt errorCode = KErrNone;
+ TRAP(errorCode, theCommander.AddMetaDataEntryL(*metaTitle));
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("AddMetaDataEntryL is failed with %d "), errorCode);
+ CleanupStack::PopAndDestroy(2);
+ return EFail;
+ }
+ TRAP(errorCode, theCommander.AddMetaDataEntryL(*metaAuthor));
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("AddMetaDataEntryL is failed with %d "), errorCode);
+ CleanupStack::PopAndDestroy(2);
+ return EFail;
+ }
+ TInt numEntries = 0;
+ errorCode = iController.GetNumberOfMetaDataEntries( numEntries );
+ if(numEntries != 0)
+ {
+ INFO_PRINTF1(_L("GetNumberOfMetaDataEntries returned wrong number "));
+ CleanupStack::PopAndDestroy(2);
+ return EFail;
+ }
+ for(TInt counter = 0; counter < numEntries; ++counter)
+ {
+ TRAP(errorCode, metaEntry = iController.GetMetaDataEntryL(counter));
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetMetaDataEntryL is failed with %d "), errorCode);
+ CleanupStack::PopAndDestroy(2);
+ return EFail;
+ }
+ INFO_PRINTF3(_L("%S %S"), &metaEntry->Name(), &metaEntry->Value());
+ }
+ CleanupStack::PopAndDestroy(2);
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlDuration::RTestStepAviRecordCtrlDuration(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+This test Primes the AviRecordController, Records an Avi file for 2 secs and stops the controller
+records again and checks the duration
+*/
+TVerdict RTestStepAviRecordCtrlDuration::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("this step records an Avi file with default config using AviRecordController"));
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EFail;
+ }
+ User::After(KTwoSeconds);
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() is failed with %d "), errorCode);
+ return EFail;
+ }
+ TTimeIntervalMicroSeconds theDuration;
+ errorCode = iController.GetDuration(theDuration);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("DurationL() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EFail;
+ }
+ User::After(KTwoSeconds);
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() is failed with %d "), errorCode);
+ return EFail;
+ }
+ TTimeIntervalMicroSeconds theNewDuration;
+ errorCode = iController.GetDuration(theNewDuration);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("DurationL() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ if(theNewDuration < theDuration)
+ {
+ INFO_PRINTF1(_L("Data is not appended to the Clip "));
+ return EFail;
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordNotAudioEnabled::RTestStepAviRecordNotAudioEnabled(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+This tests the gain and record balance functionality in the file when audio is not enabled.
+*/
+TVerdict RTestStepAviRecordNotAudioEnabled::DoTestStepL( void )
+ {
+ TInt maxGain(0);
+ INFO_PRINTF1(_L("this step tests SetGain/GetGain() APIs of AviRecordControllerwithout enabling audio"));
+ RMMFAudioRecordDeviceCustomCommands theAudioDevice( iController );
+ TInt errorCode =theAudioDevice.GetMaxGain( maxGain );
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetMaxGain() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ TInt theGain = maxGain /2;
+ //try setting gain in Stopped State
+ errorCode =theAudioDevice.SetGain(theGain);
+ if(errorCode !=KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetGain() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ TInt theNewGain (0);
+ errorCode =theAudioDevice.GetGain(theNewGain);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetGain() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ TInt theBalance = (KBalanceMultiplyFactor * (KMMFBalanceMaxRight-KMMFBalanceMaxLeft))/100 + KMMFBalanceMaxLeft;
+ errorCode = theAudioDevice.SetBalance( theBalance );
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetBalance() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ TInt theNewBalance (0);
+ errorCode =theAudioDevice.GetBalance( theNewBalance );
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetBalance() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ //try setting Gain in Primed State
+ theGain = maxGain /4;
+ errorCode =theAudioDevice.SetGain(theGain);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetGain() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetGain(theNewGain);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetGain() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ theBalance = (KBalanceMultiplyFactor * (KMMFBalanceMaxRight-KMMFBalanceMaxLeft))/100 + KMMFBalanceMaxLeft;
+ errorCode = theAudioDevice.SetBalance( theBalance );
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetBalance() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetBalance( theNewBalance );
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetBalance() during Primed State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EInconclusive;
+ }
+ //try setting Gain in Playing State
+ theGain = maxGain;
+ errorCode =theAudioDevice.SetGain(theGain);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetGain() during Recording State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetGain(theNewGain);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetGain() during Recording State is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ theBalance = (KBalanceMultiplyFactor * (KMMFBalanceMaxRight-KMMFBalanceMaxLeft))/100 + KMMFBalanceMaxLeft;
+ errorCode = theAudioDevice.SetBalance( theBalance );
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetBalance() during Recording State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theAudioDevice.GetBalance( theNewBalance );
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("GetBalance() during Recording State is failed with %d "), errorCode);
+ return EFail;
+ }
+ User::After(KTwoSeconds);
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() is failed with %d "), errorCode);
+ return EFail;
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlPosition::RTestStepAviRecordCtrlPosition(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+This tests the Set and get position functionality of the AviRecordController in Stopped, Primed and Playing
+and playing states
+*/
+TVerdict RTestStepAviRecordCtrlPosition::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("this step tests SetPosition() APIs of AviRecordController"));
+ TTimeIntervalMicroSeconds aPosition(0);
+ TTimeIntervalMicroSeconds thePosition(0);
+ TInt errorCode = KErrNone;
+ errorCode = iController.SetPosition(aPosition);
+ if(errorCode != KErrNotReady)
+ {
+ INFO_PRINTF2(_L("SetPosition() during stopped state is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.GetPosition(thePosition);
+ if(errorCode != KErrNotReady)
+ {
+ INFO_PRINTF2(_L("GetPosition() during stopped state is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.SetPosition(aPosition);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetPosition() during primed state is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.GetPosition(thePosition);
+ if(errorCode )
+ {
+ INFO_PRINTF2(_L("GetPosition() during primed is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.SetPosition(aPosition);
+ if(errorCode != KErrNotReady)
+ {
+ INFO_PRINTF2(_L("SetPosition() during recording state is failed with %d "), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+ User::After(KTwoSeconds);
+ errorCode = iController.GetPosition(thePosition);
+ if(errorCode )
+ {
+ INFO_PRINTF2(_L("GetPosition() during recording is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() is failed with %d "), errorCode);
+ return EFail;
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlPause::RTestStepAviRecordCtrlPause(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+This tests the Pause functionality of the AviPlayController in Stopped, Primed and Playing
+states and checks if the Play starts from the current position. It expects KErrNotReady
+error if Pause is called during Stopped and Primed states.
+*/
+TVerdict RTestStepAviRecordCtrlPause::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("this step tests Pause() API of AviRecordController "));
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Pause();
+ if(errorCode != KErrNone)
+ {
+ INFO_PRINTF2(_L("Pause() during Playing State failed with error %d "), errorCode);
+ return EFail;
+ }
+ //get the record completion event
+ User::After(KTwoSeconds);
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() is failed with %d "), errorCode);
+ return EFail;
+ }
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename
+*/
+RTestStepAviRecordCtrlDurationNewClip::RTestStepAviRecordCtrlDurationNewClip(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+
+ }
+
+/**
+DEF088332: MVS UI Application does not update the timer during video recording
+This tests the Duration functionality of the AviPlayController.
+*/
+TVerdict RTestStepAviRecordCtrlDurationNewClip::DoTestStepL(void)
+ {
+ INFO_PRINTF1(_L("DEF088332: MVS UI Application does not update the timer during video recording "));
+ INFO_PRINTF1(_L("this step tests GetDuration() API of AviRecordController "));
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+
+ // get the duration but do not stop in the meantime.
+ TTimeIntervalMicroSeconds theDuration1(0);
+ TTimeIntervalMicroSeconds theDuration2(0);
+ User::After(KTwoSeconds);
+ TRAP(errorCode, iController.GetDuration(theDuration1));
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ INFO_PRINTF2(_L("Duration is %i "), I64LOW(theDuration1.Int64()));
+ User::After(KTwoSeconds);
+ TRAP(errorCode, iController.GetDuration(theDuration2));
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ INFO_PRINTF2(_L("Duration is %i "), I64LOW(theDuration2.Int64()));
+
+ // pass if both are nonzero and not equal
+ if(theDuration1 == 0 || theDuration2 == 0 || theDuration2 <= theDuration1)
+ {
+ return EFail;
+ }
+
+ errorCode = iController.Stop();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Stop() is failed with %d "), errorCode);
+ return EFail;
+ }
+ return EPass;
+ }
+
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviRecordCtrlSetGetPixelAspectRatio::RTestStepAviRecordCtrlSetGetPixelAspectRatio(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests setting the pixel aspect ratio on AviRecordController in Stopped state and checks if the PAR set is same as the PAR got (1:1).
+*/
+TVerdict RTestStepAviRecordCtrlSetGetPixelAspectRatio::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This step tests SetPixelAspectRatio/GetPixelAspectRatio() APIs of AviRecordController"));
+ TVideoAspectRatio par(1,1);
+ TVideoAspectRatio newPar;
+ RMMFVideoPixelAspectRatioCustomCommands theCommander(iController);
+ TInt errorCode = theCommander.SetPixelAspectRatio(par);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetPixelAspectRatio() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theCommander.GetPixelAspectRatio(newPar);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetPixelAspectRatio() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( newPar != par )
+ {
+ INFO_PRINTF1(_L("Set and Get pixel aspect ratio are different during Stopped State"));
+ return EFail;
+ }
+
+ INFO_PRINTF1(_L("Set and Get pixel aspect ratio are identical during Stopped State: (1:1)"));
+ return EPass;
+ }
+
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviRecordCtrlGetSupportedPixelAspectRatios::RTestStepAviRecordCtrlGetSupportedPixelAspectRatios(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests getting the list of supported pixel aspect ratios on AviRecordController and checks the returned list contains only square PAR (1:1).
+*/
+TVerdict RTestStepAviRecordCtrlGetSupportedPixelAspectRatios::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This step tests GetSupportedPixelAspectRatiosL() APIs of AviRecordController"));
+ TVerdict verdict = EFail;
+ RArray<TVideoAspectRatio> supportedPARs;
+ RMMFVideoPixelAspectRatioCustomCommands theCommander(iController);
+ TInt errorCode = 0;
+ TRAP(errorCode, theCommander.GetSupportedPixelAspectRatiosL(supportedPARs));
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetSupportedPixelAspectRatiosL() is failed with %d "), errorCode);
+ verdict = EFail;
+ }
+ if(supportedPARs.Count() == 1 && (supportedPARs[0]).iNumerator == 1 && (supportedPARs[0]).iNumerator == 1) // Only supported PAR is (1:1)
+ {
+ INFO_PRINTF1(_L("Get the supported pixel aspect ratios returned the expected values."));
+ verdict = EPass;
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Get the supported pixel aspect ratios didn't return the expected values."));
+ verdict = EFail;
+ }
+
+ supportedPARs.Close();
+ return verdict;
+ }
+
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviRecordCtrlSetGetAudioSampleRate::RTestStepAviRecordCtrlSetGetAudioSampleRate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests setting the audio sample rate on AviRecordController in Stopped state and checks if the audio sample rate set is same as the audio sample rate got 22050Hz.
+*/
+TVerdict RTestStepAviRecordCtrlSetGetAudioSampleRate::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This step tests SetAudioSampleRate/GetAudioSampleRate() APIs of AviRecordController"));
+ TUint sampleRate = 22050; // The only supported rate is 22050Hz
+ TUint newSampleRate = 0;
+ RMMFVideoAudioSamplingRateAndChannelConfigCustomCommands theCommander(iController);
+ TInt errorCode = theCommander.SetAudioSampleRate(sampleRate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetAudioSampleRate() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theCommander.GetAudioSampleRate(newSampleRate);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetAudioSampleRate() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( newSampleRate != sampleRate )
+ {
+ INFO_PRINTF1(_L("Set and Get audio sample rate are different during Stopped State"));
+ return EFail;
+ }
+
+ INFO_PRINTF1(_L("Set and Get audio sample rate are identical during Stopped State: 22050Hz"));
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviRecordCtrlGetSupportedAudioSampleRate::RTestStepAviRecordCtrlGetSupportedAudioSampleRate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests getting the list of supported audio sample rates on AviRecordController and checks the returned list contains only rate 22050Hz.
+*/
+TVerdict RTestStepAviRecordCtrlGetSupportedAudioSampleRate::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This step tests GetSupportedAudioSampleRatesL() APIs of AviRecordController"));
+ TVerdict verdict = EFail;
+ RArray<TUint> supportedSampleRates;
+ RMMFVideoAudioSamplingRateAndChannelConfigCustomCommands theCommander(iController);
+ TInt errorCode = 0;
+ TRAP(errorCode, theCommander.GetSupportedAudioSampleRatesL(supportedSampleRates));
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetSupportedAudioSampleRatesL() is failed with %d "), errorCode);
+ verdict = EFail;
+ }
+ if(supportedSampleRates.Count() == 1 && supportedSampleRates[0] == 22050) //Only supported audio sample rate is 22050Hz
+ {
+ INFO_PRINTF1(_L("Get the supported audio sample rates returned the expected values."));
+ verdict = EPass;
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Get the supported audio sample rates didn't return the expected values."));
+ verdict = EFail;
+ }
+
+ supportedSampleRates.Close();
+ return verdict;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviRecordCtrlSetGetAudioChannels::RTestStepAviRecordCtrlSetGetAudioChannels(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests setting the numbetr of audio channels on AviRecordController in Stopped state and checks if the number of audio channels set is same as the number of audio channels got 2 (stereo).
+*/
+TVerdict RTestStepAviRecordCtrlSetGetAudioChannels::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This step tests SetAudioChannels/GetAudioChannels() APIs of AviRecordController"));
+ TUint audioChannels = 2; // The only supported numb er of audio channels is stereo 2
+ TUint newAudioChannels = 0;
+ RMMFVideoAudioSamplingRateAndChannelConfigCustomCommands theCommander(iController);
+ TInt errorCode = theCommander.SetAudioChannels(audioChannels);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("SetAudioChannels() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ errorCode =theCommander.GetAudioChannels(newAudioChannels);
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetAudioChannels() during Stopped State is failed with %d "), errorCode);
+ return EFail;
+ }
+ if( newAudioChannels != audioChannels )
+ {
+ INFO_PRINTF1(_L("Set and Get number of audio channels to record are different during Stopped State"));
+ return EFail;
+ }
+
+ INFO_PRINTF1(_L("Set and Get number of audio channels to record are identical during Stopped State: 2 stereo"));
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviRecordCtrlGetSupportedAudioChannels::RTestStepAviRecordCtrlGetSupportedAudioChannels(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests getting the list of supported numbers of audio channels on AviRecordController and checks if the returned list contains only stereo = 2.
+*/
+TVerdict RTestStepAviRecordCtrlGetSupportedAudioChannels::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This step tests GetSupportedAudioSampleRatesL() APIs of AviRecordController"));
+ TVerdict verdict = EFail;
+ RArray<TUint> supportedAudioChannels;
+ RMMFVideoAudioSamplingRateAndChannelConfigCustomCommands theCommander(iController);
+ TInt errorCode = 0;
+ TRAP(errorCode, theCommander.GetSupportedAudioChannelsL(supportedAudioChannels));
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("GetSupportedAudioSampleRatesL() is failed with %d "), errorCode);
+ verdict = EFail;
+ }
+ if(supportedAudioChannels.Count() == 1 && supportedAudioChannels[0] == 2) //Only supported number of audio channels to record is 2 for stereo
+ {
+ INFO_PRINTF1(_L("Get the supported numbers of audio channels returned the expected values."));
+ verdict = EPass;
+ }
+ else
+ {
+ INFO_PRINTF1(_L("Get the supported numbers of audio channels didn't return the expected values."));
+ supportedAudioChannels.Close();
+ verdict = EFail;
+ }
+
+ supportedAudioChannels.Close();
+ return verdict;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviRecordCtrlSetInvalidPixelAspectRatio::RTestStepAviRecordCtrlSetInvalidPixelAspectRatio(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests setting an invalid pixel aspect ratio on AviRecordController in Stopped states and checks if the returned error is KErrNotSupported.
+*/
+TVerdict RTestStepAviRecordCtrlSetInvalidPixelAspectRatio::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This step tests SetPixelAspectRatio with an invalid input (APIs of AviRecordController)"));
+ TVideoAspectRatio par(16,9); // Only (1:1) is supported
+ RMMFVideoPixelAspectRatioCustomCommands theCommander(iController);
+ TInt errorCode = theCommander.SetPixelAspectRatio(par);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetPixelAspectRatio() with an invalid input during Stopped State did not fail as expected (returned error = %d)"), errorCode);
+ return EFail;
+ }
+
+ INFO_PRINTF2(_L("SetPixelAspectRatio() with an invalid input during Stopped State failed with expected error %d "), errorCode);
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviRecordCtrlSetInvalidAudioSampleRate::RTestStepAviRecordCtrlSetInvalidAudioSampleRate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests setting an invalid audio sample rate on AviRecordController in Stopped states and checks if the returned error is KErrNotSupported.
+*/
+TVerdict RTestStepAviRecordCtrlSetInvalidAudioSampleRate::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This step tests SetAudioSampleRate with an invalid input (APIs of AviRecordController)"));
+ TUint sampleRate = 8000; // Only 22050Hz is supported
+ RMMFVideoAudioSamplingRateAndChannelConfigCustomCommands theCommander(iController);
+ TInt errorCode = theCommander.SetAudioSampleRate(sampleRate);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetAudioSampleRate() with an invalid input during Stopped State did not fail as expected (returned error = %d) "), errorCode);
+ return EFail;
+ }
+
+ INFO_PRINTF2(_L("SetAudioSampleRate() with an invalid input during Stopped State failed with expected error %d "), errorCode);
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviRecordCtrlSetInvalidAudioChannels::RTestStepAviRecordCtrlSetInvalidAudioChannels(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests setting an invalid number of audio channels on AviRecordController in Stopped state and checks if the returned error is KErrNotSupported.
+*/
+TVerdict RTestStepAviRecordCtrlSetInvalidAudioChannels::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This step tests SetAudioChannels with an invalid input (APIs of AviRecordController)"));
+ TUint audioChannels = 1; // for mono, only 2 stereo is supported
+ RMMFVideoAudioSamplingRateAndChannelConfigCustomCommands theCommander(iController);
+ TInt errorCode = theCommander.SetAudioChannels(audioChannels);
+ if(errorCode != KErrNotSupported)
+ {
+ INFO_PRINTF2(_L("SetAudioChannels() with an invalid input during Stopped State did not fail as expected (returned error = %d) "), errorCode);
+ return EFail;
+ }
+
+ INFO_PRINTF2(_L("SetAudioChannels() with an invalid input during Stopped State failed with expected error %d "), errorCode);
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviRecordCtrlInvalidStateSetPixelAspectRatio::RTestStepAviRecordCtrlInvalidStateSetPixelAspectRatio(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests setting the pixel aspect ratio on AviRecordController during recording and checks if the returned error is KErrNotReady.
+*/
+TVerdict RTestStepAviRecordCtrlInvalidStateSetPixelAspectRatio::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This step tests SetPixelAspectRatio during an invalid state (during recording) (APIs of AviRecordController)"));
+ TVideoAspectRatio par(1,1);
+ RMMFVideoPixelAspectRatioCustomCommands theCommander(iController);
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EInconclusive;
+ }
+
+ errorCode = theCommander.SetPixelAspectRatio(par);
+ if(errorCode != KErrNotReady)
+ {
+ INFO_PRINTF2(_L("SetPixelAspectRatio() during recording did not fail as expected (returned error = %d)"), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+
+ INFO_PRINTF2(_L("SetPixelAspectRatio() during recording failed with expected error %d "), errorCode);
+ iController.Stop();
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviRecordCtrlInvalidStateSetAudioSampleRate::RTestStepAviRecordCtrlInvalidStateSetAudioSampleRate(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests setting the audio sample rate on AviRecordController during recording and checks if the returned error is KErrNotReady.
+*/
+TVerdict RTestStepAviRecordCtrlInvalidStateSetAudioSampleRate::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This step tests SetAudioSampleRate during an invalid state (during recording) (APIs of AviRecordController)"));
+ TUint sampleRate = 22050;
+ RMMFVideoAudioSamplingRateAndChannelConfigCustomCommands theCommander(iController);
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EInconclusive;
+ }
+
+ errorCode = theCommander.SetAudioSampleRate(sampleRate);
+ if(errorCode != KErrNotReady)
+ {
+ INFO_PRINTF2(_L("SetAudioSampleRate() during recording did not fail as expected (returned error = %d)"), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+
+ INFO_PRINTF2(_L("SetAudioSampleRate() during recording failed with expectied error %d "), errorCode);
+ iController.Stop();
+ return EPass;
+ }
+
+/**
+Test step constructor. It initialises its own name and the input filename.
+*/
+RTestStepAviRecordCtrlInvalidStateSetAudioChannels::RTestStepAviRecordCtrlInvalidStateSetAudioChannels(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TUid aControllerUid)
+:RTestStepAviCtrlRecordBase(aTestName, aSectName, aKeyName, aControllerUid)
+ {
+ }
+
+/**
+Do the test step. This tests setting the number of audio channels on AviRecordController during recording and checks if the returned error is KErrNotReady.
+*/
+TVerdict RTestStepAviRecordCtrlInvalidStateSetAudioChannels::DoTestStepL( void )
+ {
+ INFO_PRINTF1(_L("This step tests SetAudioChannels during an invalid state (during recording) (APIs of AviRecordController)"));
+ TUint audioChannels = 2;
+ RMMFVideoAudioSamplingRateAndChannelConfigCustomCommands theCommander(iController);
+ TInt errorCode = iController.Prime();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Prime is failed with %d "), errorCode);
+ return EInconclusive;
+ }
+ errorCode = iController.Play();
+ if(errorCode)
+ {
+ INFO_PRINTF2(_L("Play() is failed with %d "), errorCode);
+ iController.Stop();
+ return EInconclusive;
+ }
+
+ errorCode = theCommander.SetAudioChannels(audioChannels);
+ if(errorCode != KErrNotReady)
+ {
+ INFO_PRINTF2(_L("SetAudioChannels() during recording did not fail as expected (returned error = %d)"), errorCode);
+ iController.Stop();
+ return EFail;
+ }
+
+ INFO_PRINTF2(_L("SetAudioChannels() during recording failed with expected error %d "), errorCode);
+ iController.Stop();
+ return EPass;
+ }
--- a/mmlibs/mmfw/tsrc/mmfunittest/basecl/TSU_BASECL_TestSrcSink/TSU_MMF_BASECL_TestSrcSink.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/basecl/TSU_BASECL_TestSrcSink/TSU_MMF_BASECL_TestSrcSink.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -400,7 +400,7 @@
if (buf)
{
- //FIXME Remove this line when DP EInitializeSink state has been removed
+ //XXX Remove this line when DP EInitializeSink state has been removed
//This is still present in the dataPath and may remain in for Typhoon
//Probably won't be removed till Jetstream
if ((buf->FrameNumber() == 0) && (buf->Data().Length() == 0))
--- a/mmlibs/mmfw/tsrc/mmfunittest/basecl/TSU_MMF_BASECL_DataPath.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/basecl/TSU_MMF_BASECL_DataPath.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -216,8 +216,8 @@
delete iTestAsyncEventHandler;
delete iActiveScheduler;
-// free ecom resources This should fix EFail on test 200
-// this line is currently commented out as the ECom fix is in mainline
+// xxx free ecom resources This should fix EFail on test 200
+// this line is currently removed as the ECom fix is in mainline
// but not yet in a hurricane build
// REComSession::FinalClose();
--- a/mmlibs/mmfw/tsrc/mmfunittest/basecl/TSU_MMF_BASECL_TransferBuffers.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/basecl/TSU_MMF_BASECL_TransferBuffers.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -956,9 +956,9 @@
delete mmfTransferBuffer;
- /* This test does not use the full heap count test
+ /*XXX This test does not use the full heap count test
* this should not matter as a CMMFTransferBuffer NewL() only makes a single heap allocation
- * I could not get the full test working - see commented out below
+ * I could not get the full test working - see commented below
* but the problem was with the transfer buffer tester client/server -not
* with the CMMFTransfeBuffer alloction - which I could not get to work */
--- a/mmlibs/mmfw/tsrc/mmfunittest/bwins/TSU_MMF_AVICTRL_01U.DEF Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-EXPORTS
- ?NewTestSuiteAviCtrlL@@YAPAVCTestSuiteAviCtrl@@XZ @ 1 NONAME ; class CTestSuiteAviCtrl * NewTestSuiteAviCtrlL(void)
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/bwins/TSU_MMF_VCLNT_01.DEF Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,140 +0,0 @@
-EXPORTS
- ?NewTestSuiteUnitMMFVidClientL@@YAPAVCTestSuiteUnitMMFVidClient@@XZ @ 1 NONAME ; class CTestSuiteUnitMMFVidClient * __cdecl NewTestSuiteUnitMMFVidClientL(void)
- ?AddMetaDataEntryL@CVideoRecorderUtility@@QAEXABVCMMFMetaDataEntry@@@Z @ 2 NONAME ; void CVideoRecorderUtility::AddMetaDataEntryL(class CMMFMetaDataEntry const &)
- ?AudioBitRateL@CVideoPlayerUtility@@QBEHXZ @ 3 NONAME ; int CVideoPlayerUtility::AudioBitRateL(void) const
- ?AudioBitRateL@CVideoRecorderUtility@@QBEHXZ @ 4 NONAME ; int CVideoRecorderUtility::AudioBitRateL(void) const
- ?AudioEnabledL@CVideoPlayerUtility@@QBEHXZ @ 5 NONAME ; int CVideoPlayerUtility::AudioEnabledL(void) const
- ?AudioEnabledL@CVideoRecorderUtility@@QBEHXZ @ 6 NONAME ; int CVideoRecorderUtility::AudioEnabledL(void) const
- ?AudioTypeL@CVideoPlayerUtility@@QBE?AVTFourCC@@XZ @ 7 NONAME ; class TFourCC CVideoPlayerUtility::AudioTypeL(void) const
- ?AudioTypeL@CVideoRecorderUtility@@QBE?AVTFourCC@@XZ @ 8 NONAME ; class TFourCC CVideoRecorderUtility::AudioTypeL(void) const
- ?Balance@CVideoPlayerUtility@@QBEHXZ @ 9 NONAME ; int CVideoPlayerUtility::Balance(void) const
- ?Close@CVideoPlayerUtility@@QAEXXZ @ 10 NONAME ; void CVideoPlayerUtility::Close(void)
- ?Close@CVideoRecorderUtility@@QAEXXZ @ 11 NONAME ; void CVideoRecorderUtility::Close(void)
- ?ControllerImplementationInformationL@CVideoPlayerUtility@@QAEABVCMMFControllerImplementationInformation@@XZ @ 12 NONAME ; class CMMFControllerImplementationInformation const & CVideoPlayerUtility::ControllerImplementationInformationL(void)
- ?ControllerImplementationInformationL@CVideoRecorderUtility@@QAEABVCMMFControllerImplementationInformation@@XZ @ 13 NONAME ; class CMMFControllerImplementationInformation const & CVideoRecorderUtility::ControllerImplementationInformationL(void)
- ?CustomCommandAsync@CVideoPlayerUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@AAVTRequestStatus@@@Z @ 14 NONAME ; void CVideoPlayerUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &, class TRequestStatus &)
- ?CustomCommandAsync@CVideoPlayerUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTRequestStatus@@@Z @ 15 NONAME ; void CVideoPlayerUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TRequestStatus &)
- ?CustomCommandAsync@CVideoRecorderUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@AAVTRequestStatus@@@Z @ 16 NONAME ; void CVideoRecorderUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &, class TRequestStatus &)
- ?CustomCommandAsync@CVideoRecorderUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTRequestStatus@@@Z @ 17 NONAME ; void CVideoRecorderUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TRequestStatus &)
- ?CustomCommandSync@CVideoPlayerUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1@Z @ 18 NONAME ; int CVideoPlayerUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &)
- ?CustomCommandSync@CVideoPlayerUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@@Z @ 19 NONAME ; int CVideoPlayerUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &)
- ?CustomCommandSync@CVideoRecorderUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1@Z @ 20 NONAME ; int CVideoRecorderUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &)
- ?CustomCommandSync@CVideoRecorderUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@@Z @ 21 NONAME ; int CVideoRecorderUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &)
- ?DurationL@CVideoPlayerUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 22 NONAME ; class TTimeIntervalMicroSeconds CVideoPlayerUtility::DurationL(void) const
- ?DurationL@CVideoRecorderUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 23 NONAME ; class TTimeIntervalMicroSeconds CVideoRecorderUtility::DurationL(void) const
- ?GainL@CVideoRecorderUtility@@QBEHXZ @ 24 NONAME ; int CVideoRecorderUtility::GainL(void) const
- ?GetCropRegionL@CVideoPlayerUtility@@QBEXAAVTRect@@@Z @ 25 NONAME ; void CVideoPlayerUtility::GetCropRegionL(class TRect &) const
- ?GetDRMCustomCommand@CVideoPlayerUtility@@QAEPAVMMMFDRMCustomCommand@@XZ @ 26 NONAME ; class MMMFDRMCustomCommand * CVideoPlayerUtility::GetDRMCustomCommand(void)
- ?GetFrameL@CVideoPlayerUtility@@QAEXW4TDisplayMode@@@Z @ 27 NONAME ; void CVideoPlayerUtility::GetFrameL(enum TDisplayMode)
- ?GetFrameL@CVideoPlayerUtility@@QAEXW4TDisplayMode@@W4TIntent@ContentAccess@@@Z @ 28 NONAME ; void CVideoPlayerUtility::GetFrameL(enum TDisplayMode, enum ContentAccess::TIntent)
- ?GetPriorityL@CVideoRecorderUtility@@QBEXAAHAAW4TMdaPriorityPreference@@@Z @ 29 NONAME ; void CVideoRecorderUtility::GetPriorityL(int &, enum TMdaPriorityPreference &) const
- ?GetScaleFactorL@CVideoPlayerUtility@@QBEXAAM0AAH@Z @ 30 NONAME ; void CVideoPlayerUtility::GetScaleFactorL(float &, float &, int &) const
- ?GetSupportedAudioTypesL@CVideoRecorderUtility@@QBEXAAV?$RArray@VTFourCC@@@@@Z @ 31 NONAME ; void CVideoRecorderUtility::GetSupportedAudioTypesL(class RArray<class TFourCC> &) const
- ?GetSupportedVideoTypesL@CVideoRecorderUtility@@QBEXAAVCDesC8Array@@@Z @ 32 NONAME ; void CVideoRecorderUtility::GetSupportedVideoTypesL(class CDesC8Array &) const
- ?GetVideoFrameSizeL@CVideoRecorderUtility@@QBEXAAVTSize@@@Z @ 33 NONAME ; void CVideoRecorderUtility::GetVideoFrameSizeL(class TSize &) const
- ?GetVideoLoadingProgressL@CVideoPlayerUtility@@QAEXAAH@Z @ 34 NONAME ; void CVideoPlayerUtility::GetVideoLoadingProgressL(int &)
- ?MaxGainL@CVideoRecorderUtility@@QBEHXZ @ 35 NONAME ; int CVideoRecorderUtility::MaxGainL(void) const
- ?MaxVolume@CVideoPlayerUtility@@QBEHXZ @ 36 NONAME ; int CVideoPlayerUtility::MaxVolume(void) const
- ?MetaDataEntryL@CVideoPlayerUtility@@QBEPAVCMMFMetaDataEntry@@H@Z @ 37 NONAME ; class CMMFMetaDataEntry * CVideoPlayerUtility::MetaDataEntryL(int) const
- ?MetaDataEntryL@CVideoRecorderUtility@@QBEPAVCMMFMetaDataEntry@@H@Z @ 38 NONAME ; class CMMFMetaDataEntry * CVideoRecorderUtility::MetaDataEntryL(int) const
- ?NewL@CVideoPlayerUtility@@SAPAV1@AAVMVideoPlayerUtilityObserver@@HW4TMdaPriorityPreference@@AAVRWsSession@@AAVCWsScreenDevice@@AAVRWindowBase@@ABVTRect@@5@Z @ 39 NONAME ; class CVideoPlayerUtility * CVideoPlayerUtility::NewL(class MVideoPlayerUtilityObserver &, int, enum TMdaPriorityPreference, class RWsSession &, class CWsScreenDevice &, class RWindowBase &, class TRect const &, class TRect const &)
- ?NewL@CVideoRecorderUtility@@SAPAV1@AAVMVideoRecorderUtilityObserver@@HW4TMdaPriorityPreference@@@Z @ 40 NONAME ; class CVideoRecorderUtility * CVideoRecorderUtility::NewL(class MVideoRecorderUtilityObserver &, int, enum TMdaPriorityPreference)
- ?NumberOfMetaDataEntriesL@CVideoPlayerUtility@@QBEHXZ @ 41 NONAME ; int CVideoPlayerUtility::NumberOfMetaDataEntriesL(void) const
- ?NumberOfMetaDataEntriesL@CVideoRecorderUtility@@QBEHXZ @ 42 NONAME ; int CVideoRecorderUtility::NumberOfMetaDataEntriesL(void) const
- ?OpenDesL@CVideoPlayerUtility@@QAEXABVTDesC8@@VTUid@@@Z @ 43 NONAME ; void CVideoPlayerUtility::OpenDesL(class TDesC8 const &, class TUid)
- ?OpenDesL@CVideoRecorderUtility@@QAEXAAVTDes8@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 44 NONAME ; void CVideoRecorderUtility::OpenDesL(class TDes8 &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
- ?OpenFileL@CVideoPlayerUtility@@QAEXABVRFile@@VTUid@@@Z @ 45 NONAME ; void CVideoPlayerUtility::OpenFileL(class RFile const &, class TUid)
- ?OpenFileL@CVideoPlayerUtility@@QAEXABVTDesC16@@VTUid@@@Z @ 46 NONAME ; void CVideoPlayerUtility::OpenFileL(class TDesC16 const &, class TUid)
- ?OpenFileL@CVideoPlayerUtility@@QAEXABVTMMSource@@VTUid@@@Z @ 47 NONAME ; void CVideoPlayerUtility::OpenFileL(class TMMSource const &, class TUid)
- ?OpenFileL@CVideoRecorderUtility@@QAEXABVRFile@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 48 NONAME ; void CVideoRecorderUtility::OpenFileL(class RFile const &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
- ?OpenFileL@CVideoRecorderUtility@@QAEXABVTDesC16@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 49 NONAME ; void CVideoRecorderUtility::OpenFileL(class TDesC16 const &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
- ?OpenUrlL@CVideoPlayerUtility@@QAEXABVTDesC16@@HABVTDesC8@@VTUid@@@Z @ 50 NONAME ; void CVideoPlayerUtility::OpenUrlL(class TDesC16 const &, int, class TDesC8 const &, class TUid)
- ?OpenUrlL@CVideoRecorderUtility@@QAEXABVTDesC16@@HHVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 51 NONAME ; void CVideoRecorderUtility::OpenUrlL(class TDesC16 const &, int, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
- ?PauseL@CVideoPlayerUtility@@QAEXXZ @ 52 NONAME ; void CVideoPlayerUtility::PauseL(void)
- ?PauseL@CVideoRecorderUtility@@QAEXXZ @ 53 NONAME ; void CVideoRecorderUtility::PauseL(void)
- ?Play@CVideoPlayerUtility@@QAEXABVTTimeIntervalMicroSeconds@@0@Z @ 54 NONAME ; void CVideoPlayerUtility::Play(class TTimeIntervalMicroSeconds const &, class TTimeIntervalMicroSeconds const &)
- ?Play@CVideoPlayerUtility@@QAEXXZ @ 55 NONAME ; void CVideoPlayerUtility::Play(void)
- ?PositionL@CVideoPlayerUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 56 NONAME ; class TTimeIntervalMicroSeconds CVideoPlayerUtility::PositionL(void) const
- ?Prepare@CVideoPlayerUtility@@QAEXXZ @ 57 NONAME ; void CVideoPlayerUtility::Prepare(void)
- ?Prepare@CVideoRecorderUtility@@QAEXXZ @ 58 NONAME ; void CVideoRecorderUtility::Prepare(void)
- ?PriorityL@CVideoPlayerUtility@@QBEXAAHAAW4TMdaPriorityPreference@@@Z @ 59 NONAME ; void CVideoPlayerUtility::PriorityL(int &, enum TMdaPriorityPreference &) const
- ?Record@CVideoRecorderUtility@@QAEXXZ @ 60 NONAME ; void CVideoRecorderUtility::Record(void)
- ?RecordTimeAvailable@CVideoRecorderUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 61 NONAME ; class TTimeIntervalMicroSeconds CVideoRecorderUtility::RecordTimeAvailable(void) const
- ?RefreshFrameL@CVideoPlayerUtility@@QAEXXZ @ 62 NONAME ; void CVideoPlayerUtility::RefreshFrameL(void)
- ?RegisterForVideoLoadingNotification@CVideoPlayerUtility@@QAEXAAVMVideoLoadingObserver@@@Z @ 63 NONAME ; void CVideoPlayerUtility::RegisterForVideoLoadingNotification(class MVideoLoadingObserver &)
- ?RemoveMetaDataEntryL@CVideoRecorderUtility@@QAEXH@Z @ 64 NONAME ; void CVideoRecorderUtility::RemoveMetaDataEntryL(int)
- ?ReplaceMetaDataEntryL@CVideoRecorderUtility@@QAEXHABVCMMFMetaDataEntry@@@Z @ 65 NONAME ; void CVideoRecorderUtility::ReplaceMetaDataEntryL(int, class CMMFMetaDataEntry const &)
- ?Reserved1@@YAXXZ @ 66 NONAME ; void Reserved1(void)
- ?Reserved2@@YAXXZ @ 67 NONAME ; void Reserved2(void)
- ?RotationL@CVideoPlayerUtility@@QBE?AW4TVideoRotation@@XZ @ 68 NONAME ; enum TVideoRotation CVideoPlayerUtility::RotationL(void) const
- ?SetAudioBitRateL@CVideoRecorderUtility@@QAEXH@Z @ 69 NONAME ; void CVideoRecorderUtility::SetAudioBitRateL(int)
- ?SetAudioEnabledL@CVideoRecorderUtility@@QAEXH@Z @ 70 NONAME ; void CVideoRecorderUtility::SetAudioEnabledL(int)
- ?SetAudioTypeL@CVideoRecorderUtility@@QAEXVTFourCC@@@Z @ 71 NONAME ; void CVideoRecorderUtility::SetAudioTypeL(class TFourCC)
- ?SetBalanceL@CVideoPlayerUtility@@QAEXH@Z @ 72 NONAME ; void CVideoPlayerUtility::SetBalanceL(int)
- ?SetCropRegionL@CVideoPlayerUtility@@QAEXABVTRect@@@Z @ 73 NONAME ; void CVideoPlayerUtility::SetCropRegionL(class TRect const &)
- ?SetDisplayWindowL@CVideoPlayerUtility@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindowBase@@ABVTRect@@3@Z @ 74 NONAME ; void CVideoPlayerUtility::SetDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindowBase &, class TRect const &, class TRect const &)
- ?SetGainL@CVideoRecorderUtility@@QAEXH@Z @ 75 NONAME ; void CVideoRecorderUtility::SetGainL(int)
- ?SetMaxClipSizeL@CVideoRecorderUtility@@QAEXH@Z @ 76 NONAME ; void CVideoRecorderUtility::SetMaxClipSizeL(int)
- ?SetPositionL@CVideoPlayerUtility@@QAEXABVTTimeIntervalMicroSeconds@@@Z @ 77 NONAME ; void CVideoPlayerUtility::SetPositionL(class TTimeIntervalMicroSeconds const &)
- ?SetPriorityL@CVideoPlayerUtility@@QAEXHW4TMdaPriorityPreference@@@Z @ 78 NONAME ; void CVideoPlayerUtility::SetPriorityL(int, enum TMdaPriorityPreference)
- ?SetPriorityL@CVideoRecorderUtility@@QAEXHW4TMdaPriorityPreference@@@Z @ 79 NONAME ; void CVideoRecorderUtility::SetPriorityL(int, enum TMdaPriorityPreference)
- ?SetRotationL@CVideoPlayerUtility@@QAEXW4TVideoRotation@@@Z @ 80 NONAME ; void CVideoPlayerUtility::SetRotationL(enum TVideoRotation)
- ?SetScaleFactorL@CVideoPlayerUtility@@QAEXMMH@Z @ 81 NONAME ; void CVideoPlayerUtility::SetScaleFactorL(float, float, int)
- ?SetVideoBitRateL@CVideoRecorderUtility@@QAEXH@Z @ 82 NONAME ; void CVideoRecorderUtility::SetVideoBitRateL(int)
- ?SetVideoFrameRateL@CVideoPlayerUtility@@QAEXM@Z @ 83 NONAME ; void CVideoPlayerUtility::SetVideoFrameRateL(float)
- ?SetVideoFrameRateL@CVideoRecorderUtility@@QAEXM@Z @ 84 NONAME ; void CVideoRecorderUtility::SetVideoFrameRateL(float)
- ?SetVideoFrameSizeL@CVideoRecorderUtility@@QAEXABVTSize@@@Z @ 85 NONAME ; void CVideoRecorderUtility::SetVideoFrameSizeL(class TSize const &)
- ?SetVideoTypeL@CVideoRecorderUtility@@QAEXABVTDesC8@@@Z @ 86 NONAME ; void CVideoRecorderUtility::SetVideoTypeL(class TDesC8 const &)
- ?SetVolumeL@CVideoPlayerUtility@@QAEXH@Z @ 87 NONAME ; void CVideoPlayerUtility::SetVolumeL(int)
- ?Stop@CVideoPlayerUtility@@QAEHXZ @ 88 NONAME ; int CVideoPlayerUtility::Stop(void)
- ?Stop@CVideoRecorderUtility@@QAEHXZ @ 89 NONAME ; int CVideoRecorderUtility::Stop(void)
- ?VideoBitRateL@CVideoPlayerUtility@@QBEHXZ @ 90 NONAME ; int CVideoPlayerUtility::VideoBitRateL(void) const
- ?VideoBitRateL@CVideoRecorderUtility@@QAEHXZ @ 91 NONAME ; int CVideoRecorderUtility::VideoBitRateL(void)
- ?VideoFormatMimeType@CVideoPlayerUtility@@QBEABVTDesC8@@XZ @ 92 NONAME ; class TDesC8 const & CVideoPlayerUtility::VideoFormatMimeType(void) const
- ?VideoFormatMimeType@CVideoRecorderUtility@@QBEABVTDesC8@@XZ @ 93 NONAME ; class TDesC8 const & CVideoRecorderUtility::VideoFormatMimeType(void) const
- ?VideoFrameRateL@CVideoPlayerUtility@@QBEMXZ @ 94 NONAME ; float CVideoPlayerUtility::VideoFrameRateL(void) const
- ?VideoFrameRateL@CVideoRecorderUtility@@QBEMXZ @ 95 NONAME ; float CVideoRecorderUtility::VideoFrameRateL(void) const
- ?VideoFrameSizeL@CVideoPlayerUtility@@QBEXAAVTSize@@@Z @ 96 NONAME ; void CVideoPlayerUtility::VideoFrameSizeL(class TSize &) const
- ?Volume@CVideoPlayerUtility@@QBEHXZ @ 97 NONAME ; int CVideoPlayerUtility::Volume(void) const
- ?StartDirectScreenAccessL@CVideoPlayerUtility@@QAEXXZ @ 98 NONAME ; void CVideoPlayerUtility::StartDirectScreenAccessL(void)
- ?StopDirectScreenAccessL@CVideoPlayerUtility@@QAEXXZ @ 99 NONAME ; void CVideoPlayerUtility::StopDirectScreenAccessL(void)
- ?CancelRegisterAudioResourceNotification@CVideoPlayerUtility@@QAEHVTUid@@@Z @ 100 NONAME ; int CVideoPlayerUtility::CancelRegisterAudioResourceNotification(class TUid)
- ?RegisterAudioResourceNotification@CVideoPlayerUtility@@QAEHAAVMMMFAudioResourceNotificationCallback@@VTUid@@ABVTDesC8@@@Z @ 101 NONAME ; int CVideoPlayerUtility::RegisterAudioResourceNotification(class MMMFAudioResourceNotificationCallback &, class TUid, class TDesC8 const &)
- ?WillResumePlay@CVideoPlayerUtility@@QAEHXZ @ 102 NONAME ; int CVideoPlayerUtility::WillResumePlay(void)
- ?SetInitScreenNumber@CVideoPlayerUtility@@QAEHH@Z @ 103 NONAME ; int CVideoPlayerUtility::SetInitScreenNumber(int)
- ?AudioChannelsL@CVideoRecorderUtility@@QBEIXZ @ 104 NONAME ; unsigned int CVideoRecorderUtility::AudioChannelsL(void) const
- ?AudioSampleRateL@CVideoRecorderUtility@@QBEIXZ @ 105 NONAME ; unsigned int CVideoRecorderUtility::AudioSampleRateL(void) const
- ?GetPixelAspectRatioL@CVideoRecorderUtility@@QBEXAAVTVideoAspectRatio@@@Z @ 106 NONAME ; void CVideoRecorderUtility::GetPixelAspectRatioL(class TVideoAspectRatio &) const
- ?GetSupportedAudioChannelsL@CVideoRecorderUtility@@QBEXAAV?$RArray@I@@@Z @ 107 NONAME ; void CVideoRecorderUtility::GetSupportedAudioChannelsL(class RArray<unsigned int> &) const
- ?GetSupportedAudioSampleRatesL@CVideoRecorderUtility@@QBEXAAV?$RArray@I@@@Z @ 108 NONAME ; void CVideoRecorderUtility::GetSupportedAudioSampleRatesL(class RArray<unsigned int> &) const
- ?GetSupportedPixelAspectRatiosL@CVideoRecorderUtility@@QBEXAAV?$RArray@VTVideoAspectRatio@@@@@Z @ 109 NONAME ; void CVideoRecorderUtility::GetSupportedPixelAspectRatiosL(class RArray<class TVideoAspectRatio> &) const
- ?SetAudioChannelsL@CVideoRecorderUtility@@QAEXI@Z @ 110 NONAME ; void CVideoRecorderUtility::SetAudioChannelsL(unsigned int)
- ?SetAudioSampleRateL@CVideoRecorderUtility@@QAEXI@Z @ 111 NONAME ; void CVideoRecorderUtility::SetAudioSampleRateL(unsigned int)
- ?SetPixelAspectRatioL@CVideoRecorderUtility@@QAEXABVTVideoAspectRatio@@@Z @ 112 NONAME ; void CVideoRecorderUtility::SetPixelAspectRatioL(class TVideoAspectRatio const &)
- ?GetPlayRateCapabilitiesL@CVideoPlayerUtility@@QBEXAAVTVideoPlayRateCapabilities@@@Z @ 113 NONAME ; void CVideoPlayerUtility::GetPlayRateCapabilitiesL(class TVideoPlayRateCapabilities &) const
- ?PlayVelocityL@CVideoPlayerUtility@@QBEHXZ @ 114 NONAME ; int CVideoPlayerUtility::PlayVelocityL(void) const
- ?SetAudioEnabledL@CVideoPlayerUtility@@QAEXH@Z @ 115 NONAME ; void CVideoPlayerUtility::SetAudioEnabledL(int)
- ?SetAutoScaleL@CVideoPlayerUtility@@QAEXW4TAutoScaleType@@@Z @ 116 NONAME ; void CVideoPlayerUtility::SetAutoScaleL(enum TAutoScaleType)
- ?SetAutoScaleL@CVideoPlayerUtility@@QAEXW4TAutoScaleType@@HH@Z @ 117 NONAME ; void CVideoPlayerUtility::SetAutoScaleL(enum TAutoScaleType, int, int)
- ?SetPlayVelocityL@CVideoPlayerUtility@@QAEXH@Z @ 118 NONAME ; void CVideoPlayerUtility::SetPlayVelocityL(int)
- ?SetVideoEnabledL@CVideoPlayerUtility@@QAEXH@Z @ 119 NONAME ; void CVideoPlayerUtility::SetVideoEnabledL(int)
- ?SetVideoEnabledL@CVideoRecorderUtility@@QAEXH@Z @ 120 NONAME ; void CVideoRecorderUtility::SetVideoEnabledL(int)
- ?SetVideoFrameRateFixedL@CVideoRecorderUtility@@QAEXH@Z @ 121 NONAME ; void CVideoRecorderUtility::SetVideoFrameRateFixedL(int)
- ?SetVideoQualityL@CVideoRecorderUtility@@QAEXH@Z @ 122 NONAME ; void CVideoRecorderUtility::SetVideoQualityL(int)
- ?StepFrameL@CVideoPlayerUtility@@QAEXH@Z @ 123 NONAME ; void CVideoPlayerUtility::StepFrameL(int)
- ?VideoEnabledL@CVideoPlayerUtility@@QBEHXZ @ 124 NONAME ; int CVideoPlayerUtility::VideoEnabledL(void) const
- ?VideoEnabledL@CVideoRecorderUtility@@QBEHXZ @ 125 NONAME ; int CVideoRecorderUtility::VideoEnabledL(void) const
- ?VideoFrameRateFixedL@CVideoRecorderUtility@@QBEHXZ @ 126 NONAME ; int CVideoRecorderUtility::VideoFrameRateFixedL(void) const
- ?VideoQualityL@CVideoRecorderUtility@@QBEHXZ @ 127 NONAME ; int CVideoRecorderUtility::VideoQualityL(void) const
- ?AddDisplayWindowL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindow@@@Z @ 128 NONAME ABSENT ; void CVideoPlayerUtility2::AddDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindow &)
- ?AddDisplayWindowL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindow@@ABVTRect@@3@Z @ 129 NONAME ABSENT ; void CVideoPlayerUtility2::AddDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindow &, class TRect const &, class TRect const &)
- ?NewL@CVideoPlayerUtility2@@SAPAV1@AAVMVideoPlayerUtilityObserver@@HW4TMdaPriorityPreference@@@Z @ 130 NONAME ABSENT ; class CVideoPlayerUtility2 * CVideoPlayerUtility2::NewL(class MVideoPlayerUtilityObserver &, int, enum TMdaPriorityPreference)
- ?RemoveDisplayWindow@CVideoPlayerUtility2@@QAEXAAVRWindow@@@Z @ 131 NONAME ABSENT ; void CVideoPlayerUtility2::RemoveDisplayWindow(class RWindow &)
- ?SetVideoExtentL@CVideoPlayerUtility2@@QAEXABVRWindow@@ABVTRect@@@Z @ 132 NONAME ABSENT ; void CVideoPlayerUtility2::SetVideoExtentL(class RWindow const &, class TRect const &)
- ?SetWindowClipRectL@CVideoPlayerUtility2@@QAEXABVRWindow@@ABVTRect@@@Z @ 133 NONAME ABSENT ; void CVideoPlayerUtility2::SetWindowClipRectL(class RWindow const &, class TRect const &)
- ?GetScaleFactorL@CVideoPlayerUtility2@@QAEXABVRWindow@@AAM1@Z @ 134 NONAME ABSENT ; void CVideoPlayerUtility2::GetScaleFactorL(class RWindow const &, float &, float &)
- ?RotationL@CVideoPlayerUtility2@@QAE?AW4TVideoRotation@@ABVRWindow@@@Z @ 135 NONAME ABSENT ; enum TVideoRotation CVideoPlayerUtility2::RotationL(class RWindow const &)
- ?SetAutoScaleL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TAutoScaleType@@@Z @ 136 NONAME ABSENT ; void CVideoPlayerUtility2::SetAutoScaleL(class RWindow const &, enum TAutoScaleType)
- ?SetAutoScaleL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TAutoScaleType@@HH@Z @ 137 NONAME ABSENT ; void CVideoPlayerUtility2::SetAutoScaleL(class RWindow const &, enum TAutoScaleType, int, int)
- ?SetRotationL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TVideoRotation@@@Z @ 138 NONAME ABSENT ; void CVideoPlayerUtility2::SetRotationL(class RWindow const &, enum TVideoRotation)
- ?SetScaleFactorL@CVideoPlayerUtility2@@QAEXABVRWindow@@MM@Z @ 139 NONAME ABSENT ; void CVideoPlayerUtility2::SetScaleFactorL(class RWindow const &, float, float)
--- a/mmlibs/mmfw/tsrc/mmfunittest/bwins/TS_CMMFVIDEOTESTCUSTOMCOMMANDSU.DEF Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-EXPORTS
- ??0RMMFTestCustomCommands@@QAE@AAVRMMFController@@VTUid@@@Z @ 1 NONAME ; public: __thiscall RMMFTestCustomCommands::RMMFTestCustomCommands(class RMMFController &,class TUid)
- ?HandleRequest@CMMFTestCustomCommandParser@@UAEXAAVTMMFMessage@@@Z @ 2 NONAME ; public: virtual void __thiscall CMMFTestCustomCommandParser::HandleRequest(class TMMFMessage &)
- ?MvcGetFrameRateL@RMMFTestCustomCommands@@QAEHAAM@Z @ 3 NONAME ; public: int __thiscall RMMFTestCustomCommands::MvcGetFrameRateL(float &)
- ?MvcSetFrameRateL@RMMFTestCustomCommands@@QAEHM@Z @ 4 NONAME ; public: int __thiscall RMMFTestCustomCommands::MvcSetFrameRateL(float)
- ?NewL@CMMFTestCustomCommandParser@@SAPAV1@VTUid@@AAVMMMFTestCustomCommandImplementor@@@Z @ 5 NONAME ; public: static class CMMFTestCustomCommandParser * __cdecl CMMFTestCustomCommandParser::NewL(class TUid,class MMMFTestCustomCommandImplementor &)
- ?NewLC@CMMFTestCustomCommandParser@@SAPAV1@VTUid@@AAVMMMFTestCustomCommandImplementor@@@Z @ 6 NONAME ; public: static class CMMFTestCustomCommandParser * __cdecl CMMFTestCustomCommandParser::NewLC(class TUid,class MMMFTestCustomCommandImplementor &)
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/bwins/tsu_mmf_vclnt_01_gce.def Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,143 +0,0 @@
-EXPORTS
- ?NewTestSuiteUnitMMFVidClientL@@YAPAVCTestSuiteUnitMMFVidClient@@XZ @ 1 NONAME ; class CTestSuiteUnitMMFVidClient * NewTestSuiteUnitMMFVidClientL(void)
- ?AddMetaDataEntryL@CVideoRecorderUtility@@QAEXABVCMMFMetaDataEntry@@@Z @ 2 NONAME ; void CVideoRecorderUtility::AddMetaDataEntryL(class CMMFMetaDataEntry const &)
- ?AudioBitRateL@CVideoPlayerUtility@@QBEHXZ @ 3 NONAME ; int CVideoPlayerUtility::AudioBitRateL(void) const
- ?AudioBitRateL@CVideoRecorderUtility@@QBEHXZ @ 4 NONAME ; int CVideoRecorderUtility::AudioBitRateL(void) const
- ?AudioEnabledL@CVideoPlayerUtility@@QBEHXZ @ 5 NONAME ; int CVideoPlayerUtility::AudioEnabledL(void) const
- ?AudioEnabledL@CVideoRecorderUtility@@QBEHXZ @ 6 NONAME ; int CVideoRecorderUtility::AudioEnabledL(void) const
- ?AudioTypeL@CVideoPlayerUtility@@QBE?AVTFourCC@@XZ @ 7 NONAME ; class TFourCC CVideoPlayerUtility::AudioTypeL(void) const
- ?AudioTypeL@CVideoRecorderUtility@@QBE?AVTFourCC@@XZ @ 8 NONAME ; class TFourCC CVideoRecorderUtility::AudioTypeL(void) const
- ?Balance@CVideoPlayerUtility@@QBEHXZ @ 9 NONAME ; int CVideoPlayerUtility::Balance(void) const
- ?Close@CVideoPlayerUtility@@QAEXXZ @ 10 NONAME ; void CVideoPlayerUtility::Close(void)
- ?Close@CVideoRecorderUtility@@QAEXXZ @ 11 NONAME ; void CVideoRecorderUtility::Close(void)
- ?ControllerImplementationInformationL@CVideoPlayerUtility@@QAEABVCMMFControllerImplementationInformation@@XZ @ 12 NONAME ; class CMMFControllerImplementationInformation const & CVideoPlayerUtility::ControllerImplementationInformationL(void)
- ?ControllerImplementationInformationL@CVideoRecorderUtility@@QAEABVCMMFControllerImplementationInformation@@XZ @ 13 NONAME ; class CMMFControllerImplementationInformation const & CVideoRecorderUtility::ControllerImplementationInformationL(void)
- ?CustomCommandAsync@CVideoPlayerUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@AAVTRequestStatus@@@Z @ 14 NONAME ; void CVideoPlayerUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &, class TRequestStatus &)
- ?CustomCommandAsync@CVideoPlayerUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTRequestStatus@@@Z @ 15 NONAME ; void CVideoPlayerUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TRequestStatus &)
- ?CustomCommandAsync@CVideoRecorderUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@AAVTRequestStatus@@@Z @ 16 NONAME ; void CVideoRecorderUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &, class TRequestStatus &)
- ?CustomCommandAsync@CVideoRecorderUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTRequestStatus@@@Z @ 17 NONAME ; void CVideoRecorderUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TRequestStatus &)
- ?CustomCommandSync@CVideoPlayerUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1@Z @ 18 NONAME ; int CVideoPlayerUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &)
- ?CustomCommandSync@CVideoPlayerUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@@Z @ 19 NONAME ; int CVideoPlayerUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &)
- ?CustomCommandSync@CVideoRecorderUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1@Z @ 20 NONAME ; int CVideoRecorderUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &)
- ?CustomCommandSync@CVideoRecorderUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@@Z @ 21 NONAME ; int CVideoRecorderUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &)
- ?DurationL@CVideoPlayerUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 22 NONAME ; class TTimeIntervalMicroSeconds CVideoPlayerUtility::DurationL(void) const
- ?DurationL@CVideoRecorderUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 23 NONAME ; class TTimeIntervalMicroSeconds CVideoRecorderUtility::DurationL(void) const
- ?GainL@CVideoRecorderUtility@@QBEHXZ @ 24 NONAME ; int CVideoRecorderUtility::GainL(void) const
- ?GetCropRegionL@CVideoPlayerUtility@@QBEXAAVTRect@@@Z @ 25 NONAME ; void CVideoPlayerUtility::GetCropRegionL(class TRect &) const
- ?GetDRMCustomCommand@CVideoPlayerUtility@@QAEPAVMMMFDRMCustomCommand@@XZ @ 26 NONAME ; class MMMFDRMCustomCommand * CVideoPlayerUtility::GetDRMCustomCommand(void)
- ?GetFrameL@CVideoPlayerUtility@@QAEXW4TDisplayMode@@@Z @ 27 NONAME ; void CVideoPlayerUtility::GetFrameL(enum TDisplayMode)
- ?GetFrameL@CVideoPlayerUtility@@QAEXW4TDisplayMode@@W4TIntent@ContentAccess@@@Z @ 28 NONAME ; void CVideoPlayerUtility::GetFrameL(enum TDisplayMode, enum ContentAccess::TIntent)
- ?GetPriorityL@CVideoRecorderUtility@@QBEXAAHAAW4TMdaPriorityPreference@@@Z @ 29 NONAME ; void CVideoRecorderUtility::GetPriorityL(int &, enum TMdaPriorityPreference &) const
- ?GetScaleFactorL@CVideoPlayerUtility@@QBEXAAM0AAH@Z @ 30 NONAME ; void CVideoPlayerUtility::GetScaleFactorL(float &, float &, int &) const
- ?GetSupportedAudioTypesL@CVideoRecorderUtility@@QBEXAAV?$RArray@VTFourCC@@@@@Z @ 31 NONAME ; void CVideoRecorderUtility::GetSupportedAudioTypesL(class RArray<class TFourCC> &) const
- ?GetSupportedVideoTypesL@CVideoRecorderUtility@@QBEXAAVCDesC8Array@@@Z @ 32 NONAME ; void CVideoRecorderUtility::GetSupportedVideoTypesL(class CDesC8Array &) const
- ?GetVideoFrameSizeL@CVideoRecorderUtility@@QBEXAAVTSize@@@Z @ 33 NONAME ; void CVideoRecorderUtility::GetVideoFrameSizeL(class TSize &) const
- ?GetVideoLoadingProgressL@CVideoPlayerUtility@@QAEXAAH@Z @ 34 NONAME ; void CVideoPlayerUtility::GetVideoLoadingProgressL(int &)
- ?MaxGainL@CVideoRecorderUtility@@QBEHXZ @ 35 NONAME ; int CVideoRecorderUtility::MaxGainL(void) const
- ?MaxVolume@CVideoPlayerUtility@@QBEHXZ @ 36 NONAME ; int CVideoPlayerUtility::MaxVolume(void) const
- ?MetaDataEntryL@CVideoPlayerUtility@@QBEPAVCMMFMetaDataEntry@@H@Z @ 37 NONAME ; class CMMFMetaDataEntry * CVideoPlayerUtility::MetaDataEntryL(int) const
- ?MetaDataEntryL@CVideoRecorderUtility@@QBEPAVCMMFMetaDataEntry@@H@Z @ 38 NONAME ; class CMMFMetaDataEntry * CVideoRecorderUtility::MetaDataEntryL(int) const
- ?NewL@CVideoPlayerUtility@@SAPAV1@AAVMVideoPlayerUtilityObserver@@HW4TMdaPriorityPreference@@AAVRWsSession@@AAVCWsScreenDevice@@AAVRWindowBase@@ABVTRect@@5@Z @ 39 NONAME ; class CVideoPlayerUtility * CVideoPlayerUtility::NewL(class MVideoPlayerUtilityObserver &, int, enum TMdaPriorityPreference, class RWsSession &, class CWsScreenDevice &, class RWindowBase &, class TRect const &, class TRect const &)
- ?NewL@CVideoRecorderUtility@@SAPAV1@AAVMVideoRecorderUtilityObserver@@HW4TMdaPriorityPreference@@@Z @ 40 NONAME ; class CVideoRecorderUtility * CVideoRecorderUtility::NewL(class MVideoRecorderUtilityObserver &, int, enum TMdaPriorityPreference)
- ?NumberOfMetaDataEntriesL@CVideoPlayerUtility@@QBEHXZ @ 41 NONAME ; int CVideoPlayerUtility::NumberOfMetaDataEntriesL(void) const
- ?NumberOfMetaDataEntriesL@CVideoRecorderUtility@@QBEHXZ @ 42 NONAME ; int CVideoRecorderUtility::NumberOfMetaDataEntriesL(void) const
- ?OpenDesL@CVideoPlayerUtility@@QAEXABVTDesC8@@VTUid@@@Z @ 43 NONAME ; void CVideoPlayerUtility::OpenDesL(class TDesC8 const &, class TUid)
- ?OpenDesL@CVideoRecorderUtility@@QAEXAAVTDes8@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 44 NONAME ; void CVideoRecorderUtility::OpenDesL(class TDes8 &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
- ?OpenFileL@CVideoPlayerUtility@@QAEXABVRFile@@VTUid@@@Z @ 45 NONAME ; void CVideoPlayerUtility::OpenFileL(class RFile const &, class TUid)
- ?OpenFileL@CVideoPlayerUtility@@QAEXABVTDesC16@@VTUid@@@Z @ 46 NONAME ; void CVideoPlayerUtility::OpenFileL(class TDesC16 const &, class TUid)
- ?OpenFileL@CVideoPlayerUtility@@QAEXABVTMMSource@@VTUid@@@Z @ 47 NONAME ; void CVideoPlayerUtility::OpenFileL(class TMMSource const &, class TUid)
- ?OpenFileL@CVideoRecorderUtility@@QAEXABVRFile@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 48 NONAME ; void CVideoRecorderUtility::OpenFileL(class RFile const &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
- ?OpenFileL@CVideoRecorderUtility@@QAEXABVTDesC16@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 49 NONAME ; void CVideoRecorderUtility::OpenFileL(class TDesC16 const &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
- ?OpenUrlL@CVideoPlayerUtility@@QAEXABVTDesC16@@HABVTDesC8@@VTUid@@@Z @ 50 NONAME ; void CVideoPlayerUtility::OpenUrlL(class TDesC16 const &, int, class TDesC8 const &, class TUid)
- ?OpenUrlL@CVideoRecorderUtility@@QAEXABVTDesC16@@HHVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 51 NONAME ; void CVideoRecorderUtility::OpenUrlL(class TDesC16 const &, int, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
- ?PauseL@CVideoPlayerUtility@@QAEXXZ @ 52 NONAME ; void CVideoPlayerUtility::PauseL(void)
- ?PauseL@CVideoRecorderUtility@@QAEXXZ @ 53 NONAME ; void CVideoRecorderUtility::PauseL(void)
- ?Play@CVideoPlayerUtility@@QAEXABVTTimeIntervalMicroSeconds@@0@Z @ 54 NONAME ; void CVideoPlayerUtility::Play(class TTimeIntervalMicroSeconds const &, class TTimeIntervalMicroSeconds const &)
- ?Play@CVideoPlayerUtility@@QAEXXZ @ 55 NONAME ; void CVideoPlayerUtility::Play(void)
- ?PositionL@CVideoPlayerUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 56 NONAME ; class TTimeIntervalMicroSeconds CVideoPlayerUtility::PositionL(void) const
- ?Prepare@CVideoPlayerUtility@@QAEXXZ @ 57 NONAME ; void CVideoPlayerUtility::Prepare(void)
- ?Prepare@CVideoRecorderUtility@@QAEXXZ @ 58 NONAME ; void CVideoRecorderUtility::Prepare(void)
- ?PriorityL@CVideoPlayerUtility@@QBEXAAHAAW4TMdaPriorityPreference@@@Z @ 59 NONAME ; void CVideoPlayerUtility::PriorityL(int &, enum TMdaPriorityPreference &) const
- ?Record@CVideoRecorderUtility@@QAEXXZ @ 60 NONAME ; void CVideoRecorderUtility::Record(void)
- ?RecordTimeAvailable@CVideoRecorderUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 61 NONAME ; class TTimeIntervalMicroSeconds CVideoRecorderUtility::RecordTimeAvailable(void) const
- ?RefreshFrameL@CVideoPlayerUtility@@QAEXXZ @ 62 NONAME ; void CVideoPlayerUtility::RefreshFrameL(void)
- ?RegisterForVideoLoadingNotification@CVideoPlayerUtility@@QAEXAAVMVideoLoadingObserver@@@Z @ 63 NONAME ; void CVideoPlayerUtility::RegisterForVideoLoadingNotification(class MVideoLoadingObserver &)
- ?RemoveMetaDataEntryL@CVideoRecorderUtility@@QAEXH@Z @ 64 NONAME ; void CVideoRecorderUtility::RemoveMetaDataEntryL(int)
- ?ReplaceMetaDataEntryL@CVideoRecorderUtility@@QAEXHABVCMMFMetaDataEntry@@@Z @ 65 NONAME ; void CVideoRecorderUtility::ReplaceMetaDataEntryL(int, class CMMFMetaDataEntry const &)
- ?Reserved1@@YAXXZ @ 66 NONAME ; void Reserved1(void)
- ?Reserved2@@YAXXZ @ 67 NONAME ; void Reserved2(void)
- ?RotationL@CVideoPlayerUtility@@QBE?AW4TVideoRotation@@XZ @ 68 NONAME ; enum TVideoRotation CVideoPlayerUtility::RotationL(void) const
- ?SetAudioBitRateL@CVideoRecorderUtility@@QAEXH@Z @ 69 NONAME ; void CVideoRecorderUtility::SetAudioBitRateL(int)
- ?SetAudioEnabledL@CVideoRecorderUtility@@QAEXH@Z @ 70 NONAME ; void CVideoRecorderUtility::SetAudioEnabledL(int)
- ?SetAudioTypeL@CVideoRecorderUtility@@QAEXVTFourCC@@@Z @ 71 NONAME ; void CVideoRecorderUtility::SetAudioTypeL(class TFourCC)
- ?SetBalanceL@CVideoPlayerUtility@@QAEXH@Z @ 72 NONAME ; void CVideoPlayerUtility::SetBalanceL(int)
- ?SetCropRegionL@CVideoPlayerUtility@@QAEXABVTRect@@@Z @ 73 NONAME ; void CVideoPlayerUtility::SetCropRegionL(class TRect const &)
- ?SetDisplayWindowL@CVideoPlayerUtility@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindowBase@@ABVTRect@@3@Z @ 74 NONAME ; void CVideoPlayerUtility::SetDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindowBase &, class TRect const &, class TRect const &)
- ?SetGainL@CVideoRecorderUtility@@QAEXH@Z @ 75 NONAME ; void CVideoRecorderUtility::SetGainL(int)
- ?SetMaxClipSizeL@CVideoRecorderUtility@@QAEXH@Z @ 76 NONAME ; void CVideoRecorderUtility::SetMaxClipSizeL(int)
- ?SetPositionL@CVideoPlayerUtility@@QAEXABVTTimeIntervalMicroSeconds@@@Z @ 77 NONAME ; void CVideoPlayerUtility::SetPositionL(class TTimeIntervalMicroSeconds const &)
- ?SetPriorityL@CVideoPlayerUtility@@QAEXHW4TMdaPriorityPreference@@@Z @ 78 NONAME ; void CVideoPlayerUtility::SetPriorityL(int, enum TMdaPriorityPreference)
- ?SetPriorityL@CVideoRecorderUtility@@QAEXHW4TMdaPriorityPreference@@@Z @ 79 NONAME ; void CVideoRecorderUtility::SetPriorityL(int, enum TMdaPriorityPreference)
- ?SetRotationL@CVideoPlayerUtility@@QAEXW4TVideoRotation@@@Z @ 80 NONAME ; void CVideoPlayerUtility::SetRotationL(enum TVideoRotation)
- ?SetScaleFactorL@CVideoPlayerUtility@@QAEXMMH@Z @ 81 NONAME ; void CVideoPlayerUtility::SetScaleFactorL(float, float, int)
- ?SetVideoBitRateL@CVideoRecorderUtility@@QAEXH@Z @ 82 NONAME ; void CVideoRecorderUtility::SetVideoBitRateL(int)
- ?SetVideoFrameRateL@CVideoPlayerUtility@@QAEXM@Z @ 83 NONAME ; void CVideoPlayerUtility::SetVideoFrameRateL(float)
- ?SetVideoFrameRateL@CVideoRecorderUtility@@QAEXM@Z @ 84 NONAME ; void CVideoRecorderUtility::SetVideoFrameRateL(float)
- ?SetVideoFrameSizeL@CVideoRecorderUtility@@QAEXABVTSize@@@Z @ 85 NONAME ; void CVideoRecorderUtility::SetVideoFrameSizeL(class TSize const &)
- ?SetVideoTypeL@CVideoRecorderUtility@@QAEXABVTDesC8@@@Z @ 86 NONAME ; void CVideoRecorderUtility::SetVideoTypeL(class TDesC8 const &)
- ?SetVolumeL@CVideoPlayerUtility@@QAEXH@Z @ 87 NONAME ; void CVideoPlayerUtility::SetVolumeL(int)
- ?Stop@CVideoPlayerUtility@@QAEHXZ @ 88 NONAME ; int CVideoPlayerUtility::Stop(void)
- ?Stop@CVideoRecorderUtility@@QAEHXZ @ 89 NONAME ; int CVideoRecorderUtility::Stop(void)
- ?VideoBitRateL@CVideoPlayerUtility@@QBEHXZ @ 90 NONAME ; int CVideoPlayerUtility::VideoBitRateL(void) const
- ?VideoBitRateL@CVideoRecorderUtility@@QAEHXZ @ 91 NONAME ; int CVideoRecorderUtility::VideoBitRateL(void)
- ?VideoFormatMimeType@CVideoPlayerUtility@@QBEABVTDesC8@@XZ @ 92 NONAME ; class TDesC8 const & CVideoPlayerUtility::VideoFormatMimeType(void) const
- ?VideoFormatMimeType@CVideoRecorderUtility@@QBEABVTDesC8@@XZ @ 93 NONAME ; class TDesC8 const & CVideoRecorderUtility::VideoFormatMimeType(void) const
- ?VideoFrameRateL@CVideoPlayerUtility@@QBEMXZ @ 94 NONAME ; float CVideoPlayerUtility::VideoFrameRateL(void) const
- ?VideoFrameRateL@CVideoRecorderUtility@@QBEMXZ @ 95 NONAME ; float CVideoRecorderUtility::VideoFrameRateL(void) const
- ?VideoFrameSizeL@CVideoPlayerUtility@@QBEXAAVTSize@@@Z @ 96 NONAME ; void CVideoPlayerUtility::VideoFrameSizeL(class TSize &) const
- ?Volume@CVideoPlayerUtility@@QBEHXZ @ 97 NONAME ; int CVideoPlayerUtility::Volume(void) const
- ?StartDirectScreenAccessL@CVideoPlayerUtility@@QAEXXZ @ 98 NONAME ; void CVideoPlayerUtility::StartDirectScreenAccessL(void)
- ?StopDirectScreenAccessL@CVideoPlayerUtility@@QAEXXZ @ 99 NONAME ; void CVideoPlayerUtility::StopDirectScreenAccessL(void)
- ?CancelRegisterAudioResourceNotification@CVideoPlayerUtility@@QAEHVTUid@@@Z @ 100 NONAME ; int CVideoPlayerUtility::CancelRegisterAudioResourceNotification(class TUid)
- ?RegisterAudioResourceNotification@CVideoPlayerUtility@@QAEHAAVMMMFAudioResourceNotificationCallback@@VTUid@@ABVTDesC8@@@Z @ 101 NONAME ; int CVideoPlayerUtility::RegisterAudioResourceNotification(class MMMFAudioResourceNotificationCallback &, class TUid, class TDesC8 const &)
- ?WillResumePlay@CVideoPlayerUtility@@QAEHXZ @ 102 NONAME ; int CVideoPlayerUtility::WillResumePlay(void)
- ?SetInitScreenNumber@CVideoPlayerUtility@@QAEHH@Z @ 103 NONAME ; int CVideoPlayerUtility::SetInitScreenNumber(int)
- ?AudioChannelsL@CVideoRecorderUtility@@QBEIXZ @ 104 NONAME ; unsigned int CVideoRecorderUtility::AudioChannelsL(void) const
- ?AudioSampleRateL@CVideoRecorderUtility@@QBEIXZ @ 105 NONAME ; unsigned int CVideoRecorderUtility::AudioSampleRateL(void) const
- ?GetPixelAspectRatioL@CVideoRecorderUtility@@QBEXAAVTVideoAspectRatio@@@Z @ 106 NONAME ; void CVideoRecorderUtility::GetPixelAspectRatioL(class TVideoAspectRatio &) const
- ?GetSupportedAudioChannelsL@CVideoRecorderUtility@@QBEXAAV?$RArray@I@@@Z @ 107 NONAME ; void CVideoRecorderUtility::GetSupportedAudioChannelsL(class RArray<unsigned int> &) const
- ?GetSupportedAudioSampleRatesL@CVideoRecorderUtility@@QBEXAAV?$RArray@I@@@Z @ 108 NONAME ; void CVideoRecorderUtility::GetSupportedAudioSampleRatesL(class RArray<unsigned int> &) const
- ?GetSupportedPixelAspectRatiosL@CVideoRecorderUtility@@QBEXAAV?$RArray@VTVideoAspectRatio@@@@@Z @ 109 NONAME ; void CVideoRecorderUtility::GetSupportedPixelAspectRatiosL(class RArray<class TVideoAspectRatio> &) const
- ?SetAudioChannelsL@CVideoRecorderUtility@@QAEXI@Z @ 110 NONAME ; void CVideoRecorderUtility::SetAudioChannelsL(unsigned int)
- ?SetAudioSampleRateL@CVideoRecorderUtility@@QAEXI@Z @ 111 NONAME ; void CVideoRecorderUtility::SetAudioSampleRateL(unsigned int)
- ?SetPixelAspectRatioL@CVideoRecorderUtility@@QAEXABVTVideoAspectRatio@@@Z @ 112 NONAME ; void CVideoRecorderUtility::SetPixelAspectRatioL(class TVideoAspectRatio const &)
- ?GetPlayRateCapabilitiesL@CVideoPlayerUtility@@QBEXAAVTVideoPlayRateCapabilities@@@Z @ 113 NONAME ; void CVideoPlayerUtility::GetPlayRateCapabilitiesL(class TVideoPlayRateCapabilities &) const
- ?PlayVelocityL@CVideoPlayerUtility@@QBEHXZ @ 114 NONAME ; int CVideoPlayerUtility::PlayVelocityL(void) const
- ?SetAudioEnabledL@CVideoPlayerUtility@@QAEXH@Z @ 115 NONAME ; void CVideoPlayerUtility::SetAudioEnabledL(int)
- ?SetAutoScaleL@CVideoPlayerUtility@@QAEXW4TAutoScaleType@@@Z @ 116 NONAME ; void CVideoPlayerUtility::SetAutoScaleL(enum TAutoScaleType)
- ?SetAutoScaleL@CVideoPlayerUtility@@QAEXW4TAutoScaleType@@HH@Z @ 117 NONAME ; void CVideoPlayerUtility::SetAutoScaleL(enum TAutoScaleType, int, int)
- ?SetPlayVelocityL@CVideoPlayerUtility@@QAEXH@Z @ 118 NONAME ; void CVideoPlayerUtility::SetPlayVelocityL(int)
- ?SetVideoEnabledL@CVideoPlayerUtility@@QAEXH@Z @ 119 NONAME ; void CVideoPlayerUtility::SetVideoEnabledL(int)
- ?SetVideoEnabledL@CVideoRecorderUtility@@QAEXH@Z @ 120 NONAME ; void CVideoRecorderUtility::SetVideoEnabledL(int)
- ?SetVideoFrameRateFixedL@CVideoRecorderUtility@@QAEXH@Z @ 121 NONAME ; void CVideoRecorderUtility::SetVideoFrameRateFixedL(int)
- ?SetVideoQualityL@CVideoRecorderUtility@@QAEXH@Z @ 122 NONAME ; void CVideoRecorderUtility::SetVideoQualityL(int)
- ?StepFrameL@CVideoPlayerUtility@@QAEXH@Z @ 123 NONAME ; void CVideoPlayerUtility::StepFrameL(int)
- ?VideoEnabledL@CVideoPlayerUtility@@QBEHXZ @ 124 NONAME ; int CVideoPlayerUtility::VideoEnabledL(void) const
- ?VideoEnabledL@CVideoRecorderUtility@@QBEHXZ @ 125 NONAME ; int CVideoRecorderUtility::VideoEnabledL(void) const
- ?VideoFrameRateFixedL@CVideoRecorderUtility@@QBEHXZ @ 126 NONAME ; int CVideoRecorderUtility::VideoFrameRateFixedL(void) const
- ?VideoQualityL@CVideoRecorderUtility@@QBEHXZ @ 127 NONAME ; int CVideoRecorderUtility::VideoQualityL(void) const
- ?AddDisplayWindowL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindow@@@Z @ 128 NONAME ; void CVideoPlayerUtility2::AddDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindow &)
- ?AddDisplayWindowL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindow@@ABVTRect@@3@Z @ 129 NONAME ; void CVideoPlayerUtility2::AddDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindow &, class TRect const &, class TRect const &)
- ?NewL@CVideoPlayerUtility2@@SAPAV1@AAVMVideoPlayerUtilityObserver@@HW4TMdaPriorityPreference@@@Z @ 130 NONAME ; class CVideoPlayerUtility2 * CVideoPlayerUtility2::NewL(class MVideoPlayerUtilityObserver &, int, enum TMdaPriorityPreference)
- ?RemoveDisplayWindow@CVideoPlayerUtility2@@QAEXAAVRWindow@@@Z @ 131 NONAME ; void CVideoPlayerUtility2::RemoveDisplayWindow(class RWindow &)
- ?SetVideoExtentL@CVideoPlayerUtility2@@QAEXABVRWindow@@ABVTRect@@@Z @ 132 NONAME ; void CVideoPlayerUtility2::SetVideoExtentL(class RWindow const &, class TRect const &)
- ?SetWindowClipRectL@CVideoPlayerUtility2@@QAEXABVRWindow@@ABVTRect@@@Z @ 133 NONAME ; void CVideoPlayerUtility2::SetWindowClipRectL(class RWindow const &, class TRect const &)
- ?GetScaleFactorL@CVideoPlayerUtility2@@QAEXABVRWindow@@AAM1@Z @ 134 NONAME ; void CVideoPlayerUtility2::GetScaleFactorL(class RWindow const &, float &, float &)
- ?RotationL@CVideoPlayerUtility2@@QAE?AW4TVideoRotation@@ABVRWindow@@@Z @ 135 NONAME ; enum TVideoRotation CVideoPlayerUtility2::RotationL(class RWindow const &)
- ?SetAutoScaleL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TAutoScaleType@@@Z @ 136 NONAME ; void CVideoPlayerUtility2::SetAutoScaleL(class RWindow const &, enum TAutoScaleType)
- ?SetAutoScaleL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TAutoScaleType@@HH@Z @ 137 NONAME ; void CVideoPlayerUtility2::SetAutoScaleL(class RWindow const &, enum TAutoScaleType, int, int)
- ?SetRotationL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TVideoRotation@@@Z @ 138 NONAME ; void CVideoPlayerUtility2::SetRotationL(class RWindow const &, enum TVideoRotation)
- ?SetScaleFactorL@CVideoPlayerUtility2@@QAEXABVRWindow@@MM@Z @ 139 NONAME ; void CVideoPlayerUtility2::SetScaleFactorL(class RWindow const &, float, float)
- ?AddDisplayL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@HAAVMMMFSurfaceEventHandler@@@Z @ 140 NONAME ; void CVideoPlayerUtility2::AddDisplayL(class RWsSession &, int, class MMMFSurfaceEventHandler &)
- ?RemoveDisplay@CVideoPlayerUtility2@@QAEXH@Z @ 141 NONAME ; void CVideoPlayerUtility2::RemoveDisplay(int)
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/bwins/tsu_mmf_vclnt_01_gce2.def Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,153 +0,0 @@
-EXPORTS
- ?NewTestSuiteUnitMMFVidClientL@@YAPAVCTestSuiteUnitMMFVidClient@@XZ @ 1 NONAME ; class CTestSuiteUnitMMFVidClient * NewTestSuiteUnitMMFVidClientL(void)
- ?SetAutoScaleL@CVideoPlayerUtility@@QAEXW4TAutoScaleType@@HH@Z @ 2 NONAME ; void CVideoPlayerUtility::SetAutoScaleL(enum TAutoScaleType, int, int)
- ?StopDirectScreenAccessL@CVideoPlayerUtility@@QAEXXZ @ 3 NONAME ; void CVideoPlayerUtility::StopDirectScreenAccessL(void)
- ?SetWindowClipRectL@CVideoPlayerUtility2@@QAEXABVRWindow@@ABVTRect@@@Z @ 4 NONAME ; void CVideoPlayerUtility2::SetWindowClipRectL(class RWindow const &, class TRect const &)
- ?SetAudioEnabledL@CVideoPlayerUtility@@QAEXH@Z @ 5 NONAME ; void CVideoPlayerUtility::SetAudioEnabledL(int)
- ?PriorityL@CVideoPlayerUtility@@QBEXAAHAAW4TMdaPriorityPreference@@@Z @ 6 NONAME ; void CVideoPlayerUtility::PriorityL(int &, enum TMdaPriorityPreference &) const
- ?Prepare@CVideoRecorderUtility@@QAEXXZ @ 7 NONAME ; void CVideoRecorderUtility::Prepare(void)
- ?Close@CVideoRecorderUtility@@QAEXXZ @ 8 NONAME ; void CVideoRecorderUtility::Close(void)
- ?SetVideoFrameRateFixedL@CVideoRecorderUtility@@QAEXH@Z @ 9 NONAME ; void CVideoRecorderUtility::SetVideoFrameRateFixedL(int)
- ?SetDisplayWindowL@CVideoPlayerUtility@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindowBase@@ABVTRect@@3@Z @ 10 NONAME ; void CVideoPlayerUtility::SetDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindowBase &, class TRect const &, class TRect const &)
- ?GetPriorityL@CVideoRecorderUtility@@QBEXAAHAAW4TMdaPriorityPreference@@@Z @ 11 NONAME ; void CVideoRecorderUtility::GetPriorityL(int &, enum TMdaPriorityPreference &) const
- ?SetMaxClipSizeL@CVideoRecorderUtility@@QAEXH@Z @ 12 NONAME ; void CVideoRecorderUtility::SetMaxClipSizeL(int)
- ?CancelRegisterAudioResourceNotification@CVideoPlayerUtility@@QAEHVTUid@@@Z @ 13 NONAME ; int CVideoPlayerUtility::CancelRegisterAudioResourceNotification(class TUid)
- ?SetPriorityL@CVideoRecorderUtility@@QAEXHH@Z @ 14 NONAME ; void CVideoRecorderUtility::SetPriorityL(int, int)
- ?StartDirectScreenAccessL@CVideoPlayerUtility@@QAEXXZ @ 15 NONAME ; void CVideoPlayerUtility::StartDirectScreenAccessL(void)
- ?Stop@CVideoRecorderUtility@@QAEHXZ @ 16 NONAME ; int CVideoRecorderUtility::Stop(void)
- ?SubtitlesAvailable@CVideoPlayerUtility2@@QAEHXZ @ 17 NONAME ; int CVideoPlayerUtility2::SubtitlesAvailable(void)
- ?CustomCommandAsync@CVideoPlayerUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@AAVTRequestStatus@@@Z @ 18 NONAME ; void CVideoPlayerUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &, class TRequestStatus &)
- ?SetAudioTypeL@CVideoRecorderUtility@@QAEXVTFourCC@@@Z @ 19 NONAME ; void CVideoRecorderUtility::SetAudioTypeL(class TFourCC)
- ?VideoFrameSizeL@CVideoPlayerUtility@@QBEXAAVTSize@@@Z @ 20 NONAME ; void CVideoPlayerUtility::VideoFrameSizeL(class TSize &) const
- ?RegisterForVideoLoadingNotification@CVideoPlayerUtility@@QAEXAAVMVideoLoadingObserver@@@Z @ 21 NONAME ; void CVideoPlayerUtility::RegisterForVideoLoadingNotification(class MVideoLoadingObserver &)
- ?GetCropRegionL@CVideoPlayerUtility@@QBEXAAVTRect@@@Z @ 22 NONAME ; void CVideoPlayerUtility::GetCropRegionL(class TRect &) const
- ?RemoveDisplayWindow@CVideoPlayerUtility2@@QAEXAAVRWindow@@@Z @ 23 NONAME ; void CVideoPlayerUtility2::RemoveDisplayWindow(class RWindow &)
- ?CustomCommandSync@CVideoPlayerUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@@Z @ 24 NONAME ; int CVideoPlayerUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &)
- ?AddDisplayWindowL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindow@@@Z @ 25 NONAME ; void CVideoPlayerUtility2::AddDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindow &)
- ?ControllerImplementationInformationL@CVideoPlayerUtility@@QAEABVCMMFControllerImplementationInformation@@XZ @ 26 NONAME ; class CMMFControllerImplementationInformation const & CVideoPlayerUtility::ControllerImplementationInformationL(void)
- ?OpenDesL@CVideoRecorderUtility@@QAEXAAVTDes8@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 27 NONAME ; void CVideoRecorderUtility::OpenDesL(class TDes8 &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
- ?AddDisplayL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@HAAVMMMFSurfaceEventHandler@@@Z @ 28 NONAME ; void CVideoPlayerUtility2::AddDisplayL(class RWsSession &, int, class MMMFSurfaceEventHandler &)
- ?SetVideoFrameRateL@CVideoPlayerUtility@@QAEXM@Z @ 29 NONAME ; void CVideoPlayerUtility::SetVideoFrameRateL(float)
- ?Reserved1@@YAXXZ @ 30 NONAME ; void Reserved1(void)
- ?CustomCommandAsync@CVideoRecorderUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@AAVTRequestStatus@@@Z @ 31 NONAME ; void CVideoRecorderUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &, class TRequestStatus &)
- ?SetRotationL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TVideoRotation@@@Z @ 32 NONAME ; void CVideoPlayerUtility2::SetRotationL(class RWindow const &, enum TVideoRotation)
- ?Play@CVideoPlayerUtility@@QAEXXZ @ 33 NONAME ; void CVideoPlayerUtility::Play(void)
- ?GetFrameL@CVideoPlayerUtility@@QAEXW4TDisplayMode@@@Z @ 34 NONAME ; void CVideoPlayerUtility::GetFrameL(enum TDisplayMode)
- ?GetSupportedAudioSampleRatesL@CVideoRecorderUtility@@QBEXAAV?$RArray@I@@@Z @ 35 NONAME ; void CVideoRecorderUtility::GetSupportedAudioSampleRatesL(class RArray<unsigned int> &) const
- ?GetPixelAspectRatioL@CVideoRecorderUtility@@QBEXAAVTVideoAspectRatio@@@Z @ 36 NONAME ; void CVideoRecorderUtility::GetPixelAspectRatioL(class TVideoAspectRatio &) const
- ?DurationL@CVideoPlayerUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 37 NONAME ; class TTimeIntervalMicroSeconds CVideoPlayerUtility::DurationL(void) const
- ?SupportedSubtitleLanguagesL@CVideoPlayerUtility2@@QAE?AV?$TArray@W4TLanguage@@@@XZ @ 38 NONAME ; class TArray<enum TLanguage> CVideoPlayerUtility2::SupportedSubtitleLanguagesL(void)
- ?CustomCommandAsync@CVideoRecorderUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTRequestStatus@@@Z @ 39 NONAME ; void CVideoRecorderUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TRequestStatus &)
- ?Volume@CVideoPlayerUtility@@QBEHXZ @ 40 NONAME ; int CVideoPlayerUtility::Volume(void) const
- ?MetaDataEntryL@CVideoRecorderUtility@@QBEPAVCMMFMetaDataEntry@@H@Z @ 41 NONAME ; class CMMFMetaDataEntry * CVideoRecorderUtility::MetaDataEntryL(int) const
- ?OpenUrlL@CVideoRecorderUtility@@QAEXABVTDesC16@@HHVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 42 NONAME ; void CVideoRecorderUtility::OpenUrlL(class TDesC16 const &, int, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
- ?RedrawSubtitle@CVideoPlayerUtility2@@QAEXAAVRWindow@@ABVTRect@@@Z @ 43 NONAME ; void CVideoPlayerUtility2::RedrawSubtitle(class RWindow &, class TRect const &)
- ?VideoFormatMimeType@CVideoPlayerUtility@@QBEABVTDesC8@@XZ @ 44 NONAME ; class TDesC8 const & CVideoPlayerUtility::VideoFormatMimeType(void) const
- ?SetCropRegionL@CVideoPlayerUtility@@QAEXABVTRect@@@Z @ 45 NONAME ; void CVideoPlayerUtility::SetCropRegionL(class TRect const &)
- ?OpenFileL@CVideoRecorderUtility@@QAEXABVTDesC16@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 46 NONAME ; void CVideoRecorderUtility::OpenFileL(class TDesC16 const &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
- ?GetScaleFactorL@CVideoPlayerUtility@@QBEXAAM0AAH@Z @ 47 NONAME ; void CVideoPlayerUtility::GetScaleFactorL(float &, float &, int &) const
- ?VideoEnabledL@CVideoPlayerUtility@@QBEHXZ @ 48 NONAME ; int CVideoPlayerUtility::VideoEnabledL(void) const
- ?Balance@CVideoPlayerUtility@@QBEHXZ @ 49 NONAME ; int CVideoPlayerUtility::Balance(void) const
- ?StepFrameL@CVideoPlayerUtility@@QAEXH@Z @ 50 NONAME ; void CVideoPlayerUtility::StepFrameL(int)
- ?SetPixelAspectRatioL@CVideoRecorderUtility@@QAEXABVTVideoAspectRatio@@@Z @ 51 NONAME ; void CVideoRecorderUtility::SetPixelAspectRatioL(class TVideoAspectRatio const &)
- ?RecordTimeAvailable@CVideoRecorderUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 52 NONAME ; class TTimeIntervalMicroSeconds CVideoRecorderUtility::RecordTimeAvailable(void) const
- ?SetSubtitleLanguageL@CVideoPlayerUtility2@@QAEXW4TLanguage@@@Z @ 53 NONAME ; void CVideoPlayerUtility2::SetSubtitleLanguageL(enum TLanguage)
- ?PauseL@CVideoRecorderUtility@@QAEXXZ @ 54 NONAME ; void CVideoRecorderUtility::PauseL(void)
- ?GetSupportedAudioTypesL@CVideoRecorderUtility@@QBEXAAV?$RArray@VTFourCC@@@@@Z @ 55 NONAME ; void CVideoRecorderUtility::GetSupportedAudioTypesL(class RArray<class TFourCC> &) const
- ?ControllerImplementationInformationL@CVideoRecorderUtility@@QAEABVCMMFControllerImplementationInformation@@XZ @ 56 NONAME ; class CMMFControllerImplementationInformation const & CVideoRecorderUtility::ControllerImplementationInformationL(void)
- ?SetAudioSampleRateL@CVideoRecorderUtility@@QAEXI@Z @ 57 NONAME ; void CVideoRecorderUtility::SetAudioSampleRateL(unsigned int)
- ?SetBalanceL@CVideoPlayerUtility@@QAEXH@Z @ 58 NONAME ; void CVideoPlayerUtility::SetBalanceL(int)
- ?CustomCommandSync@CVideoRecorderUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1@Z @ 59 NONAME ; int CVideoRecorderUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &)
- ?CustomCommandAsync@CVideoPlayerUtility@@QAEXABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTRequestStatus@@@Z @ 60 NONAME ; void CVideoPlayerUtility::CustomCommandAsync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TRequestStatus &)
- ?MetaDataEntryL@CVideoPlayerUtility@@QBEPAVCMMFMetaDataEntry@@H@Z @ 61 NONAME ; class CMMFMetaDataEntry * CVideoPlayerUtility::MetaDataEntryL(int) const
- ?GetFrameL@CVideoPlayerUtility@@QAEXW4TDisplayMode@@W4TIntent@ContentAccess@@@Z @ 62 NONAME ; void CVideoPlayerUtility::GetFrameL(enum TDisplayMode, enum ContentAccess::TIntent)
- ?SetVideoEnabledL@CVideoRecorderUtility@@QAEXH@Z @ 63 NONAME ; void CVideoRecorderUtility::SetVideoEnabledL(int)
- ?SetGainL@CVideoRecorderUtility@@QAEXH@Z @ 64 NONAME ; void CVideoRecorderUtility::SetGainL(int)
- ?VideoBitRateL@CVideoRecorderUtility@@QAEHXZ @ 65 NONAME ; int CVideoRecorderUtility::VideoBitRateL(void)
- ?AudioEnabledL@CVideoPlayerUtility@@QBEHXZ @ 66 NONAME ; int CVideoPlayerUtility::AudioEnabledL(void) const
- ?OpenDesL@CVideoPlayerUtility@@QAEXABVTDesC8@@VTUid@@@Z @ 67 NONAME ; void CVideoPlayerUtility::OpenDesL(class TDesC8 const &, class TUid)
- ?SetScaleFactorL@CVideoPlayerUtility@@QAEXMMH@Z @ 68 NONAME ; void CVideoPlayerUtility::SetScaleFactorL(float, float, int)
- ?Stop@CVideoPlayerUtility@@QAEHXZ @ 69 NONAME ; int CVideoPlayerUtility::Stop(void)
- ?PlayVelocityL@CVideoPlayerUtility@@QBEHXZ @ 70 NONAME ; int CVideoPlayerUtility::PlayVelocityL(void) const
- ?SetAutoScaleL@CVideoPlayerUtility@@QAEXW4TAutoScaleType@@@Z @ 71 NONAME ; void CVideoPlayerUtility::SetAutoScaleL(enum TAutoScaleType)
- ?SetInitScreenNumber@CVideoPlayerUtility@@QAEHH@Z @ 72 NONAME ; int CVideoPlayerUtility::SetInitScreenNumber(int)
- ?AddDisplayWindowL@CVideoPlayerUtility2@@QAEXAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindow@@ABVTRect@@3@Z @ 73 NONAME ; void CVideoPlayerUtility2::AddDisplayWindowL(class RWsSession &, class CWsScreenDevice &, class RWindow &, class TRect const &, class TRect const &)
- ?GetDRMCustomCommand@CVideoPlayerUtility@@QAEPAVMMMFDRMCustomCommand@@XZ @ 74 NONAME ; class MMMFDRMCustomCommand * CVideoPlayerUtility::GetDRMCustomCommand(void)
- ?SetPositionL@CVideoPlayerUtility@@QAEXABVTTimeIntervalMicroSeconds@@@Z @ 75 NONAME ; void CVideoPlayerUtility::SetPositionL(class TTimeIntervalMicroSeconds const &)
- ?AddMetaDataEntryL@CVideoRecorderUtility@@QAEXABVCMMFMetaDataEntry@@@Z @ 76 NONAME ; void CVideoRecorderUtility::AddMetaDataEntryL(class CMMFMetaDataEntry const &)
- ?GetSupportedVideoTypesL@CVideoRecorderUtility@@QBEXAAVCDesC8Array@@@Z @ 77 NONAME ; void CVideoRecorderUtility::GetSupportedVideoTypesL(class CDesC8Array &) const
- ?OpenFileL@CVideoPlayerUtility@@QAEXABVTDesC16@@VTUid@@@Z @ 78 NONAME ; void CVideoPlayerUtility::OpenFileL(class TDesC16 const &, class TUid)
- ?OpenFileL@CVideoPlayerUtility@@QAEXABVTMMSource@@VTUid@@@Z @ 79 NONAME ; void CVideoPlayerUtility::OpenFileL(class TMMSource const &, class TUid)
- ?PositionL@CVideoPlayerUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 80 NONAME ; class TTimeIntervalMicroSeconds CVideoPlayerUtility::PositionL(void) const
- ?VideoFrameRateL@CVideoPlayerUtility@@QBEMXZ @ 81 NONAME ; float CVideoPlayerUtility::VideoFrameRateL(void) const
- ?Record@CVideoRecorderUtility@@QAEXXZ @ 82 NONAME ; void CVideoRecorderUtility::Record(void)
- ?AudioTypeL@CVideoPlayerUtility@@QBE?AVTFourCC@@XZ @ 83 NONAME ; class TFourCC CVideoPlayerUtility::AudioTypeL(void) const
- ?NewL@CVideoRecorderUtility@@SAPAV1@AAVMVideoRecorderUtilityObserver@@HH@Z @ 84 NONAME ; class CVideoRecorderUtility * CVideoRecorderUtility::NewL(class MVideoRecorderUtilityObserver &, int, int)
- ?SetVideoFrameSizeL@CVideoRecorderUtility@@QAEXABVTSize@@@Z @ 85 NONAME ; void CVideoRecorderUtility::SetVideoFrameSizeL(class TSize const &)
- ?RotationL@CVideoPlayerUtility@@QBE?AW4TVideoRotation@@XZ @ 86 NONAME ; enum TVideoRotation CVideoPlayerUtility::RotationL(void) const
- ?VideoFrameRateL@CVideoRecorderUtility@@QBEMXZ @ 87 NONAME ; float CVideoRecorderUtility::VideoFrameRateL(void) const
- ?SetVideoBitRateL@CVideoRecorderUtility@@QAEXH@Z @ 88 NONAME ; void CVideoRecorderUtility::SetVideoBitRateL(int)
- ?SetVideoEnabledL@CVideoPlayerUtility@@QAEXH@Z @ 89 NONAME ; void CVideoPlayerUtility::SetVideoEnabledL(int)
- ?AudioSampleRateL@CVideoRecorderUtility@@QBEIXZ @ 90 NONAME ; unsigned int CVideoRecorderUtility::AudioSampleRateL(void) const
- ?SetVideoFrameRateL@CVideoRecorderUtility@@QAEXM@Z @ 91 NONAME ; void CVideoRecorderUtility::SetVideoFrameRateL(float)
- ?GetSupportedAudioChannelsL@CVideoRecorderUtility@@QBEXAAV?$RArray@I@@@Z @ 92 NONAME ; void CVideoRecorderUtility::GetSupportedAudioChannelsL(class RArray<unsigned int> &) const
- ?GetVideoFrameSizeL@CVideoRecorderUtility@@QBEXAAVTSize@@@Z @ 93 NONAME ; void CVideoRecorderUtility::GetVideoFrameSizeL(class TSize &) const
- ?VideoFrameRateFixedL@CVideoRecorderUtility@@QBEHXZ @ 94 NONAME ; int CVideoRecorderUtility::VideoFrameRateFixedL(void) const
- ?RotationL@CVideoPlayerUtility2@@QAE?AW4TVideoRotation@@ABVRWindow@@@Z @ 95 NONAME ; enum TVideoRotation CVideoPlayerUtility2::RotationL(class RWindow const &)
- ?EnableSubtitlesL@CVideoPlayerUtility2@@QAEXXZ @ 96 NONAME ; void CVideoPlayerUtility2::EnableSubtitlesL(void)
- ?ReplaceMetaDataEntryL@CVideoRecorderUtility@@QAEXHABVCMMFMetaDataEntry@@@Z @ 97 NONAME ; void CVideoRecorderUtility::ReplaceMetaDataEntryL(int, class CMMFMetaDataEntry const &)
- ?MaxGainL@CVideoRecorderUtility@@QBEHXZ @ 98 NONAME ; int CVideoRecorderUtility::MaxGainL(void) const
- ?SetRotationL@CVideoPlayerUtility@@QAEXW4TVideoRotation@@@Z @ 99 NONAME ; void CVideoPlayerUtility::SetRotationL(enum TVideoRotation)
- ?SubtitleLanguageL@CVideoPlayerUtility2@@QAE?AW4TLanguage@@XZ @ 100 NONAME ; enum TLanguage CVideoPlayerUtility2::SubtitleLanguageL(void)
- ?OpenFileL@CVideoPlayerUtility@@QAEXABVRFile@@VTUid@@@Z @ 101 NONAME ; void CVideoPlayerUtility::OpenFileL(class RFile const &, class TUid)
- ?SetAutoScaleL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TAutoScaleType@@@Z @ 102 NONAME ; void CVideoPlayerUtility2::SetAutoScaleL(class RWindow const &, enum TAutoScaleType)
- ?AudioTypeL@CVideoRecorderUtility@@QBE?AVTFourCC@@XZ @ 103 NONAME ; class TFourCC CVideoRecorderUtility::AudioTypeL(void) const
- ?NumberOfMetaDataEntriesL@CVideoRecorderUtility@@QBEHXZ @ 104 NONAME ; int CVideoRecorderUtility::NumberOfMetaDataEntriesL(void) const
- ?DisableSubtitles@CVideoPlayerUtility2@@QAEXXZ @ 105 NONAME ; void CVideoPlayerUtility2::DisableSubtitles(void)
- ?NewL@CVideoPlayerUtility2@@SAPAV1@AAVMVideoPlayerUtilityObserver@@HH@Z @ 106 NONAME ; class CVideoPlayerUtility2 * CVideoPlayerUtility2::NewL(class MVideoPlayerUtilityObserver &, int, int)
- ?WillResumePlay@CVideoPlayerUtility@@QAEHXZ @ 107 NONAME ; int CVideoPlayerUtility::WillResumePlay(void)
- ?VideoFormatMimeType@CVideoRecorderUtility@@QBEABVTDesC8@@XZ @ 108 NONAME ; class TDesC8 const & CVideoRecorderUtility::VideoFormatMimeType(void) const
- ?SetAudioChannelsL@CVideoRecorderUtility@@QAEXI@Z @ 109 NONAME ; void CVideoRecorderUtility::SetAudioChannelsL(unsigned int)
- ?MaxVolume@CVideoPlayerUtility@@QBEHXZ @ 110 NONAME ; int CVideoPlayerUtility::MaxVolume(void) const
- ?GetPlayRateCapabilitiesL@CVideoPlayerUtility@@QBEXAAVTVideoPlayRateCapabilities@@@Z @ 111 NONAME ; void CVideoPlayerUtility::GetPlayRateCapabilitiesL(class TVideoPlayRateCapabilities &) const
- ?SetAutoScaleL@CVideoPlayerUtility2@@QAEXABVRWindow@@W4TAutoScaleType@@HH@Z @ 112 NONAME ; void CVideoPlayerUtility2::SetAutoScaleL(class RWindow const &, enum TAutoScaleType, int, int)
- ?Reserved2@@YAXXZ @ 113 NONAME ; void Reserved2(void)
- ?SetAudioEnabledL@CVideoRecorderUtility@@QAEXH@Z @ 114 NONAME ; void CVideoRecorderUtility::SetAudioEnabledL(int)
- ?CustomCommandSync@CVideoPlayerUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1@Z @ 115 NONAME ; int CVideoPlayerUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &)
- ?GetSupportedPixelAspectRatiosL@CVideoRecorderUtility@@QBEXAAV?$RArray@VTVideoAspectRatio@@@@@Z @ 116 NONAME ; void CVideoRecorderUtility::GetSupportedPixelAspectRatiosL(class RArray<class TVideoAspectRatio> &) const
- ?VideoQualityL@CVideoRecorderUtility@@QBEHXZ @ 117 NONAME ; int CVideoRecorderUtility::VideoQualityL(void) const
- ?VideoBitRateL@CVideoPlayerUtility@@QBEHXZ @ 118 NONAME ; int CVideoPlayerUtility::VideoBitRateL(void) const
- ?SetVideoTypeL@CVideoRecorderUtility@@QAEXABVTDesC8@@@Z @ 119 NONAME ; void CVideoRecorderUtility::SetVideoTypeL(class TDesC8 const &)
- ?SetPlayVelocityL@CVideoPlayerUtility@@QAEXH@Z @ 120 NONAME ; void CVideoPlayerUtility::SetPlayVelocityL(int)
- ?RemoveDisplay@CVideoPlayerUtility2@@QAEXH@Z @ 121 NONAME ; void CVideoPlayerUtility2::RemoveDisplay(int)
- ?SetVolumeL@CVideoPlayerUtility@@QAEXH@Z @ 122 NONAME ; void CVideoPlayerUtility::SetVolumeL(int)
- ?GetVideoLoadingProgressL@CVideoPlayerUtility@@QAEXAAH@Z @ 123 NONAME ; void CVideoPlayerUtility::GetVideoLoadingProgressL(int &)
- ?SetVideoExtentL@CVideoPlayerUtility2@@QAEXABVRWindow@@ABVTRect@@@Z @ 124 NONAME ; void CVideoPlayerUtility2::SetVideoExtentL(class RWindow const &, class TRect const &)
- ?VideoEnabledL@CVideoRecorderUtility@@QBEHXZ @ 125 NONAME ; int CVideoRecorderUtility::VideoEnabledL(void) const
- ?AudioChannelsL@CVideoRecorderUtility@@QBEIXZ @ 126 NONAME ; unsigned int CVideoRecorderUtility::AudioChannelsL(void) const
- ?OpenFileL@CVideoRecorderUtility@@QAEXABVRFile@@HVTUid@@1ABVTDesC8@@VTFourCC@@@Z @ 127 NONAME ; void CVideoRecorderUtility::OpenFileL(class RFile const &, int, class TUid, class TUid, class TDesC8 const &, class TFourCC)
- ?Close@CVideoPlayerUtility@@QAEXXZ @ 128 NONAME ; void CVideoPlayerUtility::Close(void)
- ?GainL@CVideoRecorderUtility@@QBEHXZ @ 129 NONAME ; int CVideoRecorderUtility::GainL(void) const
- ?CustomCommandSync@CVideoRecorderUtility@@QAEHABV?$TPckgBuf@VTMMFMessageDestination@@@@HABVTDesC8@@1AAVTDes8@@@Z @ 130 NONAME ; int CVideoRecorderUtility::CustomCommandSync(class TPckgBuf<class TMMFMessageDestination> const &, int, class TDesC8 const &, class TDesC8 const &, class TDes8 &)
- ?Play@CVideoPlayerUtility@@QAEXABVTTimeIntervalMicroSeconds@@0@Z @ 131 NONAME ; void CVideoPlayerUtility::Play(class TTimeIntervalMicroSeconds const &, class TTimeIntervalMicroSeconds const &)
- ?AudioBitRateL@CVideoPlayerUtility@@QBEHXZ @ 132 NONAME ; int CVideoPlayerUtility::AudioBitRateL(void) const
- ?SetPriorityL@CVideoPlayerUtility@@QAEXHH@Z @ 133 NONAME ; void CVideoPlayerUtility::SetPriorityL(int, int)
- ?SetVideoQualityL@CVideoRecorderUtility@@QAEXH@Z @ 134 NONAME ; void CVideoRecorderUtility::SetVideoQualityL(int)
- ?SetAudioBitRateL@CVideoRecorderUtility@@QAEXH@Z @ 135 NONAME ; void CVideoRecorderUtility::SetAudioBitRateL(int)
- ?GetScaleFactorL@CVideoPlayerUtility2@@QAEXABVRWindow@@AAM1@Z @ 136 NONAME ; void CVideoPlayerUtility2::GetScaleFactorL(class RWindow const &, float &, float &)
- ?AudioBitRateL@CVideoRecorderUtility@@QBEHXZ @ 137 NONAME ; int CVideoRecorderUtility::AudioBitRateL(void) const
- ?NumberOfMetaDataEntriesL@CVideoPlayerUtility@@QBEHXZ @ 138 NONAME ; int CVideoPlayerUtility::NumberOfMetaDataEntriesL(void) const
- ?PauseL@CVideoPlayerUtility@@QAEXXZ @ 139 NONAME ; void CVideoPlayerUtility::PauseL(void)
- ?OpenUrlL@CVideoPlayerUtility@@QAEXABVTDesC16@@HABVTDesC8@@VTUid@@@Z @ 140 NONAME ; void CVideoPlayerUtility::OpenUrlL(class TDesC16 const &, int, class TDesC8 const &, class TUid)
- ?NewL@CVideoPlayerUtility@@SAPAV1@AAVMVideoPlayerUtilityObserver@@HHAAVRWsSession@@AAVCWsScreenDevice@@AAVRWindowBase@@ABVTRect@@4@Z @ 141 NONAME ; class CVideoPlayerUtility * CVideoPlayerUtility::NewL(class MVideoPlayerUtilityObserver &, int, int, class RWsSession &, class CWsScreenDevice &, class RWindowBase &, class TRect const &, class TRect const &)
- ?Prepare@CVideoPlayerUtility@@QAEXXZ @ 142 NONAME ; void CVideoPlayerUtility::Prepare(void)
- ?AudioEnabledL@CVideoRecorderUtility@@QBEHXZ @ 143 NONAME ; int CVideoRecorderUtility::AudioEnabledL(void) const
- ?RegisterAudioResourceNotification@CVideoPlayerUtility@@QAEHAAVMMMFAudioResourceNotificationCallback@@VTUid@@ABVTDesC8@@@Z @ 144 NONAME ; int CVideoPlayerUtility::RegisterAudioResourceNotification(class MMMFAudioResourceNotificationCallback &, class TUid, class TDesC8 const &)
- ?RefreshFrameL@CVideoPlayerUtility@@QAEXXZ @ 145 NONAME ; void CVideoPlayerUtility::RefreshFrameL(void)
- ?DurationL@CVideoRecorderUtility@@QBE?AVTTimeIntervalMicroSeconds@@XZ @ 146 NONAME ; class TTimeIntervalMicroSeconds CVideoRecorderUtility::DurationL(void) const
- ?SetScaleFactorL@CVideoPlayerUtility2@@QAEXABVRWindow@@MM@Z @ 147 NONAME ; void CVideoPlayerUtility2::SetScaleFactorL(class RWindow const &, float, float)
- ?RemoveMetaDataEntryL@CVideoRecorderUtility@@QAEXH@Z @ 148 NONAME ; void CVideoRecorderUtility::RemoveMetaDataEntryL(int)
- ?SetExternalDisplaySwitchingL@CVideoPlayerUtility2@@QAEXHH@Z @ 149 NONAME ; void CVideoPlayerUtility2::SetExternalDisplaySwitchingL(int, int)
- ?SetExternalDisplaySwitchingL@CVideoPlayerUtility@@QAEXHH@Z @ 150 NONAME ; void CVideoPlayerUtility::SetExternalDisplaySwitchingL(int, int)
- ??0CExtDisplayConnectionProviderInterface@@IAE@XZ @ 151 NONAME ; CExtDisplayConnectionProviderInterface::CExtDisplayConnectionProviderInterface(void)
- ??1CExtDisplayConnectionProviderInterface@@UAE@XZ @ 152 NONAME ; CExtDisplayConnectionProviderInterface::~CExtDisplayConnectionProviderInterface(void)
--- a/mmlibs/mmfw/tsrc/mmfunittest/ctlfrm/TS_CMMFTestController/Ts_cmmftestcontroller.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/ctlfrm/TS_CMMFTestController/Ts_cmmftestcontroller.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -101,7 +101,7 @@
AddCustomCommandParserL(*audConParser);
CleanupStack::Pop();//audConParser
-/*FIXME - need to put this back in when the video custom commands have stabilised.
+/*XXX - need to put this back in when the video custom commands have stabilised.
CMMFVideoControllerCustomCommandParser* vidConParser = CMMFVideoControllerCustomCommandParser::NewL(*this);
CleanupStack::PushL(vidConParser);
AddCustomCommandParserL(*vidConParser);
@@ -215,7 +215,7 @@
iMemFunctionText = KFuncText;
}
-void CMMFTestController::ResetL() //FIXME - replacement for RemoveSourceSink()
+void CMMFTestController::ResetL() //XXX - replacement for RemoveSourceSink()
{
_LIT8(KFuncText, "ResetL Called");
iMemFunctionText = KFuncText;
@@ -370,7 +370,7 @@
if (aQuality == 1)
{
- // FIXME, Check it's the correct value.
+ // XXX, Check it's the correct value.
}
return 1;
@@ -398,7 +398,7 @@
if (aVolume == 1)
{
- //FIXME, check it's the correct value
+ //XXX, check it's the correct value
}
}
@@ -426,7 +426,7 @@
if (aRampDuration.Int64() == 10)
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
}
@@ -437,7 +437,7 @@
if (aBalance == 10)
{
- //FIXME, check it's the correct value
+ //XXX, check it's the correct value
}
}
@@ -461,7 +461,7 @@
if (aGain == 1)
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
}
@@ -488,7 +488,7 @@
if (aBalance == 8)
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
}
@@ -511,7 +511,7 @@
if ((aStart.Int64() == 1) || (aEnd.Int64() == 10))
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
}
@@ -546,7 +546,7 @@
if (aMaxDuration.Int64() == 10)
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
}
@@ -557,7 +557,7 @@
if (aMaxSize == 10)
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
}
@@ -568,7 +568,7 @@
if (aToEnd)
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
}
@@ -580,7 +580,7 @@
_LIT(KName, "A ENTRY");
if (aNewEntry.Name() == KName)
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
}
@@ -591,7 +591,7 @@
if (aIndex == 8)
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
}
@@ -601,13 +601,13 @@
iMemFunctionText = KFuncText;
if (aIndex == 8)
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
_LIT(KName, "A New ENTRY");
if (aNewEntry.Name() == KName)
{
- // FIXME, check it's the correct value
+ // XXX, check it's the correct value
}
}
@@ -935,7 +935,7 @@
if (aFramesPerSecond == 5.00)
{
- // FIXME, Check it's the correct value.
+ // XXX, Check it's the correct value.
}
}
@@ -946,7 +946,7 @@
if (aFramesPerSecond == 5.00)
{
- // FIXME, Check it's the correct value.
+ // XXX, Check it's the correct value.
}
}
@@ -957,7 +957,7 @@
if (aFrameNumber == 5)
{
- // FIXME, Check it's the correct value.
+ // XXX, Check it's the correct value.
}
}
@@ -968,7 +968,7 @@
if (aVideoDimension.Width() == 10)
{
- // FIXME, Check it's the correct value.
+ // XXX, Check it's the correct value.
}
}
@@ -979,7 +979,7 @@
if (aWindowRect.Width() == 10)
{
- // FIXME, Check it's the correct value.
+ // XXX, Check it's the correct value.
}
}
@@ -992,7 +992,7 @@
_LIT(KName, "A New Entry");
if (aNewEntry.Name() == KName)
{
- // FIXME, Check it's the correct value.
+ // XXX, Check it's the correct value.
}
}
@@ -1003,7 +1003,7 @@
if (aIndex == 2)
{
- // FIXME, Check it's the correct value.
+ // XXX, Check it's the correct value.
}
}
@@ -1014,13 +1014,13 @@
if (aIndex == 2)
{
- // FIXME, Check it's the correct value.
+ // XXX, Check it's the correct value.
}
_LIT(KName, "A New Entry");
if (aNewEntry.Name() == KName)
{
- // FIXME, Check it's the correct value.
+ // XXX, Check it's the correct value.
}
}
--- a/mmlibs/mmfw/tsrc/mmfunittest/ctlfrm/TS_CMMFTestController/Ts_cmmftestcontroller.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/ctlfrm/TS_CMMFTestController/Ts_cmmftestcontroller.h Mon Aug 23 18:56:36 2010 +0100
@@ -92,7 +92,8 @@
#ifdef SYMBIAN_BUILD_GCE
, public MMMFVideoPlaySurfaceSupportCustomCommandImplementor //,
#endif // SYMBIAN_BUILD_GCE
- //public MMMFVideoControllerCustomCommandImplementor FIXME - these custom commands are changing...
+ //public MMMFVideoControllerCustomCommandImplementor
+ //XXX - these custom commands are changing...
#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
, public MMMFVideoPlaySubtitleSupportCustomCommandImplementor
#endif // SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
@@ -107,7 +108,7 @@
virtual void RemoveDataSourceL(MDataSource& aDataSource);
virtual void RemoveDataSinkL(MDataSink& aDataSink);
virtual void RemoveSourceSinkL();
- virtual void ResetL();//FIXME - replacement for RemoveSourceSink()
+ virtual void ResetL();//XXX - replacement for RemoveSourceSink()
virtual void PrimeL();
virtual void PlayL();
virtual void PauseL();
--- a/mmlibs/mmfw/tsrc/mmfunittest/ctlfrm/mp3/MmfMP3Format/101F7D99.rss Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/ctlfrm/mp3/MmfMP3Format/101F7D99.rss Mon Aug 23 18:56:36 2010 +0100
@@ -73,7 +73,7 @@
default_data = "?"; //Preferred Controller
// KUidMediaTypeAudio = 0x101F5D07
- // match by header & extension - for Calimero testing
+ // match by header & extension - for testing
// (need to report a wav mime type so that it gets picked up by the audio app)
// opaque_data = "<s>Symbian<i>0x101f5d07<e>.mp3<h>ID3?????????<h>RIFF????WAVE<m>audio/wav<m>audio/x-wav";
--- a/mmlibs/mmfw/tsrc/mmfunittest/eabi/TSU_MMF_AVICTRL_01U.DEF Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-EXPORTS
- _Z20NewTestSuiteAviCtrlLv @ 1 NONAME
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/eabi/TSU_MMF_VCLNT_01.DEF Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,350 +0,0 @@
-EXPORTS
- _Z29NewTestSuiteUnitMMFVidClientLv @ 1 NONAME
- _Z9Reserved1v @ 2 NONAME
- _Z9Reserved2v @ 3 NONAME
- _ZN19CVideoPlayerUtility10SetVolumeLEi @ 4 NONAME
- _ZN19CVideoPlayerUtility11SetBalanceLEi @ 5 NONAME
- _ZN19CVideoPlayerUtility12SetPositionLERK25TTimeIntervalMicroSeconds @ 6 NONAME
- _ZN19CVideoPlayerUtility12SetPriorityLEi22TMdaPriorityPreference @ 7 NONAME
- _ZN19CVideoPlayerUtility12SetRotationLE14TVideoRotation @ 8 NONAME
- _ZN19CVideoPlayerUtility13RefreshFrameLEv @ 9 NONAME
- _ZN19CVideoPlayerUtility14SetCropRegionLERK5TRect @ 10 NONAME
- _ZN19CVideoPlayerUtility15SetScaleFactorLEffi @ 11 NONAME
- _ZN19CVideoPlayerUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_ @ 12 NONAME
- _ZN19CVideoPlayerUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8 @ 13 NONAME
- _ZN19CVideoPlayerUtility17SetDisplayWindowLER10RWsSessionR15CWsScreenDeviceR11RWindowBaseRK5TRectS8_ @ 14 NONAME
- _ZN19CVideoPlayerUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R14TRequestStatus @ 15 NONAME
- _ZN19CVideoPlayerUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8R14TRequestStatus @ 16 NONAME
- _ZN19CVideoPlayerUtility18SetVideoFrameRateLEf @ 17 NONAME
- _ZN19CVideoPlayerUtility19GetDRMCustomCommandEv @ 18 NONAME
- _ZN19CVideoPlayerUtility24GetVideoLoadingProgressLERi @ 19 NONAME
- _ZN19CVideoPlayerUtility35RegisterForVideoLoadingNotificationER21MVideoLoadingObserver @ 20 NONAME
- _ZN19CVideoPlayerUtility36ControllerImplementationInformationLEv @ 21 NONAME
- _ZN19CVideoPlayerUtility4NewLER27MVideoPlayerUtilityObserveri22TMdaPriorityPreferenceR10RWsSessionR15CWsScreenDeviceR11RWindowBaseRK5TRectSB_ @ 22 NONAME
- _ZN19CVideoPlayerUtility4PlayERK25TTimeIntervalMicroSecondsS2_ @ 23 NONAME
- _ZN19CVideoPlayerUtility4PlayEv @ 24 NONAME
- _ZN19CVideoPlayerUtility4StopEv @ 25 NONAME
- _ZN19CVideoPlayerUtility5CloseEv @ 26 NONAME
- _ZN19CVideoPlayerUtility6PauseLEv @ 27 NONAME
- _ZN19CVideoPlayerUtility7PrepareEv @ 28 NONAME
- _ZN19CVideoPlayerUtility8OpenDesLERK6TDesC84TUid @ 29 NONAME
- _ZN19CVideoPlayerUtility8OpenUrlLERK7TDesC16iRK6TDesC84TUid @ 30 NONAME
- _ZN19CVideoPlayerUtility9GetFrameLE12TDisplayMode @ 31 NONAME
- _ZN19CVideoPlayerUtility9GetFrameLE12TDisplayModeN13ContentAccess7TIntentE @ 32 NONAME
- _ZN19CVideoPlayerUtility9OpenFileLERK5RFile4TUid @ 33 NONAME
- _ZN19CVideoPlayerUtility9OpenFileLERK7TDesC164TUid @ 34 NONAME
- _ZN19CVideoPlayerUtility9OpenFileLERK9TMMSource4TUid @ 35 NONAME
- _ZN21CVideoRecorderUtility12SetPriorityLEi22TMdaPriorityPreference @ 36 NONAME
- _ZN21CVideoRecorderUtility13SetAudioTypeLE7TFourCC @ 37 NONAME
- _ZN21CVideoRecorderUtility13SetVideoTypeLERK6TDesC8 @ 38 NONAME
- _ZN21CVideoRecorderUtility13VideoBitRateLEv @ 39 NONAME
- _ZN21CVideoRecorderUtility15SetMaxClipSizeLEi @ 40 NONAME
- _ZN21CVideoRecorderUtility16SetAudioBitRateLEi @ 41 NONAME
- _ZN21CVideoRecorderUtility16SetAudioEnabledLEi @ 42 NONAME
- _ZN21CVideoRecorderUtility16SetVideoBitRateLEi @ 43 NONAME
- _ZN21CVideoRecorderUtility17AddMetaDataEntryLERK17CMMFMetaDataEntry @ 44 NONAME
- _ZN21CVideoRecorderUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_ @ 45 NONAME
- _ZN21CVideoRecorderUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8 @ 46 NONAME
- _ZN21CVideoRecorderUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R14TRequestStatus @ 47 NONAME
- _ZN21CVideoRecorderUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8R14TRequestStatus @ 48 NONAME
- _ZN21CVideoRecorderUtility18SetVideoFrameRateLEf @ 49 NONAME
- _ZN21CVideoRecorderUtility18SetVideoFrameSizeLERK5TSize @ 50 NONAME
- _ZN21CVideoRecorderUtility20RemoveMetaDataEntryLEi @ 51 NONAME
- _ZN21CVideoRecorderUtility21ReplaceMetaDataEntryLEiRK17CMMFMetaDataEntry @ 52 NONAME
- _ZN21CVideoRecorderUtility36ControllerImplementationInformationLEv @ 53 NONAME
- _ZN21CVideoRecorderUtility4NewLER29MVideoRecorderUtilityObserveri22TMdaPriorityPreference @ 54 NONAME
- _ZN21CVideoRecorderUtility4StopEv @ 55 NONAME
- _ZN21CVideoRecorderUtility5CloseEv @ 56 NONAME
- _ZN21CVideoRecorderUtility6PauseLEv @ 57 NONAME
- _ZN21CVideoRecorderUtility6RecordEv @ 58 NONAME
- _ZN21CVideoRecorderUtility7PrepareEv @ 59 NONAME
- _ZN21CVideoRecorderUtility8OpenDesLER5TDes8i4TUidS2_RK6TDesC87TFourCC @ 60 NONAME
- _ZN21CVideoRecorderUtility8OpenUrlLERK7TDesC16ii4TUidS3_RK6TDesC87TFourCC @ 61 NONAME
- _ZN21CVideoRecorderUtility8SetGainLEi @ 62 NONAME
- _ZN21CVideoRecorderUtility9OpenFileLERK5RFilei4TUidS3_RK6TDesC87TFourCC @ 63 NONAME
- _ZN21CVideoRecorderUtility9OpenFileLERK7TDesC16i4TUidS3_RK6TDesC87TFourCC @ 64 NONAME
- _ZNK19CVideoPlayerUtility10AudioTypeLEv @ 65 NONAME
- _ZNK19CVideoPlayerUtility13AudioBitRateLEv @ 66 NONAME
- _ZNK19CVideoPlayerUtility13AudioEnabledLEv @ 67 NONAME
- _ZNK19CVideoPlayerUtility13VideoBitRateLEv @ 68 NONAME
- _ZNK19CVideoPlayerUtility14GetCropRegionLER5TRect @ 69 NONAME
- _ZNK19CVideoPlayerUtility14MetaDataEntryLEi @ 70 NONAME
- _ZNK19CVideoPlayerUtility15GetScaleFactorLERfS0_Ri @ 71 NONAME
- _ZNK19CVideoPlayerUtility15VideoFrameRateLEv @ 72 NONAME
- _ZNK19CVideoPlayerUtility15VideoFrameSizeLER5TSize @ 73 NONAME
- _ZNK19CVideoPlayerUtility19VideoFormatMimeTypeEv @ 74 NONAME
- _ZNK19CVideoPlayerUtility24NumberOfMetaDataEntriesLEv @ 75 NONAME
- _ZNK19CVideoPlayerUtility6VolumeEv @ 76 NONAME
- _ZNK19CVideoPlayerUtility7BalanceEv @ 77 NONAME
- _ZNK19CVideoPlayerUtility9DurationLEv @ 78 NONAME
- _ZNK19CVideoPlayerUtility9MaxVolumeEv @ 79 NONAME
- _ZNK19CVideoPlayerUtility9PositionLEv @ 80 NONAME
- _ZNK19CVideoPlayerUtility9PriorityLERiR22TMdaPriorityPreference @ 81 NONAME
- _ZNK19CVideoPlayerUtility9RotationLEv @ 82 NONAME
- _ZNK21CVideoRecorderUtility10AudioTypeLEv @ 83 NONAME
- _ZNK21CVideoRecorderUtility12GetPriorityLERiR22TMdaPriorityPreference @ 84 NONAME
- _ZNK21CVideoRecorderUtility13AudioBitRateLEv @ 85 NONAME
- _ZNK21CVideoRecorderUtility13AudioEnabledLEv @ 86 NONAME
- _ZNK21CVideoRecorderUtility14MetaDataEntryLEi @ 87 NONAME
- _ZNK21CVideoRecorderUtility15VideoFrameRateLEv @ 88 NONAME
- _ZNK21CVideoRecorderUtility18GetVideoFrameSizeLER5TSize @ 89 NONAME
- _ZNK21CVideoRecorderUtility19RecordTimeAvailableEv @ 90 NONAME
- _ZNK21CVideoRecorderUtility19VideoFormatMimeTypeEv @ 91 NONAME
- _ZNK21CVideoRecorderUtility23GetSupportedAudioTypesLER6RArrayI7TFourCCE @ 92 NONAME
- _ZNK21CVideoRecorderUtility23GetSupportedVideoTypesLER11CDesC8Array @ 93 NONAME
- _ZNK21CVideoRecorderUtility24NumberOfMetaDataEntriesLEv @ 94 NONAME
- _ZNK21CVideoRecorderUtility5GainLEv @ 95 NONAME
- _ZNK21CVideoRecorderUtility8MaxGainLEv @ 96 NONAME
- _ZNK21CVideoRecorderUtility9DurationLEv @ 97 NONAME
- _ZTI19CVideoPlayerUtility @ 98 NONAME ; #<TI>#
- _ZTI21CTestStepVidPlayerDrm @ 99 NONAME ; #<TI>#
- _ZTI21CTestStepVidPlayerNew @ 100 NONAME ; #<TI>#
- _ZTI21CTestStepVidPlayerVol @ 101 NONAME ; #<TI>#
- _ZTI21CVideoRecorderUtility @ 102 NONAME ; #<TI>#
- _ZTI22CTestStepVidPlayerMeta @ 103 NONAME ; #<TI>#
- _ZTI22CTestStepVidPlayerPlay @ 104 NONAME ; #<TI>#
- _ZTI22CTestStepVidPlayerStop @ 105 NONAME ; #<TI>#
- _ZTI23CMMFVideoPlayerCallback @ 106 NONAME ; #<TI>#
- _ZTI23CTestStepVidPlayerClose @ 107 NONAME ; #<TI>#
- _ZTI23CTestStepVidPlayerPause @ 108 NONAME ; #<TI>#
- _ZTI23CTestStepVidPlayerScale @ 109 NONAME ; #<TI>#
- _ZTI23CTestStepVidRecorderNew @ 110 NONAME ; #<TI>#
- _ZTI24CTestStepOOMVidPlayerNew @ 111 NONAME ; #<TI>#
- _ZTI24CTestStepVidRecorderGain @ 112 NONAME ; #<TI>#
- _ZTI24CTestStepVidRecorderMeta @ 113 NONAME ; #<TI>#
- _ZTI24CTestStepVidRecorderStop @ 114 NONAME ; #<TI>#
- _ZTI25CMMFVideoRecorderCallback @ 115 NONAME ; #<TI>#
- _ZTI25CTestStepUnitMMFVidClient @ 116 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerBalance @ 117 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerOpenUrl @ 118 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerRestart @ 119 NONAME ; #<TI>#
- _ZTI25CTestStepVidRecorderClose @ 120 NONAME ; #<TI>#
- _ZTI25CTestStepVidRecorderPause @ 121 NONAME ; #<TI>#
- _ZTI26CTestStepVidPlayerDuration @ 122 NONAME ; #<TI>#
- _ZTI26CTestStepVidPlayerGetFrame @ 123 NONAME ; #<TI>#
- _ZTI26CTestStepVidPlayerOpenDesc @ 124 NONAME ; #<TI>#
- _ZTI26CTestStepVidPlayerOpenFile @ 125 NONAME ; #<TI>#
- _ZTI26CTestStepVidPlayerPriority @ 126 NONAME ; #<TI>#
- _ZTI26CTestStepVidPlayerRotation @ 127 NONAME ; #<TI>#
- _ZTI26CTestStepVidRecorderRecord @ 128 NONAME ; #<TI>#
- _ZTI26CTestSuiteUnitMMFVidClient @ 129 NONAME ; #<TI>#
- _ZTI27CTestStepVidPlayerAudioType @ 130 NONAME ; #<TI>#
- _ZTI27CTestStepVidPlayerPlayPause @ 131 NONAME ; #<TI>#
- _ZTI27CTestStepVidPlayerVideoType @ 132 NONAME ; #<TI>#
- _ZTI27CTestStepVidRecorderOpenUrl @ 133 NONAME ; #<TI>#
- _ZTI27CTestStepVidRecorderPrepare @ 134 NONAME ; #<TI>#
- _ZTI28CTestStepOOMVidPlayerOpenUrl @ 135 NONAME ; #<TI>#
- _ZTI28CTestStepVidPlayerAudEnabled @ 136 NONAME ; #<TI>#
- _ZTI28CTestStepVidPlayerCropRegion @ 137 NONAME ; #<TI>#
- _ZTI28CTestStepVidPlayerPlayWindow @ 138 NONAME ; #<TI>#
- _ZTI28CTestStepVidRecorderABitRate @ 139 NONAME ; #<TI>#
- _ZTI28CTestStepVidRecorderDuration @ 140 NONAME ; #<TI>#
- _ZTI28CTestStepVidRecorderOpenDesc @ 141 NONAME ; #<TI>#
- _ZTI28CTestStepVidRecorderOpenFile @ 142 NONAME ; #<TI>#
- _ZTI28CTestStepVidRecorderPriority @ 143 NONAME ; #<TI>#
- _ZTI28CTestStepVidRecorderVBitRate @ 144 NONAME ; #<TI>#
- _ZTI29CTestStepOOMVidPlayerOpenDesc @ 145 NONAME ; #<TI>#
- _ZTI29CTestStepOOMVidPlayerOpenFile @ 146 NONAME ; #<TI>#
- _ZTI29CTestStepVidPlayerGetABitRate @ 147 NONAME ; #<TI>#
- _ZTI29CTestStepVidPlayerGetVBitRate @ 148 NONAME ; #<TI>#
- _ZTI29CTestStepVidRecorderAudioType @ 149 NONAME ; #<TI>#
- _ZTI29CTestStepVidRecorderVideoType @ 150 NONAME ; #<TI>#
- _ZTI30CTestStepVidPlayerClipPosition @ 151 NONAME ; #<TI>#
- _ZTI30CTestStepVidPlayerGeneralEvent @ 152 NONAME ; #<TI>#
- _ZTI30CTestStepVidPlayerGetFrameRate @ 153 NONAME ; #<TI>#
- _ZTI30CTestStepVidPlayerNewPriorPref @ 154 NONAME ; #<TI>#
- _ZTI30CTestStepVidPlayerRefreshFrame @ 155 NONAME ; #<TI>#
- _ZTI30CTestStepVidRecorderAudEnabled @ 156 NONAME ; #<TI>#
- _ZTI30CTestStepVidRecorderRecordTime @ 157 NONAME ; #<TI>#
- _ZTI30CTestStepVidRecorderVFrameRate @ 158 NONAME ; #<TI>#
- _ZTI30CTestStepVidRecorderVFrameSize @ 159 NONAME ; #<TI>#
- _ZTI31CTestStepVidPlayerGetVFrameSize @ 160 NONAME ; #<TI>#
- _ZTI31CTestStepVidPlayerReloadingTest @ 161 NONAME ; #<TI>#
- _ZTI31CTestStepVidRecorderHandleEvent @ 162 NONAME ; #<TI>#
- _ZTI31CTestStepVidRecorderMaxClipSize @ 163 NONAME ; #<TI>#
- _ZTI32CTestStepAllocFailVidRecorderNew @ 164 NONAME ; #<TI>#
- _ZTI32CTestStepVidRecorderGeneralEvent @ 165 NONAME ; #<TI>#
- _ZTI33CTestStepVidPlayerOpenFileCtrlUid @ 166 NONAME ; #<TI>#
- _ZTI34CTestStepVidPlayerSetDisplayWindow @ 167 NONAME ; #<TI>#
- _ZTI35CTestStepVidRecorderOpenFileCtrlUid @ 168 NONAME ; #<TI>#
- _ZTI36CTestStepAllocFailVidRecorderOpenUrl @ 169 NONAME ; #<TI>#
- _ZTI37CTestStepAllocFailVidRecorderOpenDesc @ 170 NONAME ; #<TI>#
- _ZTI37CTestStepAllocFailVidRecorderOpenFile @ 171 NONAME ; #<TI>#
- _ZTI39CTestStepVidPlayerGetImplementationInfo @ 172 NONAME ; #<TI>#
- _ZTI39CTestStepVidPlayerSendCustomCommandSync @ 173 NONAME ; #<TI>#
- _ZTI40CTestStepVidPlayerSendCustomCommandAsync @ 174 NONAME ; #<TI>#
- _ZTI41CTestStepVidRecorderGetImplementationInfo @ 175 NONAME ; #<TI>#
- _ZTI41CTestStepVidRecorderSendCustomCommandSync @ 176 NONAME ; #<TI>#
- _ZTI42CTestStepVidRecorderSendCustomCommandAsync @ 177 NONAME ; #<TI>#
- _ZTI44CTestStepAllocFailVidRecorderOpenFileCtrlUid @ 178 NONAME ; #<TI>#
- _ZTV19CVideoPlayerUtility @ 179 NONAME ; #<VT>#
- _ZTV21CTestStepVidPlayerDrm @ 180 NONAME ; #<VT>#
- _ZTV21CTestStepVidPlayerNew @ 181 NONAME ; #<VT>#
- _ZTV21CTestStepVidPlayerVol @ 182 NONAME ; #<VT>#
- _ZTV21CVideoRecorderUtility @ 183 NONAME ; #<VT>#
- _ZTV22CTestStepVidPlayerMeta @ 184 NONAME ; #<VT>#
- _ZTV22CTestStepVidPlayerPlay @ 185 NONAME ; #<VT>#
- _ZTV22CTestStepVidPlayerStop @ 186 NONAME ; #<VT>#
- _ZTV23CMMFVideoPlayerCallback @ 187 NONAME ; #<VT>#
- _ZTV23CTestStepVidPlayerClose @ 188 NONAME ; #<VT>#
- _ZTV23CTestStepVidPlayerPause @ 189 NONAME ; #<VT>#
- _ZTV23CTestStepVidPlayerScale @ 190 NONAME ; #<VT>#
- _ZTV23CTestStepVidRecorderNew @ 191 NONAME ; #<VT>#
- _ZTV24CTestStepOOMVidPlayerNew @ 192 NONAME ; #<VT>#
- _ZTV24CTestStepVidRecorderGain @ 193 NONAME ; #<VT>#
- _ZTV24CTestStepVidRecorderMeta @ 194 NONAME ; #<VT>#
- _ZTV24CTestStepVidRecorderStop @ 195 NONAME ; #<VT>#
- _ZTV25CMMFVideoRecorderCallback @ 196 NONAME ; #<VT>#
- _ZTV25CTestStepUnitMMFVidClient @ 197 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerBalance @ 198 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerOpenUrl @ 199 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerRestart @ 200 NONAME ; #<VT>#
- _ZTV25CTestStepVidRecorderClose @ 201 NONAME ; #<VT>#
- _ZTV25CTestStepVidRecorderPause @ 202 NONAME ; #<VT>#
- _ZTV26CTestStepVidPlayerDuration @ 203 NONAME ; #<VT>#
- _ZTV26CTestStepVidPlayerGetFrame @ 204 NONAME ; #<VT>#
- _ZTV26CTestStepVidPlayerOpenDesc @ 205 NONAME ; #<VT>#
- _ZTV26CTestStepVidPlayerOpenFile @ 206 NONAME ; #<VT>#
- _ZTV26CTestStepVidPlayerPriority @ 207 NONAME ; #<VT>#
- _ZTV26CTestStepVidPlayerRotation @ 208 NONAME ; #<VT>#
- _ZTV26CTestStepVidRecorderRecord @ 209 NONAME ; #<VT>#
- _ZTV26CTestSuiteUnitMMFVidClient @ 210 NONAME ; #<VT>#
- _ZTV27CTestStepVidPlayerAudioType @ 211 NONAME ; #<VT>#
- _ZTV27CTestStepVidPlayerPlayPause @ 212 NONAME ; #<VT>#
- _ZTV27CTestStepVidPlayerVideoType @ 213 NONAME ; #<VT>#
- _ZTV27CTestStepVidRecorderOpenUrl @ 214 NONAME ; #<VT>#
- _ZTV27CTestStepVidRecorderPrepare @ 215 NONAME ; #<VT>#
- _ZTV28CTestStepOOMVidPlayerOpenUrl @ 216 NONAME ; #<VT>#
- _ZTV28CTestStepVidPlayerAudEnabled @ 217 NONAME ; #<VT>#
- _ZTV28CTestStepVidPlayerCropRegion @ 218 NONAME ; #<VT>#
- _ZTV28CTestStepVidPlayerPlayWindow @ 219 NONAME ; #<VT>#
- _ZTV28CTestStepVidRecorderABitRate @ 220 NONAME ; #<VT>#
- _ZTV28CTestStepVidRecorderDuration @ 221 NONAME ; #<VT>#
- _ZTV28CTestStepVidRecorderOpenDesc @ 222 NONAME ; #<VT>#
- _ZTV28CTestStepVidRecorderOpenFile @ 223 NONAME ; #<VT>#
- _ZTV28CTestStepVidRecorderPriority @ 224 NONAME ; #<VT>#
- _ZTV28CTestStepVidRecorderVBitRate @ 225 NONAME ; #<VT>#
- _ZTV29CTestStepOOMVidPlayerOpenDesc @ 226 NONAME ; #<VT>#
- _ZTV29CTestStepOOMVidPlayerOpenFile @ 227 NONAME ; #<VT>#
- _ZTV29CTestStepVidPlayerGetABitRate @ 228 NONAME ; #<VT>#
- _ZTV29CTestStepVidPlayerGetVBitRate @ 229 NONAME ; #<VT>#
- _ZTV29CTestStepVidRecorderAudioType @ 230 NONAME ; #<VT>#
- _ZTV29CTestStepVidRecorderVideoType @ 231 NONAME ; #<VT>#
- _ZTV30CTestStepVidPlayerClipPosition @ 232 NONAME ; #<VT>#
- _ZTV30CTestStepVidPlayerGeneralEvent @ 233 NONAME ; #<VT>#
- _ZTV30CTestStepVidPlayerGetFrameRate @ 234 NONAME ; #<VT>#
- _ZTV30CTestStepVidPlayerNewPriorPref @ 235 NONAME ; #<VT>#
- _ZTV30CTestStepVidPlayerRefreshFrame @ 236 NONAME ; #<VT>#
- _ZTV30CTestStepVidRecorderAudEnabled @ 237 NONAME ; #<VT>#
- _ZTV30CTestStepVidRecorderRecordTime @ 238 NONAME ; #<VT>#
- _ZTV30CTestStepVidRecorderVFrameRate @ 239 NONAME ; #<VT>#
- _ZTV30CTestStepVidRecorderVFrameSize @ 240 NONAME ; #<VT>#
- _ZTV31CTestStepVidPlayerGetVFrameSize @ 241 NONAME ; #<VT>#
- _ZTV31CTestStepVidPlayerReloadingTest @ 242 NONAME ; #<VT>#
- _ZTV31CTestStepVidRecorderHandleEvent @ 243 NONAME ; #<VT>#
- _ZTV31CTestStepVidRecorderMaxClipSize @ 244 NONAME ; #<VT>#
- _ZTV32CTestStepAllocFailVidRecorderNew @ 245 NONAME ; #<VT>#
- _ZTV32CTestStepVidRecorderGeneralEvent @ 246 NONAME ; #<VT>#
- _ZTV33CTestStepVidPlayerOpenFileCtrlUid @ 247 NONAME ; #<VT>#
- _ZTV34CTestStepVidPlayerSetDisplayWindow @ 248 NONAME ; #<VT>#
- _ZTV35CTestStepVidRecorderOpenFileCtrlUid @ 249 NONAME ; #<VT>#
- _ZTV36CTestStepAllocFailVidRecorderOpenUrl @ 250 NONAME ; #<VT>#
- _ZTV37CTestStepAllocFailVidRecorderOpenDesc @ 251 NONAME ; #<VT>#
- _ZTV37CTestStepAllocFailVidRecorderOpenFile @ 252 NONAME ; #<VT>#
- _ZTV39CTestStepVidPlayerGetImplementationInfo @ 253 NONAME ; #<VT>#
- _ZTV39CTestStepVidPlayerSendCustomCommandSync @ 254 NONAME ; #<VT>#
- _ZTV40CTestStepVidPlayerSendCustomCommandAsync @ 255 NONAME ; #<VT>#
- _ZTV41CTestStepVidRecorderGetImplementationInfo @ 256 NONAME ; #<VT>#
- _ZTV41CTestStepVidRecorderSendCustomCommandSync @ 257 NONAME ; #<VT>#
- _ZTV42CTestStepVidRecorderSendCustomCommandAsync @ 258 NONAME ; #<VT>#
- _ZTV44CTestStepAllocFailVidRecorderOpenFileCtrlUid @ 259 NONAME ; #<VT>#
- _ZN19CVideoPlayerUtility23StopDirectScreenAccessLEv @ 260 NONAME
- _ZN19CVideoPlayerUtility24StartDirectScreenAccessLEv @ 261 NONAME
- _ZTI30CTestStepVidPlayerStopStartDSA @ 262 NONAME ; #<TI>#
- _ZTV30CTestStepVidPlayerStopStartDSA @ 263 NONAME ; #<VT>#
- _ZTI31CTestStepVidPlayerOpenviaUriTag @ 264 NONAME ; #<TI>#
- _ZTI33CTestStepVidPlayerOpenTryNextCtrl @ 265 NONAME ; #<TI>#
- _ZTV31CTestStepVidPlayerOpenviaUriTag @ 266 NONAME ; #<VT>#
- _ZTV33CTestStepVidPlayerOpenTryNextCtrl @ 267 NONAME ; #<VT>#
- _ZTI41CTestStepVidPlayerCheckImplementationInfo @ 268 NONAME ; #<TI>#
- _ZTI43CTestStepVidRecorderCheckImplementationInfo @ 269 NONAME ; #<TI>#
- _ZTV41CTestStepVidPlayerCheckImplementationInfo @ 270 NONAME ; #<VT>#
- _ZTV43CTestStepVidRecorderCheckImplementationInfo @ 271 NONAME ; #<VT>#
- _ZTI43CTestStepVidPlayerOpenDurationCustomCommand @ 272 NONAME ; #<TI>#
- _ZTV43CTestStepVidPlayerOpenDurationCustomCommand @ 273 NONAME ; #<VT>#
- _ZN19CVideoPlayerUtility14WillResumePlayEv @ 274 NONAME
- _ZN19CVideoPlayerUtility33RegisterAudioResourceNotificationER37MMMFAudioResourceNotificationCallback4TUidRK6TDesC8 @ 275 NONAME
- _ZN19CVideoPlayerUtility39CancelRegisterAudioResourceNotificationE4TUid @ 276 NONAME
- _ZTI21CTestStepVidPlayerARN @ 277 NONAME ; #<TI>#
- _ZTV21CTestStepVidPlayerARN @ 278 NONAME ; #<VT>#
- _ZTI23CTestGenericAosCallback @ 279 NONAME ; #<TI>#
- _ZTI23CTestGenericArnCallback @ 280 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerARN0700 @ 281 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerARN0701 @ 282 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerARN0702 @ 283 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerARN0703 @ 284 NONAME ; #<TI>#
- _ZTV23CTestGenericAosCallback @ 285 NONAME ; #<VT>#
- _ZTV23CTestGenericArnCallback @ 286 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerARN0700 @ 287 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerARN0701 @ 288 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerARN0702 @ 289 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerARN0703 @ 290 NONAME ; #<VT>#
- _ZTI33CTestStepVideoInterruptionByAudio @ 291 NONAME ; #<TI>#
- _ZTV33CTestStepVideoInterruptionByAudio @ 292 NONAME ; #<VT>#
- _ZN19CVideoPlayerUtility19SetInitScreenNumberEi @ 293 NONAME
- _ZN21CVideoRecorderUtility17SetAudioChannelsLEj @ 294 NONAME
- _ZN21CVideoRecorderUtility19SetAudioSampleRateLEj @ 295 NONAME
- _ZN21CVideoRecorderUtility20SetPixelAspectRatioLERK17TVideoAspectRatio @ 296 NONAME
- _ZNK21CVideoRecorderUtility14AudioChannelsLEv @ 297 NONAME
- _ZNK21CVideoRecorderUtility16AudioSampleRateLEv @ 298 NONAME
- _ZNK21CVideoRecorderUtility20GetPixelAspectRatioLER17TVideoAspectRatio @ 299 NONAME
- _ZNK21CVideoRecorderUtility26GetSupportedAudioChannelsLER6RArrayIjE @ 300 NONAME
- _ZNK21CVideoRecorderUtility29GetSupportedAudioSampleRatesLER6RArrayIjE @ 301 NONAME
- _ZNK21CVideoRecorderUtility30GetSupportedPixelAspectRatiosLER6RArrayI17TVideoAspectRatioE @ 302 NONAME
- _ZTI33CTestStepVidOnlyPlayerNoAudioType @ 303 NONAME
- _ZTV33CTestStepVidOnlyPlayerNoAudioType @ 304 NONAME
- _ZTI23CTestStepVidRecordError @ 305 NONAME
- _ZTV23CTestStepVidRecordError @ 306 NONAME
- _ZN19CVideoPlayerUtility10StepFrameLEi @ 307 NONAME
- _ZN19CVideoPlayerUtility13SetAutoScaleLE14TAutoScaleType @ 308 NONAME
- _ZN19CVideoPlayerUtility13SetAutoScaleLE14TAutoScaleTypeii @ 309 NONAME
- _ZN19CVideoPlayerUtility16SetAudioEnabledLEi @ 310 NONAME
- _ZN19CVideoPlayerUtility16SetPlayVelocityLEi @ 311 NONAME
- _ZN19CVideoPlayerUtility16SetVideoEnabledLEi @ 312 NONAME
- _ZN21CVideoRecorderUtility16SetVideoEnabledLEi @ 313 NONAME
- _ZN21CVideoRecorderUtility16SetVideoQualityLEi @ 314 NONAME
- _ZN21CVideoRecorderUtility23SetVideoFrameRateFixedLEi @ 315 NONAME
- _ZNK19CVideoPlayerUtility13PlayVelocityLEv @ 316 NONAME
- _ZNK19CVideoPlayerUtility13VideoEnabledLEv @ 317 NONAME
- _ZNK19CVideoPlayerUtility24GetPlayRateCapabilitiesLER26TVideoPlayRateCapabilities @ 318 NONAME
- _ZNK21CVideoRecorderUtility13VideoEnabledLEv @ 319 NONAME
- _ZNK21CVideoRecorderUtility13VideoQualityLEv @ 320 NONAME
- _ZNK21CVideoRecorderUtility20VideoFrameRateFixedLEv @ 321 NONAME
- _ZN20CVideoPlayerUtility215SetVideoExtentLERK7RWindowRK5TRect @ 322 NONAME ABSENT
- _ZN20CVideoPlayerUtility217AddDisplayWindowLER10RWsSessionR15CWsScreenDeviceR7RWindow @ 323 NONAME ABSENT
- _ZN20CVideoPlayerUtility217AddDisplayWindowLER10RWsSessionR15CWsScreenDeviceR7RWindowRK5TRectS8_ @ 324 NONAME ABSENT
- _ZN20CVideoPlayerUtility218SetWindowClipRectLERK7RWindowRK5TRect @ 325 NONAME ABSENT
- _ZN20CVideoPlayerUtility219RemoveDisplayWindowER7RWindow @ 326 NONAME ABSENT
- _ZN20CVideoPlayerUtility24NewLER27MVideoPlayerUtilityObserveri22TMdaPriorityPreference @ 327 NONAME ABSENT
- _ZTI20CVideoPlayerUtility2 @ 328 NONAME ABSENT
- _ZTI32CTestStepVidPlayerSetVideoExtent @ 329 NONAME ABSENT
- _ZTI34CTestStepVidPlayerAddDisplayWindow @ 330 NONAME ABSENT
- _ZTI35CTestStepVidPlayerSetWindowClipRect @ 331 NONAME ABSENT
- _ZTI37CTestStepVidPlayerRemoveDisplayWindow @ 332 NONAME ABSENT
- _ZTI37CTestStepVidPlayerSetInitScreenNumber @ 333 NONAME ABSENT
- _ZTI50CTestStepVidPlayerEventParaChangedAndRemoveDisplay @ 334 NONAME ABSENT
- _ZTV20CVideoPlayerUtility2 @ 335 NONAME ABSENT
- _ZTV32CTestStepVidPlayerSetVideoExtent @ 336 NONAME ABSENT
- _ZTV34CTestStepVidPlayerAddDisplayWindow @ 337 NONAME ABSENT
- _ZTV35CTestStepVidPlayerSetWindowClipRect @ 338 NONAME ABSENT
- _ZTV37CTestStepVidPlayerRemoveDisplayWindow @ 339 NONAME ABSENT
- _ZTV37CTestStepVidPlayerSetInitScreenNumber @ 340 NONAME ABSENT
- _ZTV50CTestStepVidPlayerEventParaChangedAndRemoveDisplay @ 341 NONAME ABSENT
- _ZN20CVideoPlayerUtility212SetRotationLERK7RWindow14TVideoRotation @ 342 NONAME ABSENT
- _ZN20CVideoPlayerUtility213SetAutoScaleLERK7RWindow14TAutoScaleType @ 343 NONAME ABSENT
- _ZN20CVideoPlayerUtility213SetAutoScaleLERK7RWindow14TAutoScaleTypeii @ 344 NONAME ABSENT
- _ZN20CVideoPlayerUtility215GetScaleFactorLERK7RWindowRfS3_ @ 345 NONAME ABSENT
- _ZN20CVideoPlayerUtility215SetScaleFactorLERK7RWindowff @ 346 NONAME ABSENT
- _ZN20CVideoPlayerUtility29RotationLERK7RWindow @ 347 NONAME ABSENT
- _ZTI27CTestStepVidPlayerAutoScale @ 348 NONAME ABSENT
- _ZTV27CTestStepVidPlayerAutoScale @ 349 NONAME ABSENT
--- a/mmlibs/mmfw/tsrc/mmfunittest/eabi/TS_CmmfVideoTestCustomCommandsU.DEF Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-EXPORTS
- _ZN22RMMFTestCustomCommands16MvcGetFrameRateLERf @ 1 NONAME
- _ZN22RMMFTestCustomCommands16MvcSetFrameRateLEf @ 2 NONAME
- _ZN22RMMFTestCustomCommandsC1ER14RMMFController4TUid @ 3 NONAME
- _ZN22RMMFTestCustomCommandsC2ER14RMMFController4TUid @ 4 NONAME
- _ZN27CMMFTestCustomCommandParser13HandleRequestER11TMMFMessage @ 5 NONAME
- _ZN27CMMFTestCustomCommandParser4NewLE4TUidR32MMMFTestCustomCommandImplementor @ 6 NONAME
- _ZN27CMMFTestCustomCommandParser5NewLCE4TUidR32MMMFTestCustomCommandImplementor @ 7 NONAME
- _ZTI27CMMFTestCustomCommandParser @ 8 NONAME ; #<TI>#
- _ZTV27CMMFTestCustomCommandParser @ 9 NONAME ; #<VT>#
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/eabi/tsu_mmf_vclnt_01_gce.def Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,353 +0,0 @@
-EXPORTS
- _Z29NewTestSuiteUnitMMFVidClientLv @ 1 NONAME
- _Z9Reserved1v @ 2 NONAME
- _Z9Reserved2v @ 3 NONAME
- _ZN19CVideoPlayerUtility10SetVolumeLEi @ 4 NONAME
- _ZN19CVideoPlayerUtility11SetBalanceLEi @ 5 NONAME
- _ZN19CVideoPlayerUtility12SetPositionLERK25TTimeIntervalMicroSeconds @ 6 NONAME
- _ZN19CVideoPlayerUtility12SetPriorityLEi22TMdaPriorityPreference @ 7 NONAME
- _ZN19CVideoPlayerUtility12SetRotationLE14TVideoRotation @ 8 NONAME
- _ZN19CVideoPlayerUtility13RefreshFrameLEv @ 9 NONAME
- _ZN19CVideoPlayerUtility14SetCropRegionLERK5TRect @ 10 NONAME
- _ZN19CVideoPlayerUtility15SetScaleFactorLEffi @ 11 NONAME
- _ZN19CVideoPlayerUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_ @ 12 NONAME
- _ZN19CVideoPlayerUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8 @ 13 NONAME
- _ZN19CVideoPlayerUtility17SetDisplayWindowLER10RWsSessionR15CWsScreenDeviceR11RWindowBaseRK5TRectS8_ @ 14 NONAME
- _ZN19CVideoPlayerUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R14TRequestStatus @ 15 NONAME
- _ZN19CVideoPlayerUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8R14TRequestStatus @ 16 NONAME
- _ZN19CVideoPlayerUtility18SetVideoFrameRateLEf @ 17 NONAME
- _ZN19CVideoPlayerUtility19GetDRMCustomCommandEv @ 18 NONAME
- _ZN19CVideoPlayerUtility24GetVideoLoadingProgressLERi @ 19 NONAME
- _ZN19CVideoPlayerUtility35RegisterForVideoLoadingNotificationER21MVideoLoadingObserver @ 20 NONAME
- _ZN19CVideoPlayerUtility36ControllerImplementationInformationLEv @ 21 NONAME
- _ZN19CVideoPlayerUtility4NewLER27MVideoPlayerUtilityObserveri22TMdaPriorityPreferenceR10RWsSessionR15CWsScreenDeviceR11RWindowBaseRK5TRectSB_ @ 22 NONAME
- _ZN19CVideoPlayerUtility4PlayERK25TTimeIntervalMicroSecondsS2_ @ 23 NONAME
- _ZN19CVideoPlayerUtility4PlayEv @ 24 NONAME
- _ZN19CVideoPlayerUtility4StopEv @ 25 NONAME
- _ZN19CVideoPlayerUtility5CloseEv @ 26 NONAME
- _ZN19CVideoPlayerUtility6PauseLEv @ 27 NONAME
- _ZN19CVideoPlayerUtility7PrepareEv @ 28 NONAME
- _ZN19CVideoPlayerUtility8OpenDesLERK6TDesC84TUid @ 29 NONAME
- _ZN19CVideoPlayerUtility8OpenUrlLERK7TDesC16iRK6TDesC84TUid @ 30 NONAME
- _ZN19CVideoPlayerUtility9GetFrameLE12TDisplayMode @ 31 NONAME
- _ZN19CVideoPlayerUtility9GetFrameLE12TDisplayModeN13ContentAccess7TIntentE @ 32 NONAME
- _ZN19CVideoPlayerUtility9OpenFileLERK5RFile4TUid @ 33 NONAME
- _ZN19CVideoPlayerUtility9OpenFileLERK7TDesC164TUid @ 34 NONAME
- _ZN19CVideoPlayerUtility9OpenFileLERK9TMMSource4TUid @ 35 NONAME
- _ZN21CVideoRecorderUtility12SetPriorityLEi22TMdaPriorityPreference @ 36 NONAME
- _ZN21CVideoRecorderUtility13SetAudioTypeLE7TFourCC @ 37 NONAME
- _ZN21CVideoRecorderUtility13SetVideoTypeLERK6TDesC8 @ 38 NONAME
- _ZN21CVideoRecorderUtility13VideoBitRateLEv @ 39 NONAME
- _ZN21CVideoRecorderUtility15SetMaxClipSizeLEi @ 40 NONAME
- _ZN21CVideoRecorderUtility16SetAudioBitRateLEi @ 41 NONAME
- _ZN21CVideoRecorderUtility16SetAudioEnabledLEi @ 42 NONAME
- _ZN21CVideoRecorderUtility16SetVideoBitRateLEi @ 43 NONAME
- _ZN21CVideoRecorderUtility17AddMetaDataEntryLERK17CMMFMetaDataEntry @ 44 NONAME
- _ZN21CVideoRecorderUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_ @ 45 NONAME
- _ZN21CVideoRecorderUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8 @ 46 NONAME
- _ZN21CVideoRecorderUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R14TRequestStatus @ 47 NONAME
- _ZN21CVideoRecorderUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8R14TRequestStatus @ 48 NONAME
- _ZN21CVideoRecorderUtility18SetVideoFrameRateLEf @ 49 NONAME
- _ZN21CVideoRecorderUtility18SetVideoFrameSizeLERK5TSize @ 50 NONAME
- _ZN21CVideoRecorderUtility20RemoveMetaDataEntryLEi @ 51 NONAME
- _ZN21CVideoRecorderUtility21ReplaceMetaDataEntryLEiRK17CMMFMetaDataEntry @ 52 NONAME
- _ZN21CVideoRecorderUtility36ControllerImplementationInformationLEv @ 53 NONAME
- _ZN21CVideoRecorderUtility4NewLER29MVideoRecorderUtilityObserveri22TMdaPriorityPreference @ 54 NONAME
- _ZN21CVideoRecorderUtility4StopEv @ 55 NONAME
- _ZN21CVideoRecorderUtility5CloseEv @ 56 NONAME
- _ZN21CVideoRecorderUtility6PauseLEv @ 57 NONAME
- _ZN21CVideoRecorderUtility6RecordEv @ 58 NONAME
- _ZN21CVideoRecorderUtility7PrepareEv @ 59 NONAME
- _ZN21CVideoRecorderUtility8OpenDesLER5TDes8i4TUidS2_RK6TDesC87TFourCC @ 60 NONAME
- _ZN21CVideoRecorderUtility8OpenUrlLERK7TDesC16ii4TUidS3_RK6TDesC87TFourCC @ 61 NONAME
- _ZN21CVideoRecorderUtility8SetGainLEi @ 62 NONAME
- _ZN21CVideoRecorderUtility9OpenFileLERK5RFilei4TUidS3_RK6TDesC87TFourCC @ 63 NONAME
- _ZN21CVideoRecorderUtility9OpenFileLERK7TDesC16i4TUidS3_RK6TDesC87TFourCC @ 64 NONAME
- _ZNK19CVideoPlayerUtility10AudioTypeLEv @ 65 NONAME
- _ZNK19CVideoPlayerUtility13AudioBitRateLEv @ 66 NONAME
- _ZNK19CVideoPlayerUtility13AudioEnabledLEv @ 67 NONAME
- _ZNK19CVideoPlayerUtility13VideoBitRateLEv @ 68 NONAME
- _ZNK19CVideoPlayerUtility14GetCropRegionLER5TRect @ 69 NONAME
- _ZNK19CVideoPlayerUtility14MetaDataEntryLEi @ 70 NONAME
- _ZNK19CVideoPlayerUtility15GetScaleFactorLERfS0_Ri @ 71 NONAME
- _ZNK19CVideoPlayerUtility15VideoFrameRateLEv @ 72 NONAME
- _ZNK19CVideoPlayerUtility15VideoFrameSizeLER5TSize @ 73 NONAME
- _ZNK19CVideoPlayerUtility19VideoFormatMimeTypeEv @ 74 NONAME
- _ZNK19CVideoPlayerUtility24NumberOfMetaDataEntriesLEv @ 75 NONAME
- _ZNK19CVideoPlayerUtility6VolumeEv @ 76 NONAME
- _ZNK19CVideoPlayerUtility7BalanceEv @ 77 NONAME
- _ZNK19CVideoPlayerUtility9DurationLEv @ 78 NONAME
- _ZNK19CVideoPlayerUtility9MaxVolumeEv @ 79 NONAME
- _ZNK19CVideoPlayerUtility9PositionLEv @ 80 NONAME
- _ZNK19CVideoPlayerUtility9PriorityLERiR22TMdaPriorityPreference @ 81 NONAME
- _ZNK19CVideoPlayerUtility9RotationLEv @ 82 NONAME
- _ZNK21CVideoRecorderUtility10AudioTypeLEv @ 83 NONAME
- _ZNK21CVideoRecorderUtility12GetPriorityLERiR22TMdaPriorityPreference @ 84 NONAME
- _ZNK21CVideoRecorderUtility13AudioBitRateLEv @ 85 NONAME
- _ZNK21CVideoRecorderUtility13AudioEnabledLEv @ 86 NONAME
- _ZNK21CVideoRecorderUtility14MetaDataEntryLEi @ 87 NONAME
- _ZNK21CVideoRecorderUtility15VideoFrameRateLEv @ 88 NONAME
- _ZNK21CVideoRecorderUtility18GetVideoFrameSizeLER5TSize @ 89 NONAME
- _ZNK21CVideoRecorderUtility19RecordTimeAvailableEv @ 90 NONAME
- _ZNK21CVideoRecorderUtility19VideoFormatMimeTypeEv @ 91 NONAME
- _ZNK21CVideoRecorderUtility23GetSupportedAudioTypesLER6RArrayI7TFourCCE @ 92 NONAME
- _ZNK21CVideoRecorderUtility23GetSupportedVideoTypesLER11CDesC8Array @ 93 NONAME
- _ZNK21CVideoRecorderUtility24NumberOfMetaDataEntriesLEv @ 94 NONAME
- _ZNK21CVideoRecorderUtility5GainLEv @ 95 NONAME
- _ZNK21CVideoRecorderUtility8MaxGainLEv @ 96 NONAME
- _ZNK21CVideoRecorderUtility9DurationLEv @ 97 NONAME
- _ZTI19CVideoPlayerUtility @ 98 NONAME ; #<TI>#
- _ZTI21CTestStepVidPlayerDrm @ 99 NONAME ; #<TI>#
- _ZTI21CTestStepVidPlayerNew @ 100 NONAME ; #<TI>#
- _ZTI21CTestStepVidPlayerVol @ 101 NONAME ; #<TI>#
- _ZTI21CVideoRecorderUtility @ 102 NONAME ; #<TI>#
- _ZTI22CTestStepVidPlayerMeta @ 103 NONAME ; #<TI>#
- _ZTI22CTestStepVidPlayerPlay @ 104 NONAME ; #<TI>#
- _ZTI22CTestStepVidPlayerStop @ 105 NONAME ; #<TI>#
- _ZTI23CMMFVideoPlayerCallback @ 106 NONAME ; #<TI>#
- _ZTI23CTestStepVidPlayerClose @ 107 NONAME ; #<TI>#
- _ZTI23CTestStepVidPlayerPause @ 108 NONAME ; #<TI>#
- _ZTI23CTestStepVidPlayerScale @ 109 NONAME ; #<TI>#
- _ZTI23CTestStepVidRecorderNew @ 110 NONAME ; #<TI>#
- _ZTI24CTestStepOOMVidPlayerNew @ 111 NONAME ; #<TI>#
- _ZTI24CTestStepVidRecorderGain @ 112 NONAME ; #<TI>#
- _ZTI24CTestStepVidRecorderMeta @ 113 NONAME ; #<TI>#
- _ZTI24CTestStepVidRecorderStop @ 114 NONAME ; #<TI>#
- _ZTI25CMMFVideoRecorderCallback @ 115 NONAME ; #<TI>#
- _ZTI25CTestStepUnitMMFVidClient @ 116 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerBalance @ 117 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerOpenUrl @ 118 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerRestart @ 119 NONAME ; #<TI>#
- _ZTI25CTestStepVidRecorderClose @ 120 NONAME ; #<TI>#
- _ZTI25CTestStepVidRecorderPause @ 121 NONAME ; #<TI>#
- _ZTI26CTestStepVidPlayerDuration @ 122 NONAME ; #<TI>#
- _ZTI26CTestStepVidPlayerGetFrame @ 123 NONAME ; #<TI>#
- _ZTI26CTestStepVidPlayerOpenDesc @ 124 NONAME ; #<TI>#
- _ZTI26CTestStepVidPlayerOpenFile @ 125 NONAME ; #<TI>#
- _ZTI26CTestStepVidPlayerPriority @ 126 NONAME ; #<TI>#
- _ZTI26CTestStepVidPlayerRotation @ 127 NONAME ; #<TI>#
- _ZTI26CTestStepVidRecorderRecord @ 128 NONAME ; #<TI>#
- _ZTI26CTestSuiteUnitMMFVidClient @ 129 NONAME ; #<TI>#
- _ZTI27CTestStepVidPlayerAudioType @ 130 NONAME ; #<TI>#
- _ZTI27CTestStepVidPlayerPlayPause @ 131 NONAME ; #<TI>#
- _ZTI27CTestStepVidPlayerVideoType @ 132 NONAME ; #<TI>#
- _ZTI27CTestStepVidRecorderOpenUrl @ 133 NONAME ; #<TI>#
- _ZTI27CTestStepVidRecorderPrepare @ 134 NONAME ; #<TI>#
- _ZTI28CTestStepOOMVidPlayerOpenUrl @ 135 NONAME ; #<TI>#
- _ZTI28CTestStepVidPlayerAudEnabled @ 136 NONAME ; #<TI>#
- _ZTI28CTestStepVidPlayerCropRegion @ 137 NONAME ; #<TI>#
- _ZTI28CTestStepVidPlayerPlayWindow @ 138 NONAME ; #<TI>#
- _ZTI28CTestStepVidRecorderABitRate @ 139 NONAME ; #<TI>#
- _ZTI28CTestStepVidRecorderDuration @ 140 NONAME ; #<TI>#
- _ZTI28CTestStepVidRecorderOpenDesc @ 141 NONAME ; #<TI>#
- _ZTI28CTestStepVidRecorderOpenFile @ 142 NONAME ; #<TI>#
- _ZTI28CTestStepVidRecorderPriority @ 143 NONAME ; #<TI>#
- _ZTI28CTestStepVidRecorderVBitRate @ 144 NONAME ; #<TI>#
- _ZTI29CTestStepOOMVidPlayerOpenDesc @ 145 NONAME ; #<TI>#
- _ZTI29CTestStepOOMVidPlayerOpenFile @ 146 NONAME ; #<TI>#
- _ZTI29CTestStepVidPlayerGetABitRate @ 147 NONAME ; #<TI>#
- _ZTI29CTestStepVidPlayerGetVBitRate @ 148 NONAME ; #<TI>#
- _ZTI29CTestStepVidRecorderAudioType @ 149 NONAME ; #<TI>#
- _ZTI29CTestStepVidRecorderVideoType @ 150 NONAME ; #<TI>#
- _ZTI30CTestStepVidPlayerClipPosition @ 151 NONAME ; #<TI>#
- _ZTI30CTestStepVidPlayerGeneralEvent @ 152 NONAME ; #<TI>#
- _ZTI30CTestStepVidPlayerGetFrameRate @ 153 NONAME ; #<TI>#
- _ZTI30CTestStepVidPlayerNewPriorPref @ 154 NONAME ; #<TI>#
- _ZTI30CTestStepVidPlayerRefreshFrame @ 155 NONAME ; #<TI>#
- _ZTI30CTestStepVidRecorderAudEnabled @ 156 NONAME ; #<TI>#
- _ZTI30CTestStepVidRecorderRecordTime @ 157 NONAME ; #<TI>#
- _ZTI30CTestStepVidRecorderVFrameRate @ 158 NONAME ; #<TI>#
- _ZTI30CTestStepVidRecorderVFrameSize @ 159 NONAME ; #<TI>#
- _ZTI31CTestStepVidPlayerGetVFrameSize @ 160 NONAME ; #<TI>#
- _ZTI31CTestStepVidPlayerReloadingTest @ 161 NONAME ; #<TI>#
- _ZTI31CTestStepVidRecorderHandleEvent @ 162 NONAME ; #<TI>#
- _ZTI31CTestStepVidRecorderMaxClipSize @ 163 NONAME ; #<TI>#
- _ZTI32CTestStepAllocFailVidRecorderNew @ 164 NONAME ; #<TI>#
- _ZTI32CTestStepVidRecorderGeneralEvent @ 165 NONAME ; #<TI>#
- _ZTI33CTestStepVidPlayerOpenFileCtrlUid @ 166 NONAME ; #<TI>#
- _ZTI34CTestStepVidPlayerSetDisplayWindow @ 167 NONAME ; #<TI>#
- _ZTI35CTestStepVidRecorderOpenFileCtrlUid @ 168 NONAME ; #<TI>#
- _ZTI36CTestStepAllocFailVidRecorderOpenUrl @ 169 NONAME ; #<TI>#
- _ZTI37CTestStepAllocFailVidRecorderOpenDesc @ 170 NONAME ; #<TI>#
- _ZTI37CTestStepAllocFailVidRecorderOpenFile @ 171 NONAME ; #<TI>#
- _ZTI39CTestStepVidPlayerGetImplementationInfo @ 172 NONAME ; #<TI>#
- _ZTI39CTestStepVidPlayerSendCustomCommandSync @ 173 NONAME ; #<TI>#
- _ZTI40CTestStepVidPlayerSendCustomCommandAsync @ 174 NONAME ; #<TI>#
- _ZTI41CTestStepVidRecorderGetImplementationInfo @ 175 NONAME ; #<TI>#
- _ZTI41CTestStepVidRecorderSendCustomCommandSync @ 176 NONAME ; #<TI>#
- _ZTI42CTestStepVidRecorderSendCustomCommandAsync @ 177 NONAME ; #<TI>#
- _ZTI44CTestStepAllocFailVidRecorderOpenFileCtrlUid @ 178 NONAME ; #<TI>#
- _ZTV19CVideoPlayerUtility @ 179 NONAME ; #<VT>#
- _ZTV21CTestStepVidPlayerDrm @ 180 NONAME ; #<VT>#
- _ZTV21CTestStepVidPlayerNew @ 181 NONAME ; #<VT>#
- _ZTV21CTestStepVidPlayerVol @ 182 NONAME ; #<VT>#
- _ZTV21CVideoRecorderUtility @ 183 NONAME ; #<VT>#
- _ZTV22CTestStepVidPlayerMeta @ 184 NONAME ; #<VT>#
- _ZTV22CTestStepVidPlayerPlay @ 185 NONAME ; #<VT>#
- _ZTV22CTestStepVidPlayerStop @ 186 NONAME ; #<VT>#
- _ZTV23CMMFVideoPlayerCallback @ 187 NONAME ; #<VT>#
- _ZTV23CTestStepVidPlayerClose @ 188 NONAME ; #<VT>#
- _ZTV23CTestStepVidPlayerPause @ 189 NONAME ; #<VT>#
- _ZTV23CTestStepVidPlayerScale @ 190 NONAME ; #<VT>#
- _ZTV23CTestStepVidRecorderNew @ 191 NONAME ; #<VT>#
- _ZTV24CTestStepOOMVidPlayerNew @ 192 NONAME ; #<VT>#
- _ZTV24CTestStepVidRecorderGain @ 193 NONAME ; #<VT>#
- _ZTV24CTestStepVidRecorderMeta @ 194 NONAME ; #<VT>#
- _ZTV24CTestStepVidRecorderStop @ 195 NONAME ; #<VT>#
- _ZTV25CMMFVideoRecorderCallback @ 196 NONAME ; #<VT>#
- _ZTV25CTestStepUnitMMFVidClient @ 197 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerBalance @ 198 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerOpenUrl @ 199 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerRestart @ 200 NONAME ; #<VT>#
- _ZTV25CTestStepVidRecorderClose @ 201 NONAME ; #<VT>#
- _ZTV25CTestStepVidRecorderPause @ 202 NONAME ; #<VT>#
- _ZTV26CTestStepVidPlayerDuration @ 203 NONAME ; #<VT>#
- _ZTV26CTestStepVidPlayerGetFrame @ 204 NONAME ; #<VT>#
- _ZTV26CTestStepVidPlayerOpenDesc @ 205 NONAME ; #<VT>#
- _ZTV26CTestStepVidPlayerOpenFile @ 206 NONAME ; #<VT>#
- _ZTV26CTestStepVidPlayerPriority @ 207 NONAME ; #<VT>#
- _ZTV26CTestStepVidPlayerRotation @ 208 NONAME ; #<VT>#
- _ZTV26CTestStepVidRecorderRecord @ 209 NONAME ; #<VT>#
- _ZTV26CTestSuiteUnitMMFVidClient @ 210 NONAME ; #<VT>#
- _ZTV27CTestStepVidPlayerAudioType @ 211 NONAME ; #<VT>#
- _ZTV27CTestStepVidPlayerPlayPause @ 212 NONAME ; #<VT>#
- _ZTV27CTestStepVidPlayerVideoType @ 213 NONAME ; #<VT>#
- _ZTV27CTestStepVidRecorderOpenUrl @ 214 NONAME ; #<VT>#
- _ZTV27CTestStepVidRecorderPrepare @ 215 NONAME ; #<VT>#
- _ZTV28CTestStepOOMVidPlayerOpenUrl @ 216 NONAME ; #<VT>#
- _ZTV28CTestStepVidPlayerAudEnabled @ 217 NONAME ; #<VT>#
- _ZTV28CTestStepVidPlayerCropRegion @ 218 NONAME ; #<VT>#
- _ZTV28CTestStepVidPlayerPlayWindow @ 219 NONAME ; #<VT>#
- _ZTV28CTestStepVidRecorderABitRate @ 220 NONAME ; #<VT>#
- _ZTV28CTestStepVidRecorderDuration @ 221 NONAME ; #<VT>#
- _ZTV28CTestStepVidRecorderOpenDesc @ 222 NONAME ; #<VT>#
- _ZTV28CTestStepVidRecorderOpenFile @ 223 NONAME ; #<VT>#
- _ZTV28CTestStepVidRecorderPriority @ 224 NONAME ; #<VT>#
- _ZTV28CTestStepVidRecorderVBitRate @ 225 NONAME ; #<VT>#
- _ZTV29CTestStepOOMVidPlayerOpenDesc @ 226 NONAME ; #<VT>#
- _ZTV29CTestStepOOMVidPlayerOpenFile @ 227 NONAME ; #<VT>#
- _ZTV29CTestStepVidPlayerGetABitRate @ 228 NONAME ; #<VT>#
- _ZTV29CTestStepVidPlayerGetVBitRate @ 229 NONAME ; #<VT>#
- _ZTV29CTestStepVidRecorderAudioType @ 230 NONAME ; #<VT>#
- _ZTV29CTestStepVidRecorderVideoType @ 231 NONAME ; #<VT>#
- _ZTV30CTestStepVidPlayerClipPosition @ 232 NONAME ; #<VT>#
- _ZTV30CTestStepVidPlayerGeneralEvent @ 233 NONAME ; #<VT>#
- _ZTV30CTestStepVidPlayerGetFrameRate @ 234 NONAME ; #<VT>#
- _ZTV30CTestStepVidPlayerNewPriorPref @ 235 NONAME ; #<VT>#
- _ZTV30CTestStepVidPlayerRefreshFrame @ 236 NONAME ; #<VT>#
- _ZTV30CTestStepVidRecorderAudEnabled @ 237 NONAME ; #<VT>#
- _ZTV30CTestStepVidRecorderRecordTime @ 238 NONAME ; #<VT>#
- _ZTV30CTestStepVidRecorderVFrameRate @ 239 NONAME ; #<VT>#
- _ZTV30CTestStepVidRecorderVFrameSize @ 240 NONAME ; #<VT>#
- _ZTV31CTestStepVidPlayerGetVFrameSize @ 241 NONAME ; #<VT>#
- _ZTV31CTestStepVidPlayerReloadingTest @ 242 NONAME ; #<VT>#
- _ZTV31CTestStepVidRecorderHandleEvent @ 243 NONAME ; #<VT>#
- _ZTV31CTestStepVidRecorderMaxClipSize @ 244 NONAME ; #<VT>#
- _ZTV32CTestStepAllocFailVidRecorderNew @ 245 NONAME ; #<VT>#
- _ZTV32CTestStepVidRecorderGeneralEvent @ 246 NONAME ; #<VT>#
- _ZTV33CTestStepVidPlayerOpenFileCtrlUid @ 247 NONAME ; #<VT>#
- _ZTV34CTestStepVidPlayerSetDisplayWindow @ 248 NONAME ; #<VT>#
- _ZTV35CTestStepVidRecorderOpenFileCtrlUid @ 249 NONAME ; #<VT>#
- _ZTV36CTestStepAllocFailVidRecorderOpenUrl @ 250 NONAME ; #<VT>#
- _ZTV37CTestStepAllocFailVidRecorderOpenDesc @ 251 NONAME ; #<VT>#
- _ZTV37CTestStepAllocFailVidRecorderOpenFile @ 252 NONAME ; #<VT>#
- _ZTV39CTestStepVidPlayerGetImplementationInfo @ 253 NONAME ; #<VT>#
- _ZTV39CTestStepVidPlayerSendCustomCommandSync @ 254 NONAME ; #<VT>#
- _ZTV40CTestStepVidPlayerSendCustomCommandAsync @ 255 NONAME ; #<VT>#
- _ZTV41CTestStepVidRecorderGetImplementationInfo @ 256 NONAME ; #<VT>#
- _ZTV41CTestStepVidRecorderSendCustomCommandSync @ 257 NONAME ; #<VT>#
- _ZTV42CTestStepVidRecorderSendCustomCommandAsync @ 258 NONAME ; #<VT>#
- _ZTV44CTestStepAllocFailVidRecorderOpenFileCtrlUid @ 259 NONAME ; #<VT>#
- _ZN19CVideoPlayerUtility23StopDirectScreenAccessLEv @ 260 NONAME
- _ZN19CVideoPlayerUtility24StartDirectScreenAccessLEv @ 261 NONAME
- _ZTI30CTestStepVidPlayerStopStartDSA @ 262 NONAME ; #<TI>#
- _ZTV30CTestStepVidPlayerStopStartDSA @ 263 NONAME ; #<VT>#
- _ZTI31CTestStepVidPlayerOpenviaUriTag @ 264 NONAME ; #<TI>#
- _ZTI33CTestStepVidPlayerOpenTryNextCtrl @ 265 NONAME ; #<TI>#
- _ZTV31CTestStepVidPlayerOpenviaUriTag @ 266 NONAME ; #<VT>#
- _ZTV33CTestStepVidPlayerOpenTryNextCtrl @ 267 NONAME ; #<VT>#
- _ZTI41CTestStepVidPlayerCheckImplementationInfo @ 268 NONAME ; #<TI>#
- _ZTI43CTestStepVidRecorderCheckImplementationInfo @ 269 NONAME ; #<TI>#
- _ZTV41CTestStepVidPlayerCheckImplementationInfo @ 270 NONAME ; #<VT>#
- _ZTV43CTestStepVidRecorderCheckImplementationInfo @ 271 NONAME ; #<VT>#
- _ZTI43CTestStepVidPlayerOpenDurationCustomCommand @ 272 NONAME ; #<TI>#
- _ZTV43CTestStepVidPlayerOpenDurationCustomCommand @ 273 NONAME ; #<VT>#
- _ZN19CVideoPlayerUtility14WillResumePlayEv @ 274 NONAME
- _ZN19CVideoPlayerUtility33RegisterAudioResourceNotificationER37MMMFAudioResourceNotificationCallback4TUidRK6TDesC8 @ 275 NONAME
- _ZN19CVideoPlayerUtility39CancelRegisterAudioResourceNotificationE4TUid @ 276 NONAME
- _ZTI21CTestStepVidPlayerARN @ 277 NONAME ; #<TI>#
- _ZTV21CTestStepVidPlayerARN @ 278 NONAME ; #<VT>#
- _ZTI23CTestGenericAosCallback @ 279 NONAME ; #<TI>#
- _ZTI23CTestGenericArnCallback @ 280 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerARN0700 @ 281 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerARN0701 @ 282 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerARN0702 @ 283 NONAME ; #<TI>#
- _ZTI25CTestStepVidPlayerARN0703 @ 284 NONAME ; #<TI>#
- _ZTV23CTestGenericAosCallback @ 285 NONAME ; #<VT>#
- _ZTV23CTestGenericArnCallback @ 286 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerARN0700 @ 287 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerARN0701 @ 288 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerARN0702 @ 289 NONAME ; #<VT>#
- _ZTV25CTestStepVidPlayerARN0703 @ 290 NONAME ; #<VT>#
- _ZTI33CTestStepVideoInterruptionByAudio @ 291 NONAME ; #<TI>#
- _ZTV33CTestStepVideoInterruptionByAudio @ 292 NONAME ; #<VT>#
- _ZN19CVideoPlayerUtility19SetInitScreenNumberEi @ 293 NONAME
- _ZN21CVideoRecorderUtility17SetAudioChannelsLEj @ 294 NONAME
- _ZN21CVideoRecorderUtility19SetAudioSampleRateLEj @ 295 NONAME
- _ZN21CVideoRecorderUtility20SetPixelAspectRatioLERK17TVideoAspectRatio @ 296 NONAME
- _ZNK21CVideoRecorderUtility14AudioChannelsLEv @ 297 NONAME
- _ZNK21CVideoRecorderUtility16AudioSampleRateLEv @ 298 NONAME
- _ZNK21CVideoRecorderUtility20GetPixelAspectRatioLER17TVideoAspectRatio @ 299 NONAME
- _ZNK21CVideoRecorderUtility26GetSupportedAudioChannelsLER6RArrayIjE @ 300 NONAME
- _ZNK21CVideoRecorderUtility29GetSupportedAudioSampleRatesLER6RArrayIjE @ 301 NONAME
- _ZNK21CVideoRecorderUtility30GetSupportedPixelAspectRatiosLER6RArrayI17TVideoAspectRatioE @ 302 NONAME
- _ZTI33CTestStepVidOnlyPlayerNoAudioType @ 303 NONAME
- _ZTV33CTestStepVidOnlyPlayerNoAudioType @ 304 NONAME
- _ZTI23CTestStepVidRecordError @ 305 NONAME
- _ZTV23CTestStepVidRecordError @ 306 NONAME
- _ZN19CVideoPlayerUtility10StepFrameLEi @ 307 NONAME
- _ZN19CVideoPlayerUtility13SetAutoScaleLE14TAutoScaleType @ 308 NONAME
- _ZN19CVideoPlayerUtility13SetAutoScaleLE14TAutoScaleTypeii @ 309 NONAME
- _ZN19CVideoPlayerUtility16SetAudioEnabledLEi @ 310 NONAME
- _ZN19CVideoPlayerUtility16SetPlayVelocityLEi @ 311 NONAME
- _ZN19CVideoPlayerUtility16SetVideoEnabledLEi @ 312 NONAME
- _ZN21CVideoRecorderUtility16SetVideoEnabledLEi @ 313 NONAME
- _ZN21CVideoRecorderUtility16SetVideoQualityLEi @ 314 NONAME
- _ZN21CVideoRecorderUtility23SetVideoFrameRateFixedLEi @ 315 NONAME
- _ZNK19CVideoPlayerUtility13PlayVelocityLEv @ 316 NONAME
- _ZNK19CVideoPlayerUtility13VideoEnabledLEv @ 317 NONAME
- _ZNK19CVideoPlayerUtility24GetPlayRateCapabilitiesLER26TVideoPlayRateCapabilities @ 318 NONAME
- _ZNK21CVideoRecorderUtility13VideoEnabledLEv @ 319 NONAME
- _ZNK21CVideoRecorderUtility13VideoQualityLEv @ 320 NONAME
- _ZNK21CVideoRecorderUtility20VideoFrameRateFixedLEv @ 321 NONAME
- _ZN20CVideoPlayerUtility215SetVideoExtentLERK7RWindowRK5TRect @ 322 NONAME
- _ZN20CVideoPlayerUtility217AddDisplayWindowLER10RWsSessionR15CWsScreenDeviceR7RWindow @ 323 NONAME
- _ZN20CVideoPlayerUtility217AddDisplayWindowLER10RWsSessionR15CWsScreenDeviceR7RWindowRK5TRectS8_ @ 324 NONAME
- _ZN20CVideoPlayerUtility218SetWindowClipRectLERK7RWindowRK5TRect @ 325 NONAME
- _ZN20CVideoPlayerUtility219RemoveDisplayWindowER7RWindow @ 326 NONAME
- _ZN20CVideoPlayerUtility24NewLER27MVideoPlayerUtilityObserveri22TMdaPriorityPreference @ 327 NONAME
- _ZTI20CVideoPlayerUtility2 @ 328 NONAME
- _ZTI32CTestStepVidPlayerSetVideoExtent @ 329 NONAME
- _ZTI34CTestStepVidPlayerAddDisplayWindow @ 330 NONAME
- _ZTI35CTestStepVidPlayerSetWindowClipRect @ 331 NONAME
- _ZTI37CTestStepVidPlayerRemoveDisplayWindow @ 332 NONAME
- _ZTI37CTestStepVidPlayerSetInitScreenNumber @ 333 NONAME
- _ZTI50CTestStepVidPlayerEventParaChangedAndRemoveDisplay @ 334 NONAME
- _ZTV20CVideoPlayerUtility2 @ 335 NONAME
- _ZTV32CTestStepVidPlayerSetVideoExtent @ 336 NONAME
- _ZTV34CTestStepVidPlayerAddDisplayWindow @ 337 NONAME
- _ZTV35CTestStepVidPlayerSetWindowClipRect @ 338 NONAME
- _ZTV37CTestStepVidPlayerRemoveDisplayWindow @ 339 NONAME
- _ZTV37CTestStepVidPlayerSetInitScreenNumber @ 340 NONAME
- _ZTV50CTestStepVidPlayerEventParaChangedAndRemoveDisplay @ 341 NONAME
- _ZN20CVideoPlayerUtility212SetRotationLERK7RWindow14TVideoRotation @ 342 NONAME
- _ZN20CVideoPlayerUtility213SetAutoScaleLERK7RWindow14TAutoScaleType @ 343 NONAME
- _ZN20CVideoPlayerUtility213SetAutoScaleLERK7RWindow14TAutoScaleTypeii @ 344 NONAME
- _ZN20CVideoPlayerUtility215GetScaleFactorLERK7RWindowRfS3_ @ 345 NONAME
- _ZN20CVideoPlayerUtility215SetScaleFactorLERK7RWindowff @ 346 NONAME
- _ZN20CVideoPlayerUtility29RotationLERK7RWindow @ 347 NONAME
- _ZTI27CTestStepVidPlayerAutoScale @ 348 NONAME
- _ZTV27CTestStepVidPlayerAutoScale @ 349 NONAME
- _ZN20CVideoPlayerUtility211AddDisplayLER10RWsSessioniR23MMMFSurfaceEventHandler @ 350 NONAME
- _ZN20CVideoPlayerUtility213RemoveDisplayEi @ 351 NONAME
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/eabi/tsu_mmf_vclnt_01_gce2.def Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,395 +0,0 @@
-EXPORTS
- _Z29NewTestSuiteUnitMMFVidClientLv @ 1 NONAME
- _Z9Reserved1v @ 2 NONAME
- _Z9Reserved2v @ 3 NONAME
- _ZN19CVideoPlayerUtility10SetVolumeLEi @ 4 NONAME
- _ZN19CVideoPlayerUtility10StepFrameLEi @ 5 NONAME
- _ZN19CVideoPlayerUtility11SetBalanceLEi @ 6 NONAME
- _ZN19CVideoPlayerUtility12SetPositionLERK25TTimeIntervalMicroSeconds @ 7 NONAME
- _ZN19CVideoPlayerUtility12SetPriorityLEii @ 8 NONAME
- _ZN19CVideoPlayerUtility12SetRotationLE14TVideoRotation @ 9 NONAME
- _ZN19CVideoPlayerUtility13RefreshFrameLEv @ 10 NONAME
- _ZN19CVideoPlayerUtility13SetAutoScaleLE14TAutoScaleType @ 11 NONAME
- _ZN19CVideoPlayerUtility13SetAutoScaleLE14TAutoScaleTypeii @ 12 NONAME
- _ZN19CVideoPlayerUtility14SetCropRegionLERK5TRect @ 13 NONAME
- _ZN19CVideoPlayerUtility14WillResumePlayEv @ 14 NONAME
- _ZN19CVideoPlayerUtility15SetScaleFactorLEffi @ 15 NONAME
- _ZN19CVideoPlayerUtility16SetAudioEnabledLEi @ 16 NONAME
- _ZN19CVideoPlayerUtility16SetPlayVelocityLEi @ 17 NONAME
- _ZN19CVideoPlayerUtility16SetVideoEnabledLEi @ 18 NONAME
- _ZN19CVideoPlayerUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_ @ 19 NONAME
- _ZN19CVideoPlayerUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8 @ 20 NONAME
- _ZN19CVideoPlayerUtility17SetDisplayWindowLER10RWsSessionR15CWsScreenDeviceR11RWindowBaseRK5TRectS8_ @ 21 NONAME
- _ZN19CVideoPlayerUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R14TRequestStatus @ 22 NONAME
- _ZN19CVideoPlayerUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8R14TRequestStatus @ 23 NONAME
- _ZN19CVideoPlayerUtility18SetVideoFrameRateLEf @ 24 NONAME
- _ZN19CVideoPlayerUtility19GetDRMCustomCommandEv @ 25 NONAME
- _ZN19CVideoPlayerUtility19SetInitScreenNumberEi @ 26 NONAME
- _ZN19CVideoPlayerUtility23StopDirectScreenAccessLEv @ 27 NONAME
- _ZN19CVideoPlayerUtility24GetVideoLoadingProgressLERi @ 28 NONAME
- _ZN19CVideoPlayerUtility24StartDirectScreenAccessLEv @ 29 NONAME
- _ZN19CVideoPlayerUtility33RegisterAudioResourceNotificationER37MMMFAudioResourceNotificationCallback4TUidRK6TDesC8 @ 30 NONAME
- _ZN19CVideoPlayerUtility35RegisterForVideoLoadingNotificationER21MVideoLoadingObserver @ 31 NONAME
- _ZN19CVideoPlayerUtility36ControllerImplementationInformationLEv @ 32 NONAME
- _ZN19CVideoPlayerUtility39CancelRegisterAudioResourceNotificationE4TUid @ 33 NONAME
- _ZN19CVideoPlayerUtility4NewLER27MVideoPlayerUtilityObserveriiR10RWsSessionR15CWsScreenDeviceR11RWindowBaseRK5TRectSA_ @ 34 NONAME
- _ZN19CVideoPlayerUtility4PlayERK25TTimeIntervalMicroSecondsS2_ @ 35 NONAME
- _ZN19CVideoPlayerUtility4PlayEv @ 36 NONAME
- _ZN19CVideoPlayerUtility4StopEv @ 37 NONAME
- _ZN19CVideoPlayerUtility5CloseEv @ 38 NONAME
- _ZN19CVideoPlayerUtility6PauseLEv @ 39 NONAME
- _ZN19CVideoPlayerUtility7PrepareEv @ 40 NONAME
- _ZN19CVideoPlayerUtility8OpenDesLERK6TDesC84TUid @ 41 NONAME
- _ZN19CVideoPlayerUtility8OpenUrlLERK7TDesC16iRK6TDesC84TUid @ 42 NONAME
- _ZN19CVideoPlayerUtility9GetFrameLE12TDisplayMode @ 43 NONAME
- _ZN19CVideoPlayerUtility9GetFrameLE12TDisplayModeN13ContentAccess7TIntentE @ 44 NONAME
- _ZN19CVideoPlayerUtility9OpenFileLERK5RFile4TUid @ 45 NONAME
- _ZN19CVideoPlayerUtility9OpenFileLERK7TDesC164TUid @ 46 NONAME
- _ZN19CVideoPlayerUtility9OpenFileLERK9TMMSource4TUid @ 47 NONAME
- _ZN20CVideoPlayerUtility211AddDisplayLER10RWsSessioniR23MMMFSurfaceEventHandler @ 48 NONAME
- _ZN20CVideoPlayerUtility212SetRotationLERK7RWindow14TVideoRotation @ 49 NONAME
- _ZN20CVideoPlayerUtility213RemoveDisplayEi @ 50 NONAME
- _ZN20CVideoPlayerUtility213SetAutoScaleLERK7RWindow14TAutoScaleType @ 51 NONAME
- _ZN20CVideoPlayerUtility213SetAutoScaleLERK7RWindow14TAutoScaleTypeii @ 52 NONAME
- _ZN20CVideoPlayerUtility214RedrawSubtitleER7RWindowRK5TRect @ 53 NONAME
- _ZN20CVideoPlayerUtility215GetScaleFactorLERK7RWindowRfS3_ @ 54 NONAME
- _ZN20CVideoPlayerUtility215SetScaleFactorLERK7RWindowff @ 55 NONAME
- _ZN20CVideoPlayerUtility215SetVideoExtentLERK7RWindowRK5TRect @ 56 NONAME
- _ZN20CVideoPlayerUtility216DisableSubtitlesEv @ 57 NONAME
- _ZN20CVideoPlayerUtility216EnableSubtitlesLEv @ 58 NONAME
- _ZN20CVideoPlayerUtility217AddDisplayWindowLER10RWsSessionR15CWsScreenDeviceR7RWindow @ 59 NONAME
- _ZN20CVideoPlayerUtility217AddDisplayWindowLER10RWsSessionR15CWsScreenDeviceR7RWindowRK5TRectS8_ @ 60 NONAME
- _ZN20CVideoPlayerUtility217SubtitleLanguageLEv @ 61 NONAME
- _ZN20CVideoPlayerUtility218SetWindowClipRectLERK7RWindowRK5TRect @ 62 NONAME
- _ZN20CVideoPlayerUtility218SubtitlesAvailableEv @ 63 NONAME
- _ZN20CVideoPlayerUtility219RemoveDisplayWindowER7RWindow @ 64 NONAME
- _ZN20CVideoPlayerUtility220SetSubtitleLanguageLE9TLanguage @ 65 NONAME
- _ZN20CVideoPlayerUtility227SupportedSubtitleLanguagesLEv @ 66 NONAME
- _ZN20CVideoPlayerUtility24NewLER27MVideoPlayerUtilityObserverii @ 67 NONAME
- _ZN20CVideoPlayerUtility29RotationLERK7RWindow @ 68 NONAME
- _ZN21CVideoRecorderUtility12SetPriorityLEii @ 69 NONAME
- _ZN21CVideoRecorderUtility13SetAudioTypeLE7TFourCC @ 70 NONAME
- _ZN21CVideoRecorderUtility13SetVideoTypeLERK6TDesC8 @ 71 NONAME
- _ZN21CVideoRecorderUtility13VideoBitRateLEv @ 72 NONAME
- _ZN21CVideoRecorderUtility15SetMaxClipSizeLEi @ 73 NONAME
- _ZN21CVideoRecorderUtility16SetAudioBitRateLEi @ 74 NONAME
- _ZN21CVideoRecorderUtility16SetAudioEnabledLEi @ 75 NONAME
- _ZN21CVideoRecorderUtility16SetVideoBitRateLEi @ 76 NONAME
- _ZN21CVideoRecorderUtility16SetVideoEnabledLEi @ 77 NONAME
- _ZN21CVideoRecorderUtility16SetVideoQualityLEi @ 78 NONAME
- _ZN21CVideoRecorderUtility17AddMetaDataEntryLERK17CMMFMetaDataEntry @ 79 NONAME
- _ZN21CVideoRecorderUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_ @ 80 NONAME
- _ZN21CVideoRecorderUtility17CustomCommandSyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8 @ 81 NONAME
- _ZN21CVideoRecorderUtility17SetAudioChannelsLEj @ 82 NONAME
- _ZN21CVideoRecorderUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R14TRequestStatus @ 83 NONAME
- _ZN21CVideoRecorderUtility18CustomCommandAsyncERK8TPckgBufI22TMMFMessageDestinationEiRK6TDesC8S7_R5TDes8R14TRequestStatus @ 84 NONAME
- _ZN21CVideoRecorderUtility18SetVideoFrameRateLEf @ 85 NONAME
- _ZN21CVideoRecorderUtility18SetVideoFrameSizeLERK5TSize @ 86 NONAME
- _ZN21CVideoRecorderUtility19SetAudioSampleRateLEj @ 87 NONAME
- _ZN21CVideoRecorderUtility20RemoveMetaDataEntryLEi @ 88 NONAME
- _ZN21CVideoRecorderUtility20SetPixelAspectRatioLERK17TVideoAspectRatio @ 89 NONAME
- _ZN21CVideoRecorderUtility21ReplaceMetaDataEntryLEiRK17CMMFMetaDataEntry @ 90 NONAME
- _ZN21CVideoRecorderUtility23SetVideoFrameRateFixedLEi @ 91 NONAME
- _ZN21CVideoRecorderUtility36ControllerImplementationInformationLEv @ 92 NONAME
- _ZN21CVideoRecorderUtility4NewLER29MVideoRecorderUtilityObserverii @ 93 NONAME
- _ZN21CVideoRecorderUtility4StopEv @ 94 NONAME
- _ZN21CVideoRecorderUtility5CloseEv @ 95 NONAME
- _ZN21CVideoRecorderUtility6PauseLEv @ 96 NONAME
- _ZN21CVideoRecorderUtility6RecordEv @ 97 NONAME
- _ZN21CVideoRecorderUtility7PrepareEv @ 98 NONAME
- _ZN21CVideoRecorderUtility8OpenDesLER5TDes8i4TUidS2_RK6TDesC87TFourCC @ 99 NONAME
- _ZN21CVideoRecorderUtility8OpenUrlLERK7TDesC16ii4TUidS3_RK6TDesC87TFourCC @ 100 NONAME
- _ZN21CVideoRecorderUtility8SetGainLEi @ 101 NONAME
- _ZN21CVideoRecorderUtility9OpenFileLERK5RFilei4TUidS3_RK6TDesC87TFourCC @ 102 NONAME
- _ZN21CVideoRecorderUtility9OpenFileLERK7TDesC16i4TUidS3_RK6TDesC87TFourCC @ 103 NONAME
- _ZNK19CVideoPlayerUtility10AudioTypeLEv @ 104 NONAME
- _ZNK19CVideoPlayerUtility13AudioBitRateLEv @ 105 NONAME
- _ZNK19CVideoPlayerUtility13AudioEnabledLEv @ 106 NONAME
- _ZNK19CVideoPlayerUtility13PlayVelocityLEv @ 107 NONAME
- _ZNK19CVideoPlayerUtility13VideoBitRateLEv @ 108 NONAME
- _ZNK19CVideoPlayerUtility13VideoEnabledLEv @ 109 NONAME
- _ZNK19CVideoPlayerUtility14GetCropRegionLER5TRect @ 110 NONAME
- _ZNK19CVideoPlayerUtility14MetaDataEntryLEi @ 111 NONAME
- _ZNK19CVideoPlayerUtility15GetScaleFactorLERfS0_Ri @ 112 NONAME
- _ZNK19CVideoPlayerUtility15VideoFrameRateLEv @ 113 NONAME
- _ZNK19CVideoPlayerUtility15VideoFrameSizeLER5TSize @ 114 NONAME
- _ZNK19CVideoPlayerUtility19VideoFormatMimeTypeEv @ 115 NONAME
- _ZNK19CVideoPlayerUtility24GetPlayRateCapabilitiesLER26TVideoPlayRateCapabilities @ 116 NONAME
- _ZNK19CVideoPlayerUtility24NumberOfMetaDataEntriesLEv @ 117 NONAME
- _ZNK19CVideoPlayerUtility6VolumeEv @ 118 NONAME
- _ZNK19CVideoPlayerUtility7BalanceEv @ 119 NONAME
- _ZNK19CVideoPlayerUtility9DurationLEv @ 120 NONAME
- _ZNK19CVideoPlayerUtility9MaxVolumeEv @ 121 NONAME
- _ZNK19CVideoPlayerUtility9PositionLEv @ 122 NONAME
- _ZNK19CVideoPlayerUtility9PriorityLERiR22TMdaPriorityPreference @ 123 NONAME
- _ZNK19CVideoPlayerUtility9RotationLEv @ 124 NONAME
- _ZNK21CVideoRecorderUtility10AudioTypeLEv @ 125 NONAME
- _ZNK21CVideoRecorderUtility12GetPriorityLERiR22TMdaPriorityPreference @ 126 NONAME
- _ZNK21CVideoRecorderUtility13AudioBitRateLEv @ 127 NONAME
- _ZNK21CVideoRecorderUtility13AudioEnabledLEv @ 128 NONAME
- _ZNK21CVideoRecorderUtility13VideoEnabledLEv @ 129 NONAME
- _ZNK21CVideoRecorderUtility13VideoQualityLEv @ 130 NONAME
- _ZNK21CVideoRecorderUtility14AudioChannelsLEv @ 131 NONAME
- _ZNK21CVideoRecorderUtility14MetaDataEntryLEi @ 132 NONAME
- _ZNK21CVideoRecorderUtility15VideoFrameRateLEv @ 133 NONAME
- _ZNK21CVideoRecorderUtility16AudioSampleRateLEv @ 134 NONAME
- _ZNK21CVideoRecorderUtility18GetVideoFrameSizeLER5TSize @ 135 NONAME
- _ZNK21CVideoRecorderUtility19RecordTimeAvailableEv @ 136 NONAME
- _ZNK21CVideoRecorderUtility19VideoFormatMimeTypeEv @ 137 NONAME
- _ZNK21CVideoRecorderUtility20GetPixelAspectRatioLER17TVideoAspectRatio @ 138 NONAME
- _ZNK21CVideoRecorderUtility20VideoFrameRateFixedLEv @ 139 NONAME
- _ZNK21CVideoRecorderUtility23GetSupportedAudioTypesLER6RArrayI7TFourCCE @ 140 NONAME
- _ZNK21CVideoRecorderUtility23GetSupportedVideoTypesLER11CDesC8Array @ 141 NONAME
- _ZNK21CVideoRecorderUtility24NumberOfMetaDataEntriesLEv @ 142 NONAME
- _ZNK21CVideoRecorderUtility26GetSupportedAudioChannelsLER6RArrayIjE @ 143 NONAME
- _ZNK21CVideoRecorderUtility29GetSupportedAudioSampleRatesLER6RArrayIjE @ 144 NONAME
- _ZNK21CVideoRecorderUtility30GetSupportedPixelAspectRatiosLER6RArrayI17TVideoAspectRatioE @ 145 NONAME
- _ZNK21CVideoRecorderUtility5GainLEv @ 146 NONAME
- _ZNK21CVideoRecorderUtility8MaxGainLEv @ 147 NONAME
- _ZNK21CVideoRecorderUtility9DurationLEv @ 148 NONAME
- _ZTI19CVideoPlayerUtility @ 149 NONAME
- _ZTI20CVideoPlayerUtility2 @ 150 NONAME
- _ZTI21CTestStepVidPlayerARN @ 151 NONAME
- _ZTI21CTestStepVidPlayerDrm @ 152 NONAME
- _ZTI21CTestStepVidPlayerNew @ 153 NONAME
- _ZTI21CTestStepVidPlayerVol @ 154 NONAME
- _ZTI21CVideoRecorderUtility @ 155 NONAME
- _ZTI22CTestStepVidPlayerMeta @ 156 NONAME
- _ZTI22CTestStepVidPlayerPlay @ 157 NONAME
- _ZTI22CTestStepVidPlayerStop @ 158 NONAME
- _ZTI23CMMFVideoPlayerCallback @ 159 NONAME
- _ZTI23CTestGenericAosCallback @ 160 NONAME
- _ZTI23CTestGenericArnCallback @ 161 NONAME
- _ZTI23CTestStepVidPlayerClose @ 162 NONAME
- _ZTI23CTestStepVidPlayerPause @ 163 NONAME
- _ZTI23CTestStepVidPlayerScale @ 164 NONAME
- _ZTI23CTestStepVidRecordError @ 165 NONAME
- _ZTI23CTestStepVidRecorderNew @ 166 NONAME
- _ZTI24CTestStepOOMVidPlayerNew @ 167 NONAME
- _ZTI24CTestStepVidRecorderGain @ 168 NONAME
- _ZTI24CTestStepVidRecorderMeta @ 169 NONAME
- _ZTI24CTestStepVidRecorderStop @ 170 NONAME
- _ZTI25CMMFVideoRecorderCallback @ 171 NONAME
- _ZTI25CTestStepUnitMMFVidClient @ 172 NONAME
- _ZTI25CTestStepVidPlayerARN0700 @ 173 NONAME
- _ZTI25CTestStepVidPlayerARN0701 @ 174 NONAME
- _ZTI25CTestStepVidPlayerARN0702 @ 175 NONAME
- _ZTI25CTestStepVidPlayerARN0703 @ 176 NONAME
- _ZTI25CTestStepVidPlayerBalance @ 177 NONAME
- _ZTI25CTestStepVidPlayerOpenUrl @ 178 NONAME
- _ZTI25CTestStepVidPlayerRestart @ 179 NONAME
- _ZTI25CTestStepVidRecorderClose @ 180 NONAME
- _ZTI25CTestStepVidRecorderPause @ 181 NONAME
- _ZTI26CTestStepVidPlayerDuration @ 182 NONAME
- _ZTI26CTestStepVidPlayerGetFrame @ 183 NONAME
- _ZTI26CTestStepVidPlayerOpenDesc @ 184 NONAME
- _ZTI26CTestStepVidPlayerOpenFile @ 185 NONAME
- _ZTI26CTestStepVidPlayerPriority @ 186 NONAME
- _ZTI26CTestStepVidPlayerRotation @ 187 NONAME
- _ZTI26CTestStepVidRecorderRecord @ 188 NONAME
- _ZTI26CTestSuiteUnitMMFVidClient @ 189 NONAME
- _ZTI27CTestStepVidPlayerAudioType @ 190 NONAME
- _ZTI27CTestStepVidPlayerAutoScale @ 191 NONAME
- _ZTI27CTestStepVidPlayerPlayPause @ 192 NONAME
- _ZTI27CTestStepVidPlayerVideoType @ 193 NONAME
- _ZTI27CTestStepVidRecorderOpenUrl @ 194 NONAME
- _ZTI27CTestStepVidRecorderPrepare @ 195 NONAME
- _ZTI28CTestStepOOMVidPlayerOpenUrl @ 196 NONAME
- _ZTI28CTestStepVidPlayerAudEnabled @ 197 NONAME
- _ZTI28CTestStepVidPlayerCropRegion @ 198 NONAME
- _ZTI28CTestStepVidPlayerPlayWindow @ 199 NONAME
- _ZTI28CTestStepVidRecorderABitRate @ 200 NONAME
- _ZTI28CTestStepVidRecorderDuration @ 201 NONAME
- _ZTI28CTestStepVidRecorderOpenDesc @ 202 NONAME
- _ZTI28CTestStepVidRecorderOpenFile @ 203 NONAME
- _ZTI28CTestStepVidRecorderPriority @ 204 NONAME
- _ZTI28CTestStepVidRecorderVBitRate @ 205 NONAME
- _ZTI29CTestStepOOMVidPlayerOpenDesc @ 206 NONAME
- _ZTI29CTestStepOOMVidPlayerOpenFile @ 207 NONAME
- _ZTI29CTestStepVidPlayerGetABitRate @ 208 NONAME
- _ZTI29CTestStepVidPlayerGetVBitRate @ 209 NONAME
- _ZTI29CTestStepVidRecorderAudioType @ 210 NONAME
- _ZTI29CTestStepVidRecorderVideoType @ 211 NONAME
- _ZTI30CTestStepVidPlayerClipPosition @ 212 NONAME
- _ZTI30CTestStepVidPlayerGeneralEvent @ 213 NONAME
- _ZTI30CTestStepVidPlayerGetFrameRate @ 214 NONAME
- _ZTI30CTestStepVidPlayerNewPriorPref @ 215 NONAME
- _ZTI30CTestStepVidPlayerRefreshFrame @ 216 NONAME
- _ZTI30CTestStepVidPlayerStopStartDSA @ 217 NONAME
- _ZTI30CTestStepVidRecorderAudEnabled @ 218 NONAME
- _ZTI30CTestStepVidRecorderRecordTime @ 219 NONAME
- _ZTI30CTestStepVidRecorderVFrameRate @ 220 NONAME
- _ZTI30CTestStepVidRecorderVFrameSize @ 221 NONAME
- _ZTI31CTestStepVidPlayerGetVFrameSize @ 222 NONAME
- _ZTI31CTestStepVidPlayerOpenviaUriTag @ 223 NONAME
- _ZTI31CTestStepVidPlayerReloadingTest @ 224 NONAME
- _ZTI31CTestStepVidRecorderHandleEvent @ 225 NONAME
- _ZTI31CTestStepVidRecorderMaxClipSize @ 226 NONAME
- _ZTI32CTestStepAllocFailVidRecorderNew @ 227 NONAME
- _ZTI32CTestStepVidPlayerSetVideoExtent @ 228 NONAME
- _ZTI32CTestStepVidPlayerSubtitleRedraw @ 229 NONAME
- _ZTI32CTestStepVidRecorderGeneralEvent @ 230 NONAME
- _ZTI33CTestStepVidOnlyPlayerNoAudioType @ 231 NONAME
- _ZTI33CTestStepVidPlayerOpenFileCtrlUid @ 232 NONAME
- _ZTI33CTestStepVidPlayerOpenTryNextCtrl @ 233 NONAME
- _ZTI33CTestStepVideoInterruptionByAudio @ 234 NONAME
- _ZTI34CTestStepVidPlayerAddDisplayWindow @ 235 NONAME
- _ZTI34CTestStepVidPlayerSetDisplayWindow @ 236 NONAME
- _ZTI34CTestStepVidPlayerSubtitleLanguage @ 237 NONAME
- _ZTI35CTestStepVidPlayerSetWindowClipRect @ 238 NONAME
- _ZTI35CTestStepVidPlayerSubtitleAvailable @ 239 NONAME
- _ZTI35CTestStepVidPlayerSubtitleEnableNeg @ 240 NONAME
- _ZTI35CTestStepVidRecorderOpenFileCtrlUid @ 241 NONAME
- _ZTI36CTestStepAllocFailVidRecorderOpenUrl @ 242 NONAME
- _ZTI37CTestStepAllocFailVidRecorderOpenDesc @ 243 NONAME
- _ZTI37CTestStepAllocFailVidRecorderOpenFile @ 244 NONAME
- _ZTI37CTestStepVidPlayerRemoveDisplayWindow @ 245 NONAME
- _ZTI37CTestStepVidPlayerSetInitScreenNumber @ 246 NONAME
- _ZTI37CTestStepVidPlayerSubtitleMultiWindow @ 247 NONAME
- _ZTI38CTestStepVidPlayerSubtitleLangNotAvail @ 248 NONAME
- _ZTI39CTestStepVidPlayerGetImplementationInfo @ 249 NONAME
- _ZTI39CTestStepVidPlayerSendCustomCommandSync @ 250 NONAME
- _ZTI39CTestStepVidPlayerSubtitleEnableDisable @ 251 NONAME
- _ZTI39CTestStepVidPlayerSubtitleLangNotEnable @ 252 NONAME
- _ZTI40CTestStepVidPlayerSendCustomCommandAsync @ 253 NONAME
- _ZTI40CTestStepVidPlayerSubtitleRedrawNotReady @ 254 NONAME
- _ZTI41CTestStepVidPlayerCheckImplementationInfo @ 255 NONAME
- _ZTI41CTestStepVidPlayerReplaceSurfaceSequence1 @ 256 NONAME
- _ZTI41CTestStepVidPlayerReplaceSurfaceSequence2 @ 257 NONAME
- _ZTI41CTestStepVidRecorderGetImplementationInfo @ 258 NONAME
- _ZTI41CTestStepVidRecorderSendCustomCommandSync @ 259 NONAME
- _ZTI42CTestStepVidPlayerSubtitleNotEnabledRedraw @ 260 NONAME
- _ZTI42CTestStepVidRecorderSendCustomCommandAsync @ 261 NONAME
- _ZTI43CTestStepVidPlayerOpenDurationCustomCommand @ 262 NONAME
- _ZTI43CTestStepVidRecorderCheckImplementationInfo @ 263 NONAME
- _ZTI44CTestStepAllocFailVidRecorderOpenFileCtrlUid @ 264 NONAME
- _ZTI45CTestStepVidPlayerSubtitleWindowSettingChange @ 265 NONAME
- _ZTI46CTestStepVidPlayerSubtitleAddRemoveMultiWindow @ 266 NONAME
- _ZTI50CTestStepVidPlayerSubtitleMultiWindowSettingChange @ 267 NONAME
- _ZTV19CVideoPlayerUtility @ 268 NONAME
- _ZTV20CVideoPlayerUtility2 @ 269 NONAME
- _ZTV21CTestStepVidPlayerARN @ 270 NONAME
- _ZTV21CTestStepVidPlayerDrm @ 271 NONAME
- _ZTV21CTestStepVidPlayerNew @ 272 NONAME
- _ZTV21CTestStepVidPlayerVol @ 273 NONAME
- _ZTV21CVideoRecorderUtility @ 274 NONAME
- _ZTV22CTestStepVidPlayerMeta @ 275 NONAME
- _ZTV22CTestStepVidPlayerPlay @ 276 NONAME
- _ZTV22CTestStepVidPlayerStop @ 277 NONAME
- _ZTV23CMMFVideoPlayerCallback @ 278 NONAME
- _ZTV23CTestGenericAosCallback @ 279 NONAME
- _ZTV23CTestGenericArnCallback @ 280 NONAME
- _ZTV23CTestStepVidPlayerClose @ 281 NONAME
- _ZTV23CTestStepVidPlayerPause @ 282 NONAME
- _ZTV23CTestStepVidPlayerScale @ 283 NONAME
- _ZTV23CTestStepVidRecordError @ 284 NONAME
- _ZTV23CTestStepVidRecorderNew @ 285 NONAME
- _ZTV24CTestStepOOMVidPlayerNew @ 286 NONAME
- _ZTV24CTestStepVidRecorderGain @ 287 NONAME
- _ZTV24CTestStepVidRecorderMeta @ 288 NONAME
- _ZTV24CTestStepVidRecorderStop @ 289 NONAME
- _ZTV25CMMFVideoRecorderCallback @ 290 NONAME
- _ZTV25CTestStepUnitMMFVidClient @ 291 NONAME
- _ZTV25CTestStepVidPlayerARN0700 @ 292 NONAME
- _ZTV25CTestStepVidPlayerARN0701 @ 293 NONAME
- _ZTV25CTestStepVidPlayerARN0702 @ 294 NONAME
- _ZTV25CTestStepVidPlayerARN0703 @ 295 NONAME
- _ZTV25CTestStepVidPlayerBalance @ 296 NONAME
- _ZTV25CTestStepVidPlayerOpenUrl @ 297 NONAME
- _ZTV25CTestStepVidPlayerRestart @ 298 NONAME
- _ZTV25CTestStepVidRecorderClose @ 299 NONAME
- _ZTV25CTestStepVidRecorderPause @ 300 NONAME
- _ZTV26CTestStepVidPlayerDuration @ 301 NONAME
- _ZTV26CTestStepVidPlayerGetFrame @ 302 NONAME
- _ZTV26CTestStepVidPlayerOpenDesc @ 303 NONAME
- _ZTV26CTestStepVidPlayerOpenFile @ 304 NONAME
- _ZTV26CTestStepVidPlayerPriority @ 305 NONAME
- _ZTV26CTestStepVidPlayerRotation @ 306 NONAME
- _ZTV26CTestStepVidRecorderRecord @ 307 NONAME
- _ZTV26CTestSuiteUnitMMFVidClient @ 308 NONAME
- _ZTV27CTestStepVidPlayerAudioType @ 309 NONAME
- _ZTV27CTestStepVidPlayerAutoScale @ 310 NONAME
- _ZTV27CTestStepVidPlayerPlayPause @ 311 NONAME
- _ZTV27CTestStepVidPlayerVideoType @ 312 NONAME
- _ZTV27CTestStepVidRecorderOpenUrl @ 313 NONAME
- _ZTV27CTestStepVidRecorderPrepare @ 314 NONAME
- _ZTV28CTestStepOOMVidPlayerOpenUrl @ 315 NONAME
- _ZTV28CTestStepVidPlayerAudEnabled @ 316 NONAME
- _ZTV28CTestStepVidPlayerCropRegion @ 317 NONAME
- _ZTV28CTestStepVidPlayerPlayWindow @ 318 NONAME
- _ZTV28CTestStepVidRecorderABitRate @ 319 NONAME
- _ZTV28CTestStepVidRecorderDuration @ 320 NONAME
- _ZTV28CTestStepVidRecorderOpenDesc @ 321 NONAME
- _ZTV28CTestStepVidRecorderOpenFile @ 322 NONAME
- _ZTV28CTestStepVidRecorderPriority @ 323 NONAME
- _ZTV28CTestStepVidRecorderVBitRate @ 324 NONAME
- _ZTV29CTestStepOOMVidPlayerOpenDesc @ 325 NONAME
- _ZTV29CTestStepOOMVidPlayerOpenFile @ 326 NONAME
- _ZTV29CTestStepVidPlayerGetABitRate @ 327 NONAME
- _ZTV29CTestStepVidPlayerGetVBitRate @ 328 NONAME
- _ZTV29CTestStepVidRecorderAudioType @ 329 NONAME
- _ZTV29CTestStepVidRecorderVideoType @ 330 NONAME
- _ZTV30CTestStepVidPlayerClipPosition @ 331 NONAME
- _ZTV30CTestStepVidPlayerGeneralEvent @ 332 NONAME
- _ZTV30CTestStepVidPlayerGetFrameRate @ 333 NONAME
- _ZTV30CTestStepVidPlayerNewPriorPref @ 334 NONAME
- _ZTV30CTestStepVidPlayerRefreshFrame @ 335 NONAME
- _ZTV30CTestStepVidPlayerStopStartDSA @ 336 NONAME
- _ZTV30CTestStepVidRecorderAudEnabled @ 337 NONAME
- _ZTV30CTestStepVidRecorderRecordTime @ 338 NONAME
- _ZTV30CTestStepVidRecorderVFrameRate @ 339 NONAME
- _ZTV30CTestStepVidRecorderVFrameSize @ 340 NONAME
- _ZTV31CTestStepVidPlayerGetVFrameSize @ 341 NONAME
- _ZTV31CTestStepVidPlayerOpenviaUriTag @ 342 NONAME
- _ZTV31CTestStepVidPlayerReloadingTest @ 343 NONAME
- _ZTV31CTestStepVidRecorderHandleEvent @ 344 NONAME
- _ZTV31CTestStepVidRecorderMaxClipSize @ 345 NONAME
- _ZTV32CTestStepAllocFailVidRecorderNew @ 346 NONAME
- _ZTV32CTestStepVidPlayerSetVideoExtent @ 347 NONAME
- _ZTV32CTestStepVidPlayerSubtitleRedraw @ 348 NONAME
- _ZTV32CTestStepVidRecorderGeneralEvent @ 349 NONAME
- _ZTV33CTestStepVidOnlyPlayerNoAudioType @ 350 NONAME
- _ZTV33CTestStepVidPlayerOpenFileCtrlUid @ 351 NONAME
- _ZTV33CTestStepVidPlayerOpenTryNextCtrl @ 352 NONAME
- _ZTV33CTestStepVideoInterruptionByAudio @ 353 NONAME
- _ZTV34CTestStepVidPlayerAddDisplayWindow @ 354 NONAME
- _ZTV34CTestStepVidPlayerSetDisplayWindow @ 355 NONAME
- _ZTV34CTestStepVidPlayerSubtitleLanguage @ 356 NONAME
- _ZTV35CTestStepVidPlayerSetWindowClipRect @ 357 NONAME
- _ZTV35CTestStepVidPlayerSubtitleAvailable @ 358 NONAME
- _ZTV35CTestStepVidPlayerSubtitleEnableNeg @ 359 NONAME
- _ZTV35CTestStepVidRecorderOpenFileCtrlUid @ 360 NONAME
- _ZTV36CTestStepAllocFailVidRecorderOpenUrl @ 361 NONAME
- _ZTV37CTestStepAllocFailVidRecorderOpenDesc @ 362 NONAME
- _ZTV37CTestStepAllocFailVidRecorderOpenFile @ 363 NONAME
- _ZTV37CTestStepVidPlayerRemoveDisplayWindow @ 364 NONAME
- _ZTV37CTestStepVidPlayerSetInitScreenNumber @ 365 NONAME
- _ZTV37CTestStepVidPlayerSubtitleMultiWindow @ 366 NONAME
- _ZTV38CTestStepVidPlayerSubtitleLangNotAvail @ 367 NONAME
- _ZTV39CTestStepVidPlayerGetImplementationInfo @ 368 NONAME
- _ZTV39CTestStepVidPlayerSendCustomCommandSync @ 369 NONAME
- _ZTV39CTestStepVidPlayerSubtitleEnableDisable @ 370 NONAME
- _ZTV39CTestStepVidPlayerSubtitleLangNotEnable @ 371 NONAME
- _ZTV40CTestStepVidPlayerSendCustomCommandAsync @ 372 NONAME
- _ZTV40CTestStepVidPlayerSubtitleRedrawNotReady @ 373 NONAME
- _ZTV41CTestStepVidPlayerCheckImplementationInfo @ 374 NONAME
- _ZTV41CTestStepVidPlayerReplaceSurfaceSequence1 @ 375 NONAME
- _ZTV41CTestStepVidPlayerReplaceSurfaceSequence2 @ 376 NONAME
- _ZTV41CTestStepVidRecorderGetImplementationInfo @ 377 NONAME
- _ZTV41CTestStepVidRecorderSendCustomCommandSync @ 378 NONAME
- _ZTV42CTestStepVidPlayerSubtitleNotEnabledRedraw @ 379 NONAME
- _ZTV42CTestStepVidRecorderSendCustomCommandAsync @ 380 NONAME
- _ZTV43CTestStepVidPlayerOpenDurationCustomCommand @ 381 NONAME
- _ZTV43CTestStepVidRecorderCheckImplementationInfo @ 382 NONAME
- _ZTV44CTestStepAllocFailVidRecorderOpenFileCtrlUid @ 383 NONAME
- _ZTV45CTestStepVidPlayerSubtitleWindowSettingChange @ 384 NONAME
- _ZTV46CTestStepVidPlayerSubtitleAddRemoveMultiWindow @ 385 NONAME
- _ZTV50CTestStepVidPlayerSubtitleMultiWindowSettingChange @ 386 NONAME
- _ZN19CVideoPlayerUtility28SetExternalDisplaySwitchingLEii @ 387 NONAME
- _ZN20CVideoPlayerUtility228SetExternalDisplaySwitchingLEii @ 388 NONAME
- _ZN38CExtDisplayConnectionProviderInterfaceC2Ev @ 389 NONAME
- _ZN38CExtDisplayConnectionProviderInterfaceD0Ev @ 390 NONAME
- _ZN38CExtDisplayConnectionProviderInterfaceD1Ev @ 391 NONAME
- _ZN38CExtDisplayConnectionProviderInterfaceD2Ev @ 392 NONAME
- _ZTI38CExtDisplayConnectionProviderInterface @ 393 NONAME
- _ZTV38CExtDisplayConnectionProviderInterface @ 394 NONAME
--- a/mmlibs/mmfw/tsrc/mmfunittest/group/TSU_MMF_VCLNT.bat Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-rem Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-rem All rights reserved.
-rem This component and the accompanying materials are made available
-rem under the terms of "Eclipse Public License v1.0"
-rem which accompanies this distribution, and is available
-rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-rem
-rem Initial Contributors:
-rem Nokia Corporation - initial contribution.
-rem
-rem Contributors:
-rem
-rem Description:
-rem
-
-copy z:\mm\smallv.wav c:\mm\smallv.wav
-copy z:\mm\clock.dummy c:\mm\clock.dummy
-
-
-testframework tsu_mmf_vclnt_01.script
-testframework tsu_mmf_vclnt_01_alloc.script
--- a/mmlibs/mmfw/tsrc/mmfunittest/group/TSU_MMF_VCLNT.iby Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef TSU_MMF_VCLNT_IBY
-#define TSU_MMF_VCLNT_IBY
-
-#include <TSU_MMF_VCLNT_excl_test.iby>
-
-data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT_01_WM_CAF_V2.script \TSU_MMF_VCLNT_01_WM_CAF_V2.script
-data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script \TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script
-data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT_01_Alloc.script \TSU_MMF_VCLNT_01_Alloc.script
-data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT_DRM.script \TSU_MMF_VCLNT_DRM.script
-data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT_DRM_Alloc.script \TSU_MMF_VCLNT_DRM_Alloc.script
-data=EPOCROOT##epoc32\data\c\mm\TSU_MMF_VCLNT.bat \doTest.bat
-data=EPOCROOT##epoc32\data\c\smallv.wav \mm\smallv.wav
-data=EPOCROOT##epoc32\data\c\clock.dummy \mm\clock.dummy
-data=EPOCROOT##epoc32\data\c\AudVid.avi \mm\AudVid.avi
-data=EPOCROOT##epoc32\data\c\Vid.avi \mm\Vid.avi
-#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-data=EPOCROOT##epoc32\data\c\clock2.dummy \mm\clock2.dummy
-#endif
-
-
-#ifdef SYMBIAN_MMF_MODEL_CONTROLLERS
-#ifdef SYMBIAN_BUILD_GCE
-#ifdef SYMBIAN_GRAPHICS_USE_GCE
-data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_gce_alloc.script \tsu_mmf_vclnt_u_01_gce_alloc.script
-data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_gce_available.script \tsu_mmf_vclnt_u_01_gce_available.script
-data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_gce_avail_secscreen.script \tsu_mmf_vclnt_u_01_gce_avail_secscreen.script
-#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_subtitle_gce_on.script \tsu_mmf_vclnt_u_01_subtitle_gce_on.script
-data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_subtitle_gce_on_secscreen.script \tsu_mmf_vclnt_u_01_subtitle_gce_on_secscreen.script
-data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script \tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script
-data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_subtitle_gce_on_urel.script \tsu_mmf_vclnt_u_01_subtitle_gce_on_urel.script
-#endif
-#else
-data=EPOCROOT##epoc32\data\c\mm\tsu_mmf_vclnt_u_01_gce_unavailable.script \tsu_mmf_vclnt_u_01_gce_unavailable.script
-#endif
-#endif
-#endif
-
-#endif
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/group/component_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/group/component_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -56,18 +56,6 @@
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_oggctrl_play.script"-"c:\tsu_mmf_oggctrl_play.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_oggctrl_record.script"-"c:\tsu_mmf_oggctrl_record.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_oggctrl_01.ini"-"c:\tsu_mmf_oggctrl_01.ini"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_avictrl_play.script"-"c:\tsu_mmf_avictrl_play.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_avictrl_play_alloc.script"-"c:\tsu_mmf_avictrl_play_alloc.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_avictrl_record.script"-"c:\tsu_mmf_avictrl_record.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_avictrl_secdisp.script"-"c:\tsu_mmf_avictrl_secdisp.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_avictrl_secdisp_winscw.script"-"c:\tsu_mmf_avictrl_secdisp_winscw.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_avictrl_01.ini"-"c:\tsu_mmf_avictrl_01.ini"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_avictrl_gce_enable.script"-"c:\tsu_mmf_avictrl_gce_enable.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_avictrl_gce_disable.script"-"c:\tsu_mmf_avictrl_gce_disable.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_avictrl_gce_enable.ini"-"c:\tsu_mmf_avictrl_gce_enable.ini"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_avictrl_gce_disable.ini"-"c:\tsu_mmf_avictrl_gce_disable.ini"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_avictrl_subtitle.ini"-"c:\tsu_mmf_avictrl_subtitle.ini"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_avictrl_subtitle.script"-"c:\tsu_mmf_avictrl_subtitle.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_ACLNT_01.script"-"c:\mm\tsu_mmf_aclnt_01.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_ACLNT_01_PREEMPTION.script"-"c:\mm\tsu_mmf_aclnt_01_preemption.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_ACLNT_01_NOTIFICATION.script"-"c:\mm\tsu_mmf_aclnt_01_notification.script"
@@ -77,33 +65,12 @@
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_ACLNT_04_Alloc.script"-"c:\mm\tsu_mmf_aclnt_04_alloc.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_ACLNT_05_Alloc.script"-"c:\mm\tsu_mmf_aclnt_05_alloc.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_ACLNT_01.ini"-"c:\mm\tsu_mmf_aclnt_01.ini"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_VCLNT_01_WM_CAF_V2.script"-"c:\mm\tsu_mmf_vclnt_01_wm_caf_v2.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_VCLNT_01_ALLOC_WM.script"-"c:\mm\tsu_mmf_vclnt_01_alloc_wm.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_ACLNT_RF_ALLOC.script"-"c:\mm\tsu_mmf_aclnt_rf_alloc.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_VCLNT_RF_WM.script"-"c:\mm\tsu_mmf_vclnt_rf_wm.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_VCLNT_RF_ALLOC_WM.script"-"c:\mm\tsu_mmf_vclnt_rf_alloc_wm.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_VCLNT_DRM.script"-"c:\mm\tsu_mmf_vclnt_drm.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_VCLNT_DRM_ALLOC.script"-"c:\mm\tsu_mmf_vclnt_drm_alloc.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_VCLNT_01.ini"-"c:\mm\tsu_mmf_vclnt_01.ini"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_ACLNT_DRM.script"-"c:\mm\tsu_mmf_aclnt_drm.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_ACLNT_DRM_ALLOC.script"-"c:\mm\tsu_mmf_aclnt_drm_alloc.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_aclnt_securedrmtestdata.ini"-"c:\mm\tsu_mmf_aclnt_securedrmtestdata.ini"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_aclnt_securedrmtestdata.script"-"c:\mm\tsu_mmf_aclnt_securedrmtestdata.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_aclnt_securedrm.ini"-"c:\mm\tsu_mmf_aclnt_securedrm.ini"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_aclnt_securedrm.script"-"c:\mm\tsu_mmf_aclnt_securedrm.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_VCLNT_RF_WM_NOTIFICATION.script"-"c:\mm\tsu_mmf_vclnt_rf_wm_notification.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script"-"c:\mm\tsu_mmf_vclnt_01_wm_caf_v2_priority.script"
-
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_vclnt_u_01_gce_available.script"-"c:\mm\tsu_mmf_vclnt_u_01_gce_available.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_vclnt_u_01_gce_unavailable.script"-"c:\mm\tsu_mmf_vclnt_u_01_gce_unavailable.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_vclnt_u_01_gce_alloc.script"-"c:\mm\tsu_mmf_vclnt_u_01_gce_alloc.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_vclnt_u_01_gce_avail_secscreen.script"-"c:\mm\tsu_mmf_vclnt_u_01_gce_avail_secscreen.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\TSU_MMF_VCLNT_01_gce_unavailable.ini"-"c:\mm\tsu_mmf_vclnt_01_gce_unavailable.ini"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\empty.script"-"c:\mm\tsu_mmf_vclnt_u_01_gce_unavailable.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_vclnt_u_01_subtitle_gce_on.script"-"c:\mm\tsu_mmf_vclnt_u_01_subtitle_gce_on.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_vclnt_u_01_subtitle_gce_on_secscreen.script"-"c:\mm\tsu_mmf_vclnt_u_01_subtitle_gce_on_secscreen.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script"-"c:\mm\tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_vclnt_u_01_subtitle_gce_on_urel.script"-"c:\mm\tsu_mmf_vclnt_u_01_subtitle_gce_on_urel.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_mmruf.script"-"c:\tsu_mmf_mmruf.script"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\scripts\tsu_mmf_mmruf_badext.script"-"c:\tsu_mmf_mmruf_badext.script"
@@ -121,17 +88,6 @@
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\basecl\data\Reference100HzTone8000_2_6500_1.refsnd"-"c:\reference100hztone8000_2_6500_1.refsnd"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\basecl\data\Reference100HzTone8000_2_6500_2.refsnd"-"c:\reference100hztone8000_2_6500_2.refsnd"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\VCLNT\TSU_MMF_VCLNT_01\Data\small2.wav"-"c:\mm\mmf\testfiles\vclnt\small2.wav"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\VCLNT\TSU_MMF_VCLNT_01\Data\smallv.wav"-"c:\mm\mmf\testfiles/vclnt/smallv.wav"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\VCLNT\TSU_MMF_VCLNT_01\Data\clock.dummy"-"c:\mm\mmf\testfiles\vclnt\clock.dummy"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\VCLNT\TSU_MMF_VCLNT_01\Data\Video.content"-"c:\mm\mmf\testfiles\vclnt\video.content"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\VCLNT\TSU_MMF_VCLNT_01\Data\VideoContentNoRights.content"-"c:\mm\mmf\testfiles\vclnt\videocontentnorights.content"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\VCLNT\TSU_MMF_VCLNT_01\Data\LongVideo.dummy"-"c:\mm\mmf\testfiles\vclnt\longvideo.dummy"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\VCLNT\TSU_MMF_VCLNT_01\Data\ShortVideo.dummy"-"c:\mm\mmf\testfiles\vclnt\shortvideo.dummy"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\VCLNT\TSU_MMF_VCLNT_01\Data\AudVid.avi"-"c:\mm\mmf\testfiles\vclnt\audvid.avi"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\VCLNT\TSU_MMF_VCLNT_01\Data\Vid.avi"-"c:\mm\mmf\testfiles\vclnt\vid.avi"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\VCLNT\TSU_MMF_VCLNT_01\Data\xvidonly.avi"-"c:\mm\mmf\testfiles\vclnt\xvidonly.avi"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\VCLNT\TSU_MMF_VCLNT_01\Data\clock2.dummy"-"c:\mm\mmf\testfiles\vclnt\clock2.dummy"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\TSU_MMF_ACLNT_01\data\small.wav"-"c:\mm\mmf\testfiles\aclnt\small.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\TSU_MMF_ACLNT_01\data\small.wav"-"z:\resource\small.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\aclnt\TSU_MMF_ACLNT_01\data\small.wav"-"c:\mm\mmf\testfiles\aclnt\small1.wav"
@@ -552,15 +508,6 @@
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\MidiClnt\data\Midi.contentrights"-"c:\midiclntitestdata\midi.contentrights"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\MidiClnt\data\Midi.content"-"c:\midiclntitestdata\midi.content"
-//avi controller test files
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\avictrl\data\video_only.avi"-"c:\mm\mmf\testfiles\avictrl\video_only.avi"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\avictrl\data\aud_vid.avi"-"c:\mm\mmf\testfiles\avictrl\aud_vid.avi"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\avictrl\data\invalid.avi"-"c:\mm\mmf\testfiles\avictrl\invalid.avi"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\avictrl\data\low_mem_vdo_test.avi"-"c:\mm\mmf\testfiles\avictrl\low_mem_vdo_test.avi"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\avictrl\data\aud_vid_vprp.avi"-"c:\mm\mmf\testfiles\avictrl\aud_vid_vprp.avi"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\avictrl\data\srt_available.avi"-"c:\mm\mmf\testfiles\avictrl\srt_available.avi"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\avictrl\data\srt_available.srt"-"c:\mm\mmf\testfiles\avictrl\srt_available.srt"
-
// TruePause DevSound Test data
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\DevSoundTest\data\cerrodelasilla.raw"-"c:\mm\mmf\testfiles\truepause_devsound_test_data\cerrodelasilla.raw"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\DevSoundTest\data\testing123.raw""-"c:\mm\mmf\testfiles\truepause_devsound_test_data\testing123.raw"
@@ -579,16 +526,3 @@
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\SecureDRM\data\small.wav"-"c:\securedrm\small.wav"
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\GEF\scripts\TSU_MMF_GEF_01.script"-"c:\mm\tsu_mmf_gef_01.script"
-
-// Subtitle client test script
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\subtitlegraphic\scripts\tsu_mmf_subtitlegraphic.script"-"c:\mm\tsu_mmf_subtitlegraphic.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\subtitlegraphic\testdata\subtitletestdata.png"-"c:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata.png"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\subtitlegraphic\testdata\subtitletestdata2.png"-"c:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata2.png"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\subtitlegraphic\testdata\subtitletestdata3.png"-"c:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata3.png"
-
-// DevSubtitle Unit test components
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\devsubtitle\scripts\tsu_mmf_devsubtitle_panic.script"-"c:\mm\tsu_mmf_devsubtitle_panic.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\devsubtitle\scripts\tsu_mmf_devsubtitle.script"-"c:\mm\tsu_mmf_devsubtitle.script"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\devsubtitle\testdata\devsubtitle.srt"-"c:\mm\mmf\testfiles\devsubtitle\devsubtitle.srt"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\devsubtitle\testdata\subtitletestdata.png"-"c:\mm\mmf\testfiles\devsubtitle\subtitletestdata.png"
-"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\devsubtitle\testdata\subtitletestdata2.png"-"c:\mm\mmf\testfiles\devsubtitle\subtitletestdata2.png"
--- a/mmlibs/mmfw/tsrc/mmfunittest/group/tsu_mmf_vclnt_data.pkg Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-;
-; Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of the License "Symbian Foundation License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-
-"\epoc32\data\c\mm\TSU_MMF_VCLNT_01_WM_CAF_V2.script" - "c:\TSU_MMF_VCLNT_01_WM_CAF_V2.script"
-"\epoc32\data\c\mm\TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script" - "c:\TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script"
-"\epoc32\data\c\mm\TSU_MMF_VCLNT_01_Alloc.script" - "c:\TSU_MMF_VCLNT_01_Alloc.script"
-"\epoc32\data\c\mm\TSU_MMF_VCLNT_DRM.script" - "c:\TSU_MMF_VCLNT_DRM.script"
-"\epoc32\data\c\mm\TSU_MMF_VCLNT_DRM_Alloc.script" - "c:\TSU_MMF_VCLNT_DRM_Alloc.script"
-"\epoc32\data\c\mm\TSU_MMF_VCLNT_RF_WM.script" - "c:\TSU_MMF_VCLNT_RF_WM.script"
-"\epoc32\data\c\mm\TSU_MMF_VCLNT_RF_ALLOC_WM.script" - "c:\TSU_MMF_VCLNT_RF_ALLOC_WM.script"
-"\epoc32\data\c\mm\TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script" - "c:\TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script"
-
-"\epoc32\data\c\smallv.wav" - "c:\mm\smallv.wav"
-"\epoc32\data\c\clock.dummy" - "c:\mm\clock.dummy"
-"\epoc32\data\c\AudVid.avi" - "c:\mm\AudVid.avi"
-"\epoc32\data\c\Vid.avi" - "c:\mm\Vid.avi"
-
-"\epoc32\data\c\clock2.dummy" - "c:\mm\clock2.dummy"
-
-"\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_gce_alloc.script" - "c:\TSU_MMF_vclnt_u_01_gce_alloc.script"
-"\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_gce_available.script" - "c:\TSU_MMF_vclnt_u_01_gce_available.script"
-"\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_gce_avail_secscreen.script" - "c:\TSU_MMF_vclnt_u_01_gce_avail_secscreen.script"
-"\epoc32\data\c\mm\tsu_mmf_vclnt_u_01_gce_unavailable.script" - "c:\tsu_mmf_vclnt_u_01_gce_unavailable.script"
-
-"\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_subtitle_gce_on.script" - "c:\TSU_MMF_vclnt_u_01_subtitle_gce_on.script"
-"\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_subtitle_gce_on_secscreen.script" - "c:\TSU_MMF_vclnt_u_01_subtitle_gce_on_secscreen.script"
-"\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_subtitle_gce_on_udeb.script" - "c:\TSU_MMF_vclnt_u_01_subtitle_gce_on_udeb.script"
-"\epoc32\data\c\mm\TSU_MMF_vclnt_u_01_subtitle_gce_on_urel.script" - "c:\TSU_MMF_vclnt_u_01_subtitle_gce_on_urel.script"
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/group/tsu_mmf_vclnt_excl_test.iby Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef TSU_MMF_VCLNT_EXCL_TEST_IBY
-#define TSU_MMF_VCLNT_EXCL_TEST_IBY
-
-#include <testframework.iby>
-#include <cinidata.iby>
-
-file=ABI_DIR\DEBUG_DIR\TSU_MMF_VCLNT_01.DLL System\Libs\TSU_MMF_VCLNT_01.DLL
-
-file=ABI_DIR\BUILD_DIR\TS_CmmfVideoTestCustomCommands.dll System\Libs\TS_CmmfVideoTestCustomCommands.dll
-
-
-#ifdef SYMBIAN_GRAPHICS_USE_GCE
-ECOM_PLUGIN(ts_cmmfvideotestcontroller_gce.dll,101f7d2d_gce.rsc)
-#else
-ECOM_PLUGIN(ts_cmmfvideotestcontroller.dll,101f7d2d.rsc)
-#endif
-
-ECOM_PLUGIN(ts_videoinput.dll,101f7f8c.rsc)
-ECOM_PLUGIN(ts_videooutput.dll,101f7f8d.rsc)
-ECOM_PLUGIN(TS_VideoTestFormat.dll,101f7f89.rsc)
-
-file=ABI_DIR\BUILD_DIR\VclntAppTest.exe Sys\bin\VclntAppTest.exe
-data=EPOCROOT##epoc32\data\Z\resource\Apps\VclntAppTest.rsc resource\Apps\VclntAppTest.rsc
-data=EPOCROOT##epoc32\data\Z\private\10003a3f\apps\VclntAppTest_reg.rsc private\10003a3f\apps\VclntAppTest_reg.rsc
-
-#endif
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/group/videogroup/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/group/videogroup/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -17,15 +17,16 @@
#include "../../DevVideo/group/bld.inf"
#ifdef SYMBIAN_BUILD_GCE
-
#include "../../videorenderer/group/bld.inf"
-
#endif
#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
-
#include "../../subtitlegraphic/group/bld.inf"
#include "../../devsubtitle/group/bld.inf"
#include "../../srtdecoder/group/bld.inf"
+#endif
-#endif
+#include "../../avictrl/group/bld.inf"
+
+#include "../../vclnt/group/bld.inf"
+
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/TSU_MMF_VCLNT_01.ini Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,126 +0,0 @@
-[SectionDRM]
-VideoContent = c:\mm\mmf\testfiles\vclnt\Video.content
-VideoContentNoRights = c:\mm\mmf\testfiles\vclnt\VideoContentNoRights.content
-
-[MM-MMF-VCLNT-U-1000-CP]
-AutoScaleType = EAutoScaleNone
-AutoScaleHoriz = EHorizontalAlignCenter
-AutoScaleVert = EVerticalAlignCenter
-ExpectedResult = 0
-
-[MM-MMF-VCLNT-U-1001-CP]
-AutoScaleType = EAutoScaleNone
-AutoScaleHoriz = EHorizontalAlignRight
-AutoScaleVert = EVerticalAlignBottom
-ExpectedResult = 0
-
-[MM-MMF-VCLNT-U-1002-CP]
-AutoScaleType = EAutoScaleNone
-AutoScaleHoriz = 0
-AutoScaleVert = 0
-ExpectedResult = 0
-
-[MM-MMF-VCLNT-U-1003-CP]
-AutoScaleType = EAutoScaleNone
-AutoScaleHoriz = 20
-AutoScaleVert = -10
-ExpectedResult = 0
-
-[MM-MMF-VCLNT-U-1004-CP]
-AutoScaleType = EAutoScaleBestFit
-AutoScaleHoriz = EHorizontalAlignLeft
-AutoScaleVert = EVerticalAlignTop
-ExpectedResult = 0
-
-[MM-MMF-VCLNT-U-1005-CP]
-AutoScaleType = EAutoScaleBestFit
-AutoScaleHoriz = EHorizontalAlignLeft
-AutoScaleVert = EVerticalAlignTop
-ExpectedResult = 0
-
-[MM-MMF-VCLNT-U-1006-CP]
-AutoScaleType = EAutoScaleClip
-AutoScaleHoriz = 0
-AutoScaleVert = 0
-ExpectedResult = 0
-
-[MM-MMF-VCLNT-U-1007-CP]
-AutoScaleType = EAutoScaleClip
-AutoScaleHoriz = EHorizontalAlignCenter
-AutoScaleVert = EVerticalAlignCenter
-ExpectedResult = 0
-
-[MM-MMF-VCLNT-U-1007-CP]
-AutoScaleType = EAutoScaleStretch
-AutoScaleHoriz = EHorizontalAlignCenter
-AutoScaleVert = EVerticalAlignCenter
-ExpectedResult = 0
-
-[MM-MMF-VCLNT-U-1007-CP]
-AutoScaleType = EAutoScaleStretch
-AutoScaleHoriz = 0
-AutoScaleVert = 0
-ExpectedResult = 0
-
-[MM-MMF-VCLNT-U-1100-CP]
-AddWindows=0,
-AddDisplays=0,
-
-[MM-MMF-VCLNT-U-1101-CP]
-AddWindows=0,
-AddDisplays=1,
-
-[MM-MMF-VCLNT-U-1102-CP]
-AddDisplays=0,
-SimulatedEvents=SurfaceCreated,
-ExpectedEvents=SurfaceCreated,
-
-[MM-MMF-VCLNT-U-1104-CP]
-AddDisplays=0,
-SimulatedEvents=SurfaceCreated,SurfaceParametersChanged,
-ExpectedEvents=SurfaceCreated,SurfaceParametersChanged,
-
-[MM-MMF-VCLNT-U-1106-CP]
-AddWindows=0,
-AddDisplays=0,
-
-[MM-MMF-VCLNT-U-1107-CP]
-AddDisplays=0,
-AddWindows=0,
-
-[MM-MMF-VCLNT-U-1108-CP]
-AddDisplays=0,
-AddWindows=0,
-
-[MM-MMF-VCLNT-U-1109-CP]
-AddDisplays=0,1,
-SimulatedEvents=SurfaceCreated,None,SurfaceParametersChanged,None,
-ExpectedEvents=SurfaceCreated,SurfaceCreated,SurfaceParametersChanged,SurfaceParametersChanged,
-
-[MM-MMF-VCLNT-U-1111-CP]
-AddDisplays=0,
-AddWindows=0,
-Iterations=10
-
-[MM-MMF-VCLNT-U-1112-CP]
-AddDisplays=0,
-SimulatedEvents=SurfaceCreated,SurfaceCreated,
-ExpectedEvents=SurfaceCreated,SurfaceCreated,
-
-[MM-MMF-VCLNT-U-1113-CP]
-AddDisplays=0,
-SimulatedEvents=SurfaceCreated,RemoveSurface,SurfaceCreated,
-ExpectedEvents=SurfaceCreated,RemoveSurface,SurfaceCreated,
-
-[MM-MMF-VCLNT-U-1114-CP]
-AddDisplays=0,1,
-SimulatedEvents=SurfaceCreated,None,SurfaceCreated,None,
-ExpectedEvents=SurfaceCreated,SurfaceCreated,SurfaceCreated,SurfaceCreated,
-
-[MM-MMF-VCLNT-U-1115-CP]
-AddDisplays=0,1,
-SimulatedEvents=SurfaceCreated,None,RemoveSurface,None,SurfaceCreated,None,
-ExpectedEvents=SurfaceCreated,SurfaceCreated,RemoveSurface,RemoveSurface,SurfaceCreated,SurfaceCreated,
-
-[MM-MMF-VCLNT-U-1201-CP]
-AddDisplays=0,0,
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/TSU_MMF_VCLNT_01_ALLOC_WM.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,81 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Creation Date 29/07/2002
-// MMF Video Clients Unit Testing script 6/9/2002
-//
-//
-
-PRINT Run all the MMF Video Clients unit tests
-PRINT
-//PAUSE_AT_END
-
-// Wait for Window Manager
-DELAY 5000
-
-//
-MULTITHREAD
-
-
-//
-LOAD_SUITE TSU_MMF_VCLNT_01.dll
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0100-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0100-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0101-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0101-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0102-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0102-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0103-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0103-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0300-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0300-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0301-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0301-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0304-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0304-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0302-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0302-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0303-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0303-CP
-TEST_COMPLETE
-
-
-
-
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/TSU_MMF_VCLNT_01_WM_CAF_V2.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,430 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Creation Date 29/07/2002
-// MMF Video Clients Unit Testing script
-//
-//
-
-PRINT Run all the MMF Video Clients unit tests
-PRINT
-
-// Wait for Window Manager
-DELAY 5000
-
-LOAD_SUITE TSU_MMF_VCLNT_01.dll
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0001-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0001-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0002-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0002-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0003-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0003-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0004-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0004-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0005-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0005-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0006-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0006-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0008-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0008-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0010-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0010-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0011-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0011-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0012-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0012-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0013-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0013-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0020-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0020-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0021-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0021-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0022-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0022-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0023-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0023-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0025-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0025-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0027-CP
-
-RUN_TEST_STEP 120000, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0027-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0028-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0028-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0029-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0029-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0030-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0030-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0031-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0031-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0032-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0032-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0033-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0033-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0035-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0035-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0036-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0036-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0037-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0037-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0038-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0038-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0041-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0041-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0043-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0043-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0050-LP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0050-LP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0051-LP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0051-LP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0060-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0060-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0061-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0061-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0062-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0062-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0063-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0063-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0064-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0064-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0065-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0065-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0066-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0066-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0067-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0067-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0068-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0068-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0069-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0069-HP
-TEST_COMPLETE
-
-// INC041303 - PSS - PlaybackComplete problem in MMF Framework
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0070-CP
-
-RUN_TEST_STEP 20000, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0070-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0071-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0071-CP
-TEST_COMPLETE
-
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0200-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0200-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0201-CP
-
-//RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0201-CP
-//TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0202-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0202-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0203-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0203-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0204-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0204-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0205-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0205-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0207-CP
-
-RUN_TEST_STEP 20000, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0207-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0210-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0210-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0220-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0220-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0221-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0221-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0222-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0222-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0223-CP
-
-//RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0223-CP
-//TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0225-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0225-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0229-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0229-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0230-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0230-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0231-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0231-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0232-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0232-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0234-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0234-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0235-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0235-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0236-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0236-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0237-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0237-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0238-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0238-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0239-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0239-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0240-LP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0240-LP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0241-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0241-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0250-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0250-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0251-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0251-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0252-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0252-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0253-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0253-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0313-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0313-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0314-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0314-CP
-TEST_COMPLETE
-
-// DEF083334 Checking for ControllerImplementation info
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0254-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0254-HP
-TEST_COMPLETE
-
-// DEF083334 Checking for ControllerImplementation info
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0255-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0255-HP
-TEST_COMPLETE
-
-//DEF082497,DEF081389,DEF085513
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0256-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0256-HP
-TEST_COMPLETE
-
-//DEF100150
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0257-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0257-HP
-TEST_COMPLETE
-
-//!@SYMTestCaseID MM-MMF-VCLNT-U-INC122181-CP
-//!@SYMTestCaseDesc Verify PlayComplete and FrameReady events can be outstanding at the same time.
-//!@SYMDEF INC122181
-//!@SYMTestPriority 1
-//!@SYMTestActions Open file. Prepare video player. Issue GetFrame. Issue Play.
-//!@SYMTestExpectedResults Both PlayComplete and FrameReady events are delivered to client.
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-INC122181-CP
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/TSU_MMF_VCLNT_01_WM_CAF_V2_priority.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Creation Date 29/07/2002
-// MMF Video Clients Unit Testing script
-//
-//
-
-// Wait for Window Manager
-DELAY 5000
-
-LOAD_SUITE TSU_MMF_VCLNT_01.dll
-
-//DEF097361
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0258-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0258-CP
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/TSU_MMF_VCLNT_01_gce_unavailable.ini Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-[SectionDRM]
-VideoContent = c:\mm\mmf\testfiles\vclnt\Video.content
-VideoContentNoRights = c:\mm\mmf\testfiles\vclnt\VideoContentNoRights.content
-
-[MM-MMF-VCLNT-U-1004-CP]
-ExpectedResult = -5
-UseSurfaces = false
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/TSU_MMF_VCLNT_DRM.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Creation Date 01/04/2005
-//
-//
-
-PRINT Run all the MMF Video Clients unit tests
-PRINT
-
-// Wait for Window Manager
-DELAY 5000
-
-LOAD_SUITE TSU_MMF_VCLNT_01.dll
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0008-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0008-CP C:\MM\TSU_MMF_VCLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0013-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0013-CP C:\MM\TSU_MMF_VCLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0501-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0501-HP C:\MM\TSU_MMF_VCLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0502-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0502-HP C:\MM\TSU_MMF_VCLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0601-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0601-HP C:\MM\TSU_MMF_VCLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0602-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0602-HP C:\MM\TSU_MMF_VCLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0611-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0611-HP C:\MM\TSU_MMF_VCLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0612-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0612-HP C:\MM\TSU_MMF_VCLNT_01.ini
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/TSU_MMF_VCLNT_DRM_ALLOC.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Creation Date 01/04/2005
-//
-//
-
-PRINT Run all the DRM Video Client Alloc unit tests
-PRINT
-
-// Wait for Window Manager
-DELAY 5000
-
-LOAD_SUITE TSU_MMF_VCLNT_01.dll
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0505-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0505-HP C:\MM\TSU_MMF_VCLNT_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0506-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0506-HP C:\MM\TSU_MMF_VCLNT_01.ini
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/TSU_MMF_VCLNT_RF_ALLOC_WM.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Creation Date 29/07/2002
-// MMF Video Clients Unit Testing script 6/9/2002
-//
-//
-
-PRINT Run all the MMF Video Clients unit tests
-PRINT
-//PAUSE_AT_END
-
-// Wait for Window Manager
-DELAY 5000
-
-//
-MULTITHREAD
-
-
-//
-LOAD_SUITE TSU_MMF_VCLNT_01.dll
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0111-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0111-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0311-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0311-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0312-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0312-CP
-TEST_COMPLETE
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/TSU_MMF_VCLNT_RF_WM.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Creation Date 29/07/2002
-// MMF Video Clients Unit Testing script 6/9/2002
-//
-//
-
-PRINT Run all the MMF Video Clients unit tests
-PRINT
-//PAUSE_AT_END
-
-// Wait for Window Manager
-DELAY 5000
-
-LOAD_SUITE TSU_MMF_VCLNT_01.dll
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0011-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0011-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0012-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0012-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0211-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0211-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0212-CP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0212-CP
-TEST_COMPLETE
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/TSU_MMF_VCLNT_RF_WM_NOTIFICATION.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRINT Run all the MMF Video Clients unit tests
-PRINT
-//PAUSE_AT_END
-
-// Wait for Window Manager
-DELAY 5000
-
-LOAD_SUITE TSU_MMF_VCLNT_01.dll
-
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0508-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0508-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0700-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0700-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0701-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0701-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0702-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0702-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0703-HP
-
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0703-HP
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/empty.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-//
-// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_avictrl_01.ini Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-[SectionPlayer]
-video_only = \mm\mmf\testfiles\avictrl\video_only.avi
-aud_vid = \mm\mmf\testfiles\avictrl\aud_vid.avi
-invalid = \mm\mmf\testfiles\avictrl\invalid.avi
-long_video = \mm\mmf\testfiles\avictrl\low_mem_vdo_test.avi
-videoprophdr = \mm\mmf\testfiles\avictrl\aud_vid_vprp.avi
-gce = false
-[SectionRecorder]
-record = \mm\mmf\testfiles\avictrl\record.avi
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_avictrl_gce_disable.ini Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-[SectionPlayer]
-video_only = \mm\mmf\testfiles\avictrl\video_only.avi
-aud_vid = \mm\mmf\testfiles\avictrl\aud_vid.avi
-invalid = \mm\mmf\testfiles\avictrl\invalid.avi
-long_video = \mm\mmf\testfiles\avictrl\longvideoplay.avi
-gce = false
-[SectionRecorder]
-record = \mm\mmf\testfiles\avictrl\record.avi
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_avictrl_gce_disable.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// testframework.exe [path]\[this script name]. It requires no exceptional software or network support
-//
-//
-
-//! @file
-//! @SYMTestSuiteName MM-MMF-AVICTRLPLAY-U
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework using the following test list entry:
-
-PRINT Run the MMF AviPlayController surface tests expecting surfaces to be disabled.
-PRINT
-
-LOAD_SUITE TSU_MMF_AVICTRL_01.dll
-
-# wait for ring.wav to finish playing
-
-delay 1000
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0059-HP
-//! @SYMPREQ PREQ1714
-//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to use surfaces as a rendering target.
-//! @SYMTestActions Calls surface related functions UseSurfaces, GetSurfaceParameters and SurfaceRemoved.
-//! @SYMTestExpectedResults Expect a return value of KErrNone from all the calls to the Surface functions
-//! when surfaces are enabled. Calling UseSurfaces a second time should not leave or cause any errors.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0059-HP \tsu_mmf_avictrl_gce_disable.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0064-HP
-//! @SYMPREQ PREQ1714
-//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
-//! @SYMTestActions Get the surface parameters when not using surfaces.
-//! @SYMTestExpectedResults This will return KErrNotReady when surface support is enabled. When surface
-//! support is not present we except KErrNotSupported.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0064-HP \tsu_mmf_avictrl_gce_disable.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0073-HP
-//! @SYMPREQ PREQ1714
-//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
-//! @SYMTestActions Call SurfaceRemoved when not using surfaces.
-//! @SYMTestExpectedResults This will return KErrNotReady when surface support is enabled. When surface
-//! support is not present we except KErrNotSupported.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0073-HP \tsu_mmf_avictrl_gce_disable.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0074-HP
-//! @SYMPREQ PREQ1714
-//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
-//! @SYMTestActions Call SurfaceRemoved with null surface id.
-//! @SYMTestExpectedResults This will return KErrArgument when surface support is enabled. When surface
-//! support is not present we except KErrNotSupported.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0074-HP \tsu_mmf_avictrl_gce_disable.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0075-HP
-//! @SYMPREQ PREQ1714
-//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
-//! @SYMTestActions Call SurfaceRemoved with an invalid surface id.
-//! @SYMTestExpectedResults This will return KErrNotReady when surface support is enabled. When surface
-//! support is not present we except KErrNotSupported.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0075-HP \tsu_mmf_avictrl_gce_disable.ini
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_avictrl_gce_enable.ini Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-[SectionPlayer]
-video_only = \mm\mmf\testfiles\avictrl\video_only.avi
-aud_vid = \mm\mmf\testfiles\avictrl\aud_vid.avi
-invalid = \mm\mmf\testfiles\avictrl\invalid.avi
-long_video = \mm\mmf\testfiles\avictrl\longvideoplay.avi
-gce = true
-[SectionRecorder]
-record = \mm\mmf\testfiles\avictrl\record.avi
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_avictrl_gce_enable.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// testframework.exe [path]\[this script name]. It requires no exceptional software or network support
-//
-//
-
-//! @file
-//! @SYMTestSuiteName MM-MMF-AVICTRLPLAY-U
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework using the following test list entry:
-
-PRINT Run the MMF AviPlayController surface tests expecting surfaces to be enabled.
-PRINT
-
-LOAD_SUITE TSU_MMF_AVICTRL_01.dll
-
-# wait for ring.wav to finish playing
-
-delay 1000
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0059-HP
-//! @SYMPREQ PREQ1714
-//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to use surfaces as a rendering target.
-//! @SYMTestActions Calls surface related functions UseSurfaces, GetSurfaceParameters and SurfaceRemoved.
-//! @SYMTestExpectedResults Expect a return value of KErrNone from all the calls to the Surface functions
-//! when surfaces are enabled. Calling UseSurfaces a second time should not leave or cause any errors.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0059-HP \tsu_mmf_avictrl_gce_enable.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0064-HP
-//! @SYMPREQ PREQ1714
-//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
-//! @SYMTestActions Get the surface parameters when not using surfaces.
-//! @SYMTestExpectedResults This will return KErrNotSupported.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0064-HP \tsu_mmf_avictrl_gce_enable.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0073-HP
-//! @SYMPREQ PREQ1714
-//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
-//! @SYMTestActions Call SurfaceRemoved when not using surfaces.
-//! @SYMTestExpectedResults This will return KErrNotSupported.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0073-HP \tsu_mmf_avictrl_gce_enable.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0074-HP
-//! @SYMPREQ PREQ1714
-//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
-//! @SYMTestActions Call SurfaceRemoved with null surface id.
-//! @SYMTestExpectedResults This will return KErrArgument.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0074-HP \tsu_mmf_avictrl_gce_enable.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0075-HP
-//! @SYMPREQ PREQ1714
-//! @SYMTestCaseDesc Tests the AVI Play Controller's ability to handle errors related to surfaces.
-//! @SYMTestActions Call SurfaceRemoved with an invalid surface id.
-//! @SYMTestExpectedResults This will return KErrNotReady.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0075-HP \tsu_mmf_avictrl_gce_enable.ini
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_avictrl_play.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,123 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// testframework.exe [path]\[this script name]. It requires no exceptional software or network support
-//
-//
-
-//! @file
-//! @SYMTestSuiteName MM-MMF-AVICTRLPLAY-U
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework using the following test list entry:
-
-
-PRINT Run all the MMF AviPlayController tests
-PRINT
-
-LOAD_SUITE TSU_MMF_AVICTRL_01.dll
-
-# wait for ring.wav to finish playing
-
-delay 1000
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0001-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0001-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0002-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0002-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0003-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0003-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0004-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0004-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0005-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0005-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0006-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0006-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0007-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0007-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0008-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0008-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0009-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0009-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0010-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0010-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0011-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0011-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0012-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0012-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0013-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0013-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0014-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0014-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0015-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0015-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0016-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0016-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0017-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0017-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0018-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0018-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0019-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0019-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0020-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0020-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0021-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0021-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0057-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0057-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0058-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0058-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_avictrl_play_alloc.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// testframework.exe [path]\[this script name]. It requires no exceptional software or network support
-//
-//
-
-//! @file
-//! @SYMTestSuiteName MM-MMF-AVICTRLPLAY-U
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework using the following test list entry:
-
-
-PRINT Run the MMF AviPlayController OOM tests
-PRINT
-
-LOAD_SUITE TSU_MMF_AVICTRL_01.dll
-
-# wait for ring.wav to finish playing
-
-delay 1000
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0070-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0070-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0071-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0071-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0072-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0072-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_avictrl_record.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,134 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRINT Run all the MMF AviRecordController tests
-PRINT
-
-LOAD_SUITE TSU_MMF_AVICTRL_01.dll
-
-# wait for ring.wav to finish playing
-delay 1000
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0021-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0021-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0024-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0024-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0025-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0025-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0026-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0026-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0027-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0027-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0028-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0028-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0029-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0029-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0030-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0030-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0031-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0031-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0032-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0032-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0033-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0033-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0034-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0034-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0022-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0022-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0023-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0023-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-// DEF088332: MVS UI Application does not update the timer during video recording
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0035-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0035-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-
-//Tests for CR0958
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0045-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0045-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0046-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0046-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0047-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0047-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0048-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0048-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0049-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0049-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0050-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0050-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0051-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0051-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0052-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0052-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0053-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0053-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0054-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0054-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0055-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0055-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0056-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0056-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_avictrl_secdisp.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE TSU_MMF_AVICTRL_01.dll
-
-# wait for ring.wav to finish playing
-
-delay 1000
-
-//CR0779 tests
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0041-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0041-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0043-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0043-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0044-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0044-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_avictrl_secdisp_winscw.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE TSU_MMF_AVICTRL_01.dll
-
-# wait for ring.wav to finish playing
-
-delay 1000
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0042-HP
-
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0042-HP \tsu_mmf_avictrl_01.ini
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_avictrl_subtitle.ini Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-[SectionPlayer]
-video_only = \mm\mmf\testfiles\avictrl\video_only.avi
-aud_vid = \mm\mmf\testfiles\avictrl\aud_vid.avi
-invalid = \mm\mmf\testfiles\avictrl\invalid.avi
-long_video = \mm\mmf\testfiles\avictrl\longvideoplay.avi
-gce = true
-srt_available = \mm\mmf\testfiles\avictrl\srt_available.avi
-srt_unavailable = \mm\mmf\testfiles\avictrl\video_only.avi
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_avictrl_subtitle.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,119 +0,0 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// testframework.exe [path]\[this script name]. It requires no exceptional software or network support
-//
-//
-
-//! @file
-//! @SYMTestSuiteName MM-MMF-AVICTRLPLAY-U
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework using the following test list entry:
-
-PRINT Run the MMF AviPlayController surface tests expecting subtitles to be enabled.
-PRINT
-
-LOAD_SUITE TSU_MMF_AVICTRL_01.dll
-
-# wait for ring.wav to finish playing
-
-delay 1000
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0100-HP
-//! @SYMPREQ PREQ1939
-//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
-//! @SYMTestCaseDesc Play video with subtitles enabled
-//! @SYMTestActions Verify subtitles are available and playing with subtitles works. Verify language support is not available.
-//! @SYMTestExpectedResults Subtitles are available. Language APIs are not supported.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0100-HP, \tsu_mmf_avictrl_subtitle.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0101-HP
-//! @SYMPREQ PREQ1939
-//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
-//! @SYMTestCaseDesc Update subtitle configuration before video playback.
-//! @SYMTestActions Enable subtitles and add a config. Update configuration and start playback.
-//! @SYMTestExpectedResults Playback completes with no errors or leaves.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0101-HP, \tsu_mmf_avictrl_subtitle.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0102-HP
-//! @SYMPREQ PREQ1939
-//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
-//! @SYMTestCaseDesc Update subtitle configuration during video playback.
-//! @SYMTestActions Enable subtitles and add a config. Start playback and update configuration after a short delay.
-//! @SYMTestExpectedResults Playback completes with no errors or leaves.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0102-HP, \tsu_mmf_avictrl_subtitle.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0103-HP
-//! @SYMPREQ PREQ1939
-//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
-//! @SYMTestCaseDesc Remove subtitle configuration and add a new configuration.
-//! @SYMTestActions Enable subtitles and add a config. Remove the configuration and add a different configuration. Start video playback.
-//! @SYMTestExpectedResults Playback completes with no errors or leaves.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0103-HP, \tsu_mmf_avictrl_subtitle.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0200-HP
-//! @SYMPREQ PREQ1939
-//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
-//! @SYMTestCaseDesc Subtitles not enabled
-//! @SYMTestActions Call subtitle API methods without enabling subtitles.
-//! @SYMTestExpectedResults Subtitles are available. Other subtitle API methods leave with KErrNotReady.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0200-HP, \tsu_mmf_avictrl_subtitle.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0201-HP
-//! @SYMPREQ PREQ1939
-//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
-//! @SYMTestCaseDesc Subtitles not available.
-//! @SYMTestActions Call subtitle API methods when no subtitle SRT file is available.
-//! @SYMTestExpectedResults Subtitles are not available. Enabling subtitles results in KErrNotFound. Other subtitle API methods leave with KErrNotReady.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0201-HP, \tsu_mmf_avictrl_subtitle.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0202-HP
-//! @SYMPREQ PREQ1939
-//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
-//! @SYMTestCaseDesc Mismatched window ID
-//! @SYMTestActions Get CPR parameters and update/remove configurations using invalid window IDs.
-//! @SYMTestExpectedResults Using an invalid window ID should cause a leave with error code KErrNotFound.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0202-HP, \tsu_mmf_avictrl_subtitle.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0203-HP
-//! @SYMPREQ PREQ1939
-//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
-//! @SYMTestCaseDesc Disable subtitles when not enabled. Enable twice.
-//! @SYMTestActions Disable subtitles before enabling. Enable twice. After playing video disable subtitles twice.
-//! @SYMTestExpectedResults Disabling when not enabled should have no effect. Enabling when already enabled should leave with KErrInUse.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0203-HP, \tsu_mmf_avictrl_subtitle.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-AVICTRL-U-0204-HP
-//! @SYMPREQ PREQ1939
-//! @SYMREQ REQ9902 Implement subtitle support in reference AVI player controller
-//! @SYMTestCaseDesc Add multiple subtitle window configurations.
-//! @SYMTestActions Enable and add a window configuration. Add other configurations with the same ID and different IDs.
-//! @SYMTestExpectedResults Adding a window configuration when one has already been added should leave with KErrInUse.
-//! @SYMTestPriority High
-RUN_TEST_STEP 600000,AviCtrl, MM-MMF-AVICTRL-U-0204-HP, \tsu_mmf_avictrl_subtitle.ini
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_vclnt_u_01_gce_alloc.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Creation Date 29/08/2007
-// MMF Video Clients Unit Testing script related to graphics surfaces
-//
-//
-
-//! @file
-//! @SYMTestSuiteName tsu_mmf_vclnt_01
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
-testframework.exe [path]\[this script name]. It requires no exceptional network support. For WINSCW testing,
-epoc.ini should set graphics_gce_enable. The class CVideoUtility2 should be available to the client.
-//////////////////////////
-
-
-PRINT Run all the MMF Video Clients unit tests related to graphics surfaces
-PRINT
-
-// Wait for Window Manager
-DELAY 5000
-
-LOAD_SUITE tsu_mmf_vclnt_01.dll
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0900-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Alloc failure test of constructing a new object with CVideoPlayerUtility2 object.
-//! @SYMTestActions Alloc failure test of constructing a new object.
-//! @SYMTestExpectedResults Doesn't leave, CVideoPlayerUtility2 is constructed successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0900-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0901-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Alloc failure test of Open file with CVideoPlayerUtility2 object.
-//! @SYMTestActions Alloc failure test of Open file.
-//! @SYMTestExpectedResults Doesn't leave, File openned successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0901-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0902-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Alloc failure test of Open descriptor with CVideoPlayerUtility2 object.
-//! @SYMTestActions Alloc failure test of Open descriptor.
-//! @SYMTestExpectedResults Doesn't leave, Descriptor content openned successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0902-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0903-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Alloc failure test of Open URL with CVideoPlayerUtility2 object.
-//! @SYMTestActions Alloc failure test of Open URL.
-//! @SYMTestExpectedResults Doesn't leave, Url content openned successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0903-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0904-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Alloc failure test of Open file with CVideoPlayerUtility2 object.
-//! @SYMTestActions Alloc failure test of Open file using file handler.
-//! @SYMTestExpectedResults Doesn't leave, File openned successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0904-CP
-TEST_COMPLETE
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_vclnt_u_01_gce_avail_secscreen.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,83 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Creation Date 24/09/2007
-// MMF Video Clients Unit Testing script related to graphics surfaces
-// testframework.exe [path]\[this script name]. It requires no exceptional network support. For WINSCW testing, epoc.ini
-// should set SYMBIAN_GRAPHICS_USE_GCE and the user should run: "perl secdisp_ini_append.pl append". After running the test script,
-// the user should run: "perl secdisp_ini_append.pl restore". The class CVideoUtility2 should be available to the client.
-//
-//
-
-//! @file
-//! @SYMTestSuiteName tsu_mmf_vclnt_01
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
-
-
-PRINT Run all the MMF Video Clients unit tests related to graphics surfaces
-PRINT
-
-// Wait for Window Manager
-DELAY 5000
-
-LOAD_SUITE tsu_mmf_vclnt_01.dll
-
-// positive tests
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1101-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Add display window succeeds when an event handler has been added with different display id as the window's.
-//! @SYMTestActions Add display window on display 0, add event handler on display 1
-//! @SYMTestExpectedResults Doesn't leave, window added successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1101-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1109-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Add two event handlers, make sure events are properly dispatched.
-//! @SYMTestActions Add display handler, add another display handler, generate events.
-//! @SYMTestExpectedResults Doesn't leave. No error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1109-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1114-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Event handler SurfaceCreated callback.
-//! @SYMTestActions Add event handler, generate SurfaceCreated event twice
-//! @SYMTestExpectedResults Event is received in callback twice per display
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1114-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1115-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Event handler SurfaceParametersChanged and RemoveSurfaceEvent callback.
-//! @SYMTestActions Add event handler, generate SurfaceParametersChanged and RemoveSurfaceEvent event
-//! @SYMTestExpectedResults Events are received in callback.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1115-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-// negative tests
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0865-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test AddDisplayWindowL() method with CVideoPlayerUtility2 object.
-//! @SYMTestActions Add display window fails when trying to add a different window.
-//! @SYMTestExpectedResults Leave with KErrInUse.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0865-CP
-TEST_COMPLETE
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_vclnt_u_01_gce_available.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,495 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Creation Date 29/08/2007
-// MMF Video Clients Unit Testing script related to graphics surfaces
-// testframework.exe [path]\[this script name]. It requires no exceptional network support. For WINSCW testing,
-// epoc.ini should set SYMBIAN_GRAPHICS_USE_GCE. The class CVideoUtility2 should be available to the client.
-//
-//
-
-//! @file
-//! @SYMTestSuiteName tsu_mmf_vclnt_01
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
-
-
-PRINT Run all the MMF Video Clients unit tests related to graphics surfaces
-PRINT
-
-// Wait for Window Manager
-DELAY 5000
-
-LOAD_SUITE tsu_mmf_vclnt_01.dll
-
-// Positive test
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0801-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test NewL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Construct a new object, with default priority and preference values.
-//! @SYMTestExpectedResults Doesn't leave, CVideoPlayerUtility2 is constructed successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0801-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0802-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test NewL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Construct a new object, with various non default priority and preference values.
-//! @SYMTestExpectedResults Doesn't leave, CVideoPlayerUtility2 is constructed successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0802-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0803-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test OpenFileL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Open a file with a file name and no controller UID is specified.
-//! @SYMTestExpectedResults Doesn't leave, file openned successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0803-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0804-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test OpenFileL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Open a file with a file name and a controller UID is specified.
-//! @SYMTestExpectedResults Doesn't leave, file openned successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0804-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0805-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test OpenDesL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Open a descriptor with no controller UID is specified.
-//! @SYMTestExpectedResults Doesn't leave, descriptor content openned successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0805-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0806-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test OpenDesL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Open a descriptor with a controller UID is specified.
-//! @SYMTestExpectedResults Doesn't leave, descriptor content openned successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0806-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0807-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test OpenUrlL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Open a url with no controller UID is specified.
-//! @SYMTestExpectedResults Doesn't leave, url content openned successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0807-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0808-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test OpenUrlL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Open a url with a controller UID is specified.
-//! @SYMTestExpectedResults Doesn't leave, url content openned successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0808-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0809-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test OpenFileL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Open a file using file handle with no controller UID is specified.
-//! @SYMTestExpectedResults Doesn't leave, file openned successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0809-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0811-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test OpenFileL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Open a video clip from a file passing TMMFileSource with no controller UID is specified.
-//! @SYMTestExpectedResults Doesn't leave, the video clip openned successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0811-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0815-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test AddDisplayWindowL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Add display window with specific video extent and window clipping rectangle values which is
-completely within the window. Handle event KMMFEventCategoryVideoSurfaceCreated and KMMFEventCategoryVideoSurfaceUpdated.
-//! @SYMTestExpectedResults Doesn't leave, no error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0815-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0816-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test simplified variant AddDisplayWindowL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Add display window with default video extent and window clipping rectangle values. Handle event
-KMMFEventCategoryVideoSurfaceCreated and KMMFEventCategoryVideoSurfaceUpdated.
-//! @SYMTestExpectedResults Doesn't leave, no error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0816-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0817-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test RemoveDisplayWindow() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Remove a previous added display window.
-//! @SYMTestExpectedResults Doesn't leave, no error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0817-CP
-TEST_COMPLETE
-
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0818-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test RemoveDisplayWindow() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Remove a display window but it is not added yet.
-//! @SYMTestExpectedResults Doesn't leave, no error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0818-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0819-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetVideoExtentL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Set the video extent if the surface is created. Otherwise store the extent value.
-//! @SYMTestExpectedResults Doesn't leave, no error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0819-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0820-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetWindowClipRectL() method of CVideoPlayerUtility2 class.
-//! @SYMTestActions Set the window clipping rectangle, relative to the window. The clipping retangle is completely
-within the window.
-//! @SYMTestExpectedResults Doesn't leave, no error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0820-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0821-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test events handling of CVideoPlayerUtility2 class.
-//! @SYMTestActions Handle surface replace sequence consisting of events KMMFEventCategoryVideoSurfaceCreated,
-KMMFEventCategoryVideoSurfaceParametersChanged, KMMFEventCategoryVideoRemoveSurface, and KMMFEventCategoryVideoSurfaceCreated
-//! @SYMTestExpectedResults Doesn't leave, no error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0821-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0822-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test events handling of CVideoPlayerUtility2 class.
-//! @SYMTestActions Handle surface replace sequence consisting of events KMMFEventCategoryVideoSurfaceCreated,
-KMMFEventCategoryVideoSurfaceParametersChanged and KMMFEventCategoryVideoSurfaceCreated
-//! @SYMTestExpectedResults Doesn't leave, no error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0822-CP
-TEST_COMPLETE
-
-// Nagtive test for CVideoUtility2 object when the controller supports graphics surfaces
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0854-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetDisplayWindowL() method with CVideoPlayerUtility2 object.
-//! @SYMTestActions Set display window using CVideoPlayerUtility2 object regardless whether the controller
-supports the graphics surfaces.
-//! @SYMTestExpectedResults Returns with KErrNotSupported.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0854-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0855-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetInitScreenNumberL() method with CVideoPlayerUtility2 object.
-//! @SYMTestActions Set initial screen number using CVideoPlayerUtility2 object regardless whether the controller
-supports the graphics surfaces.
-//! @SYMTestExpectedResults Returns with KErrNotSupported.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0855-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0856-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test AddDisplayWindowL() method with CVideoPlayerUtility2 object.
-//! @SYMTestActions Add display window fails when the same window is already displayed.
-//! @SYMTestExpectedResults Returns with KErrInUse.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0856-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0857-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test AddDisplayWindowL() method with CVideoPlayerUtility2 object.
-//! @SYMTestActions Add display window fails when the source has not been opened.
-//! @SYMTestExpectedResults Returns with KErrNotReady.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0857-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0858-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test simplified variant of AddDisplayWindowL() method with CVideoPlayerUtility2 object.
-//! @SYMTestActions Add display window fails when one window is already displayed.
-//! @SYMTestExpectedResults Returns with KErrInUse.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0858-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0859-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test simplified variant of AddDisplayWindowL() method with CVideoPlayerUtility2 object.
-//! @SYMTestActions Add display window fails when the source has not been opened.
-//! @SYMTestExpectedResults Returns with KErrNotReady.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0859-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0860-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test AddDisplayWindowL() method with CVideoPlayerUtility2 object.
-//! @SYMTestActions Add display window fails when the cripping rectangle is not completely contained
-// within the window.
-//! @SYMTestExpectedResults Returns with KErrArgument.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0860-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0861-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetVideoExtentL() method with CVideoPlayerUtility2 object.
-//! @SYMTestActions Set video extent fails when the source has not been opened.
-//! @SYMTestExpectedResults Returns with KErrNotReady.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0861-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0862-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetWindowClipRectL() method with CVideoPlayerUtility2 object.
-//! @SYMTestActions Set window clipping rectangle when one window is already displayed.
-//! @SYMTestExpectedResults Returns with KErrNotReady.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0862-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0863-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetWindowClipRectL() method with CVideoPlayerUtility2 object.
-//! @SYMTestActions Set window clipping rectangle when the clipping rectangle is not contained within the window.
-//! @SYMTestExpectedResults Returns with KErrArgument.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0863-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-DEVVIDEOCI-U-0864-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test StartDirectScreenAccessL() and StopDirectScreenAccessLmethod with CVideoPlayerUtility2 object.
-//! @SYMTestActions Start and stop direct access using CVideoPlayerUtility2.
-//! @SYMTestExpectedResults Returns with KErrNotSupported.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-0864-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1000-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility.
-//! @SYMTestActions Open and play a file with autoscale
-//! @SYMTestExpectedResults Plays a video file with no errors.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1000-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1001-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility.
-//! @SYMTestActions Open and play a file with autoscale
-//! @SYMTestExpectedResults Plays a video file with no errors.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1001-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1002-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility.
-//! @SYMTestActions Open and play a file with autoscale
-//! @SYMTestExpectedResults Plays a video file with no errors.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1002-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1003-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility.
-//! @SYMTestActions Open and play a file with autoscale
-//! @SYMTestExpectedResults Plays a video file with no errors.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1003-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1004-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility2.
-//! @SYMTestActions Open and play a file with autoscale
-//! @SYMTestExpectedResults Plays a video file with no errors.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1004-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1005-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility2.
-//! @SYMTestActions Open and play a file with autoscale
-//! @SYMTestExpectedResults Plays a video file with no errors.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1005-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1006-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility2.
-//! @SYMTestActions Open and play a file with autoscale
-//! @SYMTestExpectedResults Plays a video file with no errors.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1006-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1007-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility2.
-//! @SYMTestActions Open and play a file with autoscale
-//! @SYMTestExpectedResults Plays a video file with no errors.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1007-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1100-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Add display window succeeds when an event handler has been added with the same display id as the window's.
-//! @SYMTestActions Add display window with display id 0, add event handler with display id 0
-//! @SYMTestExpectedResults Doesn't leave, window added successfully.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1100-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1102-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Event handler SurfaceCreated callback.
-//! @SYMTestActions Add event handler, generate SurfaceCreated event
-//! @SYMTestExpectedResults Event is received in callback.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1102-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1104-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Event handler SurfaceParametersChanged callback.
-//! @SYMTestActions Add event handler, generate SurfaceParametersChanged event
-//! @SYMTestExpectedResults Event is received in callback.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1104-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1106-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Event handler is added after surface is created.
-//! @SYMTestActions Generate SurfaceCreated event, add event handler to display id 0
-//! @SYMTestExpectedResults SurfaceCreated event callback is received by event handler.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1106-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1107-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Removing event handler and window will remove display correctly.
-//! @SYMTestActions Add event handler on display id 0, add display window on display id 0, remove display, remove display window
-//! @SYMTestExpectedResults Doesn't leave. No error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1107-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1108-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Adding event handler and adding window and removing event handler before event is received.
-//! @SYMTestActions Add event handler on display 0, add display window on display 0, remove event handler, generate SurfaceCreated
-//! @SYMTestExpectedResults Doesn't leave. No error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1108-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1110-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Add event handler, remove event handler.
-//! @SYMTestActions Add event handler on display 0, remove event handler on display 0
-//! @SYMTestExpectedResults Doesn't leave. No error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1110-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1111-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Stress test, call AddDisplayWindowL and AddDisplay followed by RemoveDisplayWindow and RemoveDisplay 10 times
-//! @SYMTestActions Add display window, add display, remove display window, remove display.
-//! @SYMTestExpectedResults Doesn't leave. No error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1111-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1112-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Event handler SurfaceCreated callback.
-//! @SYMTestActions Add event handler, generate SurfaceCreated event twice
-//! @SYMTestExpectedResults Event is received in callback twice
-//! @SYMTestPriority High
- RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1112-CP \mm\tsu_mmf_vclnt_01.ini
- TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1113-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Event handler SurfaceParametersChanged and RemoveSurfaceEvent callback.
-//! @SYMTestActions Add event handler, generate SurfaceParametersChanged and RemoveSurfaceEvent event
-//! @SYMTestExpectedResults Events are received in callback.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1113-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1200-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Add window fails to add the same window again.
-//! @SYMTestActions Add window on display 0, add the same window again
-//! @SYMTestExpectedResults Fails with KErrInUse
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1200-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1201-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Add event handler fails to add event handler for the same display.
-//! @SYMTestActions Add event handler on display 0, add event handler on display 0 again
-//! @SYMTestExpectedResults Fails with KErrInUse
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1201-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1202-CP
-//! @SYMREQ REQ9475
-//! @SYMTestCaseDesc Add event handler fails to add before controller has been opened.
-//! @SYMTestActions Add event handler without opening file first.
-//! @SYMTestExpectedResults Fails with KErrNotReady
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1202-CP \mm\tsu_mmf_vclnt_01.ini
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_vclnt_u_01_gce_unavailable.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Creation Date 29/07/2002
-// MMF Video Clients Unit Testing script related to graphics surfaces
-//
-//
-
-//! @file
-//! @SYMTestSuiteName TSU_MMF_VCLNT_01
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework using the following test list entry:
-testframework.exe [path]\[this script name]. It requires no exceptional network support. For WINSCW testing, epoc.ini should not set SYMBIAN_GRAPHICS_USE_GCE. The class CVideoUtility2 should be available to the client.
-//////////////////////////
-
-
-PRINT Run MMF Video Clients CVideoUtility2 negative unit tests
-PRINT
-
-// Wait for Window Manager
-DELAY 5000
-
-LOAD_SUITE TSU_MMF_VCLNT_01.dll
-
-// Nagtive test for CVideoUtility2 object when the controller doesn't support graphics surfaces
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0850-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test OpenFileL() method using CVideoPlayerUtility2.
-//! @SYMTestActions Open file when the controller doesn't support graphics surface use
-//! @SYMTestExpectedResults Fails with KErrNotSupport.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0850-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0851-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test OpenDesL() method using CVideoPlayerUtility2.
-//! @SYMTestActions Open descriptor when the controller doesn't support graphics surface use
-//! @SYMTestExpectedResults Fails with KErrNotSupport.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0851-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0852-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test OpenUrlL() method using CVideoPlayerUtility2.
-//! @SYMTestActions Open URL when the controller doesn't support graphics surface use
-//! @SYMTestExpectedResults Fails with KErrNotSupport.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0852-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-0853-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test OpenFileL() method using CVideoPlayerUtility2.
-//! @SYMTestActions Open file using file handle when the controller doesn't support graphics surface use
-//! @SYMTestExpectedResults Fails with KErrNotSupport.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-0853-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1004-CP
-//! @SYMREQ REQ7418
-//! @SYMTestCaseDesc Test SetAutoScale() method using CVideoPlayerUtility2.
-//! @SYMTestActions Open and play a file with autoscale
-//! @SYMTestExpectedResults Fails with KErrNotSupport.
-//! @SYMTestPriority High
-RUN_TEST_STEP -1, TSU_MMF_VCLNT_01, MM-MMF-VCLNT-U-1004-CP \mm\tsu_mmf_vclnt_01_gce_unavailable.ini
-TEST_COMPLETE
\ No newline at end of file
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_vclnt_u_01_subtitle_gce_on.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,130 +0,0 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MMF Video Clients Unit Testing script related to subtitles
-// testframework.exe [path]\[this script name]. It requires no exceptional network support.
-// The class CVideoPlayerUtility2 should be available to the client.
-//
-//
-
-//! @file
-//! @SYMTestSuiteName tsu_mmf_vclnt_01
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
-
-PRINT Run all the MMF Video Clients unit tests related to subtitles
-PRINT
-
-LOAD_SUITE tsu_mmf_vclnt_01.dll
-
-// Positive test
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1300-CP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Check subtitles availability when subtitle is available
-//! @SYMTestActions Check for subtitle
-//! @SYMTestExpectedResults SubtitlesAvailable return ETrue
-//! @SYMTestPriority Critical
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1300-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1301-CP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Enable and disable subtitle
-//! @SYMTestActions Add display window, then enable subtitle, then disable subtitle.
-//! Then enable subtitle and disable subtitle again
-//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles and
-//! AddSubtitleConfig with proper config should be called in the controller,
-//! then event CRP ready is received. After subtitle is disabled, DisableSubtitles
-//! and RemoveSubtitleConfig should be called in the controller.
-//! @SYMTestPriority Critical
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1301-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1302-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Redraw subtitle
-//! @SYMTestActions Add display window, then enable subtitle. After CRP
-//! ready is received, call redraw subtitle on the added display window and another display window
-//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles and AddSubtitleConfig
-//! with proper config should be called in the controller, then event CRP ready is received.
-//! Then send a CRP ready event to client API with unexpected window handle and the event should be ignored.
-//! @SYMTestPriority High
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1302-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1303-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Redraw subtitle when CRP is not ready
-//! @SYMTestActions Add display window, then enable subtitle, and call redraw subtitle on
-//! the added display window but CRP ready is not received yet
-//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles and AddSubtitleConfig
-//! with proper config should be called in the controller. The event CRP ready is not received,
-//! so redraw subtitle will be ignored.
-//! @SYMTestPriority High
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1303-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1308-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Get supported subtitle language and subtitle language
-//! @SYMTestActions Add display window, then enable subtitle. Then get supported subtitle
-//! language, set and get subtitle language,
-//! @SYMTestExpectedResults Doesn't leave. No error returned.
-//! @SYMTestPriority High
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1308-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1309-HP
-//! @SYMREQ REQ9901 REQ9906
-//! @SYMTestCaseDesc Enable subtitle and change rotation setting
-//! @SYMTestActions Add 1 display window, then enable subtitle, and change rotation to
-//! same and different rotation settings. Also try redrawing when CRP ready is not received yet.
-//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles should be called in
-//! the controller, and AddSubtitleConfig with proper config should be called. After rotation
-//! is set, UpdateSubtitleConfig with proper config should be called in the controller. When
-//! new rotation setting is same as old setting, UpdateSubtitleConfig call is not expected.
-//! @SYMTestPriority High
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1309-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1310-HP
-//! @SYMREQ REQ9901 REQ9906
-//! @SYMTestCaseDesc Enable subtitle and change window clip rect setting
-//! @SYMTestActions Add 1 display window, then enable subtitle, and change window clip rect
-//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles should be called in
-//! the controller, and AddSubtitleConfig with proper config should be called. After window
-//! clip rect is set, UpdateSubtitleConfig with proper config should be called in the controller.
-//! When clip rec setting is same as old setting, UpdateSubtitleConfig call is not expected
-//! @SYMTestPriority High
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1310-HP
-TEST_COMPLETE
-
-// Negative test
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1352-MP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Enable subtitle twice
-//! @SYMTestActions Add display window, then enable subtitle twice
-//! @SYMTestExpectedResults Leave with KErrInUse on the second enable call
-//! @SYMTestPriority Medium
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1352-MP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1358-LP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Redraw subtitle when subtitle is not enabled
-//! @SYMTestActions Subtitle is not enabled, and call redraw subtitle
-//! @SYMTestExpectedResults Doesn't leave. No error returned. The call is ignored
-//! @SYMTestPriority Low
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1358-LP
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_vclnt_u_01_subtitle_gce_on_secscreen.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MMF Video Clients Unit Testing script related to subtitles and secondary screen
-// testframework.exe [path]\[this script name]. It requires no exceptional network support. For WINSCW testing,
-// the user should run:
-// perl secdisp_ini_append.pl append secdisp /epoc.extra /wsini.extra
-// After running the test script, the user should run:
-// perl secdisp_ini_append.pl restore secdisp
-// The class CVideoUtility2 should be available to the client.
-//
-//
-
-//! @file
-//! @SYMTestSuiteName tsu_mmf_vclnt_01
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
-
-PRINT Run all the MMF Video Clients unit tests related to subtitles and secondary screen
-PRINT
-
-LOAD_SUITE tsu_mmf_vclnt_01.dll
-
-// Positive test
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1304-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Enable and disable subtitle with multiple windows on multiple screen
-//! @SYMTestActions Add 3 display windows, then enable subtitle, and then call redraw
-//! subtitle on the third window, then disable subtitle
-//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles should be called
-//! in the controller, and AddSubtitleConfig with proper config should be called 3 times,
-//! then event CRP ready is received 2 times. DisableSubtitles should be called and
-//! RemoveSubtitleConfig called 2 times in the controller.
-//! @SYMTestPriority High
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1304-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1305-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Enable subtitle and add and remove multiple windows on multiple screen
-//! @SYMTestActions Add 1 display window, then enable subtitle, and then add 2 more display
-//! windows, call redraw subtitle on the third window, and remove the second and third display
-//! window, then disable subtitle, then disable subtitle
-//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles should be called in
-//! the controller, and AddSubtitleConfig with proper config should be called 3 times, then
-//! event CRP ready is received 2 times. After window is removed, RemoveSubtitleConfig should
-//! be called in the controller. After subtitle is disabled, DisableSubtitles and
-//! RemoveSubtitleConfig should be called in the controller.
-//! @SYMTestPriority High
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1305-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1306-MP
-//! @SYMREQ REQ9901 REQ9906
-//! @SYMTestCaseDesc Enable subtitle with multiple window on multiple screen and change rotation setting
-//! @SYMTestActions Add 2 display window, then enable subtitle, and change rotation to same
-//! and different rotation settings. Also try redrawing when CRP ready is not received yet.
-//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles should be called
-//! in the controller, and AddSubtitleConfig with proper config should be called. After
-//! rotation is set, UpdateSubtitleConfig with proper config should be called in the controller.
-//! When new rotation setting is same as old setting, UpdateSubtitleConfig call is not expected.
-//! @SYMTestPriority Medium
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1306-MP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1307-MP
-//! @SYMREQ REQ9901 REQ9906
-//! @SYMTestCaseDesc Enable subtitle with multiple window on multiple screen and change window clip rect setting
-//! @SYMTestActions Add 2 display window, then enable subtitle, and change window clip rect
-//! @SYMTestExpectedResults Doesn't leave. No error returned. EnableSubtitles should be called in
-//! the controller, and AddSubtitleConfig with proper config should be called. After window
-//! clip rect is set, UpdateSubtitleConfig with proper config should be called in the controller.
-//! When clip rec setting is same as old setting, UpdateSubtitleConfig call is not expected
-//! @SYMTestPriority Medium
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1307-MP
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MMF Video Clients Unit Testing script related to subtitles in debug mode
-// testframework.exe [path]\[this script name]. It requires no exceptional network support.
-// The class CVideoPlayerUtility2 should be available to the client.
-//
-//
-
-//! @file
-//! @SYMTestSuiteName tsu_mmf_vclnt_01
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
-
-PRINT Run the negative MMF Video Clients unit tests related to subtitles in udeb mode
-PRINT
-
-LOAD_SUITE tsu_mmf_vclnt_01.dll
-
-// Positive test
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1350-CP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Check subtitle availability and try to enable subtitle when not available
-//! @SYMTestActions Construct a new CVideoPlayerUtility2 object, open a file with subtitle
-//! not available, then check for subtitle and try to enable subtitle
-//! @SYMTestExpectedResults SubtitlesAvailable return EFalse. EnableSubtitles panic in udeb,
-//! leave with KErrNotFound in urel
-//! @SYMTestPriority Critical
-RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1350-CP, MMFVideoPlayUtil, 2
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1351-CP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Check subtitle availablility and try to enable subtitle without openning a source
-//! @SYMTestActions Construct a new CVideoPlayerUtility2 object with no source opened, then check
-//! for subtitle and try to enable subtitle
-//! @SYMTestExpectedResults SubtitlesAvailable return EFalse. EnableSubtitles panic in udeb,
-//! leave with KErrNotReady in urel
-//! @SYMTestPriority Critical
-RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1351-CP, MMFVideoPlayUtil, 1
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1353-CP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Enable subtitle without adding display window
-//! @SYMTestActions Enable subtitle without adding display window
-//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
-//! @SYMTestPriority Critical
-RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1353-CP, MMFVideoPlayUtil, 3
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1354-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Get supported subtitle language when subtitle is not enabled
-//! @SYMTestActions Subtitle is not enabled, try to get supported subtitle language
-//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
-//! @SYMTestPriority High
-RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1354-HP, MMFVideoPlayUtil, 4
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1355-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Get subtitle language when subtitle is not enabled
-//! @SYMTestActions Subtitle is not enabled, try to get subtitle language.
-//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
-//! @SYMTestPriority High
-RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1355-HP, MMFVideoPlayUtil, 4
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1356-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Set subtitle language when subtitle is not enabled
-//! @SYMTestActions Subtitle is not enabled, try to set subtitle language.
-//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
-//! @SYMTestPriority High
-RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1356-HP, MMFVideoPlayUtil, 4
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1357-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Get and set subtitle language when subtitle language is not available
-//! @SYMTestActions Construct a new CVideoPlayerUtility2 object, open a file with subtitle
-//! available but no subtitle language and add display window, then enable subtitle. Then get
-//! supported subtitle language, set and get subtitle language,
-//! @SYMTestExpectedResults SupportedSubtitleLanguagesL return empty array, SubtitleLanguageL
-//! return TLangNone, SetSubtitleLanguage panic in udeb and leave with KErrNotSupported in urel
-//! @SYMTestPriority High
-RUN_PANIC_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1357-HP, MMFVideoPlayUtil, 5
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/scripts/tsu_mmf_vclnt_u_01_subtitle_gce_on_urel.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MMF Video Clients Unit Testing script related to subtitles in release mode
-// testframework.exe [path]\[this script name]. It requires no exceptional network support.
-// The class CVideoPlayerUtility2 should be available to the client.
-//
-//
-
-//! @file
-//! @SYMTestSuiteName tsu_mmf_vclnt_01
-//! @SYMScriptTestEnvironment This test runs using multimedia test framework with the following test list entry:
-
-PRINT Run the negative MMF Video Clients unit tests related to subtitles in udeb mode
-PRINT
-
-LOAD_SUITE tsu_mmf_vclnt_01.dll
-
-// Negative test
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1350-CP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Check subtitle availability and try to enable subtitle when not available
-//! @SYMTestActions Construct a new CVideoPlayerUtility2 object, open a file with subtitle
-//! not available, then check for subtitle and try to enable subtitle
-//! @SYMTestExpectedResults SubtitlesAvailable return EFalse. EnableSubtitles panic in udeb,
-//! leave with KErrNotFound in urel
-//! @SYMTestPriority Critical
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1350-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1351-CP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Check subtitle availablility and try to enable subtitle without openning a source
-//! @SYMTestActions Construct a new CVideoPlayerUtility2 object with no source opened, then check
-//! for subtitle and try to enable subtitle
-//! @SYMTestExpectedResults SubtitlesAvailable return EFalse. EnableSubtitles panic in udeb,
-//! leave with KErrNotReady in urel
-//! @SYMTestPriority Critical
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1351-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1353-CP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Enable subtitle without adding display window
-//! @SYMTestActions Enable subtitle without adding display window
-//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
-//! @SYMTestPriority Critical
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1353-CP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1354-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Get supported subtitle language when subtitle is not enabled
-//! @SYMTestActions Subtitle is not enabled, try to get supported subtitle language
-//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
-//! @SYMTestPriority High
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1354-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1355-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Get subtitle language when subtitle is not enabled
-//! @SYMTestActions Subtitle is not enabled, try to get subtitle language.
-//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
-//! @SYMTestPriority High
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1355-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1356-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Set subtitle language when subtitle is not enabled
-//! @SYMTestActions Subtitle is not enabled, try to set subtitle language.
-//! @SYMTestExpectedResults Panic in udeb, leave with KErrNotReady in urel
-//! @SYMTestPriority High
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1356-HP
-TEST_COMPLETE
-
-//! @SYMTestCaseID MM-MMF-VCLNT-U-1357-HP
-//! @SYMREQ REQ9901
-//! @SYMTestCaseDesc Get and set subtitle language when subtitle language is not available
-//! @SYMTestActions Construct a new CVideoPlayerUtility2 object, open a file with subtitle
-//! available but no subtitle language and add display window, then enable subtitle. Then get
-//! supported subtitle language, set and get subtitle language,
-//! @SYMTestExpectedResults SupportedSubtitleLanguagesL return empty array, SubtitleLanguageL
-//! return TLangNone, SetSubtitleLanguage panic in udeb and leave with KErrNotSupported in urel
-//! @SYMTestPriority High
-RUN_TEST_STEP 180000, tsu_mmf_vclnt_01, MM-MMF-VCLNT-U-1357-HP
-TEST_COMPLETE
--- a/mmlibs/mmfw/tsrc/mmfunittest/srssnk/TSU_MMF_SRSSNK.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/srssnk/TSU_MMF_SRSSNK.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -5919,8 +5919,8 @@
// Test valid uid, invalid descriptor.
- // Note using a thread ID of 0 behaves differently on Jetstream so this
- // test has been commented out.
+ // Note using a thread ID of 0 behaves differently on streaming so this
+ // test has been removed.
// configDes().iDesThreadId = 0;
// TNewSourceTestStep testStep5(KUidMmfDescriptorSource, configDes);
@@ -5928,7 +5928,7 @@
// Test invalid (sink) uid.
// Note that ECom has no way of validating that Uids are of the correct type,
- // so this test is commented out. (It causes an unhandled exception)
+ // so this test is removed. (It causes an unhandled exception)
// TNewSourceTestStep testStep6(KUidMmfDescriptorSink, configDes);
// DoTest(testStep6, _L("Construct descriptor source"), KErrNotFound);
@@ -6099,7 +6099,7 @@
// Test invalid (source) uid.
// Note that ECom has no way of validating that Uids are of the correct type,
- // so this test is commented out. (It causes an unhandled exception)
+ // so this test is removed. (It causes an unhandled exception)
// TNewSinkTestStep testStep6(KUidMmfDescriptorSource, configDes);
// DoTest(testStep6, _L("Construct descriptor sink"), KErrNotFound);
@@ -10629,7 +10629,7 @@
// Test that the audio source is initialised correctly.
CMMFAudioInput* sourceAudioInput = STATIC_CAST(CMMFAudioInput*, source);
- // [TBD] These fns. go bang after construction. This is not good.
+ // XXX These fns. go bang after construction. This is not good.
// They are ok, provided we have logged on and called SourcePrimeL().
#ifndef SYMBIAN_MULTIMEDIA_A3FDEVSOUND
if (sourceAudioInput->SoundDevice().Volume() != 0)
@@ -10940,8 +10940,8 @@
TAudioInputFillBuffer2TestStep testStep3(source, validBuffer, dummySink);
DoTest(testStep3, _L("Audio Input: FillBufferL"), KErrNone,expectedAllocs);
- // Valid fill buffer. (Make multiple requests at once)
- // Commented out because the audio input currently doesn't support multiple requests.
+ // XXX Valid fill buffer. (Make multiple requests at once)
+ // removed below lines because the audio input currently doesn't support multiple requests.
// TAudioInputFillBuffer3TestStep testStep4(source, validBuffer, dummySink);
// DoTest(testStep4, _L("Audio Input: FillBufferL"), KErrNone);
@@ -10956,8 +10956,8 @@
TAudioInputFillBuffer5TestStep testStep6(validBuffer, dummySink);
DoTest(testStep6, _L("Audio Input: FillBufferL"), KErrNone);
- // Valid fill buffer. (Make multiple requests at once)
- // Commented out because the audio input currently doesn't support multiple requests.
+ // xxx Valid fill buffer. (Make multiple requests at once)
+ // removed below lines because the audio input currently doesn't support multiple requests.
// TAudioInputFillBuffer6TestStep testStep7(validBuffer, dummySink);
// DoTest(testStep7, _L("Audio Input: FillBufferL"), KErrNone);
@@ -11412,8 +11412,8 @@
TAudioOutputEmptyBuffer2TestStep testStep3(sink, validBuffer, dummySource);
DoTest(testStep3, _L("Audio Output: EmptyBufferL"), KErrNone, KDevSoundAllocs);
- // Valid empty buffer. (Make multiple requests at once)
- // Commented out because the audio output currently doesn't support multiple requests.
+ // xxx Valid empty buffer. (Make multiple requests at once)
+ // removed below lines because the audio output currently doesn't support multiple requests.
// TAudioOutputFillBuffer3TestStep testStep4(sink, validBuffer, dummySource);
// DoTest(testStep4, _L("Audio Output: EmptyBufferL"), KErrNone);
@@ -11435,8 +11435,8 @@
// TAudioOutputEmptyBuffer5TestStep testStep6(validBuffer, dummySource, *realFormat);
// DoTest(testStep6, _L("Audio Output: EmptyBufferL"), KErrNone, 0);
- // Valid empty buffer. (Make multiple requests at once)
- // Commented out because the audio output currently doesn't support multiple requests.
+ // xxx Valid empty buffer. (Make multiple requests at once)
+ // removed below lines because the audio output currently doesn't support multiple requests.
// TAudioOutputEmptyBuffer6TestStep testStep7(validBuffer, dummySource);
// DoTest(testStep7, _L("Audio Output: EmptyBufferL"), KErrNone);
--- a/mmlibs/mmfw/tsrc/mmfunittest/srssnk/group/unittest_srssnk_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/srssnk/group/unittest_srssnk_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -13,7 +13,65 @@
// Description:
//*Files (scripts, data, etc.) To Copy...<src> <destination>
-"\epoc32\release\armv5\urel\tsu_mmf_srssnk.dll"-"c:\sys\bin\tsu_mmf_srssnk.dll"
+"\epoc32\release\armv5\udeb\tsu_mmf_srssnk.dll"-"c:\sys\bin\tsu_mmf_srssnk.dll"
+
+"\epoc32\release\armv5\urel\mmfmp3format.dll"-"c:\sys\bin\mmfmp3format.dll"
+"\epoc32\localisation\101f7d99\rsc\101f7d99.rpp"-"c:\localisation\101f7d99\rsc\101f7d29.rpp"
+"\epoc32\localisation\group\101f7d99.info"-"c:\localisation\group\101f7d99.info"
+"\epoc32\data\z\resource\plugins\mmfmp3format.rsc"-"c:\resource\plugins\mmfmp3format.rsc"
+
+"\epoc32\localisation\101f7d9a\rsc\101f7d9a.rpp"-"c:\localisation\101f7d9a\rsc\101f7d9a.rpp"
+"\epoc32\localisation\group\101f7d9a.info"-"c:\localisation\group\101f7d9a.info"
+"\epoc32\data\z\resource\plugins\mmfmp3nullcodec.rsc"-"c:\resource\plugins\mmfmp3nullcodec.rsc"
+
+"\epoc32\release\armv5\urel\ts_cmmfdummytestcontroller.dll"-"c:\sys\bin\ts_cmmfdummytestcontroller.dll"
+"\epoc32\localisation\10273816\rsc\10273816.rpp"-"c:\localisation\10273816\rsc\10273816.rpp"
+"\epoc32\localisation\group\10273816.info"-"c:\localisation\group\10273816.info"
+"\epoc32\data\z\resource\plugins\ts_cmmfdummytestcontroller.rsc"-"c:\resource\plugins\ts_cmmfdummytestcontroller.rsc"
+
+"\epoc32\release\armv5\urel\ts_cmmftestconstructcontroller.dll"-"c:\sys\bin\ts_cmmftestconstructcontroller.dll"
+"\epoc32\localisation\102834be\rsc\102834be.rpp"-"c:\localisation\102834be\rsc\102834be.rpp"
+"\epoc32\localisation\group\102834be.info"-"c:\localisation\group\102834be.info"
+"\epoc32\data\z\resource\plugins\ts_cmmftestconstructcontroller.rsc"-"c:\resource\plugins\ts_cmmftestconstructcontroller.rsc"
+
+"\epoc32\release\armv5\urel\ts_cmmftestterminationcontroller.dll"-"c:\sys\bin\ts_cmmftestterminationcontroller.dll"
+"\epoc32\localisation\102833fd\rsc\102833fd.rpp"-"c:\localisation\102833fd\rsc\102833fd.rpp"
+"\epoc32\localisation\group\102833fd.info"-"c:\localisation\group\102833fd.info"
+"\epoc32\data\z\resource\plugins\ts_cmmftestterminationcontroller.rsc"-"c:\resource\plugins\ts_cmmftestterminationcontroller.rsc"
+
+"\epoc32\release\armv5\urel\ts_cmmftestcontroller.dll"-"c:\sys\bin\ts_cmmftestcontroller.dll"
+"\epoc32\localisation\101f7790\rsc\101f7790.rpp"-"c:\localisation\101f7790\rsc\101f7790.rpp"
+"\epoc32\localisation\group\101f7790.info"-"c:\localisation\group\101f7790.info"
+"\epoc32\data\z\resource\plugins\ts_cmmftestcontroller.rsc"-"c:\resource\plugins\ts_cmmftestcontroller.rsc"
+
+"\epoc32\release\armv5\urel\ts_mmftestdatasink.dll"-"c:\sys\bin\ts_mmftestdatasink.dll"
+"\epoc32\localisation\101f7792\rsc\101f7792.rpp"-"c:\localisation\101f7792\rsc\101f7792.rpp"
+"\epoc32\localisation\group\101f7792.info"-"c:\localisation\group\101f7792.info"
+"\epoc32\data\z\resource\plugins\ts_mmftestdatasink.rsc"-"c:\resource\plugins\ts_mmftestdatasink.rsc"
+
+"\epoc32\release\armv5\urel\ts_mmftestdatasinkb.dll"-"c:\sys\bin\ts_mmftestdatasinkb.dll"
+"\epoc32\localisation\101f789f\rsc\101f789f.rpp"-"c:\localisation\101f789f\rsc\101f789f.rpp"
+"\epoc32\localisation\group\101f789f.info"-"c:\localisation\group\101f789f.info"
+"\epoc32\data\z\resource\plugins\ts_mmftestdatasinkb.rsc"-"c:\resource\plugins\ts_mmftestdatasinkb.rsc"
+
+"\epoc32\release\armv5\urel\ts_mmftestdatasource.dll"-"c:\sys\bin\ts_mmftestdatasource.dll"
+"\epoc32\localisation\101f7791\rsc\101f7791.rpp"-"c:\localisation\101f7791\rsc\101f7791.rpp"
+"\epoc32\localisation\group\101f7791.info"-"c:\localisation\group\101f7791.info"
+"\epoc32\data\z\resource\plugins\ts_mmftestdatasource.rsc"-"c:\resource\plugins\ts_mmftestdatasource.rsc"
+
+"\epoc32\release\armv5\urel\ts_mmftestdatasourceb.dll"-"c:\sys\bin\ts_mmftestdatasourceb.dll"
+"\epoc32\localisation\101f789e\rsc\101f789e.rpp"-"c:\localisation\101f789e\rsc\101f789e.rpp"
+"\epoc32\localisation\group\101f789e.info"-"c:\localisation\group\101f789e.info"
+"\epoc32\data\z\resource\plugins\ts_mmftestdatasourceb.rsc"-"c:\resource\plugins\ts_mmftestdatasourceb.rsc"
+
+"\epoc32\release\armv5\urel\custommmfaudiocontroller.dll"-"c:\sys\bin\custommmfaudiocontroller.dll"
+"\epoc32\localisation\101f7d29\rsc\101f7d29.rpp"-"c:\localisation\101f7d29\rsc\101f7d29.rpp"
+"\epoc32\localisation\group\101f7d29.info"-"c:\localisation\group\101f7d29.info"
+"\epoc32\data\z\resource\plugins\custommmfaudiocontroller.rsc"-"c:\resource\plugins\custommmfaudiocontroller.rsc"
+
+"\epoc32\release\armv5\urel\tsu_mmf_ctlfrm.dll"-"c:\sys\bin\tsu_mmf_ctlfrm.dll"
+"\epoc32\release\armv5\udeb\tsu_mmf_ctlfrm_sdrm.dll"-"c:\sys\bin\tsu_mmf_ctlfrm_sdrm.dll"
+"\epoc32\release\armv5\urel\ts_cmmftestcustomcommands.dll"-"c:\sys\bin\ts_cmmftestcustomcommands.dll"
// script files
"\sf\os\mm\mmlibs\mmfw\tsrc\mmfunittest\srssnk\TSU_MMF_SRSSNK_ALLOC.script"-"c:\TSU_MMF_SRSSNK_ALLOC.script"
--- a/mmlibs/mmfw/tsrc/mmfunittest/swcdwrap/TSU_MMF_SWCDWRAP_StepStartDecode.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/swcdwrap/TSU_MMF_SWCDWRAP_StepStartDecode.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -145,7 +145,7 @@
TVerdict CTestStep_MMF_SWCDWRAP_U_0010::DoTestStepL( void )
/**
* Use case: N/A
- * Use Start() to play one incomplete buffer synchronously
+ * Use Start() to play one not completed buffer synchronously
* buffer size < codec buffer size
* @test Req. under test REQ1931.2
*/
@@ -257,7 +257,7 @@
TVerdict CTestStep_MMF_SWCDWRAP_U_0012::DoTestStepL( void )
/**
* Use case: N/A
- * Use Start() to play five complete and 1 incomplete buffers synchronously
+ * Use Start() to play five complete and 1 not completed buffers synchronously
* @test Req. under test REQ1931.2
*/
{
@@ -280,7 +280,7 @@
verdict = EFail;
}
if (iHwDeviceObserver->NumberOfBuffersObserved() != 6)
- {//expected 6 buffers 5 complete + 1 incomplete buffer
+ {//expected 6 buffers 5 complete + 1 not completed buffer
INFO_PRINTF1(_L("incorrect number of buffers"));
verdict = EFail;
}
@@ -1142,7 +1142,7 @@
TVerdict CTestStep_MMF_SWCDWRAP_U_0040::DoTestStepL( void )
/**
* Use case: N/A
- * Use Start() to play one incomplete buffer synchronously using 2:1 codec
+ * Use Start() to play one not completed buffer synchronously using 2:1 codec
* buffer size < codec buffer size
* @test Req. under test REQ1931.2
*/
@@ -1254,7 +1254,7 @@
TVerdict CTestStep_MMF_SWCDWRAP_U_0042::DoTestStepL( void )
/**
* Use case: N/A
- * Use Start() to play five complete and 1 incomplete buffers synchronously using 2:1 codec
+ * Use Start() to play five complete and 1 not completed buffers synchronously using 2:1 codec
* buffer size < codec buffer size
* @test Req. under test REQ1931.2
*/
@@ -1278,7 +1278,7 @@
verdict = EFail;
}
if (iHwDeviceObserver->NumberOfBuffersObserved() != 6)
- {//expected 6 buffers 5 complete + 1 incomplete buffer
+ {//expected 6 buffers 5 complete + 1 not completed buffer
INFO_PRINTF1(_L("incorrect number of buffers"));
verdict = EFail;
}
--- a/mmlibs/mmfw/tsrc/mmfunittest/videorenderer/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/videorenderer/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -20,8 +20,8 @@
../scripts/tsu_mmf_videorenderer.script c:/mm/tsu_mmf_videorenderer.script
../scripts/tsu_mmf_videorenderer_debug.script c:/mm/tsu_mmf_videorenderer_debug.script
-../inc/tsu_mmf_videorenderer.iby /epoc32/rom/include/tsu_mmf_videorenderer.iby
-../inc/tsu_mmf_videorenderer_excl_test.iby /epoc32/rom/include/tsu_mmf_videorenderer_excl_test.iby
+../group/tsu_mmf_videorenderer.iby /epoc32/rom/include/tsu_mmf_videorenderer.iby
+../group/tsu_mmf_videorenderer_excl_test.iby /epoc32/rom/include/tsu_mmf_videorenderer_excl_test.iby
PRJ_TESTMMPFILES
../mmpfiles/tsu_mmf_videorenderer.mmp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/videorenderer/group/tsu_mmf_videorenderer.iby Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,25 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef TSU_MMF_VIDEORENDERER_IBY
+#define TSU_MMF_VIDEORENDERER_IBY
+
+#include <tsu_mmf_videorenderer_excl_test.iby>
+
+data=DATAC_\mm\tsu_mmf_videorenderer.script \tsu_mmf_videorenderer.script
+data=DATAC_\mm\tsu_mmf_videorenderer_debug.script \tsu_mmf_videorenderer_debug.script
+
+#endif // TSU_MMF_VIDEORENDERER_IBY
+
--- a/mmlibs/mmfw/tsrc/mmfunittest/videorenderer/group/tsu_mmf_videorenderer_data.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmfunittest/videorenderer/group/tsu_mmf_videorenderer_data.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -15,4 +15,3 @@
;
"\epoc32\data\c\mm\tsu_mmf_videorenderer.script" - "c:\tsu_mmf_videorenderer.script"
-"\epoc32\data\c\mm\tsu_mmf_videorenderer_debug.script" - "c:\tsu_mmf_videorenderer_debug.script"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfunittest/videorenderer/group/tsu_mmf_videorenderer_excl_test.iby Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,26 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef TSU_MMF_VIDEORENDERER_EXCL_TEST_IBY
+#define TSU_MMF_VIDEORENDERER_EXCL_TEST_IBY
+
+file=ABI_DIR\BUILD_DIR\tsu_mmf_videorenderer.dll sys\bin\tsu_mmf_videorenderer.dll
+data=DATAZ_\resource\videorenderer\tsu_videorenderer1.rsc resource\videorenderer\tsu_videorenderer1.rsc
+data=DATAZ_\resource\videorenderer\tsu_videorenderer2.rsc resource\videorenderer\tsu_videorenderer2.rsc
+data=DATAZ_\resource\videorenderer\tsu_videorenderer3.rsc resource\videorenderer\tsu_videorenderer3.rsc
+data=DATAZ_\resource\videorenderer\tsu_videorenderer4.rsc resource\videorenderer\tsu_videorenderer4.rsc
+
+#endif // TSU_MMF_VIDEORENDERER_EXCL_TEST_IBY
+
--- a/mmlibs/mmfw/tsrc/mmfunittest/videorenderer/inc/tsu_mmf_videorenderer.iby Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef TSU_MMF_VIDEORENDERER_IBY
-#define TSU_MMF_VIDEORENDERER_IBY
-
-#include <tsu_mmf_videorenderer_excl_test.iby>
-
-data=DATAC_\mm\tsu_mmf_videorenderer.script \tsu_mmf_videorenderer.script
-data=DATAC_\mm\tsu_mmf_videorenderer_debug.script \tsu_mmf_videorenderer_debug.script
-
-#endif // TSU_MMF_VIDEORENDERER_IBY
-
--- a/mmlibs/mmfw/tsrc/mmfunittest/videorenderer/inc/tsu_mmf_videorenderer_excl_test.iby Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef TSU_MMF_VIDEORENDERER_EXCL_TEST_IBY
-#define TSU_MMF_VIDEORENDERER_EXCL_TEST_IBY
-
-file=ABI_DIR\BUILD_DIR\tsu_mmf_videorenderer.dll sys\bin\tsu_mmf_videorenderer.dll
-data=DATAZ_\resource\videorenderer\tsu_videorenderer1.rsc resource\videorenderer\tsu_videorenderer1.rsc
-data=DATAZ_\resource\videorenderer\tsu_videorenderer2.rsc resource\videorenderer\tsu_videorenderer2.rsc
-data=DATAZ_\resource\videorenderer\tsu_videorenderer3.rsc resource\videorenderer\tsu_videorenderer3.rsc
-data=DATAZ_\resource\videorenderer\tsu_videorenderer4.rsc resource\videorenderer\tsu_videorenderer4.rsc
-
-#endif // TSU_MMF_VIDEORENDERER_EXCL_TEST_IBY
-
--- a/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteagents/group/mvsagents.mmp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteagents/group/mvsagents.mmp Mon Aug 23 18:56:36 2010 +0100
@@ -45,7 +45,7 @@
//LIBRARY eikcore.lib
//LIBRARY eikdlg.lib
//LIBRARY eikcoctl.lib
-LIBRARY eikfile.lib
+//LIBRARY eikfile.lib
//LIBRARY eikctl.lib
LIBRARY bafl.lib
//LIBRARY fbscli.lib
--- a/mmlibs/mmfw/tsrc/mmvalidationsuite/mvsintegrationtest/agents/tsi_mvs_agents_stepbase.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmfw/tsrc/mmvalidationsuite/mvsintegrationtest/agents/tsi_mvs_agents_stepbase.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -1123,7 +1123,7 @@
iWindow->SetRequiredDisplayMode(EColor16MA);
iWindow->SetSizeErr(iScreen->SizeInPixels());
- // TODO - this forcing of transparency may not be needed, as there is
+ // XXX - this forcing of transparency may not be needed, as there is
// a defect in the graphics component right now
// force the transparency change to take place
iWindow->SetBackgroundColor(TRgb(0x000000, 0));
@@ -1249,7 +1249,7 @@
// surface
iWindow->SetRequiredDisplayMode(EColor16MA);
- // TODO - this forcing of transparency may not be needed, as there is
+ // XXX - this forcing of transparency may not be needed, as there is
// a defect in the graphics component right now
// force the transparency change to take place
iWindow->SetBackgroundColor(TRgb(0x000000, 0));
@@ -1609,7 +1609,7 @@
// surface
iWindow->SetRequiredDisplayMode(EColor16MA);
- // TODO - this forcing of transparency may not be needed, as there is
+ // XXX - this forcing of transparency may not be needed, as there is
// a defect in the graphics component right now
// force the transparency change to take place
iWindow->SetBackgroundColor(TRgb(0x000000, 0));
--- a/mmlibs/mmutilitylib/group/multimedia_common.mrp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmlibs/mmutilitylib/group/multimedia_common.mrp Mon Aug 23 18:56:36 2010 +0100
@@ -1,6 +1,18 @@
#multimedia_common.mrp
#
-#Copyright (c) 2005-2009 Symbian Ltd. All rights reserved.
+# Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description:
#
component multimedia_common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmplugins/imagingplugins/bitmaptransform/refplugin/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,19 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+PRJ_EXPORTS
+BitmapTransformsPlugin.iby /epoc32/rom/include/bitmaptransformsplugin.iby
+PRJ_MMPFILES
+BitmapTransformsRefPlugin.mmp
\ No newline at end of file
--- a/mmplugins/imagingplugins/bitmaptransform/refplugin/group/bld_include.inf Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_EXPORTS
-BitmapTransformsPlugin.iby /epoc32/rom/include/bitmaptransformsplugin.iby
-PRJ_MMPFILES
-BitmapTransformsRefPlugin.mmp
\ No newline at end of file
--- a/mmplugins/imagingplugins/codecs/GifCodec/README006.txt Fri Jul 09 13:09:11 2010 +0100
+++ b/mmplugins/imagingplugins/codecs/GifCodec/README006.txt Mon Aug 23 18:56:36 2010 +0100
@@ -1,3 +1,18 @@
+// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
The Independent JPEG Group's JPEG software
==========================================
--- a/mmplugins/imagingplugins/codecs/JPEGCodec/README006.txt Fri Jul 09 13:09:11 2010 +0100
+++ b/mmplugins/imagingplugins/codecs/JPEGCodec/README006.txt Mon Aug 23 18:56:36 2010 +0100
@@ -1,3 +1,18 @@
+// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
The Independent JPEG Group's JPEG software
==========================================
--- a/mmplugins/imagingplugins/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmplugins/imagingplugins/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -45,8 +45,8 @@
//Image Display
-#include "../imagedisplay/mng/group/bld_include.inf"
+#include "../imagedisplay/mng/group/bld.inf"
// BitmapTransforms
-#include "../bitmaptransform/refplugin/group/bld_include.inf"
+#include "../bitmaptransform/refplugin/group/bld.inf"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmplugins/imagingplugins/imagedisplay/mng/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -0,0 +1,32 @@
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file basically provides the information required for building the whole of a component
+// C & C++ style comments are allowed in this file because it's passed through the C++ preprocessor
+// Examples are provided below of the kind of things we're expecting
+//
+//
+
+
+PRJ_EXPORTS
+// specify the source file followed by its destination here
+// copy will be used to copy the source file to its destination
+MngImageDisplay.hrh /epoc32/include/icl/mngimagedisplay.hrh
+MngImageDisplay.iby /epoc32/rom/include/mngimagedisplay.iby
+
+PRJ_MMPFILES
+// plug-ins
+MngImageDisplay.mmp
+
+
+
--- a/mmplugins/imagingplugins/imagedisplay/mng/group/bld_include.inf Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file basically provides the information required for building the whole of a component
-// C & C++ style comments are allowed in this file because it's passed through the C++ preprocessor
-// Examples are provided below of the kind of things we're expecting
-//
-//
-
-
-PRJ_EXPORTS
-// specify the source file followed by its destination here
-// copy will be used to copy the source file to its destination
-MngImageDisplay.hrh /epoc32/include/icl/mngimagedisplay.hrh
-MngImageDisplay.iby /epoc32/rom/include/mngimagedisplay.iby
-
-PRJ_MMPFILES
-// plug-ins
-MngImageDisplay.mmp
-
-
-
--- a/mmplugins/mmfwplugins/src/Plugin/Format/MmfWAVFormat/mmfwavformat.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmplugins/mmfwplugins/src/Plugin/Format/MmfWAVFormat/mmfwavformat.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -843,7 +843,7 @@
// To avoid behavior break for now we do this only for Gsm610
// If the RIFF chunk data size is greater than the file size and
- // it is not a new file, then the file must be incomplete/corrupted.
+ // it is not a new file, then the file must be corrupted or not a complete file.
//
if ( (iFourCC == KMMFFourCCCodeGSM610) && (iRiffChunkLength > fileSize) && (iBuffer->Data().Size() != 0) )
{
--- a/mmtestenv/mmtestfw/Source/TestFrameworkServer/ServerConsole.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmtestenv/mmtestfw/Source/TestFrameworkServer/ServerConsole.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -48,8 +48,6 @@
*/
CServerConsole::~CServerConsole()
{
- Cancel();
- delete iConsoleReader;
delete iWindowName;
delete iInstructions;
delete iConsole;
@@ -64,9 +62,7 @@
*
*/
CServerConsole::CServerConsole()
- :CActive(EPriorityHigh)
{
- CActiveScheduler::Add(this);
}
/**
@@ -84,7 +80,6 @@
{
iWindowName = aName.AllocL();
iConsole = Console::NewL(*iWindowName, TSize(KConsFullScreen,KConsFullScreen));
- iConsoleReader = CConsoleReader::NewL(*iConsole);
}
/**
@@ -124,190 +119,3 @@
iConsole->Write(*iInstructions);
}
-/**
- *
- * Starts the console reader listening for input.
- *
- * @param "MConsoleReader& aReader"
- * The console reader.
- *
- * @xxxx
- *
- */
-void CServerConsole::Read(MConsoleReader& aReader)
- {
- iConsoleReader->DoRead(aReader);
- }
-
-/**
- *
- * Stops the console reader listening for input.
- *
- *
- * @xxxx
- *
- */
-void CServerConsole::ReadCancel()
- {
- iConsoleReader->Cancel();
- }
-
-/**
- *
- * RunL method for active object CServerConsole.
- *
- * @xxxx
- *
- */
-void CServerConsole::RunL()
- {
- User::LeaveIfError(iStatus.Int());
- TBool reading = iConsoleReader->IsActive();
- iConsoleReader->Cancel();
-
- //listen for key input if we were before...
- if (reading)
- iConsoleReader->DoRead();
- }
-
-/**
- *
- * DoCancel method for active object CServerConsole.
- *
- * @xxxx
- *
- */
-void CServerConsole::DoCancel()
- {
- ReadCancel();
- }
-
-/**
- *
- * Error handler for active object CServerConsole.
- * (Currently a stub)
- *
- * @param "TInt aError"
- * The error code
- *
- * @return "TInt"
- * The error code
- *
- * @xxxx
- *
- */
-TInt CServerConsole::RunError(TInt aError)
- {
- return aError;
- }
-
-
-
-/**
- *
- * Static constructor for CConsoleReader.
- *
- * @param "CConsoleBase& aConsole"
- * The console we are to read
- *
- * @return "CConsoleReader*"
- * The constructed CConsoleReader
- *
- * @xxxx
- *
- */
-CConsoleReader* CConsoleReader::NewL(CConsoleBase& aConsole)
- {
- CConsoleReader* s = new(ELeave) CConsoleReader(aConsole);
- return s;
- }
-
-/**
- *
- * First-phase constructor for CConsoleReader.
- * Adds itself to the Active Scheduler.
- *
- * @param "CConsoleBase& aConsole"
- * console to read from
- *
- * @xxxx
- *
- */
-CConsoleReader::CConsoleReader(CConsoleBase& aConsole) :
- CActive(EPriorityUserInput),
- iConsole(aConsole)
- {
- CActiveScheduler::Add(this);
- }
-
-/**
- *
- * Destructor for CConsoleReader.
- *
- * @xxxx
- *
- */
-CConsoleReader::~CConsoleReader()
- {
- Cancel();
- }
-
-/**
- *
- * DoRead method for active object CConsoleReader;
- * sets client and starts reading
- *
- * @param "MConsoleReader& aClient"
- * client MConsoleReader (which will process the input)
- *
- * @xxxx
- *
- */
-void CConsoleReader::DoRead(MConsoleReader& aClient)
- {
- iClient = &aClient;
- DoRead();
- }
-
-/**
- *
- * DoRead method for active object CConsoleReader;
- * starts reading from current client
- *
- * @xxxx
- *
- */
-void CConsoleReader::DoRead()
- {
- iConsole.Read(iStatus);
- SetActive();
- }
-
-/**
- *
- * RunL method for active object CConsoleReader;
- * fetches a keystroke and sends it to its client for processing.
- *
- * @xxxx
- *
- */
-void CConsoleReader::RunL()
- {
- iKeyStroke = iConsole.KeyCode();
- if (iStatus.Int())
- iClient->Error(iStatus.Int());
- else
- iClient->InputReceived(iKeyStroke);
- }
-
-/**
- *
- * DoCancel method for active object CConsoleReader
- *
- * @xxxx
- *
- */
-void CConsoleReader::DoCancel()
- {
- iConsole.ReadCancel();
- }
--- a/mmtestenv/mmtestfw/Source/TestFrameworkServer/ServerConsole.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmtestenv/mmtestfw/Source/TestFrameworkServer/ServerConsole.h Mon Aug 23 18:56:36 2010 +0100
@@ -24,90 +24,19 @@
/**
*
- * Console reader mixin class.
- * Any main program or class using a CServerConsole
- * should implement this class.
- *
- * @xxxx
- *
- */
-class MConsoleReader
- {
-public:
-/**
- *
- * Processes a received keystroke.
- *
- * @param "TKeyCode aKeystroke"
- * The received keystroke.
- *
- * @xxxx
- *
- */
- virtual void InputReceived(TKeyCode aKeystroke) = 0;
-/**
- *
- * Handles console reader errors.
- *
- * @param "TInt aError"
- * The error code.
- *
- * @xxxx
- *
- */
- virtual void Error(TInt aError) = 0;
- };
-
-/**
- *
- * Keystroke reader for CServerConsole.
- *
- *
- * @xxxx
- *
- */
-class CConsoleReader : public CActive
- {
-public:
- static CConsoleReader* NewL(CConsoleBase& aConsole);
- ~CConsoleReader();
- void DoRead(MConsoleReader& aClient);
- void DoRead();//keeping same client as before
- void RunL();
-
-protected:
- void DoCancel();
-
-private:
- CConsoleReader(CConsoleBase& aConsole);
-
-private:
- MConsoleReader* iClient;
- CConsoleBase& iConsole;
- TKeyCode iKeyStroke;
- };
-
-/**
- *
* Active console for test input.
* To be used where manual control of testing is required
*
* @xxxx
*
*/
-class CServerConsole : public CActive
+class CServerConsole : public CBase
{
public:
static CServerConsole* NewL(const TDesC& aName);
~CServerConsole();
void SetInstructionsL(const TDesC& aInstructions);
- void Read(MConsoleReader& aReader);
- void ReadCancel();
-
- void RunL();
- void DoCancel();
- TInt RunError(TInt aError);
// accessor
CConsoleBase* Console() const;
@@ -121,7 +50,6 @@
TRectBuf iWindow;
HBufC* iWindowName;
HBufC* iInstructions;
- CConsoleReader* iConsoleReader;
};
#endif // __SERVERCONSOLE_H__
--- a/mmtestenv/mmtestfw/Source/TestFrameworkServer/TestFrameworkServer.cpp Fri Jul 09 13:09:11 2010 +0100
+++ b/mmtestenv/mmtestfw/Source/TestFrameworkServer/TestFrameworkServer.cpp Mon Aug 23 18:56:36 2010 +0100
@@ -222,9 +222,6 @@
if (aLogMode & ELogConsoleFull)
iLogMode |= ELogConsoleFull;
-
- iConsole->Read(*this);
-
}
}
@@ -359,42 +356,6 @@
/**
*
- * process key input from console.
- *
- * @param "TKeyCode aKeystroke"
- * The keystroke
- *
- * @xxxx
- *
- */
-void CTestFrameworkServer::InputReceived(TKeyCode aKeystroke)
- {
- // store it
- iInputKey = STATIC_CAST(TInt, aKeystroke);
-
- // key not processed as yet - pending implementation of async request from client
-
- //read from console again
- iConsole->Read(*this);
- }
-
-/**
- *
- * Display general error.
- *
- * @param "TInt aError"
- * The error code
- *
- * @xxxx
- *
- */
-void CTestFrameworkServer::Error(TInt)
- {
- // stubbed; undefined input keys can be safely discarded
- }
-
-/**
- *
* Default window constructor (no owner)
*
* @xxxx
--- a/mmtestenv/mmtestfw/Source/TestFrameworkServer/TestFrameworkServer.h Fri Jul 09 13:09:11 2010 +0100
+++ b/mmtestenv/mmtestfw/Source/TestFrameworkServer/TestFrameworkServer.h Mon Aug 23 18:56:36 2010 +0100
@@ -84,7 +84,7 @@
* @xxxx
*
*/
-class CTestFrameworkServer : public CMmfIpcServer, public MConsoleReader
+class CTestFrameworkServer : public CMmfIpcServer
{
public:
//construct / destruct
@@ -102,10 +102,6 @@
void AddInputWindowL(CTestFrameworkServerSession* aOwner);
void RemoveWindow(CTestFrameworkServerSession* aOwner);
- //from MConsoleReader
- void InputReceived(TKeyCode aKeystroke);
- void Error(TInt aError);
-
private:
CTestFrameworkServer();
void ConstructL();
--- a/mmtestenv/mmtestfwunittest/MMPFiles/TSU_MmTsth21.mmp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Unit testing for MM Test Framework - 21 (ServerConsole)
-//
-//
-
-// Typhoon / Hurricane build :- comment out these lines
-// MACRO __MMF_JETSTREAM__
-// #define _MMF_JETSTREAM_MMP
-
-// Macro used to patch out E32Dll etc. in source files being tested
-MACRO __TSU_TESTFRAMEWORK__
-
-TARGET tsu_mmtsth21.dll
-CAPABILITY ALL -TCB
-TARGETTYPE dll
-UID 0x1000008d 0x101f4608
-VENDORID 0x70000001
-
-// unit test code
-
-SOURCEPATH ../src
-SOURCE tsu_mmtsth21/TSU_MmTsthSuite21.cpp
-SOURCE tsu_mmtsth21/TSU_MmTsthStep21.cpp
-SOURCE tsu_mmtsth21/TSU_MmTsth21.cpp
-
-// code to be tested
-
-SOURCE ../../mmtestfw/Source/TestFrameworkServer/ServerConsole.cpp
-
-// required stubs
-
-
-USERINCLUDE ../src/tsu_mmtsth21
-USERINCLUDE ../../mmtestfw/Source
-USERINCLUDE ../../mmtestfw/Source/TestFrameworkServer
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-LIBRARY euser.lib
-
-// required TestFramework libraries
-
-LIBRARY testframeworkclient.lib
-
-
-
-
-SMPSAFE
--- a/mmtestenv/mmtestfwunittest/bwins/TSU_MMTSTH21U.DEF Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-EXPORTS
- ?NewTSUMmTsthSuite21L@@YAPAVCTSUMmTsthSuite21@@XZ @ 1 NONAME ; class CTSUMmTsthSuite21 * __cdecl NewTSUMmTsthSuite21L(void)
-
--- a/mmtestenv/mmtestfwunittest/eabi/TSU_MmTsth20U.DEF Fri Jul 09 13:09:11 2010 +0100
+++ b/mmtestenv/mmtestfwunittest/eabi/TSU_MmTsth20U.DEF Mon Aug 23 18:56:36 2010 +0100
@@ -1,21 +1,19 @@
EXPORTS
_Z20NewTSUMmTsthSuite20Lv @ 1 NONAME
_ZTI11CFileLogger @ 2 NONAME ; #<TI>#
- _ZTI14CConsoleReader @ 3 NONAME ; #<TI>#
- _ZTI14CServerConsole @ 4 NONAME ; #<TI>#
- _ZTI16RTestMmTsthU2001 @ 5 NONAME ; #<TI>#
- _ZTI16RTestMmTsthU2002 @ 6 NONAME ; #<TI>#
- _ZTI17CTSUMmTsthSuite20 @ 7 NONAME ; #<TI>#
- _ZTI20CTestFrameworkServer @ 8 NONAME ; #<TI>#
- _ZTI27CTestFrameworkServerSession @ 9 NONAME ; #<TI>#
- _ZTI28CTestFrameworkServerShutdown @ 10 NONAME ; #<TI>#
- _ZTV11CFileLogger @ 11 NONAME ; #<VT>#
- _ZTV14CConsoleReader @ 12 NONAME ; #<VT>#
- _ZTV14CServerConsole @ 13 NONAME ; #<VT>#
- _ZTV16RTestMmTsthU2001 @ 14 NONAME ; #<VT>#
- _ZTV16RTestMmTsthU2002 @ 15 NONAME ; #<VT>#
- _ZTV17CTSUMmTsthSuite20 @ 16 NONAME ; #<VT>#
- _ZTV20CTestFrameworkServer @ 17 NONAME ; #<VT>#
- _ZTV27CTestFrameworkServerSession @ 18 NONAME ; #<VT>#
- _ZTV28CTestFrameworkServerShutdown @ 19 NONAME ; #<VT>#
+ _ZTI14CServerConsole @ 3 NONAME ; #<TI>#
+ _ZTI16RTestMmTsthU2001 @ 4 NONAME ; #<TI>#
+ _ZTI16RTestMmTsthU2002 @ 5 NONAME ; #<TI>#
+ _ZTI17CTSUMmTsthSuite20 @ 6 NONAME ; #<TI>#
+ _ZTI20CTestFrameworkServer @ 7 NONAME ; #<TI>#
+ _ZTI27CTestFrameworkServerSession @ 8 NONAME ; #<TI>#
+ _ZTI28CTestFrameworkServerShutdown @ 9 NONAME ; #<TI>#
+ _ZTV11CFileLogger @ 10 NONAME ; #<VT>#
+ _ZTV14CServerConsole @ 11 NONAME ; #<VT>#
+ _ZTV16RTestMmTsthU2001 @ 12 NONAME ; #<VT>#
+ _ZTV16RTestMmTsthU2002 @ 13 NONAME ; #<VT>#
+ _ZTV17CTSUMmTsthSuite20 @ 14 NONAME ; #<VT>#
+ _ZTV20CTestFrameworkServer @ 15 NONAME ; #<VT>#
+ _ZTV27CTestFrameworkServerSession @ 16 NONAME ; #<VT>#
+ _ZTV28CTestFrameworkServerShutdown @ 17 NONAME ; #<VT>#
--- a/mmtestenv/mmtestfwunittest/eabi/TSU_MmTsth21U.DEF Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-EXPORTS
- _Z20NewTSUMmTsthSuite21Lv @ 1 NONAME
- _ZTI14CConsoleReader @ 2 NONAME ; #<TI>#
- _ZTI14CServerConsole @ 3 NONAME ; #<TI>#
- _ZTI16RTSUMmTsthStep21 @ 4 NONAME ; #<TI>#
- _ZTI16RTestMmTsthU2101 @ 5 NONAME ; #<TI>#
- _ZTI17CTSUMmTsthSuite21 @ 6 NONAME ; #<TI>#
- _ZTV14CConsoleReader @ 7 NONAME ; #<VT>#
- _ZTV14CServerConsole @ 8 NONAME ; #<VT>#
- _ZTV16RTSUMmTsthStep21 @ 9 NONAME ; #<VT>#
- _ZTV16RTestMmTsthU2101 @ 10 NONAME ; #<VT>#
- _ZTV17CTSUMmTsthSuite21 @ 11 NONAME ; #<VT>#
-
--- a/mmtestenv/mmtestfwunittest/group/TSU_TestFramework.iby Fri Jul 09 13:09:11 2010 +0100
+++ b/mmtestenv/mmtestfwunittest/group/TSU_TestFramework.iby Mon Aug 23 18:56:36 2010 +0100
@@ -32,7 +32,6 @@
file=ABI_DIR\BUILD_DIR\TSU_MmTsth12.DLL System\Libs\TSU_MmTsth12.DLL
file=ABI_DIR\BUILD_DIR\TSU_MmTsth13.DLL System\Libs\TSU_MmTsth13.DLL
file=ABI_DIR\BUILD_DIR\TSU_MmTsth20.DLL System\Libs\TSU_MmTsth20.DLL
-file=ABI_DIR\BUILD_DIR\TSU_MmTsth21.DLL System\Libs\TSU_MmTsth21.DLL
file=ABI_DIR\BUILD_DIR\TSU_MmTsth22.DLL System\Libs\TSU_MmTsth22.DLL
data=EPOCROOT##epoc32\data\c\TestFramework.script \TestFramework.script
@@ -45,7 +44,6 @@
data=EPOCROOT##epoc32\data\c\TSU_MmTsth12.script \TSU_MmTsth12.script
data=EPOCROOT##epoc32\data\c\TSU_MmTsth13.script \TSU_MmTsth13.script
data=EPOCROOT##epoc32\data\c\TSU_MmTsth20.script \TSU_MmTsth20.script
-data=EPOCROOT##epoc32\data\c\TSU_MmTsth21.script \TSU_MmTsth21.script
data=EPOCROOT##epoc32\data\c\TSU_MmTsth22.script \TSU_MmTsth22.script
data=EPOCROOT##epoc32\data\c\TSU_MmTsth02_dummy.script \TSU_MmTsth02_dummy.script
--- a/mmtestenv/mmtestfwunittest/group/bld.inf Fri Jul 09 13:09:11 2010 +0100
+++ b/mmtestenv/mmtestfwunittest/group/bld.inf Mon Aug 23 18:56:36 2010 +0100
@@ -30,7 +30,6 @@
../MMPFiles/TSU_MmTsth12.mmp
../MMPFiles/TSU_MmTsth13.mmp
../MMPFiles/TSU_MmTsth20.mmp
-../MMPFiles/TSU_MmTsth21.mmp
../MMPFiles/TSU_MmTsth22.mmp
PRJ_TESTEXPORTS
@@ -54,7 +53,6 @@
../scriptFiles/TSU_MmTsth12.script c:/tsu_mmtsth12.script
../scriptFiles/TSU_MmTsth13.script c:/tsu_mmtsth13.script
../scriptFiles/TSU_MmTsth20.script c:/tsu_mmtsth20.script
-../scriptFiles/TSU_MmTsth21.script c:/tsu_mmtsth21.script
../scriptFiles/TSU_MmTsth22.script c:/tsu_mmtsth22.script
// extra files
--- a/mmtestenv/mmtestfwunittest/group/component_test.pkg Fri Jul 09 13:09:11 2010 +0100
+++ b/mmtestenv/mmtestfwunittest/group/component_test.pkg Mon Aug 23 18:56:36 2010 +0100
@@ -23,10 +23,8 @@
"\epoc32\release\armv5\urel\TSU_MmTsth12.DLL"-"c:\sys\bin\TSU_MmTsth12.DLL"
"\epoc32\release\armv5\urel\TSU_MmTsth13.DLL"-"c:\sys\bin\TSU_MmTsth13.DLL"
"\epoc32\release\armv5\urel\TSU_MmTsth20.DLL"-"c:\sys\bin\TSU_MmTsth20.DLL"
-"\epoc32\release\armv5\urel\TSU_MmTsth21.DLL"-"c:\sys\bin\TSU_MmTsth21.DLL"
"\epoc32\release\armv5\urel\TSU_MmTsth22.DLL"-"c:\sys\bin\TSU_MmTsth22.DLL"
-
"\sf\os\mm\mmtestenv\mmtestfwunittest\scriptFiles\TSU_MmTsth00.script"-"c:\TSU_MmTsth00.script"
"\sf\os\mm\mmtestenv\mmtestfwunittest\scriptFiles\TSU_MmTsth01.script"-"c:\TSU_MmTsth01.script"
"\sf\os\mm\mmtestenv\mmtestfwunittest\scriptFiles\TSU_MmTsth02.script"-"c:\TSU_MmTsth02.script"
@@ -36,7 +34,6 @@
"\sf\os\mm\mmtestenv\mmtestfwunittest\scriptFiles\TSU_MmTsth12.script"-"c:\TSU_MmTsth12.script"
"\sf\os\mm\mmtestenv\mmtestfwunittest\scriptFiles\TSU_MmTsth13.script"-"c:\TSU_MmTsth13.script"
"\sf\os\mm\mmtestenv\mmtestfwunittest\scriptFiles\TSU_MmTsth20.script"-"c:\TSU_MmTsth20.script"
-"\sf\os\mm\mmtestenv\mmtestfwunittest\scriptFiles\TSU_MmTsth21.script"-"c:\TSU_MmTsth21.script"
"\sf\os\mm\mmtestenv\mmtestfwunittest\scriptFiles\TSU_MmTsth22.script"-"c:\TSU_MmTsth22.script"
"\sf\os\mm\mmtestenv\mmtestfwunittest\scriptFiles\TSU_MmTsth02_dummy.script"-"c:\TSU_MmTsth02_dummy.script"
"\sf\os\mm\mmtestenv\mmtestfwunittest\scriptFiles\TSU_MmTsth11_config.ini"-"c:\TSU_MmTsth11_config.ini"
--- a/mmtestenv/mmtestfwunittest/scriptFiles/TSU_MmTsth21.script Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRINT Unit Testing for Test Framework - ServerConsole
-//
-PRINT
-//
-LOAD_SUITE TSU_MmTsth21.dll
-//
-//! @SYMTestCaseID MM-TSTH-U-2101
-
-RUN_TEST_STEP 10000 TSU_MmTsth21 MM-TSTH-U-2101
-TEST_COMPLETE
-//
\ No newline at end of file
--- a/mmtestenv/mmtestfwunittest/scriptFiles/TestFramework.script Fri Jul 09 13:09:11 2010 +0100
+++ b/mmtestenv/mmtestfwunittest/scriptFiles/TestFramework.script Mon Aug 23 18:56:36 2010 +0100
@@ -33,6 +33,4 @@
//
RUN_SCRIPT TSU_MmTsth20
//
-RUN_SCRIPT TSU_MmTsth21
-//
RUN_SCRIPT TSU_MmTsth22
--- a/mmtestenv/mmtestfwunittest/src/tsu_mmtsth21/TSU_MmTsth21.cpp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains the test steps for Unit Test Suite 21 : ServerConsole.cpp
-//
-//
-
-// EPOC includes
-#include <e32base.h>
-
-#include <w32std.h>
-
-// Test system includes
-#include <testframework.h>
-
-// Specific includes for this test suite
-#include "TSU_MmTsthStep21.h"
-#include "TSU_MmTsthSuite21.h"
-
-// Specific includes for these test steps
-#include "TSU_MmTsth21.h"
-#include "TestFrameworkServer/ServerConsole.h"
-
-// --------------------------------------------
-
-// Unit Test Suite 21 : ServerConsole.cpp
-// Depends on : ***
-
-// Requires Active Scheduler in thread
-
-// Tests :-
-// Open Server Console
-// NB possible changes in code (anticipated : User Input)
-
-// --------------------------------------------
-// RTestMmTsthU2101
-
-RTestMmTsthU2101* RTestMmTsthU2101::NewL()
- {
- RTestMmTsthU2101* self = new(ELeave) RTestMmTsthU2101;
- return self;
- }
-
-// Each test step initialises its own name.
-RTestMmTsthU2101::RTestMmTsthU2101()
- {
- // store the name of this test case
- // this is the name that is used by the script file
- iTestStepName = _L("MM-TSTH-U-2101");
- }
-
-// Do the test step.
-TVerdict RTestMmTsthU2101::DoTestStepL()
- {
- INFO_PRINTF1(_L("Unit test for ServerConsole"));
-
- TVerdict currentVerdict = EPass;
-
- CServerConsole* theConsole = NULL;
- TRAPD(err, theConsole = CServerConsole::NewL(_L("CServerConsole Test")));
- if(err != KErrNone)
- {
- ERR_PRINTF1(_L("CServerConsole::NewL() left"));
- return iTestStepResult = EFail;
- }
-
-
- iConsole = theConsole;
- // will only work if this test is an MConsoleReader
- // *** NB! if we are running TestFramework in -F mode (i.e. no console output) this MAY
- // time out.
- iConsole->Read(*this);
-
- // call RunL() directly - not ideal but we have to test it somehow...
- // there is no window server so we can't simulate a keyboard event to call iConsoleReader->RunL()
- // this may have to be rewritten if full async keyboard handling is to be implemented
- TRAPD(err2, iConsole->RunL());
- if(err2)
- {
- ERR_PRINTF2(_L("CServerConsole::RunL() left with error %d"), err2);
- delete iConsole;
- return iTestStepResult = EFail;
- };
-
- INFO_PRINTF1(_L("Returned from RunL()"));
-
- // cleanup
- delete iConsole;
- return iTestStepResult = currentVerdict; // should be EPass if we've got here
- }
--- a/mmtestenv/mmtestfwunittest/src/tsu_mmtsth21/TSU_MmTsth21.h Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains definitions of the test step classes for TSU_MMTSTH21
-//
-//
-
-#ifndef __TSU_MMTSTH21_H__
-#define __TSU_MMTSTH21_H__
-
-
-// ServerConsole : MM-TSTH-U-2201
-class RTestMmTsthU2101 : public RTSUMmTsthStep21
- {
-public:
- static RTestMmTsthU2101* NewL();
- RTestMmTsthU2101();
- virtual TVerdict DoTestStepL();
-
- };
-
-#endif // __TSU_MMTSTH21_H__
--- a/mmtestenv/mmtestfwunittest/src/tsu_mmtsth21/TSU_MmTsthStep21.cpp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// EPOC includes
-#include <e32base.h>
-
-// Test system includes
-#include <testframework.h>
-#include "TSU_MmTsthStep21.h"
-#include "TSU_MmTsthSuite21.h"
-
-// ------------------------------------------------
-// RTSUMmTsthStep21 : generic test step for TSU_MMTSTH21
-
-// preamble
-TVerdict RTSUMmTsthStep21::OpenL()
- {
- iConsole = NULL;
-
- iScheduler = new(ELeave)CActiveScheduler;
-
- //[install the active scheduler ]
- CActiveScheduler::Install( iScheduler );
-
- return iTestStepResult = EPass;
- }
-
-// postamble
-void RTSUMmTsthStep21::Close()
- {
- //[ Destroy the scheduler ]
- delete iScheduler ;
- iScheduler = NULL;
- }
-
-// from MConsoleReader
-// process key input from console.
-void RTSUMmTsthStep21::InputReceived(TKeyCode /* aKeystroke*/)
- {
- // key not processed as yet - pending implementation of async request from client
- // we would store it as : TInt theInputKey = STATIC_CAST(TInt, aKeystroke);
-
- //read from console again
- iConsole->Read(*this);
- }
-
-// Display general error.
-void RTSUMmTsthStep21::Error(TInt)
- {
- // stubbed; undefined input keys can be safely discarded
- }
--- a/mmtestenv/mmtestfwunittest/src/tsu_mmtsth21/TSU_MmTsthStep21.h Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __TSU_MMTSTHSTEP21_H__
-#define __TSU_MMTSTHSTEP21_H__
-
-class CTestSuite;
-class CTSUMmTsthSuite21;
-
-#include "TestFrameworkServer/TestFrameworkServer.h"
-
-// Base class for all the TSU_MMTSTH21 suite test steps
-class RTSUMmTsthStep21 : public RTestStep, public MConsoleReader
- {
-public:
- virtual TVerdict OpenL();
- virtual void Close();
-
- //from MConsoleReader
- void InputReceived(TKeyCode aKeystroke);
- void Error(TInt aError);
-
-protected:
- // required to run a CServerConsole
- CActiveScheduler* iScheduler ;
-
- // An active console, receiving output from client messages and input from server
- CServerConsole* iConsole;
-
- // last keypress (will be used by a keyboard stuffer or similar)
- TInt iInputKey;
-
- };
-
-#endif //__TSU_MMTSTHSTEP21_H__
--- a/mmtestenv/mmtestfwunittest/src/tsu_mmtsth21/TSU_MmTsthSuite21.cpp Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// EPOC includes
-#include <e32base.h>
-
-// Test system includes
-#include <testframework.h>
-#include "TSU_MmTsthStep21.h"
-#include "TSU_MmTsth21.h"
-#include "TSU_MmTsthSuite21.h"
-
-
-
-
-// Create an instance of this test suite.
-// NewTSUMmTsthSuite21L is exported at ordinal 1.
-// This provides the interface to allow the Test Framework
-// to create instances of this test suite.
-EXPORT_C CTSUMmTsthSuite21* NewTSUMmTsthSuite21L()
- {
- CTSUMmTsthSuite21* result = new (ELeave) CTSUMmTsthSuite21;
- CleanupStack::PushL(result);
- result->ConstructL();
- CleanupStack::Pop(); // result
- return result;
- }
-
-// destructor
-CTSUMmTsthSuite21::~CTSUMmTsthSuite21()
- {
- }
-
-_LIT(KTxtVersion,"0.22 (build 09-Sep-2002)");
-
-// Get test suite version.
-
-TPtrC CTSUMmTsthSuite21::GetVersion() const
- {
- return KTxtVersion();
- }
-
-// Initialiser for test suite.
-// This creates all the test steps and stores them
-// inside CTestSuiteSelfTest
-void CTSUMmTsthSuite21::InitialiseL()
- {
-
- // store the name of this test suite
- iSuiteName = _L("TSU_MMTSTH21");
-
- // add test steps
- AddTestStepL(RTestMmTsthU2101::NewL());
-
- }
--- a/mmtestenv/mmtestfwunittest/src/tsu_mmtsth21/TSU_MmTsthSuite21.h Fri Jul 09 13:09:11 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __TSU_MMTSTHSUITE21_H__
-#define __TSU_MMTSTHSUITE21_H__
-
-#include <testframework.h>
-
-// base class for the TSU_MMTSTH21 suite.
-class CTSUMmTsthSuite21 : public CTestSuite
- {
-public:
- void InitialiseL();
- virtual ~CTSUMmTsthSuite21();
- TPtrC GetVersion() const;
- };
-
-
-#endif //__TSU_MMTSTHSUITE21_H__
--- a/mmtestenv/mmtesttools/Rom/misc.iby Fri Jul 09 13:09:11 2010 +0100
+++ b/mmtestenv/mmtesttools/Rom/misc.iby Mon Aug 23 18:56:36 2010 +0100
@@ -54,6 +54,8 @@
#include <omxilcompref.iby>
#include <omxilcore.iby>
#include <avi.iby>
+#include <mmfaudiowavtestcontroller.iby>
+#include <mmfaudiotonetestcontroller.iby>
#ifdef SYMBIAN_GRAPHICS_USE_GCE
#include <videorenderer.iby>
--- a/mmtestenv/mmtesttools/Scripts/CopyDataToCF.bat Fri Jul 09 13:09:11 2010 +0100
+++ b/mmtestenv/mmtesttools/Scripts/CopyDataToCF.bat Mon Aug 23 18:56:36 2010 +0100
@@ -617,6 +617,7 @@
copy %EPOCROOT%epoc32\data\c\AclntITestData\test3.raw %1\inttest\MMF\AclntITestData\test3.raw
copy %EPOCROOT%epoc32\data\c\audio.ini %1\inttest\MMF\AclntITestData\audio.ini
+copy %EPOCROOT%epoc32\data\c\sdevsound_audio.ini %1\inttest\MMF\AclntITestData\sdevsound_audio.ini
copy %EPOCROOT%epoc32\data\c\AclntITestData\Audio.content %1\inttest\mmf\aclnt\Audio.content
copy %EPOCROOT%epoc32\data\c\AclntITestData\Audio.contentrights %1\inttest\mmf\aclnt\Audio.contentrights
copy %EPOCROOT%epoc32\data\c\AclntITestData\AudioContentNoRights.content %1\inttest\mmf\aclnt\AudioContentNoRights.content
--- a/mmtestenv/mmtesttools/Scripts/runMMFSDevSoundIntTests.bat Fri Jul 09 13:09:11 2010 +0100
+++ b/mmtestenv/mmtesttools/Scripts/runMMFSDevSoundIntTests.bat Mon Aug 23 18:56:36 2010 +0100
@@ -87,6 +87,7 @@
copy E:\inttest\MMF\AclntITestData\mainTst.wav C:\TSU_MMF_DEVSOUND_SUITE\input\mainTst.wav
copy E:\inttest\MMF\AclntITestData\audio.ini c:\audio.ini
+copy E:\inttest\MMF\AclntITestData\sdevsound_audio.ini c:\sdevsound_audio.ini
REM *** Test framework with ALL -TCB capabilities ***
testframework TSI_MMF_SDevSound_01.script