Class RepositoryTest

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

@Timeout(value=1L, unit=MINUTES) public abstract class RepositoryTest extends Object
Integration test suite for implementations of Repository.
Author:
Jeen Broekstra
  • Field Details

    • 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

      @BeforeAll public static void setUpClass() throws Exception
      Throws:
      Exception
    • afterClass

      @AfterAll public static void afterClass() throws Exception
      Throws:
      Exception
    • setUp

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

      @AfterEach 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

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

      @Test public void testAutoInit() throws Exception
      Throws:
      Exception