use of org.qi4j.library.rdf.repository.NativeConfiguration in project qi4j-sdk by Qi4j.
the class RdfQueryTest method tearDown.
@Override
@After
public void tearDown() throws Exception {
java.io.File data = null;
if (unitOfWork != null) {
NativeConfiguration conf = unitOfWork.get(NativeConfiguration.class, "NativeRepositoryService");
data = new java.io.File(conf.dataDirectory().get());
unitOfWork.discard();
}
if (data != null) {
remove(data);
}
super.tearDown();
}
Aggregations