Class ModelNamespacesTest
java.lang.Object
org.eclipse.rdf4j.testsuite.model.ModelNamespacesTest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Model
Implementing tests must return a new, empty, Model for each call to this method.void
setUp()
void
tearDown()
final void
Test method forNamespaceAware.getNamespace(java.lang.String)
.final void
Test method forNamespaceAware.getNamespace(java.lang.String)
.final void
Test method forNamespaceAware.getNamespaces()
.final void
Test method forNamespaceAware.getNamespace(java.lang.String)
.final void
Test method forNamespaceAware.getNamespaces()
.final void
Test method forNamespaceAware.getNamespaces()
.final void
Test method forModel.removeNamespace(java.lang.String)
.final void
Test method forModel.removeNamespace(java.lang.String)
.final void
Test method forModel.removeNamespace(java.lang.String)
.final void
Test method forModel.setNamespace(org.eclipse.rdf4j.model.Namespace)
.final void
Test method forModel.setNamespace(org.eclipse.rdf4j.model.Namespace)
.final void
Test method forModel.setNamespace(java.lang.String, java.lang.String)
.
-
Constructor Details
-
ModelNamespacesTest
public ModelNamespacesTest()
-
-
Method Details
-
getModelImplementation
Implementing tests must return a new, empty, Model for each call to this method.- Returns:
- A new empty implementation of
Model
that implements the namespace related methods,NamespaceAware.getNamespace(String)
,NamespaceAware.getNamespaces()
,Model.setNamespace(Namespace)
,Model.setNamespace(String, String)
, andModel.removeNamespace(String)
.
-
setUp
@BeforeEach public void setUp() -
tearDown
-
testGetNamespacesEmpty
@Test public final void testGetNamespacesEmpty()Test method forNamespaceAware.getNamespaces()
. -
testGetNamespacesSingle
@Test public final void testGetNamespacesSingle()Test method forNamespaceAware.getNamespaces()
. -
testGetNamespacesMultiple
@Test public final void testGetNamespacesMultiple()Test method forNamespaceAware.getNamespaces()
. -
testGetNamespaceEmpty
@Test public final void testGetNamespaceEmpty()Test method forNamespaceAware.getNamespace(java.lang.String)
. -
testGetNamespaceSingle
@Test public final void testGetNamespaceSingle()Test method forNamespaceAware.getNamespace(java.lang.String)
. -
testGetNamespaceMultiple
@Test public final void testGetNamespaceMultiple()Test method forNamespaceAware.getNamespace(java.lang.String)
. -
testSetNamespaceSamePrefix
@Test public final void testSetNamespaceSamePrefix()Test method forModel.setNamespace(java.lang.String, java.lang.String)
. -
testSetNamespaceNamespace
@Test public final void testSetNamespaceNamespace()Test method forModel.setNamespace(org.eclipse.rdf4j.model.Namespace)
. -
testSetNamespaceNamespaceSamePrefix
@Test public final void testSetNamespaceNamespaceSamePrefix()Test method forModel.setNamespace(org.eclipse.rdf4j.model.Namespace)
. -
testRemoveNamespaceEmpty
@Test public final void testRemoveNamespaceEmpty()Test method forModel.removeNamespace(java.lang.String)
. -
testRemoveNamespaceSingle
@Test public final void testRemoveNamespaceSingle()Test method forModel.removeNamespace(java.lang.String)
. -
testRemoveNamespaceMultiple
@Test public final void testRemoveNamespaceMultiple()Test method forModel.removeNamespace(java.lang.String)
.
-