| Constructor and Description |
|---|
GridFsTest() |
public void testChunkSize()
GridFs.getChunkSize().public void testCreateIndex()
GridFs.createIndexes().public void testCreateIndexUniqueFailes()
GridFs.createIndexes().public void testDoAddFault()
throws IOException
GridFs.doAddFault(java.util.Map<java.lang.Object, java.util.List<java.lang.String>>, com.allanbank.mongodb.bson.Element, java.lang.String).IOException - On an error.public void testFsck()
throws IOException
IOException - On an error.public void testFsckMd5Fails()
throws IOException
IOException - On an error.public void testFsckMd5FailsAttemptRepair()
throws IOException
IOException - On an error.public void testFsckMd5FailsAttemptRepairThrowsRuntimeException()
throws IOException
IOException - On an error.public void testFsckMd5FailsAttemptRepairWithChunkMissingData()
throws IOException
IOException - On an error.public void testFsckMd5FailsForMissingFileMD5()
throws IOException
IOException - On an error.public void testFsckMd5Repair()
throws IOException
IOException - On an error.public void testFsckMd5RepairButStillNotValid()
throws IOException
IOException - On an error.public void testGridFsMongoDatabase()
GridFs.GridFs(MongoDatabase).public void testGridFsString()
GridFs.GridFs(String).public void testOverhead()
GridFs.getChunkSize().public void testRead()
throws IOException
IOException - On an error.public void testReadChunkMissingBytes()
throws IOException
IOException - On an error.public void testReadMissingChunkNumber()
throws IOException
IOException - On an error.public void testReadMissingChunks()
throws IOException
IOException - On an error.public void testReadMissingChunkSizeOnly()
throws IOException
IOException - On an error.public void testReadMissingMetadata()
throws IOException
IOException - On an error.public void testReadNotFound()
throws IOException
IOException - On an error.public void testReadObjectId()
throws IOException
IOException - On an error.public void testReadObjectIdNotFound()
throws IOException
IOException - On an error.public void testReadOutOfOrderChunks()
throws IOException
IOException - On an error.public void testReadWithZeroLengthFileAndEmptyChunk()
throws IOException
IOException - On an error.public void testReadWrongSize()
throws IOException
IOException - On an error.public void testReadZeroLengthFile()
throws IOException
IOException - On an error.public void testUnlink()
throws IOException
GridFs.unlink(String).IOException - On an error.public void testUnlinkFailesOnFiles()
throws IOException
GridFs.unlink(String).IOException - On an error.public void testUnlinkFailesOnFilesLookup()
throws IOException
GridFs.unlink(String).IOException - On an error.public void testUnlinkFailsOnChunks()
throws IOException
GridFs.unlink(String).IOException - On an error.public void testUnlinkFailsOnChunksException()
throws IOException
GridFs.unlink(String).IOException - On an error.public void testUnlinkInterrupted()
throws IOException
GridFs.unlink(String).IOException - On an error.public void testUnlinkObjectId()
throws IOException
GridFs.unlink(String).IOException - On an error.public void testUnlinkObjectidFailesOnFilesLookup()
throws IOException
GridFs.unlink(String).IOException - On an error.public void testValidate()
throws IOException
GridFs.validate(String).IOException - On an error.public void testValidateFails()
throws IOException
GridFs.validate(String).IOException - On an error.public void testValidateFileNotFound()
throws IOException
GridFs.validate(String).IOException - On an error.public void testValidateObjectId()
throws IOException
GridFs.validate(ObjectId).IOException - On an error.public void testValidateObjectIdFileNotFound()
throws IOException
GridFs.validate(String).IOException - On an error.public void testValidateWithNoMd5InResults()
throws IOException
GridFs.validate(String).IOException - On an error.public void testWrite()
throws IOException
GridFs.write(java.lang.String, java.io.InputStream).IOException - On an error.public void testWriteInterrupted()
throws IOException
GridFs.write(java.lang.String, java.io.InputStream).IOException - On an error.public void testWriteMoreThan1Chunk()
throws IOException
GridFs.write(java.lang.String, java.io.InputStream).IOException - On an error.public void testWriteWithError()
throws IOException
GridFs.write(java.lang.String, java.io.InputStream).IOException - On an error.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.