Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
33 0 0 0 100% 9.144

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.exoplatform.commons.file.services 21 0 0 0 100% 2.675
org.exoplatform.commons.file.dao 11 0 0 0 100% 2.016
org.exoplatform.commons.file 1 0 0 0 100% 4.453

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.exoplatform.commons.file.services

Class Tests Errors Failures Skipped Success Rate Time
FileServiceImplIntegrationTest 4 0 0 0 100% 0.919
FileServiceImplTest 3 0 0 0 100% 0.381
FileSystemBinaryProviderTest 8 0 0 0 100% 0.403
RdbmsResourceProviderTest 6 0 0 0 100% 0.972

org.exoplatform.commons.file.dao

Class Tests Errors Failures Skipped Success Rate Time
FileInfoDAOTest 4 0 0 0 100% 0.681
FileBinaryDAOTest 3 0 0 0 100% 0.48
NameSpaceDAOTest 2 0 0 0 100% 0.416
OrphanFileDAOTest 2 0 0 0 100% 0.439

org.exoplatform.commons.file

Class Tests Errors Failures Skipped Success Rate Time
CommonsJPAIntegrationTest 1 0 0 0 100% 4.453

Test Cases

[Summary] [Package List] [Test Cases]

CommonsJPAIntegrationTest

testInit 4.375

FileServiceImplIntegrationTest

testShouldReturnFile 0.517
testUpdateFile 0.047
testConcurrentUpdateFile 0.13
testConcurrentAddFile 0.129

FileServiceImplTest

shouldRollbackFileWriteWhenSomethingGoesWrong 0.052
shouldReturnFile 0.025
shouldWriteFile 0.033

FileSystemBinaryProviderTest

shouldReturnPathWhenChecksumIsValid 0.026
shouldThrowExceptionWhenDeletingABinaryWhichDoesNotExist 0.03
shouldDeleteBinary 0.026
shouldWriteBinaryWhenFileAlreadyExistsAndBinaryHasChanged 0.026
shouldReturnNullWhenChecksumIsNotValid 0.024
shouldWriteBinary 0.025
shouldNotWriteBinaryWhenFileAlreadyExistsAndBinaryHasNotChanged 0.025
shouldReadBinary 0.025

RdbmsResourceProviderTest

testWriteBinaryWhenFileAlreadyExistsAndBinaryHasChanged 0.385
testDeleteBinary 0.084
testWriteBinary 0.097
testFileAlreadyExistsAndBinaryHasNotChanged 0.103
testDeletingABinaryWhichDoesNotExist 0.07
testInit 0.081

FileInfoDAOTest

testFindFilesByPage 0.367
testFileInfoEntity 0.072
testFindDeletedFile 0.074
testInit 0.067

FileBinaryDAOTest

testFileInfoEntity 0.273
testFindFileBlobByName 0.067
testInit 0.063

NameSpaceDAOTest

testFindAll 0.294
testInit 0.07

OrphanFileDAOTest

testFindDeletedFile 0.32
testInit 0.069