Class ITStorage<T extends StorageComponent>

    • Constructor Detail

      • ITStorage

        public ITStorage()
    • Method Detail

      • initializeStoragePerTest

        protected boolean initializeStoragePerTest()
        Sets the test to initialise the StorageComponent before each test rather than the test class. Generally, tests will run faster if the storage is initialized as infrequently as possibly while clearing data between runs, but for certain backends like Cassandra, it's difficult to reliably clear data between runs and tends to be very slow anyways.
      • clear

        protected abstract void clear()
                               throws java.lang.Exception
        Clears store between tests.
        Throws:
        java.lang.Exception