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% 5.673

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% 4.673

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
GuichetNotificationConfigTest 8 0 0 0 100% 0
SMSNotificationConfigTest 8 0 0 0 100% 0
BroadcastNotificationConfigTest 9 0 0 0 100% 0.004
EmailNotificationConfigTest 8 0 1 0 87.5% 3.632
EmailNotificationConfigValidatorTest 8 0 0 0 100% 0.027
GuichetNotificationConfigValidatorTest 12 0 0 0 100% 0.025
AgentNotificationConfigTest 8 0 0 0 100% 0.001
BroadcastNotificationConfigValidatorTest 12 0 0 0 100% 0.024
AgentNotificationConfigValidatorTest 4 0 0 0 100% 0.957
SMSNotificationConfigValidatorTest 3 0 0 0 100% 0.003

Test Cases

[Summary] [Package List] [Test Cases]

GuichetNotificationConfigTest

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

SMSNotificationConfigTest

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

BroadcastNotificationConfigTest

testIsActiveWhenActivationIsFalse 0.001
testName 0
testRemoveConfig 0
testIsActiveWhenActivationIsTrue 0.001
testValidatorIsNotNull 0
testAddConfigWithMailingList 0
testAddConfigWithSpecificEmail 0.001
testActivation 0
testDeactivation 0

EmailNotificationConfigTest

testIsActiveWhenActivationIsFalse 3.579
testName 0
testRemoveConfig 0.008
Expected: is null but: was "no-reply"
testIsActiveWhenActivationIsTrue 0
testValidatorIsNotNull 0.013
testAddConfig 0
testActivation 0
testDeactivation 0

EmailNotificationConfigValidatorTest

testValidationWhenMessageIsEmpty 0
testValidationWhenMessageContainsUnknownMark 0.003
testValidationWhenSubjectIsEmpty 0
testValidationWhenNoFieldIsEmpty 0.007
testValidationWhenSenderNameIsEmpty 0
testValidationWhenSubjectContainsUnknownMark 0.008
testValidationWhenRecipientCcNameIsEmpty 0.005
testValidationWhenRecipientCciNameIsEmpty 0.004

GuichetNotificationConfigValidatorTest

testValidationWhenStatusIsEmpty 0
testValidationWhenMessageIsEmpty 0
testValidationWhenDemandUserCurrentStepIsNotANumber 0
testValidationWhenMessageContainsUnknownMark 0.008
testValidationWhenSubjectIsEmpty 0
testValidationWhenDemandUserCurrentStepIsEmpty 0
testValidationWhenDemandMaxStepIsNotANumber 0.001
testValidationWhenDemandMaxStepIsEmpty 0
testValidationWhenNoFieldIsEmpty 0.006
testValidationWhenDemandMaxStepIsNegative 0.007
testValidationWhenSenderNameIsEmpty 0
testValidationWhenDemandUserCurrentStepIsNegative 0.001

AgentNotificationConfigTest

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

BroadcastNotificationConfigValidatorTest

testValidationWhenMessageIsEmpty 0
testValidationWhenMessageContainsUnknownMark 0.006
testValidationWhenSubjectIsEmpty 0.001
testValidationWhenMailingListIdIsNegative 0
testValidationWhenMailingListIdIsEmpty 0
testValidationWhenSpecificEmailIsEmpty 0.001
testValidationWhenNoFieldIsEmpty 0.004
testValidationWhenSenderNameIsEmpty 0
testValidationWhenSubjectContainsUnknownMark 0.005
testValidationWhenRecipientCcIsEmpty 0.003
testValidationWhenRecipientCciIsEmpty 0.003
testValidationWhenMailingListIdIsNotANumber 0.001

antrunsql

antrunsql 1

AgentNotificationConfigValidatorTest

testValidationWhenStatusIsEmpty 0
testValidationWhenMessageIsEmpty 0
testValidationWhenMessageContainsUnknownMark 0.952
testValidationWhenNoFieldIsEmpty 0.005

SMSNotificationConfigValidatorTest

testValidationWhenMessageIsEmpty 0
testValidationWhenMessageContainsUnknownMark 0.001
testValidationWhenNoFieldIsEmpty 0.002

Failure Details

[Summary] [Package List] [Test Cases]


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