Class ModelTest
java.lang.Object
org.eclipse.rdf4j.testsuite.model.ModelTest
- Direct Known Subclasses:
AbstractModelPerformanceTest
@TestInstance(PER_CLASS)
@Timeout(value=1000L,
unit=MILLISECONDS)
public abstract class ModelTest
extends Object
Abstract test suite for implementations of the
Model
interface- Author:
- Peter Ansell
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Model
Helper method that asserts that the returned model is empty before returning.protected abstract Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
protected Model
void
setUp()
void
tearDown()
void
Test method forModel.contains(Resource, IRI, Value, Resource...)
.void
Test method forModel.contexts()
.void
void
void
void
void
void
void
void
void
Test method forModel.filter(Resource, IRI, Value, Resource...)
.void
void
void
void
void
Test method forModel.objects()
.void
Test method forModel.predicates()
.void
Test method forModel.subjects()
.
-
Field Details
-
literal1
-
literal2
-
literal3
-
uri1
-
uri2
-
uri3
-
bnode1
-
bnode2
-
bnode3
-
vf
-
-
Constructor Details
-
ModelTest
public ModelTest()
-
-
Method Details
-
getNewModel
-
getNewEmptyModel
-
getNewModelObjectSingleLiteral
-
getNewModelObjectSingleURI
-
getNewModelObjectSingleBNode
-
getNewModelObjectDoubleLiteral
-
getNewModelObjectDoubleURI
-
getNewModelObjectDoubleBNode
-
getNewModelObjectSingleLiteralSingleURI
-
getNewModelObjectSingleLiteralSingleBNode
-
getNewModelObjectSingleURISingleBNode
-
getNewModelObjectTripleLiteral
-
getNewModelObjectTripleURI
-
getNewModelObjectTripleBNode
-
getNewModelObjectSingleLiteralSingleURISingleBNode
-
getNewModelObjectSingleLiteralDoubleURI
-
getNewModelObjectSingleLiteralDoubleBNode
-
getNewModelObjectSingleURIDoubleBNode
-
getNewModelObjectSingleURIDoubleLiteral
-
getNewModelObjectSingleBNodeDoubleURI
-
getNewModelObjectSingleBNodeDoubleLiteral
-
getNewModelTwoContexts
-
setUp
-
tearDown
-
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()
-