@throws Exception if the test fails
()
| 302 | * @throws Exception if the test fails |
| 303 | */ |
| 304 | @Test |
| 305 | public void voiceXML() throws Exception { |
| 306 | final String content = |
| 307 | "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" |
| 308 | + "<vxml xmlns=\"http://www.w3.org/2001/vxml\"" |
| 309 | + " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"" |
| 310 | + " xsi:schemaLocation=\"http://www.w3.org/2001/vxml " |
| 311 | + " http://www.w3.org/TR/voicexml20/vxml.xsd\"" |
| 312 | + " version=\"2.0\">\n" |
| 313 | + " <form>\n" |
| 314 | + " <block>Hello World!</block>\n" |
| 315 | + " </form>\n" |
| 316 | + "</vxml>"; |
| 317 | |
| 318 | final XmlPage xmlPage = testDocument(content, "application/voicexml+xml"); |
| 319 | assertEquals("vxml", xmlPage.getXmlDocument().getFirstChild().getNodeName()); |
| 320 | } |
| 321 | |
| 322 | /** |
| 323 | * @throws Exception if the test fails |
nothing calls this directly
no test coverage detected