/* (non-Javadoc) * @see com.semagia.mio.cxtm.AbstractValidCXTMTestCase#makeDeserializer() */ @Override protected IDeserializer makeDeserializer() throws Exception { final IDeserializer deser = new RDFaDeserializerFactory().createDeserializer(); final URL url = TestRDFaHTMLDeserializerMappingIRI.class.getResource( "/cxtm/rdf/externalmapping/rdfa-mapping.rdf"); deser.setProperty(Property.RDF2TM_MAPPING_IRI, url.toExternalForm()); return deser; }
/* (non-Javadoc) * @see com.semagia.mio.cxtm.AbstractValidCXTMTestCase#afterParsing(com.semagia.mio.IDeserializer) */ @Override protected void afterParsing(IDeserializer deser) { Object mappingProp = deser.getProperty(Property.RDF2TM_MAPPING); assertNotNull(mappingProp); assertTrue(mappingProp instanceof IMapping); }