01: package org.ontoware.rdfreactor.runtime;
02:
03: import java.util.Calendar;
04:
05: import org.junit.Test;
06: import org.ontoware.rdf2go.RDF2Go;
07: import org.ontoware.rdf2go.model.Model;
08: import org.ontoware.rdf2go.model.node.URI;
09: import org.ontoware.rdf2go.model.node.impl.URIImpl;
10:
11: public class RDFReactorRuntimeTest {
12:
13: @Test
14: public void testCalendarHandling() {
15: Model model = RDF2Go.getModelFactory().createModel();
16: model.open();
17: URI s = new URIImpl("urn:test:S");
18: URI p = new URIImpl("urn:test:P");
19: Calendar cal = Calendar.getInstance();
20: BridgeBase.add(model, s, p, cal);
21: }
22:
23: }
|