Class ModelTest
- java.lang.Object
-
- org.eclipse.rdf4j.testsuite.model.ModelTest
-
- Direct Known Subclasses:
AbstractModelPerformanceTest
,AbstractModelTest
@TestInstance(PER_CLASS) @Timeout(value=1000L, unit=MILLISECONDS) public abstract class ModelTest extends Object
Abstract test suite for implementations of theModel
interface- Author:
- Peter Ansell
-
-
Constructor Summary
Constructors Constructor Description ModelTest()
-
Method Summary
-
-
-
Field Detail
-
literal1
protected Literal literal1
-
literal2
protected Literal literal2
-
literal3
protected Literal literal3
-
uri1
protected IRI uri1
-
uri2
protected IRI uri2
-
uri3
protected IRI uri3
-
bnode1
protected BNode bnode1
-
bnode2
protected BNode bnode2
-
bnode3
protected BNode bnode3
-
vf
protected final ValueFactory vf
-
-
Method Detail
-
getNewModel
protected abstract Model getNewModel()
-
getNewEmptyModel
protected Model getNewEmptyModel()
Helper method that asserts that the returned model is empty before returning.- Returns:
- An empty instance of the
Model
implementation being tested.
-
getNewModelObjectSingleLiteral
protected Model getNewModelObjectSingleLiteral()
-
getNewModelObjectSingleURI
protected Model getNewModelObjectSingleURI()
-
getNewModelObjectSingleBNode
protected Model getNewModelObjectSingleBNode()
-
getNewModelObjectDoubleLiteral
protected Model getNewModelObjectDoubleLiteral()
-
getNewModelObjectDoubleURI
protected Model getNewModelObjectDoubleURI()
-
getNewModelObjectDoubleBNode
protected Model getNewModelObjectDoubleBNode()
-
getNewModelObjectSingleLiteralSingleURI
protected Model getNewModelObjectSingleLiteralSingleURI()
-
getNewModelObjectSingleLiteralSingleBNode
protected Model getNewModelObjectSingleLiteralSingleBNode()
-
getNewModelObjectSingleURISingleBNode
protected Model getNewModelObjectSingleURISingleBNode()
-
getNewModelObjectTripleLiteral
protected Model getNewModelObjectTripleLiteral()
-
getNewModelObjectTripleURI
protected Model getNewModelObjectTripleURI()
-
getNewModelObjectTripleBNode
protected Model getNewModelObjectTripleBNode()
-
getNewModelObjectSingleLiteralSingleURISingleBNode
protected Model getNewModelObjectSingleLiteralSingleURISingleBNode()
-
getNewModelObjectSingleLiteralDoubleURI
protected Model getNewModelObjectSingleLiteralDoubleURI()
-
getNewModelObjectSingleLiteralDoubleBNode
protected Model getNewModelObjectSingleLiteralDoubleBNode()
-
getNewModelObjectSingleURIDoubleBNode
protected Model getNewModelObjectSingleURIDoubleBNode()
-
getNewModelObjectSingleURIDoubleLiteral
protected Model getNewModelObjectSingleURIDoubleLiteral()
-
getNewModelObjectSingleBNodeDoubleURI
protected Model getNewModelObjectSingleBNodeDoubleURI()
-
getNewModelObjectSingleBNodeDoubleLiteral
protected Model getNewModelObjectSingleBNodeDoubleLiteral()
-
getNewModelTwoContexts
protected Model getNewModelTwoContexts()
-
testGetStatements_SingleLiteral
@Test public void testGetStatements_SingleLiteral()
-
testGetStatements_IteratorModification
@Test public void testGetStatements_IteratorModification()
-
testGetStatements_ConcurrentModificationOfModel
@Test public void testGetStatements_ConcurrentModificationOfModel()
-
testGetStatements_AddToEmptyModel
@Test public void testGetStatements_AddToEmptyModel()
-
testFilterSingleLiteral
@Test public void testFilterSingleLiteral()
Test method forModel.filter(Resource, IRI, Value, Resource...)
.
-
testFilter_AddToEmptyFilteredModel
@Test public void testFilter_AddToEmptyFilteredModel()
-
testFilter_RemoveFromFilter
@Test public void testFilter_RemoveFromFilter()
-
testFilter_AddToNonEmptyFilteredModel
@Test public void testFilter_AddToNonEmptyFilteredModel()
-
testFilter_AddToEmptyOriginalModel
@Test public void testFilter_AddToEmptyOriginalModel()
-
testFilter_RemoveFromOriginal
@Test public void testFilter_RemoveFromOriginal()
-
testFilter_AddToOriginalModel
@Test public void testFilter_AddToOriginalModel()
-
testContainsSingleLiteral
@Test public void testContainsSingleLiteral()
Test method forModel.contains(Resource, IRI, Value, Resource...)
.
-
testSubjects
@Test public void testSubjects()
Test method forModel.subjects()
.
-
testPredicates
@Test public void testPredicates()
Test method forModel.predicates()
.
-
testObjects
@Test public void testObjects()
Test method forModel.objects()
.
-
testContexts
@Test public void testContexts()
Test method forModel.contexts()
.
-
testEqualsVsIsomorphic
@Test public void testEqualsVsIsomorphic()
-
testEqualsHashcode
@Test public void testEqualsHashcode()
-
-