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.917

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.917

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.001
BroadcastNotificationConfigTest 9 0 0 0 100% 0.002
EmailNotificationConfigTest 8 0 1 0 87.5% 3.967
EmailNotificationConfigValidatorTest 8 0 0 0 100% 0.031
GuichetNotificationConfigValidatorTest 12 0 0 0 100% 0.025
AgentNotificationConfigTest 8 0 0 0 100% 0.001
BroadcastNotificationConfigValidatorTest 12 0 0 0 100% 0.017
AgentNotificationConfigValidatorTest 4 0 0 0 100% 0.872
SMSNotificationConfigValidatorTest 3 0 0 0 100% 0.001

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.001
testName 0
testRemoveConfig 0
testIsActiveWhenActivationIsTrue 0
testValidatorIsNotNull 0
testAddConfig 0
testActivation 0
testDeactivation 0

BroadcastNotificationConfigTest

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

EmailNotificationConfigTest

testIsActiveWhenActivationIsFalse 3.926
testName 0.001
testRemoveConfig 0.007
Expected: is null but: was "no-reply"
testIsActiveWhenActivationIsTrue 0.001
testValidatorIsNotNull 0
testAddConfig 0.001
testActivation 0
testDeactivation 0

EmailNotificationConfigValidatorTest

testValidationWhenMessageIsEmpty 0
testValidationWhenMessageContainsUnknownMark 0.001
testValidationWhenSubjectIsEmpty 0
testValidationWhenNoFieldIsEmpty 0.007
testValidationWhenSenderNameIsEmpty 0
testValidationWhenSubjectContainsUnknownMark 0.009
testValidationWhenRecipientCcNameIsEmpty 0.003
testValidationWhenRecipientCciNameIsEmpty 0.011

GuichetNotificationConfigValidatorTest

testValidationWhenStatusIsEmpty 0
testValidationWhenMessageIsEmpty 0
testValidationWhenDemandUserCurrentStepIsNotANumber 0
testValidationWhenMessageContainsUnknownMark 0.001
testValidationWhenSubjectIsEmpty 0.001
testValidationWhenDemandUserCurrentStepIsEmpty 0.003
testValidationWhenDemandMaxStepIsNotANumber 0.003
testValidationWhenDemandMaxStepIsEmpty 0.005
testValidationWhenNoFieldIsEmpty 0.004
testValidationWhenDemandMaxStepIsNegative 0.004
testValidationWhenSenderNameIsEmpty 0.001
testValidationWhenDemandUserCurrentStepIsNegative 0.003

AgentNotificationConfigTest

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

BroadcastNotificationConfigValidatorTest

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

antrunsql

antrunsql 1

AgentNotificationConfigValidatorTest

testValidationWhenStatusIsEmpty 0.009
testValidationWhenMessageIsEmpty 0.003
testValidationWhenMessageContainsUnknownMark 0.856
testValidationWhenNoFieldIsEmpty 0.004

SMSNotificationConfigValidatorTest

testValidationWhenMessageIsEmpty 0
testValidationWhenMessageContainsUnknownMark 0.001
testValidationWhenNoFieldIsEmpty 0

Failure Details

[Summary] [Package List] [Test Cases]


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