Class RDFNotifyingStoreTest

  • All Implemented Interfaces:
    SailChangedListener

    public abstract class RDFNotifyingStoreTest
    extends RDFStoreTest
    implements SailChangedListener
    A JUnit test for testing Sail implementations that store RDF data. This is purely a test for data storage and retrieval which assumes that no inferencing or whatsoever is performed. This is an abstract class that should be extended for specific Sail implementations.
    • Constructor Detail

      • RDFNotifyingStoreTest

        public RDFNotifyingStoreTest()
    • Method Detail

      • createSail

        protected abstract NotifyingSail createSail()
                                             throws SailException
        Gets an instance of the Sail that should be tested. The returned repository should already have been initialized.
        Specified by:
        createSail in class RDFStoreTest
        Returns:
        an initialized Sail.
        Throws:
        SailException - If the initialization of the repository failed.
      • addSailChangedListener

        @BeforeEach
        public void addSailChangedListener()
      • testNotifyingRemoveAndClear

        @Test
        public void testNotifyingRemoveAndClear()