Class RepositoryTest

java.lang.Object
org.eclipse.rdf4j.testsuite.repository.RepositoryTest

public abstract class RepositoryTest extends Object
Integration test suite for implementations of Repository.
Author:
Jeen Broekstra
  • Field Details

    • to

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

      protected static final String FOAF_NS
      See Also:
    • TEST_DIR_PREFIX

      public static final String TEST_DIR_PREFIX
      See Also:
    • testRepository

      protected Repository testRepository
    • vf

      protected ValueFactory vf
    • bob

      protected Resource bob
    • alice

      protected Resource alice
    • alexander

      protected Resource alexander
    • name

      protected IRI name
    • mbox

      protected IRI mbox
    • publisher

      protected final IRI publisher
    • unknownContext

      protected IRI unknownContext
    • context1

      protected IRI context1
    • context2

      protected IRI context2
    • nameAlice

      protected Literal nameAlice
    • nameBob

      protected Literal nameBob
    • mboxAlice

      protected Literal mboxAlice
    • mboxBob

      protected Literal mboxBob
    • Александър

      protected Literal Александър
  • Constructor Details

    • RepositoryTest

      public RepositoryTest()
  • Method Details

    • setUpClass

      public static void setUpClass() throws Exception
      Throws:
      Exception
    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • tearDown

      public void tearDown() throws Exception
      Throws:
      Exception
    • createRepository

      protected abstract Repository createRepository() throws Exception
      Gets an (uninitialized) instance of the repository that should be tested.
      Returns:
      an uninitialized repository.
      Throws:
      Exception
    • testShutdownFollowedByInit

      public void testShutdownFollowedByInit() throws Exception
      Throws:
      Exception
    • testAutoInit

      public void testAutoInit() throws Exception
      Throws:
      Exception