Class AbstractDataStoreFactoryTest

  • All Implemented Interfaces:
    junit.framework.Test

    @Beta
    public abstract class AbstractDataStoreFactoryTest
    extends junit.framework.TestCase
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      private static void assertContentsAnyOrder​(java.util.Collection<?> c, java.lang.Object... elts)  
      protected abstract DataStoreFactory newDataStoreFactory()
      Returns a new instance of the data store factory to test.
      void setUp()  
      private void subtestIdException​(java.lang.String id)  
      private void subtestIdNoException​(java.lang.String id)  
      void tearDown()  
      void testClear()  
      void testContainsKeyAndValue()  
      void testDelete()  
      void testId()  
      void testKeySet()  
      void testLarge()  
      void testSet()  
      void testValues()  
      • Methods inherited from class junit.framework.TestCase

        assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AbstractDataStoreFactoryTest

        public AbstractDataStoreFactoryTest()
    • Method Detail

      • newDataStoreFactory

        protected abstract DataStoreFactory newDataStoreFactory()
                                                         throws java.lang.Exception
        Returns a new instance of the data store factory to test.
        Throws:
        java.lang.Exception
      • setUp

        public void setUp()
                   throws java.lang.Exception
        Overrides:
        setUp in class junit.framework.TestCase
        Throws:
        java.lang.Exception
      • tearDown

        public void tearDown()
                      throws java.lang.Exception
        Overrides:
        tearDown in class junit.framework.TestCase
        Throws:
        java.lang.Exception
      • assertContentsAnyOrder

        private static void assertContentsAnyOrder​(java.util.Collection<?> c,
                                                   java.lang.Object... elts)
      • testId

        public void testId()
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • subtestIdException

        private void subtestIdException​(java.lang.String id)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • subtestIdNoException

        private void subtestIdNoException​(java.lang.String id)
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSet

        public void testSet()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testValues

        public void testValues()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testKeySet

        public void testKeySet()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDelete

        public void testDelete()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testClear

        public void testClear()
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLarge

        public void testLarge()
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testContainsKeyAndValue

        public void testContainsKeyAndValue()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception