Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
166 0 0 0 100% 60.884

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.sourceforge.vlibrary.security.actions 6 0 0 0 100% 3.366
servletunit.struts 3 0 0 0 100% 0.079
org.sourceforge.vlibrary.user.domain 24 0 0 0 100% 0.068
org.sourceforge.vlibrary.user.dao 51 0 0 0 100% 13.467
org.sourceforge.vlibrary.util 11 0 0 0 100% 33.913
org.sourceforge.vlibrary.user.forms 36 0 0 0 100% 0.09
org.sourceforge.vlibrary.user.actions 12 0 0 0 100% 4.907
org.sourceforge.vlibrary.user.workers 12 0 0 0 100% 2.067
org.sourceforge.vlibrary.user.logic 11 0 0 0 100% 2.927

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

org.sourceforge.vlibrary.security.actions

Class Tests Errors Failures Skipped Success Rate Time
LogoffActionTest 1 0 0 0 100% 1.207
PasswordResetActionTest 5 0 0 0 100% 2.159

servletunit.struts

Class Tests Errors Failures Skipped Success Rate Time
TestPathFunctions 3 0 0 0 100% 0.079

org.sourceforge.vlibrary.user.domain

Class Tests Errors Failures Skipped Success Rate Time
AuthorTest 9 0 0 0 100% 0.016
BookTest 6 0 0 0 100% 0.02
ReaderTest 4 0 0 0 100% 0.018
SubjectTest 5 0 0 0 100% 0.014

org.sourceforge.vlibrary.user.dao

Class Tests Errors Failures Skipped Success Rate Time
AuthorDAOSpringJDBCImplTest 5 0 0 0 100% 1.813
BookDAOTest 17 0 0 0 100% 3.82
LibraryTransactionDAOTest 11 0 0 0 100% 2.863
ReaderDAOSpringJDBCImplTest 13 0 0 0 100% 3.081
SubjectDAOSpringJDBCImplTest 5 0 0 0 100% 1.89

org.sourceforge.vlibrary.util

Class Tests Errors Failures Skipped Success Rate Time
SruSrwClientImplTest 7 0 0 0 100% 33.899
UtilsTest 4 0 0 0 100% 0.014

org.sourceforge.vlibrary.user.forms

Class Tests Errors Failures Skipped Success Rate Time
BookFormTest 36 0 0 0 100% 0.09

org.sourceforge.vlibrary.user.actions

Class Tests Errors Failures Skipped Success Rate Time
MoveBookActionTest 7 0 0 0 100% 2.785
SaveReaderActionTest 5 0 0 0 100% 2.122

org.sourceforge.vlibrary.user.workers

Class Tests Errors Failures Skipped Success Rate Time
MailSenderTest 7 0 0 0 100% 1.22
MailWorkerTest 5 0 0 0 100% 0.847

org.sourceforge.vlibrary.user.logic

Class Tests Errors Failures Skipped Success Rate Time
LibraryManagerTest 11 0 0 0 100% 2.927

Test Cases

LogoffActionTest

testSuccessfulLogoff 1.111

PasswordResetActionTest

testAdminResetConfirmFail 1.074
testAdminResetBadUid 0.284
testSelfResetSuccess 0.248
testSelfResetConfirmFail 0.244
testAdminResetSuccess 0.214

MoveBookActionTest

testSuccessfulCheckout 1.247
testSuccessfulCheckoutNoRequest 0.264
testFailedInitialCheckoutNotInYet 0.269
testFailedCheckoutBookNotIn 0.247
testSuccessfulInitialCheckin 0.222
testSuccessfulInitialCheckinPendingRequests 0.225
testSuccessfulRedundantCheckin 0.223

SaveReaderActionTest

testSuccessfulCreate 1.097
testCreateValidationFailure 0.259
testCreateMissingUidFailure 0.225
testCreateDuplicateFailure 0.245
testUpdateSuccessful 0.213

AuthorDAOSpringJDBCImplTest

testInsert 0.999
testInsertExisting 0.202
testFindAuthorByFirstLastName 0.18
testInsertNewAuthor 0.202
testSetAuthorIds 0.164

BookDAOTest

testInsert 1.117
testInsertMultipleCopies 0.222
testUpdate 0.199
testRetrieveByGenericCriteria 0.194
testRetrieve 0.168
testRetrieveByIsbn 0.178
testGetAuthors 0.159
testGetSubjects 0.164
testSetAuthors 0.148
testSetSubjects 0.151
testDump 0.154
testTitleSearch 0.147
testOwnerSearch 0.159
testSubjectAndSearch 0.149
testSubjectOrSearch 0.143
testAuthorSearch 0.145
testBookExists 0.147

LibraryTransactionDAOTest

testRetrieve 0.997
testProcessCheckin 0.223
testGetLastLocation 0.205
testGetCopies 0.206
testProcessCheckout 0.179
testGetPossessor 0.164
testProcessRequest 0.169
testGetRequestors 0.158
testRequestPending 0.192
testCancelRequest 0.153
testGetTransactions 0.15

ReaderDAOSpringJDBCImplTest

testInsert 1.036
testUpdate 0.21
testRetrieve 0.191
testRetrieveById 0.194
testRetrieveByUid 0.163
testRetrieveByPhone 0.16
testRetrieveByFirstLastName 0.157
testUidExists 0.153
testReaderExists 0.157
testDeskPhoneExists 0.15
testGetReaders 0.146
testGetReaderID 0.15
testResetPassword 0.142

SubjectDAOSpringJDBCImplTest

testGetSubjectIdByDescription 1.037
testInsertNewSubjectRecord 0.215
testInsert 0.195
testGetSubjects 0.2
testSetSubjectIds 0.171

AuthorTest

testSetFirstName 0.001
testSetId 0.001
testSetId1 0
testSetLastName 0.001
testToString 0
testSetIdWithNull 0
testDefaultConstructor 0.001
testFirstNameLastNameConstructor 0
testFirstNameLastNameIdConstructor 0

BookTest

testEqualsAndHashCode 0.002
testSetEditable 0
testSetCreated 0
testEquals 0
testNormalizeIsbn 0.004
testToString 0

ReaderTest

testConstructor 0.001
testNormalizePhone 0.003
testEquals 0
testEqualsAndHashCode 0

SubjectTest

testDefaultConstructor 0.002
testSetDescription 0
testConstructor 0
testSetId 0.001
testToString 0

BookFormTest

testSetAuthorString 0.008
testSetSubjectString 0
testValidate 0
testGetClassName 0.001
testGetAuthors 0
testSetAuthors 0
testGetCreated 0.001
testSetCreated 0
testGetId 0
testSetId 0
testGetIsbn 0
testSetIsbn 0.001
testGetOwner 0
testSetOwner 0
testGetPub_date 0
testSetPub_date 0
testGetPublisher 0
testSetPublisher 0
testGetSubjects 0.001
testSetSubjects 0
testGetTitle 0
testSetTitle 0
testGetAuthorString 0
testGetSubjectString 0
testGetEnumeratedSubjectString 0
testGetSubjectListString 0
testValidateIsbn 0.003
testIsIsbn10Valid 0
testIsIsbn13Valid 0
testStripIsbnDashes 0
testGetAction 0
testSetAction 0
testGetOwnerPhone 0
testSetOwnerPhone 0
testGetSubjectList 0
testSetSubjectList 0

LibraryManagerTest

testProcessCheckinMultipleRequestors 1.106
testProcessCheckout 0.24
testProcessRequestAwaitingPickup 0.201
testProcessRequestOrderBook 0.22
testCancelRequest 0.161
testGetPossessor 0.177
testGetPosessorNonexistentBook 0.159
testGetPossessorInitialAdd 0.154
testGetRequestors 0.143
testTransactions 0.151
testProcessExchange 0.144

MailSenderTest

testSendNoAuthNoTLS 0.094
testSendAuthNoTLS 0.007
testSendAuthTLS 0.004
testFailedSendBadPort 0.006
testFailedSendBadHost 1.018
testBatchSend 0.018
testSetSession 0.002

MailWorkerTest

testSendRequestConfirmation 0.657
testSendRequestNotification 0.035
testSendReturnNotification 0.031
testSendDeleteConfirmation 0.03
testSendCheckoutNotification 0.026

SruSrwClientImplTest

testRestSearchRetrieveOperation1 2.987
testRestSearchRetrieveOperation2 0.321
testRestSearchRetrieveOperation3 0.133
testRestSearchRetrieveOperation4 0.131
testNullEmptyISBNRestSearchRetrieveOperation 0.018
testProxiedRestSearchRetrieveOperation 30.254
testGetSOAPPayload 0.044

UtilsTest

testLowerLookup 0.002
testUpperLookup 0
testNoMatch 0.001
testOrder 0

TestPathFunctions

testStripLongSessionId 0.068
testStripSessionId 0
testStripSessionIdWithQueryString 0