Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
7 2 2 0 42,857% 5,274

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.identityimport.web 2 1 1 0 0% 0,595
fr.paris.lutece.plugins.identityimport.business 4 1 0 0 75% 3,679

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.identityimport.web

Class Tests Errors Failures Skipped Success Rate Time
ClientJspBeanTest 1 0 1 0 0% 0,591
BatchJspBeanTest 1 1 0 0 0% 0,004

fr.paris.lutece.plugins.identityimport.business

Class Tests Errors Failures Skipped Success Rate Time
CandidateIdentityBusinessTest 1 1 0 0 0% 3,679
CandidateIdentityAttributeBusinessTest 1 0 0 0 100% 0
BatchBusinessTest 1 0 0 0 100% 0
ClientBusinessTest 1 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

antrunsql

antrunsql 1

CandidateIdentityBusinessTest

testBusiness 3,647
DAOUtil error : user lacks privilege or object not found: WORKFLOW_RESOURCE_HISTORY in statement [WITH filtered_date AS (SELECT max(rh.creation_date) AS creation_date, rh.id_resource FROM workflow_resource_history rh GROUP BY rh.id_resource), filtered_history AS (SELECT rh.id_resource, icih.status, icih.comment, rh.creation_date FROM workflow_resource_history rh LEFT JOIN identityimport_candidate_identity_history icih ON icih.id_wf_resource_history = rh.id_history JOIN filtered_date ON filtered_date.id_resource = rh.id_resource AND filtered_date.creation_date = rh.creation_date) SELECT i.id_candidate_identity, i.id_batch, i.connection_id, i.customer_id, i.client_id, ib.app_code, filtered_history.status, filtered_history.comment FROM identityimport_candidate_identity i JOIN identityimport_batch ib ON i.id_batch = ib.id_batch LEFT JOIN filtered_history ON filtered_history.id_resource = i.id_candidate_identity WHERE i.id_candidate_identity = ?] - SQL statement : - Plugin : identityimport

CandidateIdentityAttributeBusinessTest

testBusiness 0

BatchBusinessTest

testBusiness 0

ClientBusinessTest

testBusiness 0

ClientJspBeanTest

testJspBeans 0,59
access denied

BatchJspBeanTest

testJspBeans 0,004
DAOUtil error : user lacks privilege or object not found: WORKFLOW_STATE in statement [SELECT ws.id_state, ws.name, ws.description, COUNT(wr.id_resource), ws.display_order as batch_count FROM workflow_state ws LEFT JOIN workflow_resource_workflow wr ON wr.id_state = ws.id_state AND wr.resource_type = 'IDENTITYIMPORT_BATCH_RESOURCE' WHERE ws.id_workflow = 1 GROUP BY ws.id_state, ws.name, ws.description] - SQL statement : - Plugin : identityimport

Failure Details

[Summary] [Package List] [Test Cases]


antrunsql
antrunsql
testBusiness
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: WORKFLOW_RESOURCE_HISTORY in statement [WITH filtered_date AS (SELECT max(rh.creation_date) AS creation_date, rh.id_resource FROM workflow_resource_history rh GROUP BY rh.id_resource), filtered_history AS (SELECT rh.id_resource, icih.status, icih.comment, rh.creation_date FROM workflow_resource_history rh LEFT JOIN identityimport_candidate_identity_history icih ON icih.id_wf_resource_history = rh.id_history JOIN filtered_date ON filtered_date.id_resource = rh.id_resource AND filtered_date.creation_date = rh.creation_date) SELECT i.id_candidate_identity, i.id_batch, i.connection_id, i.customer_id, i.client_id, ib.app_code, filtered_history.status, filtered_history.comment FROM identityimport_candidate_identity i JOIN identityimport_batch ib ON i.id_batch = ib.id_batch LEFT JOIN filtered_history ON filtered_history.id_resource = i.id_candidate_identity WHERE i.id_candidate_identity = ?] - SQL statement : - Plugin : identityimport
testJspBeans
junit.framework.AssertionFailedError: access denied
testJspBeans
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: WORKFLOW_STATE in statement [SELECT ws.id_state, ws.name, ws.description, COUNT(wr.id_resource), ws.display_order as batch_count FROM workflow_state ws LEFT JOIN workflow_resource_workflow wr ON wr.id_state = ws.id_state AND wr.resource_type = 'IDENTITYIMPORT_BATCH_RESOURCE' WHERE ws.id_workflow = 1 GROUP BY ws.id_state, ws.name, ws.description] - SQL statement : - Plugin : identityimport