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()
                               throws Exception
        Throws:
        Exception
      • afterClass

        @AfterAll
        public static void afterClass()
                               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