srsf/speechsynthesis/tsrc/speechsynthesistest/data/speechsynthesistest.cfg
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 [Define]
       
     2 KErrNone 0
       
     3 KErrCancel -3
       
     4 KErrNotSupported -5
       
     5 KErrArgument -6
       
     6 KErrNotReady -18
       
     7 KErrAbort -39
       
     8 [Enddefine]
       
     9 
       
    10 [Test] // 1
       
    11 title Basic functionality
       
    12 timeout 120000  // 2 minutes
       
    13 create SpeechSynthesisTest test
       
    14 request SynthesisInitComplete
       
    15 request SynthesisComplete
       
    16 test Open KErrNone
       
    17 test GetSupportedLangs KErrNone
       
    18 test GetSupportedVoices KErrNone 1
       
    19 test Voice KErrNone
       
    20 test SetVoice KErrNotSupported // Test is not implemented yet
       
    21 test MaxVolume KErrNone
       
    22 test SetVolume KErrNone 8 // Scale is 0..10 * MaxVolume
       
    23 test Volume KErrNone
       
    24 test MaxSpeakingRate KErrNone
       
    25 test SetSpeakingRate KErrNone 80 // Scale is 1..100
       
    26 test SpeakingRate KErrNone
       
    27 test SetAudioPriority KErrNone 0 0 
       
    28 test CustomCommand KErrNone
       
    29 test Stop KErrNone
       
    30 test Pause KErrNotReady
       
    31 test InitialiseSynthesis KErrNone Short sentence.
       
    32 wait SynthesisInitComplete
       
    33 test Synthesise KErrNone
       
    34 wait SynthesisComplete
       
    35 test InitialiseSynthesisFile KErrNone Short sentence. filename: C:\test.raw
       
    36 wait SynthesisInitComplete
       
    37 test Synthesise KErrNone
       
    38 wait SynthesisComplete
       
    39 test Close KErrNone
       
    40 delete test
       
    41 [Endtest] 
       
    42 
       
    43 [Test] // 2
       
    44 title Basic synthesis
       
    45 timeout 120000  // 2 minutes
       
    46 create SpeechSynthesisTest test
       
    47 request SynthesisInitComplete
       
    48 request SynthesisComplete
       
    49 test Open KErrNone
       
    50 test Synthesise KErrNotReady
       
    51 wait SynthesisComplete
       
    52 test InitialiseSynthesis KErrNone U shouldn't hear this..
       
    53 wait SynthesisInitComplete
       
    54 test InitialiseSynthesis KErrNone The Open C libraries are part of S60 3.2 SDK -- a set of standard or otherwise useful libraries. 
       
    55 wait SynthesisInitComplete
       
    56 test Synthesise KErrNone
       
    57 wait SynthesisComplete
       
    58 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. 
       
    59 wait SynthesisInitComplete
       
    60 test Synthesise KErrNone
       
    61 wait SynthesisComplete
       
    62 test Close KErrNone
       
    63 delete test
       
    64 [Endtest] 
       
    65 
       
    66 [Test] // 3
       
    67 title Synthesise short inputs
       
    68 timeout 120000  // 2 minutes
       
    69 create SpeechSynthesisTest test
       
    70 request SynthesisInitComplete
       
    71 request SynthesisComplete
       
    72 test Open KErrNone
       
    73 test InitialiseSynthesis KErrNone a
       
    74 wait SynthesisInitComplete
       
    75 test Synthesise KErrNone
       
    76 wait SynthesisComplete
       
    77 test InitialiseSynthesis KErrNone
       
    78 wait SynthesisInitComplete
       
    79 test Synthesise KErrNone
       
    80 wait SynthesisComplete
       
    81 test InitialiseSynthesis KErrNone .
       
    82 wait SynthesisInitComplete
       
    83 test Synthesise KErrNone
       
    84 wait SynthesisComplete
       
    85 test InitialiseSynthesis KErrNone :)
       
    86 wait SynthesisInitComplete
       
    87 test Synthesise KErrNone
       
    88 wait SynthesisComplete
       
    89 test Close KErrNone
       
    90 delete test
       
    91 [Endtest] 
       
    92 
       
    93 [Test] // 4
       
    94 title Synthesise to file
       
    95 timeout 120000  // 2 minutes
       
    96 create SpeechSynthesisTest test
       
    97 request SynthesisInitComplete
       
    98 request SynthesisComplete
       
    99 test Open KErrNone
       
   100 test InitialiseSynthesisFile KErrNone Text to be saved to the file filename: C:\test1.raw
       
   101 wait SynthesisInitComplete
       
   102 test Synthesise KErrNone
       
   103 wait SynthesisComplete
       
   104 test InitialiseSynthesisFile KErrArgument Text to be saved to the file filename: C:\test.wav
       
   105 wait SynthesisInitComplete
       
   106 // STIF has AllFiles capability
       
   107 test InitialiseSynthesisFile KErrNone Text to be saved to the file filename: C:\private\test.raw
       
   108 wait SynthesisInitComplete
       
   109 test Synthesise KErrNone
       
   110 wait SynthesisComplete
       
   111 test InitialiseSynthesisFile KErrNone a filename: C:\test2.raw
       
   112 wait SynthesisInitComplete
       
   113 test Synthesise KErrNone
       
   114 wait SynthesisComplete
       
   115 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
       
   116 wait SynthesisInitComplete
       
   117 test Synthesise KErrNone
       
   118 wait SynthesisComplete
       
   119 test Close KErrNone
       
   120 delete test
       
   121 [Endtest] 
       
   122 
       
   123 [Test] // 5
       
   124 title Pause and resume
       
   125 timeout 120000  // 2 minutes
       
   126 create SpeechSynthesisTest test
       
   127 request SynthesisInitComplete
       
   128 request SynthesisComplete
       
   129 test Open KErrNone
       
   130 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. 
       
   131 wait SynthesisInitComplete
       
   132 test Synthesise KErrCancel
       
   133 test Pause KErrNone
       
   134 wait SynthesisComplete
       
   135 test Synthesise KErrCancel
       
   136 test Pause KErrNone
       
   137 wait SynthesisComplete
       
   138 pause 500
       
   139 test Synthesise KErrCancel
       
   140 pause 1000
       
   141 test Pause KErrNone
       
   142 wait SynthesisComplete
       
   143 pause 1000
       
   144 test Synthesise KErrNone
       
   145 wait SynthesisComplete
       
   146 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.
       
   147 wait SynthesisInitComplete
       
   148 test Synthesise KErrCancel
       
   149 pause 2000
       
   150 test Pause KErrNone
       
   151 wait SynthesisComplete
       
   152 pause 1000
       
   153 test Synthesise KErrNone
       
   154 wait SynthesisComplete
       
   155 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. 
       
   156 wait SynthesisInitComplete
       
   157 test Synthesise KErrCancel
       
   158 pause 3000
       
   159 test Pause KErrNone
       
   160 wait SynthesisComplete
       
   161 pause 500
       
   162 test Synthesise KErrNone
       
   163 wait SynthesisComplete
       
   164 test Close KErrNone
       
   165 delete test
       
   166 [Endtest] 
       
   167 
       
   168 [Test] // 6
       
   169 title Pause and resume file output
       
   170 timeout 120000  // 2 minutes
       
   171 create SpeechSynthesisTest test
       
   172 request SynthesisInitComplete
       
   173 request SynthesisComplete
       
   174 test Open KErrNone
       
   175 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
       
   176 wait SynthesisInitComplete
       
   177 test Synthesise KErrNone
       
   178 test Pause KErrNotSupported
       
   179 wait SynthesisComplete
       
   180 test Close KErrNone
       
   181 delete test
       
   182 [Endtest] 
       
   183 
       
   184 [Test] // 7
       
   185 title Stop
       
   186 timeout 120000  // 2 minutes
       
   187 create SpeechSynthesisTest test
       
   188 request SynthesisInitComplete
       
   189 request SynthesisComplete
       
   190 test Open KErrNone
       
   191 test InitialiseSynthesis KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. 
       
   192 wait SynthesisInitComplete
       
   193 test Synthesise KErrAbort
       
   194 test Stop KErrNone
       
   195 wait SynthesisComplete
       
   196 test InitialiseSynthesis KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. 
       
   197 wait SynthesisInitComplete
       
   198 test Synthesise KErrAbort
       
   199 pause 100
       
   200 test Stop KErrNone
       
   201 wait SynthesisComplete
       
   202 test InitialiseSynthesis KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. 
       
   203 wait SynthesisInitComplete
       
   204 test Synthesise KErrAbort
       
   205 pause 1000
       
   206 test Stop KErrNone
       
   207 wait SynthesisComplete
       
   208 test InitialiseSynthesis KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. 
       
   209 wait SynthesisInitComplete
       
   210 test Synthesise KErrAbort
       
   211 pause 3000
       
   212 test Stop KErrNone
       
   213 wait SynthesisComplete
       
   214 test InitialiseSynthesis KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. 
       
   215 wait SynthesisInitComplete
       
   216 test Synthesise KErrNone
       
   217 wait SynthesisComplete
       
   218 test Close KErrNone
       
   219 delete test
       
   220 [Endtest] 
       
   221 
       
   222 [Test] // 8
       
   223 title Stop output to file
       
   224 timeout 120000  // 2 minutes
       
   225 create SpeechSynthesisTest test
       
   226 request SynthesisInitComplete
       
   227 request SynthesisComplete
       
   228 test Open KErrNone
       
   229 test InitialiseSynthesisFile KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. filename: C:\stop1.raw
       
   230 wait SynthesisInitComplete
       
   231 test Synthesise KErrAbort
       
   232 test Stop KErrNone
       
   233 wait SynthesisComplete
       
   234 test InitialiseSynthesisFile KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. filename: C:\stop2.raw
       
   235 wait SynthesisInitComplete
       
   236 test Synthesise KErrAbort
       
   237 pause 50
       
   238 test Stop KErrNone
       
   239 wait SynthesisComplete
       
   240 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
       
   241 wait SynthesisInitComplete
       
   242 test Synthesise KErrAbort
       
   243 pause 200
       
   244 test Stop KErrNone
       
   245 wait SynthesisComplete
       
   246 test InitialiseSynthesisFile KErrNone The relocation of these groups affects approximately 45 employees, and approximately 50 positions will cease to exist. filename: C:\stop4.raw
       
   247 wait SynthesisInitComplete
       
   248 test Synthesise KErrNone
       
   249 wait SynthesisComplete
       
   250 test Close KErrNone
       
   251 delete test
       
   252 [Endtest] 
       
   253 
       
   254 [Test] // 9
       
   255 title Cancel initialisation 
       
   256 timeout 120000  // 2 minutes
       
   257 create SpeechSynthesisTest test
       
   258 request SynthesisInitComplete
       
   259 request SynthesisComplete
       
   260 test Open KErrNone
       
   261 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. 
       
   262 test Pause KErrNotReady
       
   263 test Stop KErrNone
       
   264 wait SynthesisInitComplete
       
   265 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. 
       
   266 pause 100
       
   267 test Stop KErrNone
       
   268 wait SynthesisInitComplete
       
   269 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. 
       
   270 wait SynthesisInitComplete
       
   271 test Synthesise KErrNone
       
   272 wait SynthesisComplete
       
   273 test Close KErrNone
       
   274 delete test
       
   275 [Endtest]