use of eu.etaxonomy.cdm.api.service.lsid.impl.LsidRegistryImpl in project cdmlib by cybertaxonomy.
the class LSIDAuthorityServiceTest method setUp.
@Before
public void setUp() throws Exception {
unknownLsid = new LSID("fred.org", "dagg", "1", null);
knownLsid = new LSID("example.org", "taxonconcepts", "1", null);
XMLUnit.setControlParser("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
XMLUnit.setTestParser("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
XMLUnit.setSAXParserFactory("org.apache.xerces.jaxp.SAXParserFactoryImpl");
XMLUnit.setIgnoreWhitespace(true);
((LsidRegistryImpl) lsidRegistry).init();
}
use of eu.etaxonomy.cdm.api.service.lsid.impl.LsidRegistryImpl in project cdmlib by cybertaxonomy.
the class LSIDMetadataServiceTest method setUp.
@Before
public void setUp() throws Exception {
lsid = new LSID("example.org", "taxonconcepts", "1", null);
((LsidRegistryImpl) lsidRegistry).init();
}
use of eu.etaxonomy.cdm.api.service.lsid.impl.LsidRegistryImpl in project cdmlib by cybertaxonomy.
the class LSIDRegistryTest method setUp.
@Before
public void setUp() {
try {
lsid = new LSID("urn:lsid:example.org:names:1");
ipniLsid = new LSID("urn:lsid:ipni.org:names:1");
unknownAuthorityLsid = new LSID("urn:lsid:fred.org:dagg:1");
} catch (MalformedLSIDException mle) {
Assert.fail();
}
((LsidRegistryImpl) lsidRegistry).init();
}
use of eu.etaxonomy.cdm.api.service.lsid.impl.LsidRegistryImpl in project cdmlib by cybertaxonomy.
the class LSIDDataServiceTest method setUp.
@Before
public void setUp() throws Exception {
unknownLsid = new LSID("fred.org", "dagg", "1", null);
knownLsid = new LSID("example.org", "taxonconcepts", "1", null);
((LsidRegistryImpl) lsidRegistry).init();
}
Aggregations