srsf/tsrc/public/basic/conf/ttsutilitytest.cfg
author Simon Howkins <simonh@symbian.org>
Mon, 22 Nov 2010 14:53:06 +0000
branchRCL_3
changeset 30 80b92f39ce86
parent 0 bf1d17376201
permissions -rw-r--r--
Adjusted to avoid exports, etc, from a top-level bld.inf


[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]