< prev index next >

test/javax/xml/jaxp/functional/catalog/SystemFamilyTest.java

Print this page




  67                         "http://local/base/dtd/rs/docBob.dtd" },
  68 
  69                 // The matched URI of the specified system id is defined in a
  70                 // systemSuffix entry.
  71                 { "http://remote/dtd/carl/docCarl.dtd",
  72                          "http://local/base/dtd/docCarlSS.dtd" } };
  73     }
  74 
  75     /*
  76      * If no match is found, a CatalogException should be thrown.
  77      */
  78     @Test(expectedExceptions = CatalogException.class)
  79     public void testNoMatch() {
  80         checkNoMatch(createResolver());
  81     }
  82 
  83     private CatalogResolver createResolver() {
  84         return catalogResolver("systemFamily.xml");
  85     }
  86 }
  87 


  67                         "http://local/base/dtd/rs/docBob.dtd" },
  68 
  69                 // The matched URI of the specified system id is defined in a
  70                 // systemSuffix entry.
  71                 { "http://remote/dtd/carl/docCarl.dtd",
  72                          "http://local/base/dtd/docCarlSS.dtd" } };
  73     }
  74 
  75     /*
  76      * If no match is found, a CatalogException should be thrown.
  77      */
  78     @Test(expectedExceptions = CatalogException.class)
  79     public void testNoMatch() {
  80         checkNoMatch(createResolver());
  81     }
  82 
  83     private CatalogResolver createResolver() {
  84         return catalogResolver("systemFamily.xml");
  85     }
  86 }

< prev index next >