Class ESBlobStoreContainerTestCase


  • public abstract class ESBlobStoreContainerTestCase
    extends ESTestCase
    Generic test case for blob store container implementation. These tests check basic blob store functionality.
    • Constructor Detail

      • ESBlobStoreContainerTestCase

        public ESBlobStoreContainerTestCase()
    • Method Detail

      • testReadNonExistingPath

        public void testReadNonExistingPath()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • testWriteRead

        public void testWriteRead()
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • testList

        public void testList()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • testDeleteBlob

        public void testDeleteBlob()
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • testDeleteBlobIgnoringIfNotExists

        public void testDeleteBlobIgnoringIfNotExists()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • testVerifyOverwriteFails

        public void testVerifyOverwriteFails()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • writeBlob

        protected void writeBlob​(BlobContainer container,
                                 java.lang.String blobName,
                                 BytesArray bytesArray,
                                 boolean failIfAlreadyExists)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • newBlobStore

        protected abstract BlobStore newBlobStore()
                                           throws java.io.IOException
        Throws:
        java.io.IOException