01: /*
02: (c) Copyright 2008 Hewlett-Packard Development Company, LP
03: All rights reserved.
04: $Id: TestReifierSearch.java,v 1.1 2008/02/11 09:32:44 chris-dollin Exp $
05: */
06:
07: package com.hp.hpl.jena.graph.test;
08:
09: import com.hp.hpl.jena.graph.*;
10: import com.hp.hpl.jena.rdf.model.test.ModelTestBase;
11: import com.hp.hpl.jena.shared.ReificationStyle;
12:
13: public class TestReifierSearch extends ModelTestBase {
14: public TestReifierSearch(String name) {
15: super (name);
16: }
17:
18: public void testX() {
19: Graph g = Factory.createDefaultGraph(ReificationStyle.Standard);
20: graphAdd(g, "x rdf:type rdf:Statement");
21: assertContains("", "x rdf:type rdf:Statement", g);
22: assertContains("", "?? rdf:type rdf:Statement", g);
23: assertContains("", "x ?? rdf:Statement", g);
24: assertContains("", "x rdf:type ??", g);
25: }
26:
27: }
|