Surefire Report

Summary


TestsErrors FailuresSkippedSuccess RateTime
93000100%143.84

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

Package List


PackageTestsErrors FailuresSkippedSuccess RateTime
net.smartlab.web.auth.handlers17000100%98.826
net.smartlab.web.auth.aspects1000100%0.562
net.smartlab.web.auth75000100%44.452

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

net.smartlab.web.auth.handlers

ClassTestsErrors FailuresSkippedSuccess RateTime
CaptchaRegistrationHandlerTest5000100%97.502
PasswordDigestAuthenticationHandlerTest2000100%0.126
PasswordAuthenticationHandlerTest2000100%0.003
CaptchaRegistrationHandlerServletTest1000100%1.179
DateTimeHandlerCronPatternTest3000100%0.014
DateTimeHandlerTest4000100%0.002

net.smartlab.web.auth.aspects

ClassTestsErrors FailuresSkippedSuccess RateTime
MethodAuthorizationInterceptorTest1000100%0.562

net.smartlab.web.auth

ClassTestsErrors FailuresSkippedSuccess RateTime
ValidTagTest12000100%2.069
UserTest6000100%0.024
ScopeTest2000100%0.059
NotValidTagTest12000100%0.359
UserFactoryTest9000100%34.644
PermissionTest2000100%0.041
CredentialsTest3000100%0.003
PrivilegeTest7000100%0.141
RoleTest3000100%0.006
SubjectFactoryTest5000100%2.157
SubjectTest1000100%0.176
PermissionFactoryTest3000100%1.156
DomainTest2000100%1.229
GroupTest2000100%0.002
GroupFactoryTest6000100%2.386

Test Cases

ValidTagTest

testCheckGuest0.223
testCheckNotGuest0
testCheckRole0.125
testCheckRoles0.001
testCheckNotRole0
testCheckNotRoles0
testCheckPrivilege0
testCheckPrivileges0
testCheckNotPrivilege0.012
testCheckNotPrivileges0
testCheckScope0.058
testCheckNotScope0.001

UserTest

testEqualsObject0.001
testHashCode0.02
testLogin0
testLogout0
testIsGuestUser0
testGetPassword0.001

CaptchaRegistrationHandlerTest

testInit5.878
testGenerateInt91.053
testGenerateString0.541
testOnRegister0
testOnUpdate0.001

ScopeTest

testEqualsObject0.054
testMatch0.002

NotValidTagTest

testCheckGuest0.113
testCheckNotGuest0.001
testCheckRole0.225
testCheckRoles0.001
testCheckNotRole0.001
testCheckNotRoles0.001
testCheckPrivilege0.001
testCheckPrivileges0.001
testCheckNotPrivilege0.001
testCheckNotPrivileges0.001
testCheckScope0.001
testCheckNotScope0.001

UserFactoryTest

testCount28.102
testFindByKey0.606
testList1.561
testUpdate0.982
testInsert0.598
testRemove0.524
testFindByUsername0.343
testCountStatus0.386
testSerialization0.645

PermissionTest

testEqualsObject0.011
testHashCode0.003

PasswordDigestAuthenticationHandlerTest

testOnLogin0.123
testOnLogout0.001

PasswordAuthenticationHandlerTest

testOnLogin0.001
testOnLogout0.001

CaptchaRegistrationHandlerServletTest

testServiceServletRequestServletResponse0.952

CredentialsTest

testCredentialsString0
testSetSecretString0
testToString0

PrivilegeTest

testEqualsObject0.004
testHashCode0.001
testPrivilegeStringStringByte0.001
testPrivilegeStringStringString0.001
testPrivilegeStringStringStringString0.001
testSetModifierString0.113
testMatch0.001

DateTimeHandlerCronPatternTest

testCronPatternString0.002
testCronPatternStringStringStringStringString0
testCheck0.001

RoleTest

testEqualsObject0.001
testHashCode0.001
testHasPrivilege0.001

SubjectFactoryTest

testFindByKey0.443
testList0.49
testUpdate0.47
testRemove0.437
testFindByDisplay0.313

MethodAuthorizationInterceptorTest

testAuthorize0.492

SubjectTest

testGetHandler0.112

PermissionFactoryTest

testFindByKey0.419
testUpdate0.391
testListPolicy0.343

DomainTest

testLogin0.957
testLogout0.271

GroupTest

testEqualsObject0.001
testHashCode0

DateTimeHandlerTest

testInit0
testOnLogin0
testOnLogout0.001
testOnRequest0

GroupFactoryTest

testFindByKey0.343
testList0.353
testUpdate0.433
testInsert0.326
testRemove0.522
testGroupSizeFormula0.385