srsf/tsrc/public/basic/conf/ttsutilitytest.cfg
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:29:17 +0100
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035


[Test]
// Test 1
title TtsUtility style settings
timeout 120000  // 2 minutes
create ttsutilitytest test
test CreateTtsUtility
test StyleSettings
test DestroyTtsUtility
delete test
[Endtest] 

[Test]
// Test 2
title TtsUtility playback properties
timeout 120000  // 2 minutes
create ttsutilitytest test
request MapcInitComplete
request MapcPlayComplete
test CreateTtsUtility
test PlaybackProperties
test DestroyTtsUtility
delete test
[Endtest] 

[Test]
// Test 3
title TtsUtility playback 1
timeout 120000  // 2 minutes
create ttsutilitytest test
request MapcInitComplete
request MapcPlayComplete
test CreateTtsUtility
test OpenDes Descriptor1
wait MapcInitComplete
test Play
wait MapcPlayComplete
test OpenDes8 Descriptor2
wait MapcInitComplete
test Play
wait MapcPlayComplete
test OpenFile c:\Testframework\ttsutilitytestdata.txt
wait MapcInitComplete
test Play
wait MapcPlayComplete
test OpenParsedText Descriptor3
wait MapcInitComplete
test Play
wait MapcPlayComplete
test DestroyTtsUtility
delete test
[Endtest] 

[Test]
// Test 4
title TtsUtility playback 2
timeout 120000  // 2 minutes
create ttsutilitytest test
request MapcPlayComplete
test CreateTtsUtility
test OpenAndPlayDes Descriptor4
wait MapcPlayComplete
test OpenAndPlayDes8 Descriptor5
wait MapcPlayComplete
test OpenAndPlayFile c:\Testframework\ttsutilitytestdata.txt
wait MapcPlayComplete
test OpenAndPlayParsedText Descriptor6
wait MapcPlayComplete
test DestroyTtsUtility
delete test
[Endtest] 

[Test]
// Test 5
title TtsUtility playback 3
timeout 120000  // 2 minutes
create ttsutilitytest test
request MapcInitComplete
request MapcPlayComplete
test CreateTtsUtility
test OpenDes 1234567890
wait MapcInitComplete
test Play
pause 500
test Pause
pause 1000
test Play
pause 500
test Stop
test OpenDes 1234567890
wait MapcInitComplete
test Play
wait MapcPlayComplete
test DestroyTtsUtility
delete test
[Endtest] 

[Test]
// Test 6
title TtsUtility synthesis to file
timeout 120000  // 2 minutes
create ttsutilitytest test
request MapcInitComplete
request MapcPlayComplete
test CreateTtsUtility
test SynthesisToFile c:\Testframework\ttsutility.raw
test OpenDes Descriptor7
wait MapcInitComplete
test Play
wait MapcPlayComplete
test DestroyTtsUtility
delete test
[Endtest] 

[Test]
// Test 7
title TtsUtility custom commands
timeout 120000  // 2 minutes
create ttsutilitytest test
test CreateTtsUtility
test CustomCommands
test CustomCommands2
test DestroyTtsUtility
delete test
[Endtest]