예제 #1
0
 @Test
 public void testHasResourceValueOPT1() throws SchemagenOptionsConfigurationException {
   SchemagenOptions so0 = new SchemagenOptions();
   Resource r = ResourceFactory.createResource("http://example.org/foo");
   so0.setOption(OPT.ROOT, r);
   assertTrue(so0.hasResourceValue(OPT.ROOT));
 }
예제 #2
0
 /**
  * Test method for {@link SchemagenOptions#hasResourceValue(jena.schemagen.SchemagenOptions.OPT)}.
  *
  * @throws SchemagenOptionsConfigurationException
  */
 @Test
 public void testHasResourceValueOPT0() throws SchemagenOptionsConfigurationException {
   SchemagenOptions so0 = new SchemagenOptions();
   assertFalse(so0.hasResourceValue(OPT.ROOT));
 }