| |
|
| org.ontoware.rdf2go.model.AbstractModelSetTest
All known Subclasses: org.ontoware.rdf2go.model.ModelSetTest, org.ontoware.rdf2go.model.NotifyingModelSetTest,
AbstractModelSetTest | abstract public class AbstractModelSetTest extends TestCase (Code) | | Use this to test implementations of ModelSet. Overwrite the class and
implement the "setup" method, initializing modelset and modelfactory.
author: voelkel author: sauermann |
TESTGRAPHCOUNT | public static int TESTGRAPHCOUNT(Code) | | there are two graphs in the default test data
|
AbstractModelSetTest | public AbstractModelSetTest()(Code) | | |
AbstractModelSetTest | public AbstractModelSetTest(String arg0)(Code) | | Parameters: arg0 - |
addTestDataToModelSet | protected void addTestDataToModelSet() throws Exception(Code) | | Add some test data to the modelsets . Test data will use graphuri1,
graphuri2
|
getModelFactory | abstract public ModelFactory getModelFactory()(Code) | | a fresh ModelSet, to be tested |
testAddDataFromFileByCopying | public void testAddDataFromFileByCopying() throws Exception(Code) | | |
testAddDataFromFileByCopyingMoreDetail | public void testAddDataFromFileByCopyingMoreDetail() throws Exception(Code) | | above test sometimes failed, here is a trace into the details that can
happen
throws: Exception - |
testAddModel | public void testAddModel()(Code) | | AbstractModelSetTest does not seem to test ModelSet.addModel (RDF2Go
4.4.1-rc1), so we do it here.
|
testAddRemovePatternsWithNull | public void testAddRemovePatternsWithNull()(Code) | | |
testCreateStatement | public void testCreateStatement()(Code) | | |
testDeleteStatement | public void testDeleteStatement()(Code) | | |
testDeleteTriplePatternInAllGraphs | public void testDeleteTriplePatternInAllGraphs() throws ModelRuntimeException, Exception(Code) | | Gunnar: need a function that queries and removes triples from all
contexts... i.e. remove all (null, rdf:type, null) from ALL contexts...
Max: So basically this would mean handling of Triple-patterns not just
triples, in the add/remove methods. Ok.
throws: Exception - throws: ModelRuntimeException - |
testGetDefaultModel | public void testGetDefaultModel()(Code) | | The default model as defined in the SPARQL semantics. Each data set
consisting of Models/Graphs has one default graph.
|
testGetUnderlyingModelSetImplementation | public void testGetUnderlyingModelSetImplementation()(Code) | | |
testLoadDataIntoDefaultModel | public void testLoadDataIntoDefaultModel() throws Exception(Code) | | |
testOpenClose | public void testOpenClose()(Code) | | |
testRDF2GoBug | public void testRDF2GoBug()(Code) | | |
testRDF2GoBug2 | public void testRDF2GoBug2()(Code) | | |
testRDF2GoBugAddRemove | public void testRDF2GoBugAddRemove()(Code) | | |
testRTGO_39 | public void testRTGO_39()(Code) | | |
testReadFromInputStream | public void testReadFromInputStream()(Code) | | |
testReadFromInputStreamIntoDefaultModel | public void testReadFromInputStreamIntoDefaultModel() throws Exception(Code) | | |
testReadFromInputStreamIntoNamedModel | public void testReadFromInputStreamIntoNamedModel() throws Exception(Code) | | |
testReadFromInputStreamSyntax | public void testReadFromInputStreamSyntax()(Code) | | |
testReadFromReader | public void testReadFromReader()(Code) | | |
testReadFromReaderSyntax | public void testReadFromReaderSyntax()(Code) | | |
testSparqlAsk | public void testSparqlAsk()(Code) | | |
testSparqlConstruct | public void testSparqlConstruct() throws Exception(Code) | | |
testSparqlDescribe | public void testSparqlDescribe()(Code) | | |
testWriteToOutputStream | public void testWriteToOutputStream() throws Exception(Code) | | |
testWriteToOutputStreamSyntax | public void testWriteToOutputStreamSyntax() throws Exception(Code) | | |
testWriteToWriterSyntax | public void testWriteToWriterSyntax()(Code) | | |
|
|
|