Search in sources :

Example 1 with NativeConfiguration

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();
}
Also used : NativeConfiguration(org.qi4j.library.rdf.repository.NativeConfiguration) After(org.junit.After)

Aggregations

After (org.junit.After)1 NativeConfiguration (org.qi4j.library.rdf.repository.NativeConfiguration)1