Class RDFStoreTest

  • Direct Known Subclasses:
    RDFNotifyingStoreTest

    public abstract class RDFStoreTest
    extends Object
    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.
    • Field Detail

      • to

        public org.junit.rules.Timeout to
        Timeout all individual tests after 1 minute.
      • painter

        protected IRI painter
      • paints

        protected IRI paints
      • painting

        protected IRI painting
      • picasso

        protected IRI picasso
      • rembrandt

        protected IRI rembrandt
      • guernica

        protected IRI guernica
      • nightwatch

        protected IRI nightwatch
      • context1

        protected IRI context1
      • context2

        protected IRI context2
      • sail

        protected Sail sail
    • Constructor Detail

      • RDFStoreTest

        public RDFStoreTest()
    • Method Detail

      • createSail

        protected abstract Sail createSail()
        Gets an instance of the Sail that should be tested.
        Returns:
        a Sail.
      • testEmptyRepository

        public void testEmptyRepository()
                                 throws Exception
        Throws:
        Exception
      • testValueRoundTrip1

        public void testValueRoundTrip1()
                                 throws Exception
        Throws:
        Exception
      • testValueRoundTrip2

        public void testValueRoundTrip2()
                                 throws Exception
        Throws:
        Exception
      • testValueRoundTrip3

        public void testValueRoundTrip3()
                                 throws Exception
        Throws:
        Exception
      • testValueRoundTrip4

        public void testValueRoundTrip4()
                                 throws Exception
        Throws:
        Exception
      • testValueRoundTrip5

        public void testValueRoundTrip5()
                                 throws Exception
        Throws:
        Exception
      • testDecimalRoundTrip

        public void testDecimalRoundTrip()
                                  throws Exception
        Throws:
        Exception
      • testTimeZoneRoundTrip

        public void testTimeZoneRoundTrip()
                                   throws Exception
        Throws:
        Exception
      • testLongURIRoundTrip

        public void testLongURIRoundTrip()
                                  throws Exception
        Throws:
        Exception
      • testLongLiteralRoundTrip

        public void testLongLiteralRoundTrip()
                                      throws Exception
        Throws:
        Exception
      • testReallyLongLiteralRoundTrip

        public void testReallyLongLiteralRoundTrip()
                                            throws Exception
        Throws:
        Exception
      • testLongLangRoundTrip

        public void testLongLangRoundTrip()
                                   throws Exception
        Throws:
        Exception
      • testInvalidDateTime

        public void testInvalidDateTime()
                                 throws Exception
        Throws:
        Exception
      • testAddWhileQuerying

        public void testAddWhileQuerying()
                                  throws Exception
        Throws:
        Exception
      • testRemoveAndClear

        public void testRemoveAndClear()
                                throws Exception
        Throws:
        Exception
      • testClose

        public void testClose()
      • testStatementEquals

        public void testStatementEquals()
                                 throws Exception
        Throws:
        Exception
      • testStatementSerialization

        public void testStatementSerialization()
                                        throws Exception
        Throws:
        Exception
      • testClearNamespaces

        public void testClearNamespaces()
                                 throws Exception
        Throws:
        Exception
      • testRemoveNamespaces

        public void testRemoveNamespaces()
                                  throws Exception
        Throws:
        Exception
      • testNullNamespaceDisallowed

        public void testNullNamespaceDisallowed()
                                         throws Exception
        Throws:
        Exception
      • testNullPrefixDisallowed

        public void testNullPrefixDisallowed()
                                      throws Exception
        Throws:
        Exception
      • testDualConnections

        public void testDualConnections()
                                 throws Exception
        Throws:
        Exception
      • testDuplicateCount

        public void testDuplicateCount()
      • testDuplicateGetStatement

        public void testDuplicateGetStatement()
      • testDuplicateGetStatementAfterCommit

        public void testDuplicateGetStatementAfterCommit()
      • testDuplicateCountAfterComit

        public void testDuplicateCountAfterComit()
      • testDuplicateCountMultipleTimes

        public void testDuplicateCountMultipleTimes()