Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
61 2 0 1 95.082% 6.74

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 0 0 100% 1
fr.paris.lutece.plugins.forms.business.form.column 8 0 0 0 100% 0
fr.paris.lutece.plugins.forms.web 1 0 0 0 100% 0
fr.paris.lutece.plugins.forms.business.form.util 12 0 0 0 100% 5.531
fr.paris.lutece.plugins.forms.business 11 0 0 0 100% 0.049
fr.paris.lutece.plugins.forms.service 4 2 0 0 50% 0.086
fr.paris.lutece.plugins.forms.business.action 1 0 0 0 100% 0.003
fr.paris.lutece.plugins.forms.service.entrytype 8 0 0 0 100% 0.026
fr.paris.lutece.plugins.forms.export.csv 4 0 0 0 100% 0
fr.paris.lutece.plugins.forms.business.form.service 11 0 0 1 90.909% 0.045

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 0 0 100% 1

fr.paris.lutece.plugins.forms.business.form.column

Class Tests Errors Failures Skipped Success Rate Time
FormColumnCellComparatorTest 8 0 0 0 100% 0

fr.paris.lutece.plugins.forms.web

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

fr.paris.lutece.plugins.forms.business.form.util

Class Tests Errors Failures Skipped Success Rate Time
ReferenceItemComparatorTest 6 0 0 0 100% 5.531
ReferenceListFactoryTest 6 0 0 0 100% 0

fr.paris.lutece.plugins.forms.business

Class Tests Errors Failures Skipped Success Rate Time
FormTest 1 0 0 0 100% 0.01
FormActionBusinessTest 1 0 0 0 100% 0
FormDisplayBusinessTest 1 0 0 0 100% 0.01
FormMessageBusinessTest 1 0 0 0 100% 0.002
GroupBusinessTest 1 0 0 0 100% 0.004
QuestionTest 1 0 0 0 100% 0
FormBusinessTest 1 0 0 0 100% 0.002
TransitionBusinessTest 1 0 0 0 100% 0.008
QuestionBusinessTest 1 0 0 0 100% 0.01
StepBusinessTest 1 0 0 0 100% 0
ControlBusinessTest 1 0 0 0 100% 0.003

fr.paris.lutece.plugins.forms.service

Class Tests Errors Failures Skipped Success Rate Time
StepServiceTest 2 0 0 0 100% 0
FormServiceTest 2 2 0 0 0% 0.086

fr.paris.lutece.plugins.forms.business.action

Class Tests Errors Failures Skipped Success Rate Time
GlobalFormsActionBusinessTest 1 0 0 0 100% 0.003

fr.paris.lutece.plugins.forms.service.entrytype

Class Tests Errors Failures Skipped Success Rate Time
EntryTypeTermsOfServiceTest 8 0 0 0 100% 0.026

fr.paris.lutece.plugins.forms.export.csv

Class Tests Errors Failures Skipped Success Rate Time
CSVHeaderTest 4 0 0 0 100% 0

fr.paris.lutece.plugins.forms.business.form.service

Class Tests Errors Failures Skipped Success Rate Time
MultiviewFormServiceTest 6 0 0 0 100% 0.001
FormsMultiviewAuthorizationServiceTest 4 0 0 0 100% 0.044
LuceneFormSearchTest 1 0 0 1 0% 0

Test Cases

[Summary] [Package List] [Test Cases]

antrunsql

antrunsql 1

ReferenceItemComparatorTest

testCompareReferenceItemWithSecondEmpty 5.48
testCompareReferenceItemFirstGreater 0
testCompareReferenceItemSecondGreater 0
testCompareEmptyReferenceItem 0
testCompareReferenceItemSameNames 0
testCompareReferenceItemWithFirstEmpty 0

ReferenceListFactoryTest

testCreateReferenceListWithSort 0
testCreateReferenceListWithoutNumericCode 0
testCreateReferenceListWithDuplicates 0
testCreateReferenceLisCheckedNameReplacement 0
testCreateReferenceList 0
testCreateReferenceListWithChangedDefaultName 0

MultiviewFormServiceTest

testFindActiveFormPanelWithSeveralActivePanels 0
testFindActiveFormPanelWithNoneActivePanels 0
testFindActiveFormPanelWithNullList 0
testFindActiveFormPanel 0
testFindActiveFormPanelWithSeveralPanels 0
testFindActiveFormPanelWithEmptyList 0

FormsMultiviewAuthorizationServiceTest

testIsUserAthorizedWithEmptyPanel 0.017
testIsUserAthorizedOnFormResponseOnUnauthorizedFormResponse 0.025
testIsUserAthorizedOnFormResponseOnAuthorizedFormResponse 0.002
testIsUserAthorizedWithBadIdFormResponse 0

LuceneFormSearchTest

fr.paris.lutece.plugins.forms.business.form.service.LuceneFormSearchTest 0
skipped

FormColumnCellComparatorTest

testCompareWithoutSortKey 0
testCompareWithIntegerValues 0
testCompareWithOneMissingKey 0
testCompareWithFirstCellNullValue 0
testCompareWithSecondCellNullValue 0
testCompareWithoutValues 0
testCompareWithFirstCellValueGreater 0
testCompareWithSecondCellValueGreater 0

GlobalFormsActionBusinessTest

testSelect 0.003

FormTest

testCopy 0.01

FormActionBusinessTest

testSelect 0

FormDisplayBusinessTest

testBusiness 0.01

FormMessageBusinessTest

testCRUD 0.002

GroupBusinessTest

testBusiness 0.004

QuestionTest

testCopy 0

FormBusinessTest

testBusiness 0.002

TransitionBusinessTest

testBusiness 0.008

QuestionBusinessTest

testBusiness 0.009

StepBusinessTest

testBusiness 0

ControlBusinessTest

testBusiness 0.003

EntryTypeTermsOfServiceTest

testGetResponseData 0.006
testGetRequestDataWhenTOSIsMissing 0.015
testGetRequestData 0.001
testGetRequestDataWhenCssClassIsMissing 0
testGetRequestDataWhenTitleIsMissing 0.001
testGetResponseDataWhenAgreementFieldIsNotInEntry 0.001
testGetRequestDataWhenLinkIsMissing 0.001
testGetResponseDataWhenAgreementIsNotInRequest 0

StepServiceTest

testSortStepsWithTransitions 0
testSortStepsWithTransitionsNoInitial 0

FormServiceTest

testSaveForm 0.06
DAOUtil error : integrity constraint violation: foreign key no parent; FK_GENATT_ENTRY_TYPE table: GENATT_ENTRY - SQL statement : - Plugin : genericattributes
testIsFileAccessAuthorized 0.025
DAOUtil error : integrity constraint violation: foreign key no parent; FK_GENATT_ENTRY_TYPE table: GENATT_ENTRY - SQL statement : - Plugin : genericattributes

FormResponseManagerTest

testConstructorFromFormResponse 0

CSVHeaderTest

testAddHeaderIterationWithHole 0
testAddHeaderSameQuestion 0
testAddHeaderIteration 0
testAddHeader 0

Failure Details

[Summary] [Package List] [Test Cases]


fr.paris.lutece.plugins.forms.business.form.service.LuceneFormSearchTest
skipped: skipped
testSaveForm
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : integrity constraint violation: foreign key no parent; FK_GENATT_ENTRY_TYPE table: GENATT_ENTRY - SQL statement : - Plugin : genericattributes
testIsFileAccessAuthorized
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : integrity constraint violation: foreign key no parent; FK_GENATT_ENTRY_TYPE table: GENATT_ENTRY - SQL statement : - Plugin : genericattributes