Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
27 14 0 0 48.148% 6.502

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.pluginwizard.service.generator 22 13 0 0 40.909% 4.953
fr.paris.lutece.plugins.pluginwizard.web 1 1 0 0 0% 0.503
fr.paris.lutece.plugins.pluginwizard.service 3 0 0 0 100% 0.046

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.pluginwizard.service.generator

Class Tests Errors Failures Skipped Success Rate Time
BusinessKotlinClassGeneratorTest 1 1 0 0 0% 4.689
PortletJspGeneratorTest 1 0 0 0 100% 0.015
PortletGeneratorTest 1 0 0 0 100% 0.04
RestGeneratorTest 1 1 0 0 0% 0.008
BusinessClassGeneratorTest 1 1 0 0 0% 0.04
PortletTemplateGeneratorTest 1 0 0 0 100% 0
PortletXslGeneratorTest 1 0 0 0 100% 0.01
PluginXmlGeneratorTest 1 1 0 0 0% 0.001
AdminTemplateGeneratorTest 1 0 0 0 100% 0.014
AdminJspBeanGeneratorTest 2 2 0 0 0% 0.036
GeneratorUtilsTest 1 0 0 0 100% 0
SqlCodeGeneratorTest 1 1 0 0 0% 0
PomGeneratorTest 1 1 0 0 0% 0.013
AdminJspControllerGeneratorTest 1 0 0 0 100% 0.01
PropertiesGeneratorTest 1 1 0 0 0% 0.007
XPageGeneratorTest 1 1 0 0 0% 0.019
XPageTemplateGeneratorTest 1 1 0 0 0% 0.021
ResourcesGeneratorTest 1 1 0 0 0% 0.003
AdminJspGeneratorTest 1 0 0 0 100% 0.002
SiteDocumentationGeneratorTest 1 0 0 0 100% 0.025
SpringContextXmlGeneratorTest 1 1 0 0 0% 0

fr.paris.lutece.plugins.pluginwizard.web

Class Tests Errors Failures Skipped Success Rate Time
PluginWizardAppTest 1 1 0 0 0% 0.503

fr.paris.lutece.plugins.pluginwizard.service

Class Tests Errors Failures Skipped Success Rate Time
MapperServiceTest 2 0 0 0 100% 0.001
ModelServiceTest 1 0 0 0 100% 0.045

Test Cases

[Summary] [Package List] [Test Cases]

BusinessKotlinClassGeneratorTest

testGenerate 4.656
The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/business/gt_business_k_dao.html" at line 151, column 17] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass} [in template "generators/default/business/gt_business_k_dao.html" at line 151, column 15] ----

PortletJspGeneratorTest

testGenerate 0.014

PortletGeneratorTest

testGenerate 0.04

RestGeneratorTest

testGenerate 0.008
The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/rest/gt_rest.html" at line 109, column 63] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass?... [in template "generators/default/rest/gt_rest.html" at line 109, column 61] ----

BusinessClassGeneratorTest

testGenerateClassic 0.04
The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/business/gt_business_dao.html" at line 184, column 58] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass} [in template "generators/default/business/gt_business_dao.html" at line 184, column 56] ----

PortletTemplateGeneratorTest

testGenerate 0

PortletXslGeneratorTest

testGenerate 0.01

PluginXmlGeneratorTest

testGenerate 0.001

AdminTemplateGeneratorTest

testGenerateClassic 0.013

AdminJspBeanGeneratorTest

testGenerateAlternative 0.029
The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/jspbean/gt_jspbean.html" at line 90, column 39] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass} [in template "generators/default/jspbean/gt_jspbean.html" at line 90, column 37] ----
testGenerateClassic 0.007
The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/jspbean/gt_jspbean.html" at line 90, column 39] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass} [in template "generators/default/jspbean/gt_jspbean.html" at line 90, column 37] ----

GeneratorUtilsTest

testGetTestModel 0

MapperServiceTest

testGetJson 0
testReadJson 0.001

SqlCodeGeneratorTest

testGenerate 0

PomGeneratorTest

testGenerate 0.012
The following has evaluated to null or missing: ==> plugin.type [in template "generators/default/xml/gt_xml_pom_file.html" at line 22, column 10] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #elseif plugin.type == "WORKFLOWTASK" [in template "generators/default/xml/gt_xml_pom_file.html" at line 22, column 1] ----

AdminJspControllerGeneratorTest

testGenerate 0.007

antrunsql

antrunsql 1

ModelServiceTest

testAddAttribute 0.045

PropertiesGeneratorTest

testGenerate 0
The following has evaluated to null or missing: ==> plugin.type [in template "generators/default/properties/gt_properties_file.html" at line 1, column 7] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #if plugin.type != "WORKFLOWTASK" [in template "generators/default/properties/gt_properties_file.html" at line 1, column 1] ----

XPageGeneratorTest

testGenerateAlternative 0.019
The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/xpage/gt_xpage.html" at line 89, column 51] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass?... [in template "generators/default/xpage/gt_xpage.html" at line 89, column 49] ----

XPageTemplateGeneratorTest

testGenerateAlternative 0.021
The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/html/gt_html_xpage.html" at line 38, column 76] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass} [in template "generators/default/html/gt_html_xpage.html" at line 38, column 74] ----

ResourcesGeneratorTest

testGenerate 0.003

AdminJspGeneratorTest

testGenerate 0.002

SiteDocumentationGeneratorTest

testGenerate 0.025

PluginWizardAppTest

testCreateBusinessClass 0.503

SpringContextXmlGeneratorTest

testGenerate 0
The following has evaluated to null or missing: ==> plugin.type [in template "generators/default/xml/gt_xml_spring_context.html" at line 4, column 10] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #elseif plugin.type == "WORKFLOWTASK" [in template "generators/default/xml/gt_xml_spring_context.html" at line 4, column 1] ----

Failure Details

[Summary] [Package List] [Test Cases]


testGenerate
fr.paris.lutece.util.html.exception.LuteceFreemarkerException: The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/business/gt_business_k_dao.html" at line 151, column 17] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass} [in template "generators/default/business/gt_business_k_dao.html" at line 151, column 15] ----
testGenerate
fr.paris.lutece.util.html.exception.LuteceFreemarkerException: The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/rest/gt_rest.html" at line 109, column 63] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass?... [in template "generators/default/rest/gt_rest.html" at line 109, column 61] ----
testGenerateClassic
fr.paris.lutece.util.html.exception.LuteceFreemarkerException: The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/business/gt_business_dao.html" at line 184, column 58] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass} [in template "generators/default/business/gt_business_dao.html" at line 184, column 56] ----
testGenerate
java.lang.NullPointerException
testGenerateAlternative
fr.paris.lutece.util.html.exception.LuteceFreemarkerException: The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/jspbean/gt_jspbean.html" at line 90, column 39] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass} [in template "generators/default/jspbean/gt_jspbean.html" at line 90, column 37] ----
testGenerateClassic
fr.paris.lutece.util.html.exception.LuteceFreemarkerException: The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/jspbean/gt_jspbean.html" at line 90, column 39] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass} [in template "generators/default/jspbean/gt_jspbean.html" at line 90, column 37] ----
testGenerate
java.lang.NullPointerException
testGenerate
fr.paris.lutece.util.html.exception.LuteceFreemarkerException: The following has evaluated to null or missing: ==> plugin.type [in template "generators/default/xml/gt_xml_pom_file.html" at line 22, column 10] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #elseif plugin.type == "WORKFLOWTASK" [in template "generators/default/xml/gt_xml_pom_file.html" at line 22, column 1] ----
testGenerate
fr.paris.lutece.util.html.exception.LuteceFreemarkerException: The following has evaluated to null or missing: ==> plugin.type [in template "generators/default/properties/gt_properties_file.html" at line 1, column 7] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #if plugin.type != "WORKFLOWTASK" [in template "generators/default/properties/gt_properties_file.html" at line 1, column 1] ----
testGenerateAlternative
fr.paris.lutece.util.html.exception.LuteceFreemarkerException: The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/xpage/gt_xpage.html" at line 89, column 51] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass?... [in template "generators/default/xpage/gt_xpage.html" at line 89, column 49] ----
testGenerateAlternative
fr.paris.lutece.util.html.exception.LuteceFreemarkerException: The following has evaluated to null or missing: ==> business_class.pluralBusinessClass [in template "generators/default/html/gt_html_xpage.html" at line 38, column 76] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${business_class.pluralBusinessClass} [in template "generators/default/html/gt_html_xpage.html" at line 38, column 74] ----
testGenerate
java.lang.NullPointerException
testCreateBusinessClass
java.lang.NullPointerException
testGenerate
fr.paris.lutece.util.html.exception.LuteceFreemarkerException: The following has evaluated to null or missing: ==> plugin.type [in template "generators/default/xml/gt_xml_spring_context.html" at line 4, column 10] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #elseif plugin.type == "WORKFLOWTASK" [in template "generators/default/xml/gt_xml_spring_context.html" at line 4, column 1] ----