Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
86 0 0 0 100% 5,46

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
es.uvigo.esei.daa.dao 38 0 0 0 100% 2,535
es.uvigo.esei.daa.rest 30 0 0 0 100% 0,96
es.uvigo.esei.daa.entities 18 0 0 0 100% 1,965

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

es.uvigo.esei.daa.dao

Class Tests Errors Failures Skipped Success Rate Time
PeopleDAOUnitTest 18 0 0 0 100% 2,018
PetDAOUnitTest 20 0 0 0 100% 0,517

es.uvigo.esei.daa.rest

Class Tests Errors Failures Skipped Success Rate Time
PeopleResourceUnitTest 15 0 0 0 100% 0,827
PetResourceUnitTest 15 0 0 0 100% 0,133

es.uvigo.esei.daa.entities

Class Tests Errors Failures Skipped Success Rate Time
PersonUnitTest 9 0 0 0 100% 1,668
PetUnitTest 9 0 0 0 100% 0,297

Test Cases

[Summary] [Package List] [Test Cases]

PersonUnitTest

testPersonIntStringString 0,013
testEqualsHashcode 1,645
testSetNullName 0,001
testEqualsObject 0
testPersonIntStringStringNullName 0,001
testPersonIntStringStringNullSurname 0,001
testSetSurname 0,001
testSetNullSurname 0,006
testSetName 0

PeopleDAOUnitTest

testListUnexpectedException 1,175
testDeleteInvalidId 0,04
testAdd 0,067
testGet 0,059
testList 0,087
testDeleteUnexpectedException 0,044
testAddNullSurname 0,019
testAddUnexpectedException 0,044
testAddNoGeneratedKey 0,042
testModifyZeroUpdatedRows 0,035
testModifyNullPerson 0,045
testAddNullName 0,04
testAddZeroUpdatedRows 0,062
testDelete 0,033
testGetMissing 0,03
testModify 0,048
testModifyUnexpectedException 0,098
testGetUnexpectedException 0,05

PeopleResourceUnitTest

testAddIllegalArgumentException 0,686
testAdd 0,003
testGet 0,001
testList 0,006
testModifyNullPointerException 0
testDeleteIllegalArgumentException 0,001
testModifyDAOException 0,009
testModifyIllegalArgumentException 0,002
testGetIllegalArgumentException 0
testDelete 0,004
testDeleteDAOException 0,024
testGetDAOException 0,035
testListDAOException 0,029
testModify 0,006
testAddDAOException 0,021

PetUnitTest

testEqualsHashcode 0,295
testPetIntStringStringStringInt 0
testSetNullName 0
testSetNullTipo 0
testEqualsObject 0,002
testPetIntStringStringStringIntNullName 0
testPetIntStringStringStringIntNullTipo 0
testSetName 0
testSetTipo 0

PetDAOUnitTest

testListUnexpectedException 0,041
testDeleteInvalidId 0,082
testAdd 0,005
testGet 0,016
testAddNullIdPersona 0,02
testList 0,028
testDeleteUnexpectedException 0,036
testModifyNullPet 0,006
testAddUnexpectedException 0,058
testAddNoGeneratedKey 0,027
testModifyZeroUpdatedRows 0,02
testAddNullName 0,025
testAddNullRaza 0,006
testAddNullTipo 0,017
testAddZeroUpdatedRows 0,028
testDelete 0,012
testGetMissing 0,016
testModify 0,024
testModifyUnexpectedException 0,027
testGetUnexpectedException 0,023

PetResourceUnitTest

testAddIllegalArgumentException 0,043
testAdd 0,001
testGet 0,002
testList 0,001
testModifyNullPointerException 0,002
testDeleteIllegalArgumentException 0,001
testModifyDAOException 0,016
testModifyIllegalArgumentException 0
testGetIllegalArgumentException 0,001
testDelete 0,001
testDeleteDAOException 0,017
testGetDAOException 0,012
testListDAOException 0,017
testModify 0,009
testAddDAOException 0,01