找到对log方法的调用后,我们检查程序计数器是否在前面确定的if块外面。
When a call to the log method is found, we check to see if the program counter is outside the if block determined earlier.
对于 asyncEcho 测试,它将断言包装进一个 try/catch 程序块,并且,任何错误都将通过 deferred.errback(error) 调用被传递回 DOH。
With the asyncEcho test, it wraps the asserts in a try/catch, and any errors are passed back to the DOH through the deferred.errback(error) call.
用户提供了需要填入字段的信息之后,程序将调用VoiceXML中的填充块。
Once the user supplies the information required to fill out all of the fields, the filled block of the VoiceXML is called.
应用推荐