Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
81 0 2 0 97,531% 6,492

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
1 0 1 0 0% 1
fr.paris.lutece.plugins.workflow.modules.notifygru.web.notificationconfig.impl 80 0 1 0 98,75% 5,492

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

Class Tests Errors Failures Skipped Success Rate Time
antrunsql 1 0 1 0 0% 1

fr.paris.lutece.plugins.workflow.modules.notifygru.web.notificationconfig.impl

Class Tests Errors Failures Skipped Success Rate Time
BroadcastNotificationConfigTest 9 0 0 0 100% 4,47
AgentNotificationConfigTest 8 0 0 0 100% 0,001
BroadcastNotificationConfigValidatorTest 12 0 0 0 100% 0,947
EmailNotificationConfigTest 8 0 1 0 87,5% 0,012
SMSNotificationConfigTest 8 0 0 0 100% 0
AgentNotificationConfigValidatorTest 4 0 0 0 100% 0,005
EmailNotificationConfigValidatorTest 8 0 0 0 100% 0,022
GuichetNotificationConfigTest 8 0 0 0 100% 0,003
GuichetNotificationConfigValidatorTest 12 0 0 0 100% 0,029
SMSNotificationConfigValidatorTest 3 0 0 0 100% 0,003

Test Cases

[Summary] [Package List] [Test Cases]

antrunsql

antrunsql 1

BroadcastNotificationConfigTest

testIsActiveWhenActivationIsFalse 4,415
testName 0
testRemoveConfig 0,001
testIsActiveWhenActivationIsTrue 0
testValidatorIsNotNull 0,001
testAddConfigWithMailingList 0,003
testAddConfigWithSpecificEmail 0
testActivation 0
testDeactivation 0,001

AgentNotificationConfigTest

testIsActiveWhenActivationIsFalse 0
testName 0,001
testRemoveConfig 0
testIsActiveWhenActivationIsTrue 0
testValidatorIsNotNull 0
testAddConfig 0
testActivation 0
testDeactivation 0

BroadcastNotificationConfigValidatorTest

testValidationWhenMessageIsEmpty 0,001
testValidationWhenMessageContainsUnknownMark 0,907
testValidationWhenSubjectIsEmpty 0,001
testValidationWhenMailingListIdIsNegative 0
testValidationWhenMailingListIdIsEmpty 0,005
testValidationWhenSpecificEmailIsEmpty 0
testValidationWhenNoFieldIsEmpty 0,009
testValidationWhenSenderNameIsEmpty 0,001
testValidationWhenSubjectContainsUnknownMark 0,01
testValidationWhenRecipientCcIsEmpty 0,007
testValidationWhenRecipientCciIsEmpty 0,005
testValidationWhenMailingListIdIsNotANumber 0,001

EmailNotificationConfigTest

testIsActiveWhenActivationIsFalse 0,001
testName 0
testRemoveConfig 0,009
Expected: is null but: was "no-reply"
testIsActiveWhenActivationIsTrue 0
testValidatorIsNotNull 0,002
testAddConfig 0
testActivation 0
testDeactivation 0

SMSNotificationConfigTest

testIsActiveWhenActivationIsFalse 0
testName 0
testRemoveConfig 0
testIsActiveWhenActivationIsTrue 0
testValidatorIsNotNull 0
testAddConfig 0
testActivation 0
testDeactivation 0

AgentNotificationConfigValidatorTest

testValidationWhenStatusIsEmpty 0
testValidationWhenMessageIsEmpty 0
testValidationWhenMessageContainsUnknownMark 0,001
testValidationWhenNoFieldIsEmpty 0,004

EmailNotificationConfigValidatorTest

testValidationWhenMessageIsEmpty 0
testValidationWhenMessageContainsUnknownMark 0,001
testValidationWhenSubjectIsEmpty 0
testValidationWhenNoFieldIsEmpty 0,008
testValidationWhenSenderNameIsEmpty 0
testValidationWhenSubjectContainsUnknownMark 0,009
testValidationWhenRecipientCcNameIsEmpty 0,001
testValidationWhenRecipientCciNameIsEmpty 0,003

GuichetNotificationConfigTest

testIsActiveWhenActivationIsFalse 0,001
testName 0
testRemoveConfig 0
testIsActiveWhenActivationIsTrue 0
testValidatorIsNotNull 0,001
testAddConfig 0,001
testActivation 0
testDeactivation 0

GuichetNotificationConfigValidatorTest

testValidationWhenStatusIsEmpty 0
testValidationWhenMessageIsEmpty 0
testValidationWhenDemandUserCurrentStepIsNotANumber 0,007
testValidationWhenMessageContainsUnknownMark 0,001
testValidationWhenSubjectIsEmpty 0,001
testValidationWhenDemandUserCurrentStepIsEmpty 0,003
testValidationWhenDemandMaxStepIsNotANumber 0,004
testValidationWhenDemandMaxStepIsEmpty 0,004
testValidationWhenNoFieldIsEmpty 0,002
testValidationWhenDemandMaxStepIsNegative 0,003
testValidationWhenSenderNameIsEmpty 0
testValidationWhenDemandUserCurrentStepIsNegative 0,003

SMSNotificationConfigValidatorTest

testValidationWhenMessageIsEmpty 0
testValidationWhenMessageContainsUnknownMark 0,001
testValidationWhenNoFieldIsEmpty 0,002

Failure Details

[Summary] [Package List] [Test Cases]


antrunsql
antrunsql
testRemoveConfig
java.lang.AssertionError: Expected: is null but: was "no-reply"