< prev index next >

test/javax/xml/jaxp/functional/javax/xml/xpath/ptests/XPathFactoryTest.java

Print this page




 201      * @throws XPathFactoryConfigurationException If the specified object model
 202     *          is unavailable, or if there is a configuration error.
 203      */
 204     @Test
 205     public void testCheckXPathFactory07() throws XPathFactoryConfigurationException {
 206         assertNotNull(XPathFactory.newInstance(VALID_URL).newXPath());
 207     }
 208 
 209     /**
 210      * Test for constructor - XPathFactory.newInstance(String uri) with valid
 211      * uri - DOM_OBJECT_MODEL.toString().
 212      *
 213      * @throws XPathFactoryConfigurationException If the specified object model
 214     *          is unavailable, or if there is a configuration error.
 215      */
 216     @Test
 217     public void testCheckXPathFactory08() throws XPathFactoryConfigurationException {
 218         assertNotNull(XPathFactory.newInstance(DOM_OBJECT_MODEL));
 219     }
 220 }
 221 
 222 


 201      * @throws XPathFactoryConfigurationException If the specified object model
 202     *          is unavailable, or if there is a configuration error.
 203      */
 204     @Test
 205     public void testCheckXPathFactory07() throws XPathFactoryConfigurationException {
 206         assertNotNull(XPathFactory.newInstance(VALID_URL).newXPath());
 207     }
 208 
 209     /**
 210      * Test for constructor - XPathFactory.newInstance(String uri) with valid
 211      * uri - DOM_OBJECT_MODEL.toString().
 212      *
 213      * @throws XPathFactoryConfigurationException If the specified object model
 214     *          is unavailable, or if there is a configuration error.
 215      */
 216     @Test
 217     public void testCheckXPathFactory08() throws XPathFactoryConfigurationException {
 218         assertNotNull(XPathFactory.newInstance(DOM_OBJECT_MODEL));
 219     }
 220 }


< prev index next >