Class RepositoryTest


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

      • RepositoryTest

        public RepositoryTest()
    • Method Detail

      • setUpClass

        @BeforeAll
        public static void setUpClass()
      • afterClass

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

        @AfterEach
        public void tearDown()
      • createRepository

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

        @Test
        public void testShutdownFollowedByInit()
      • testAutoInit

        @Test
        public void testAutoInit()