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% 12,271

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% 11,271

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,008
EmailNotificationConfigTest 8 0 1 0 87,5% 9,384
EmailNotificationConfigValidatorTest 8 0 0 0 100% 0,089
GuichetNotificationConfigValidatorTest 12 0 0 0 100% 0,126
AgentNotificationConfigTest 8 0 0 0 100% 0
BroadcastNotificationConfigValidatorTest 12 0 0 0 100% 0,143
AgentNotificationConfigValidatorTest 4 0 0 0 100% 1,5
SMSNotificationConfigValidatorTest 3 0 0 0 100% 0,02

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,004
testName 0
testRemoveConfig 0
testIsActiveWhenActivationIsTrue 0
testValidatorIsNotNull 0,001
testAddConfigWithMailingList 0
testAddConfigWithSpecificEmail 0
testActivation 0
testDeactivation 0

EmailNotificationConfigTest

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

EmailNotificationConfigValidatorTest

testValidationWhenMessageIsEmpty 0
testValidationWhenMessageContainsUnknownMark 0,031
testValidationWhenSubjectIsEmpty 0
testValidationWhenNoFieldIsEmpty 0,009
testValidationWhenSenderNameIsEmpty 0,005
testValidationWhenSubjectContainsUnknownMark 0,01
testValidationWhenRecipientCcNameIsEmpty 0,023
testValidationWhenRecipientCciNameIsEmpty 0,008

GuichetNotificationConfigValidatorTest

testValidationWhenStatusIsEmpty 0
testValidationWhenMessageIsEmpty 0
testValidationWhenDemandUserCurrentStepIsNotANumber 0,013
testValidationWhenMessageContainsUnknownMark 0,014
testValidationWhenSubjectIsEmpty 0
testValidationWhenDemandUserCurrentStepIsEmpty 0,008
testValidationWhenDemandMaxStepIsNotANumber 0,036
testValidationWhenDemandMaxStepIsEmpty 0,008
testValidationWhenNoFieldIsEmpty 0,004
testValidationWhenDemandMaxStepIsNegative 0,027
testValidationWhenSenderNameIsEmpty 0,004
testValidationWhenDemandUserCurrentStepIsNegative 0,012

AgentNotificationConfigTest

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

BroadcastNotificationConfigValidatorTest

testValidationWhenMessageIsEmpty 0,006
testValidationWhenMessageContainsUnknownMark 0,016
testValidationWhenSubjectIsEmpty 0,001
testValidationWhenMailingListIdIsNegative 0
testValidationWhenMailingListIdIsEmpty 0
testValidationWhenSpecificEmailIsEmpty 0,007
testValidationWhenNoFieldIsEmpty 0,015
testValidationWhenSenderNameIsEmpty 0,013
testValidationWhenSubjectContainsUnknownMark 0,01
testValidationWhenRecipientCcIsEmpty 0,038
testValidationWhenRecipientCciIsEmpty 0,029
testValidationWhenMailingListIdIsNotANumber 0

antrunsql

antrunsql 1

AgentNotificationConfigValidatorTest

testValidationWhenStatusIsEmpty 0
testValidationWhenMessageIsEmpty 0,004
testValidationWhenMessageContainsUnknownMark 1,487
testValidationWhenNoFieldIsEmpty 0,007

SMSNotificationConfigValidatorTest

testValidationWhenMessageIsEmpty 0
testValidationWhenMessageContainsUnknownMark 0,01
testValidationWhenNoFieldIsEmpty 0,009

Failure Details

[Summary] [Package List] [Test Cases]


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