Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
97 1 0 0 98.969% 1,432.403

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
com.hack23.cia.service.impl.task 8 0 0 0 100% 0.298
com.hack23.cia.service.impl.action.user 17 0 0 0 100% 3.385
com.hack23.cia.service.impl.action.admin 17 1 0 0 94.118% 1,378.467
com.hack23.cia.service.impl.action.user.wordcount 1 0 0 0 100% 0.012
com.hack23.cia.service.impl.action.application 19 0 0 0 100% 2.577
com.hack23.cia.service.impl 15 0 0 0 100% 11.987
com.hack23.cia.service.impl.email 1 0 0 0 100% 0.44
com.hack23.cia.service.impl.action.kpi 2 0 0 0 100% 35.01
com.hack23.cia.service.impl.action.application.encryption 16 0 0 0 100% 0.057
com.hack23.cia.service.impl.rules 1 0 0 0 100% 0.17

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

com.hack23.cia.service.impl.task

Class Tests Errors Failures Skipped Success Rate Time
UpdateSearchIndexJobTest 3 0 0 0 100% 0.278
JobContextHolderImplTest 3 0 0 0 100% 0.009
RefreshViewsJobTest 1 0 0 0 100% 0.006
AgentJobTest 1 0 0 0 100% 0.005

com.hack23.cia.service.impl.action.user

Class Tests Errors Failures Skipped Success Rate Time
DocumentWordCountServiceITest 3 0 0 0 100% 0.599
ChangePasswordServiceITest 6 0 0 0 100% 1.859
SearchDocumentServiceITest 4 0 0 0 100% 0.213
SetGoogleAuthenticatorCredentialServiceITest 2 0 0 0 100% 0.309
DisableGoogleAuthenticatorCredentialServiceITest 2 0 0 0 100% 0.405

com.hack23.cia.service.impl.action.admin

Class Tests Errors Failures Skipped Success Rate Time
UpdateSearchIndexServiceITest 2 1 0 0 50% 1,254.199
RefreshDataViewsServiceITest 2 0 0 0 100% 122.881
SendEmailServiceITest 2 0 0 0 100% 0.394
UpdateApplicationConfigurationServiceITest 3 0 0 0 100% 0.14
ManageUserAccountServiceITest 5 0 0 0 100% 0.661
RemoveDataServiceITest 2 0 0 0 100% 0.19
UpdateSearchIndexServiceTest 1 0 0 0 100% 0.002

com.hack23.cia.service.impl.action.user.wordcount

Class Tests Errors Failures Skipped Success Rate Time
SwedishStopWordsTest 1 0 0 0 100% 0.012

com.hack23.cia.service.impl.action.application

Class Tests Errors Failures Skipped Success Rate Time
LogoutServiceITest 2 0 0 0 100% 0.2
DestroyApplicationSessionServiceITest 3 0 0 0 100% 0.046
LoginServiceITest 7 0 0 0 100% 2.016
CreateApplicationSessionServiceITest 1 0 0 0 100% 0
RegisterUserServiceITest 5 0 0 0 100% 0.279
CreateApplicationEventServiceITest 1 0 0 0 100% 0.036

com.hack23.cia.service.impl

Class Tests Errors Failures Skipped Success Rate Time
ApplicationManagerITest 2 0 0 0 100% 0.012
DataAgentContainerImplTest 1 0 0 0 100% 0
ViewDataDataContainerFactoryImplITest 5 0 0 0 100% 0.311
ViewRiksdagenCommitteeDataContainerITest 1 0 0 0 100% 11.187
ConfigurationManagerITest 5 0 0 0 100% 0.477
SecurityAuthenticationProviderTest 1 0 0 0 100% 0

com.hack23.cia.service.impl.email

Class Tests Errors Failures Skipped Success Rate Time
EmailServiceITest 1 0 0 0 100% 0.44

com.hack23.cia.service.impl.action.kpi

Class Tests Errors Failures Skipped Success Rate Time
ComplianceCheckServiceITest 2 0 0 0 100% 35.01

com.hack23.cia.service.impl.action.application.encryption

Class Tests Errors Failures Skipped Success Rate Time
VaultManagerTest 16 0 0 0 100% 0.057

com.hack23.cia.service.impl.rules

Class Tests Errors Failures Skipped Success Rate Time
RuleEngineITest 1 0 0 0 100% 0.17

Test Cases

[Summary] [Package List] [Test Cases]

UpdateSearchIndexJobTest

executeInternalFailureTest 0.257
executeInternalSuccessTest 0.005
executeInternalFailureNoJobContextTest 0.015

ComplianceCheckServiceITest

Test 35.001
serviceRequestValidationFailureTest 0.009

LogoutServiceITest

serviceRequestValidationFailureTest 0
serviceLogoutRequestSuccessTest 0.199

DestroyApplicationSessionServiceITest

serviceDestroyApplicationSessionRequestNoSessionIdExistFailureTest 0.012
serviceRequestValidationFailureTest 0.011
serviceDestroyApplicationSessionRequestSuccessTest 0.023

DocumentWordCountServiceITest

serviceRequestFailureNoMatchingDocumentTest 0.093
serviceRequestSuccessTest 0.496
serviceRequestValidationFailureTest 0.009

ApplicationManagerITest

getAgentContainerSuccessTest 0
getDataContainerSuccessTest 0.002

VaultManagerTest

decryptWrongNullValueFailureTest 0.007
getEncryptedValueNoUserFailureTest 0.005
getEncryptedValueSuccessTest 0
encryptValueFailureNullPasswordTest 0
encryptValueFailureNonNullPasswordTest 0
encryptDecryptWrongPasswordFailureTest 0.024
encryptValueFailureNonNullValueTest 0
encryptValueFailureAllNullTest 0
encryptDecryptWrongUserIdFailureTest 0.011
getEncryptedValueNullFailureTest 0
encryptValueFailureNonNullUseridTest 0
encryptValueFailureNullValueTest 0
encryptValueFailureNullUserIdTest 0
encryptDecryptValueSuccessTest 0
decryptWrongAllNullFailureTest 0
decryptWrongNonNullPasswordFailureTest 0

LoginServiceITest

serviceLoginRequestSuccessTest 0.213
serviceLoginRequestFailureMfaMissingTest 0.282
serviceLoginRequestMfaSuccessTest 0.285
serviceLoginRequestUserPasswordDoNotMatchFailureTest 0.192
serviceRequestValidationFailureTest 0.009
serviceLoginRequestUserBlockedByMaxUserAttempTest 0.74
serviceLoginRequestUserBlockedByMaxSessionAttempTest 0.293

UpdateSearchIndexServiceITest

Test 1,254.188
org.hibernate.HibernateException: Transaction was rolled back in a different thread!
serviceRequestValidationFailureTest 0.011

DataAgentContainerImplTest

executeTest 0

RefreshDataViewsServiceITest

serviceSucessTest 122.871
serviceRequestValidationFailureTest 0.005

ChangePasswordServiceITest

changePasswordRequestSuccessTest 0.517
changePasswordRequestReencryptMFASuccessTest 0.464
changePasswordRequestFailureBadNewPasswordTest 0.298
serviceRequestValidationFailureTest 0.008
changePasswordRequestFailureWrongPasswordTest 0.288
changePasswordRequestFailureNewPasswordNotMatchingTest 0.282

SearchDocumentServiceITest

searchSuccessFindInTitle 0.137
searchSuccessNoResults 0.037
searchSuccessFindInContent 0.034
serviceRequestValidationFailureTest 0.005

JobContextHolderImplTest

updateSearchIndexTest 0.001
getDataAgentApiTest 0.006
refreshViewsTest 0.002

SendEmailServiceITest

sendEmailSuccessTest 0.229
sendEmailInvalidEmailFailureTest 0.163

UpdateApplicationConfigurationServiceITest

successTest 0.052
failureConfigDoNotExistTest 0.051
serviceRequestValidationFailureTest 0.035

CreateApplicationSessionServiceITest

serviceCreateApplicationSessionRequestSuccessTest 0

ViewDataDataContainerFactoryImplITest

getPageFromFactoryTest 0.019
getPageTest 0.001
findOrderedListByPropertyFromFactoryTest 0.131
findFirstByPropertyTest 0.144
findOrderedListByPropertyTest 0.015

RegisterUserServiceITest

serviceRegisterUserRequestUserAlreadyExistFailureTest 0.129
serviceRegisterUserRequestSuccessTest 0.09
serviceRequestValidationFailureTest 0.012
serviceRegisterUserRequestInvalidRequestFailureTest 0.022
serviceRegisterUserRequestWeakPasswordFailureTest 0.024

ViewRiksdagenCommitteeDataContainerITest

loadNotFoundFailureTest 0.063

ManageUserAccountServiceITest

manageUserAccountSuccessUnLockTest 0.201
manageUserAccountSuccessDeleteTest 0.18
manageUserAccountSuccessUnLocNoValidAccountIdFailureTest 0.123
manageUserAccountSuccessLockTest 0.128
manageUserAccountFailureTest 0.027

RemoveDataServiceITest

Test 0.144
serviceRequestValidationFailureTest 0.041

RefreshViewsJobTest

executeInternalTest 0.006

ConfigurationManagerITest

getUserConfigurationSuccessTest 0.075
createDefaultLanguagesIfEmptyIgnoreWhenEmptyTest 0.335
createDefaultConfigIfEmptyIgnoreWhenEmptyTest 0.048
createDefaultLanguagesIfEmptyIgnoreWhenExistTest 0.009
createDefaultConfigIfEmptyIgnoreWhenExistTest 0.006

AgentJobTest

executeInternalTest 0.005

UpdateSearchIndexServiceTest

serviceRequestInteruptExceptionFailureTest 0

CreateApplicationEventServiceITest

serviceCreateApplicationEventRequestSuccessTest 0.035

SetGoogleAuthenticatorCredentialServiceITest

servicesetGoogleAuthenticatorCredentialRequestSuccessTest 0.301
serviceRequestValidationFailureTest 0.007

DisableGoogleAuthenticatorCredentialServiceITest

serviceDisableGoogleAuthenticatorCredentialRequestSuccessTest 0.396
serviceRequestValidationFailureTest 0.008

SwedishStopWordsTest

checkStopWordsTest 0.011

EmailServiceITest

sendEmailSuccessTest 0.438

RuleEngineITest

checkRulesComplianceTest 0.168

SecurityAuthenticationProviderTest

authenticateVerifyDummyImpl 0

Failure Details

[Summary] [Package List] [Test Cases]


Test
javax.persistence.PersistenceException: org.hibernate.HibernateException: Transaction was rolled back in a different thread!