Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
25 19 1 0 20% 5.31

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.myportal.business 6 6 0 0 0% 0.055
fr.paris.lutece.plugins.myportal.service.handler 1 0 0 0 100% 0
fr.paris.lutece.plugins.myportal.service 4 4 0 0 0% 0.039
fr.paris.lutece.plugins.myportal.business.parameter 1 0 0 0 100% 0.001
fr.paris.lutece.plugins.myportal.web 12 9 0 0 25% 4.215

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.myportal.business

Class Tests Errors Failures Skipped Success Rate Time
DefaultPageBuilderTest 1 1 0 0 0% 0.01
ColumnStyleTest 1 1 0 0 0% 0.009
UserPageConfigTest 1 1 0 0 0% 0.008
CategoryTest 1 1 0 0 0% 0.009
WidgetStyleTest 1 1 0 0 0% 0.009
WidgetTest 1 1 0 0 0% 0.01

fr.paris.lutece.plugins.myportal.service.handler

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

fr.paris.lutece.plugins.myportal.service

Class Tests Errors Failures Skipped Success Rate Time
DefaultPageBuilderServiceTest 4 4 0 0 0% 0.039

fr.paris.lutece.plugins.myportal.business.parameter

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

fr.paris.lutece.plugins.myportal.web

Class Tests Errors Failures Skipped Success Rate Time
CategoryJspBeanTest 4 2 0 0 50% 0.42
WidgetJspBeanTest 4 3 0 0 25% 3.753
DefaultPageBuilderJspBeanTest 3 3 0 0 0% 0.031
MyPortalAdminDashboardComponentTest 1 1 0 0 0% 0.011

Test Cases

[Summary] [Package List] [Test Cases]

DefaultPageBuilderTest

testBusiness 0.009
DAOUtil error : user lacks privilege or object not found: MYPORTAL_DEFAULT_PAGE in statement [ SELECT max( a.id_widget_component ) FROM myportal_default_page a ] - SQL statement : - Plugin : myportal

DefaultPageBuilderServiceTest

testGetAllSetWidgetComponents 0.01
DAOUtil error : user lacks privilege or object not found: MYPORTAL_DEFAULT_PAGE in statement [ SELECT DISTINCT a.id_widget_component, a.id_widget, a.widget_order, a.widget_column, b.name, c.name FROM myportal_default_page a INNER JOIN myportal_widget b ON a.id_widget = b.id_widget INNER JOIN myportal_widget_style INNER JOIN myportal_widget_style c ON b.id_style = c.id_style ORDER BY a.widget_column, a.widget_order ] - SQL statement : - Plugin : myportal
testGetOrderedColumnsStatus 0.009
DAOUtil error : user lacks privilege or object not found: MYPORTAL_DEFAULT_PAGE in statement [ SELECT a.widget_column FROM myportal_default_page a GROUP BY a.widget_column ] - SQL statement : - Plugin : myportal
testGetWidgetComponents 0.01
DAOUtil error : user lacks privilege or object not found: MYPORTAL_DEFAULT_PAGE in statement [ SELECT DISTINCT a.id_widget_component, a.id_widget, a.widget_order, a.widget_column, b.name, c.name FROM myportal_default_page a INNER JOIN myportal_widget b ON a.id_widget = b.id_widget INNER JOIN myportal_widget_style INNER JOIN myportal_widget_style c ON b.id_style = c.id_style WHERE a.widget_column = ? ORDER BY a.widget_column, a.widget_order ] - SQL statement : - Plugin : myportal
testGetManageAdvancedParameters 0.01
DAOUtil error : user lacks privilege or object not found: MYPORTAL_COLUMN_STYLE in statement [SELECT id_style, name, css_class FROM myportal_column_style] - SQL statement : - Plugin : myportal

ColumnStyleTest

testBusiness 0.008
DAOUtil error : user lacks privilege or object not found: MYPORTAL_COLUMN_STYLE in statement [SELECT max( id_style ) FROM myportal_column_style] - SQL statement : - Plugin : myportal

CategoryJspBeanTest

testGetModifyCategory 0.009
DAOUtil error : user lacks privilege or object not found: MYPORTAL_CATEGORY in statement [SELECT id_category, name, description FROM myportal_category ORDER BY name ASC] - SQL statement : - Plugin : myportal
testGetCreateCategory 0.392
testGetConfirmRemoveCategory 0.003
testGetManageCategories 0.014
DAOUtil error : user lacks privilege or object not found: MYPORTAL_CATEGORY in statement [SELECT id_category, name, description FROM myportal_category ORDER BY name ASC] - SQL statement : - Plugin : myportal

UserPageConfigTest

testBusiness 0.008
DAOUtil error : user lacks privilege or object not found: MYPORTAL_USER_PAGECONFIG in statement [INSERT INTO myportal_user_pageconfig ( user_guid, user_pageconfig ) VALUES ( ?, ? ) ] - SQL statement : - Plugin : myportal

CategoryTest

testBusiness 0.009
DAOUtil error : user lacks privilege or object not found: MYPORTAL_CATEGORY in statement [SELECT max( id_category ) FROM myportal_category] - SQL statement : - Plugin : myportal

WidgetStyleTest

testBusiness 0.009
DAOUtil error : user lacks privilege or object not found: MYPORTAL_WIDGET_STYLE in statement [SELECT max( id_style ) FROM myportal_widget_style] - SQL statement : - Plugin : myportal

WidgetJspBeanTest

testGetConfirmRemoveWidget 3.574
testGetCreateWidget 0.044
DAOUtil error : user lacks privilege or object not found: MYPORTAL_CATEGORY in statement [SELECT id_category, name, description FROM myportal_category ORDER BY name ASC] - SQL statement : - Plugin : myportal
testGetManageWidgets 0.017
DAOUtil error : user lacks privilege or object not found: MYPORTAL_WIDGET in statement [ SELECT a.id_widget, a.name, a.description, a.id_category, a.widget_type, a.id_icon, a.config_data, a.status, b.name, a.id_style, c.name, c.css_class, a.is_essential, a.is_new FROM myportal_widget a INNER JOIN myportal_category b ON a.id_category = b.id_category INNER JOIN myportal_widget_style c ON a.id_style = c.id_style ORDER BY a.name ASC ] - SQL statement : - Plugin : myportal
testGetModifyWidget 0.013
DAOUtil error : user lacks privilege or object not found: MYPORTAL_WIDGET in statement [ SELECT a.id_widget, a.name, a.description, a.id_category, a.widget_type, a.id_icon, a.config_data, a.status, b.name, a.id_style, c.name, c.css_class, a.is_essential, a.is_new FROM myportal_widget a INNER JOIN myportal_category b ON a.id_category = b.id_category INNER JOIN myportal_widget_style c ON a.id_style = c.id_style ORDER BY a.name ASC ] - SQL statement : - Plugin : myportal

DefaultPageBuilderJspBeanTest

testGetWidgetsListPage 0.011
DAOUtil error : user lacks privilege or object not found: MYPORTAL_DEFAULT_PAGE in statement [ SELECT DISTINCT a.id_widget FROM myportal_default_page a GROUP BY a.id_widget ] - SQL statement : - Plugin : myportal
testGetBuildDefaultPage 0.01
DAOUtil error : user lacks privilege or object not found: MYPORTAL_DEFAULT_PAGE in statement [ SELECT DISTINCT a.id_widget_component, a.id_widget, a.widget_order, a.widget_column, b.name, c.name FROM myportal_default_page a INNER JOIN myportal_widget b ON a.id_widget = b.id_widget INNER JOIN myportal_widget_style INNER JOIN myportal_widget_style c ON b.id_style = c.id_style ORDER BY a.widget_column, a.widget_order ] - SQL statement : - Plugin : myportal
testGetManageAdvancedParameters 0.01
DAOUtil error : user lacks privilege or object not found: MYPORTAL_COLUMN_STYLE in statement [SELECT id_style, name, css_class FROM myportal_column_style] - SQL statement : - Plugin : myportal

WidgetTest

testBusiness 0.01
DAOUtil error : user lacks privilege or object not found: MYPORTAL_WIDGET in statement [ SELECT max( id_widget ) FROM myportal_widget ] - SQL statement : - Plugin : myportal

antrunsql

antrunsql 1

MyPortalAdminDashboardComponentTest

testGetDashboardData 0.009
DAOUtil error : user lacks privilege or object not found: MYPORTAL_COLUMN_STYLE in statement [SELECT id_style, name, css_class FROM myportal_column_style] - SQL statement : - Plugin : myportal

PageBuilderParameterTest

testBusiness 0

WidgetHandlerServiceTest

testGetHandlers 0

Failure Details

[Summary] [Package List] [Test Cases]


testBusiness
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_DEFAULT_PAGE in statement [ SELECT max( a.id_widget_component ) FROM myportal_default_page a ] - SQL statement : - Plugin : myportal
testGetAllSetWidgetComponents
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_DEFAULT_PAGE in statement [ SELECT DISTINCT a.id_widget_component, a.id_widget, a.widget_order, a.widget_column, b.name, c.name FROM myportal_default_page a INNER JOIN myportal_widget b ON a.id_widget = b.id_widget INNER JOIN myportal_widget_style INNER JOIN myportal_widget_style c ON b.id_style = c.id_style ORDER BY a.widget_column, a.widget_order ] - SQL statement : - Plugin : myportal
testGetOrderedColumnsStatus
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_DEFAULT_PAGE in statement [ SELECT a.widget_column FROM myportal_default_page a GROUP BY a.widget_column ] - SQL statement : - Plugin : myportal
testGetWidgetComponents
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_DEFAULT_PAGE in statement [ SELECT DISTINCT a.id_widget_component, a.id_widget, a.widget_order, a.widget_column, b.name, c.name FROM myportal_default_page a INNER JOIN myportal_widget b ON a.id_widget = b.id_widget INNER JOIN myportal_widget_style INNER JOIN myportal_widget_style c ON b.id_style = c.id_style WHERE a.widget_column = ? ORDER BY a.widget_column, a.widget_order ] - SQL statement : - Plugin : myportal
testGetManageAdvancedParameters
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_COLUMN_STYLE in statement [SELECT id_style, name, css_class FROM myportal_column_style] - SQL statement : - Plugin : myportal
testBusiness
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_COLUMN_STYLE in statement [SELECT max( id_style ) FROM myportal_column_style] - SQL statement : - Plugin : myportal
testGetModifyCategory
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_CATEGORY in statement [SELECT id_category, name, description FROM myportal_category ORDER BY name ASC] - SQL statement : - Plugin : myportal
testGetManageCategories
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_CATEGORY in statement [SELECT id_category, name, description FROM myportal_category ORDER BY name ASC] - SQL statement : - Plugin : myportal
testBusiness
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_USER_PAGECONFIG in statement [INSERT INTO myportal_user_pageconfig ( user_guid, user_pageconfig ) VALUES ( ?, ? ) ] - SQL statement : - Plugin : myportal
testBusiness
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_CATEGORY in statement [SELECT max( id_category ) FROM myportal_category] - SQL statement : - Plugin : myportal
testBusiness
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_WIDGET_STYLE in statement [SELECT max( id_style ) FROM myportal_widget_style] - SQL statement : - Plugin : myportal
testGetCreateWidget
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_CATEGORY in statement [SELECT id_category, name, description FROM myportal_category ORDER BY name ASC] - SQL statement : - Plugin : myportal
testGetManageWidgets
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_WIDGET in statement [ SELECT a.id_widget, a.name, a.description, a.id_category, a.widget_type, a.id_icon, a.config_data, a.status, b.name, a.id_style, c.name, c.css_class, a.is_essential, a.is_new FROM myportal_widget a INNER JOIN myportal_category b ON a.id_category = b.id_category INNER JOIN myportal_widget_style c ON a.id_style = c.id_style ORDER BY a.name ASC ] - SQL statement : - Plugin : myportal
testGetModifyWidget
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_WIDGET in statement [ SELECT a.id_widget, a.name, a.description, a.id_category, a.widget_type, a.id_icon, a.config_data, a.status, b.name, a.id_style, c.name, c.css_class, a.is_essential, a.is_new FROM myportal_widget a INNER JOIN myportal_category b ON a.id_category = b.id_category INNER JOIN myportal_widget_style c ON a.id_style = c.id_style ORDER BY a.name ASC ] - SQL statement : - Plugin : myportal
testGetWidgetsListPage
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_DEFAULT_PAGE in statement [ SELECT DISTINCT a.id_widget FROM myportal_default_page a GROUP BY a.id_widget ] - SQL statement : - Plugin : myportal
testGetBuildDefaultPage
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_DEFAULT_PAGE in statement [ SELECT DISTINCT a.id_widget_component, a.id_widget, a.widget_order, a.widget_column, b.name, c.name FROM myportal_default_page a INNER JOIN myportal_widget b ON a.id_widget = b.id_widget INNER JOIN myportal_widget_style INNER JOIN myportal_widget_style c ON b.id_style = c.id_style ORDER BY a.widget_column, a.widget_order ] - SQL statement : - Plugin : myportal
testGetManageAdvancedParameters
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_COLUMN_STYLE in statement [SELECT id_style, name, css_class FROM myportal_column_style] - SQL statement : - Plugin : myportal
testBusiness
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_WIDGET in statement [ SELECT max( id_widget ) FROM myportal_widget ] - SQL statement : - Plugin : myportal
antrunsql
antrunsql
testGetDashboardData
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : user lacks privilege or object not found: MYPORTAL_COLUMN_STYLE in statement [SELECT id_style, name, css_class FROM myportal_column_style] - SQL statement : - Plugin : myportal