| test.org.mandarax.rdf.AbstractRDFTestCase test.org.mandarax.rdf.RDFContainsPredicateTestCase
RDFContainsPredicateTestCase | public class RDFContainsPredicateTestCase extends AbstractRDFTestCase (Code) | | Test case for the contains predicates in the mandarax knowledgebase
test1 tests the contains predicate with a RDFContainer (file chap0401.rdf)
test2 tests the contains predicate with a RDFCollection (file collection.rdf)
See Also: org.mandarax.rdf.RDFClauseSet See Also: org.mandarax.rdf.RDFContainer org.mandarax.rdfRDFCollection author: Adrian Paschke version: 1.1 <01 August 2004> since: 0.2 |
Method Summary | |
public void | test1() | public void | test2() |
test1 | public void test1() throws Exception(Code) | | Test1 test the contains predicate for a RDFContainer (file chap0401.rdf)
throws: an - exception (indicating that the test case has failed) |
test2 | public void test2() throws Exception(Code) | | Test2 test the contains predicate for a RDFCollection (file collection.rdf)
throws: an - exception (indicating that the test case has failed) |
Methods inherited from test.org.mandarax.rdf.AbstractRDFTestCase | protected static Fact buildFactWithLiteral(String predicateNS, String predicateLN, String subURI, String value)(Code)(Java Doc) protected static Fact buildFactWithObject(String predicateNS, String predicateLN, String subURI, String objURI)(Code)(Java Doc) protected boolean compareObjects(Object object1, Object object2, boolean b)(Code)(Java Doc) protected boolean comparePredicates(Predicate predicate1, Predicate predicate2)(Code)(Java Doc) protected boolean compareSubjects(Object subject1, Object subject2)(Code)(Java Doc) protected static Object lit(String value)(Code)(Java Doc) protected static void log(String msg)(Code)(Java Doc) protected static Object obj(String uri)(Code)(Java Doc) protected static Predicate p(String ns, String name)(Code)(Java Doc) protected static Object sub(String uri)(Code)(Java Doc)
|
|
|