srsf/speechsynthesis/tsrc/speechsynthesistest/data/speechsynthesistest.cfg
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/srsf/speechsynthesis/tsrc/speechsynthesistest/data/speechsynthesistest.cfg	Wed Sep 01 12:29:17 2010 +0100
@@ -0,0 +1,275 @@
+[Define]
+KErrNone 0
+KErrCancel -3
+KErrNotSupported -5
+KErrArgument -6
+KErrNotReady -18
+KErrAbort -39
+[Enddefine]
+
+[Test] // 1
+title Basic functionality
+timeout 120000  // 2 minutes
+create SpeechSynthesisTest test
+request SynthesisInitComplete
+request SynthesisComplete
+test Open KErrNone
+test GetSupportedLangs KErrNone
+test GetSupportedVoices KErrNone 1
+test Voice KErrNone
+test SetVoice KErrNotSupported // Test is not implemented yet
+test MaxVolume KErrNone
+test SetVolume KErrNone 8 // Scale is 0..10 * MaxVolume
+test Volume KErrNone
+test MaxSpeakingRate KErrNone
+test SetSpeakingRate KErrNone 80 // Scale is 1..100
+test SpeakingRate KErrNone
+test SetAudioPriority KErrNone 0 0 
+test CustomCommand KErrNone
+test Stop KErrNone
+test Pause KErrNotReady
+test InitialiseSynthesis KErrNone Short sentence.
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test InitialiseSynthesisFile KErrNone Short sentence. filename: C:\test.raw
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test Close KErrNone
+delete test
+[Endtest] 
+
+[Test] // 2
+title Basic synthesis
+timeout 120000  // 2 minutes
+create SpeechSynthesisTest test
+request SynthesisInitComplete
+request SynthesisComplete
+test Open KErrNone
+test Synthesise KErrNotReady
+wait SynthesisComplete
+test InitialiseSynthesis KErrNone U shouldn't hear this..
+wait SynthesisInitComplete
+test InitialiseSynthesis KErrNone The Open C libraries are part of S60 3.2 SDK -- a set of standard or otherwise useful libraries. 
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test InitialiseSynthesis KErrNone Las Vegas, USA - Nokia today introduced a trimmer fold model to its Nokia Nseries line up, the Nokia N76, a new smartphone that brings the complete Nokia Nseries experience to a sleeker body, with little compromise. Using premium materials to enclose world-class Nokia Nseries features and experiences, Nokia has created a very eye-catching device. We did not want to compromise any of the key Nokia Nseries experiences when we designed the stylish Nokia N76 multimedia computer, said Pekka Pohjakallio, vice-president, Multimedia, Nokia. He continued, Nokia Nseries consumers are bleeding edge technology users and with them in mind we want to offer intelligent and entertaining multimedia functionality in an easy to use, ultra slim package. 
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test Close KErrNone
+delete test
+[Endtest] 
+
+[Test] // 3
+title Synthesise short inputs
+timeout 120000  // 2 minutes
+create SpeechSynthesisTest test
+request SynthesisInitComplete
+request SynthesisComplete
+test Open KErrNone
+test InitialiseSynthesis KErrNone a
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test InitialiseSynthesis KErrNone
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test InitialiseSynthesis KErrNone .
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test InitialiseSynthesis KErrNone :)
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test Close KErrNone
+delete test
+[Endtest] 
+
+[Test] // 4
+title Synthesise to file
+timeout 120000  // 2 minutes
+create SpeechSynthesisTest test
+request SynthesisInitComplete
+request SynthesisComplete
+test Open KErrNone
+test InitialiseSynthesisFile KErrNone Text to be saved to the file filename: C:\test1.raw
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test InitialiseSynthesisFile KErrArgument Text to be saved to the file filename: C:\test.wav
+wait SynthesisInitComplete
+// STIF has AllFiles capability
+test InitialiseSynthesisFile KErrNone Text to be saved to the file filename: C:\private\test.raw
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test InitialiseSynthesisFile KErrNone a filename: C:\test2.raw
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test InitialiseSynthesisFile KErrNone To provide mobile developers with a structured online setting for creating and maintaining valuable information, Nokia is about to launch the Forum Nokia Wiki as a resource for application developers and content creators. filename: C:\test3.raw
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test Close KErrNone
+delete test
+[Endtest] 
+
+[Test] // 5
+title Pause and resume
+timeout 120000  // 2 minutes
+create SpeechSynthesisTest test
+request SynthesisInitComplete
+request SynthesisComplete
+test Open KErrNone
+test InitialiseSynthesis KErrNone Software Platforms (a Technology Platforms unit) starts consultations with employee representatives :( Software Platforms is starting a consultations process with employee representatives concerning a maximum of 100 employees in Finland. 
+wait SynthesisInitComplete
+test Synthesise KErrCancel
+test Pause KErrNone
+wait SynthesisComplete
+test Synthesise KErrCancel
+test Pause KErrNone
+wait SynthesisComplete
+pause 500
+test Synthesise KErrCancel
+pause 1000
+test Pause KErrNone
+wait SynthesisComplete
+pause 1000
+test Synthesise KErrNone
+wait SynthesisComplete
+test InitialiseSynthesis KErrNone To provide mobile developers with a structured online setting for creating and maintaining valuable information, Nokia is about to launch the Forum Nokia Wiki as a resource for application developers and content creators.
+wait SynthesisInitComplete
+test Synthesise KErrCancel
+pause 2000
+test Pause KErrNone
+wait SynthesisComplete
+pause 1000
+test Synthesise KErrNone
+wait SynthesisComplete
+test InitialiseSynthesis KErrNone Networks and Bharti, one of India's leading private sector providers of telecommunications services, chose a hybrid solar wind -solution for Dharkola site in Orissa after a cost- benefit analysis in late 2005. 
+wait SynthesisInitComplete
+test Synthesise KErrCancel
+pause 3000
+test Pause KErrNone
+wait SynthesisComplete
+pause 500
+test Synthesise KErrNone
+wait SynthesisComplete
+test Close KErrNone
+delete test
+[Endtest] 
+
+[Test] // 6
+title Pause and resume file output
+timeout 120000  // 2 minutes
+create SpeechSynthesisTest test
+request SynthesisInitComplete
+request SynthesisComplete
+test Open KErrNone
+test InitialiseSynthesisFile KErrNone Software Platforms (a Technology Platforms unit) starts consultations with employee representatives :( Software Platforms is starting a consultations process with employee representatives concerning a maximum of 100 employees in Finland. filename: C:\pauseresume.raw
+wait SynthesisInitComplete
+test Synthesise KErrNone
+test Pause KErrNotSupported
+wait SynthesisComplete
+test Close KErrNone
+delete test
+[Endtest] 
+
+[Test] // 7
+title Stop
+timeout 120000  // 2 minutes
+create SpeechSynthesisTest test
+request SynthesisInitComplete
+request SynthesisComplete
+test Open KErrNone
+test InitialiseSynthesis KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. 
+wait SynthesisInitComplete
+test Synthesise KErrAbort
+test Stop KErrNone
+wait SynthesisComplete
+test InitialiseSynthesis KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. 
+wait SynthesisInitComplete
+test Synthesise KErrAbort
+pause 100
+test Stop KErrNone
+wait SynthesisComplete
+test InitialiseSynthesis KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. 
+wait SynthesisInitComplete
+test Synthesise KErrAbort
+pause 1000
+test Stop KErrNone
+wait SynthesisComplete
+test InitialiseSynthesis KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. 
+wait SynthesisInitComplete
+test Synthesise KErrAbort
+pause 3000
+test Stop KErrNone
+wait SynthesisComplete
+test InitialiseSynthesis KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. 
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test Close KErrNone
+delete test
+[Endtest] 
+
+[Test] // 8
+title Stop output to file
+timeout 120000  // 2 minutes
+create SpeechSynthesisTest test
+request SynthesisInitComplete
+request SynthesisComplete
+test Open KErrNone
+test InitialiseSynthesisFile KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. filename: C:\stop1.raw
+wait SynthesisInitComplete
+test Synthesise KErrAbort
+test Stop KErrNone
+wait SynthesisComplete
+test InitialiseSynthesisFile KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. filename: C:\stop2.raw
+wait SynthesisInitComplete
+test Synthesise KErrAbort
+pause 50
+test Stop KErrNone
+wait SynthesisComplete
+test InitialiseSynthesisFile KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. filename: C:\stop3.raw
+wait SynthesisInitComplete
+test Synthesise KErrAbort
+pause 200
+test Stop KErrNone
+wait SynthesisComplete
+test InitialiseSynthesisFile KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. filename: C:\stop4.raw
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test Close KErrNone
+delete test
+[Endtest] 
+
+[Test] // 9
+title Cancel initialisation 
+timeout 120000  // 2 minutes
+create SpeechSynthesisTest test
+request SynthesisInitComplete
+request SynthesisComplete
+test Open KErrNone
+test InitialiseSynthesis KErrNone Networks and Bharti, one of India's leading private sector providers of telecommunications services, chose a hybrid solar wind -solution for Dharkola site in Orissa after a cost- benefit analysis in late 2005. 
+test Pause KErrNotReady
+test Stop KErrNone
+wait SynthesisInitComplete
+test InitialiseSynthesis KErrNone Networks and Bharti, one of India's leading private sector providers of telecommunications services, chose a hybrid solar wind -solution for Dharkola site in Orissa after a cost- benefit analysis in late 2005. 
+pause 100
+test Stop KErrNone
+wait SynthesisInitComplete
+test InitialiseSynthesis KErrNone Networks and Bharti, one of India's leading private sector providers of telecommunications services, chose a hybrid solar wind -solution for Dharkola site in Orissa after a cost- benefit analysis in late 2005. 
+wait SynthesisInitComplete
+test Synthesise KErrNone
+wait SynthesisComplete
+test Close KErrNone
+delete test
+[Endtest]