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.509

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.956
fr.paris.lutece.plugins.pluginwizard.web 1 1 0 0 0% 0.506
fr.paris.lutece.plugins.pluginwizard.service 3 0 0 0 100% 0.047

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.738
PortletJspGeneratorTest 1 0 0 0 100% 0.012
PortletGeneratorTest 1 0 0 0 100% 0.032
RestGeneratorTest 1 1 0 0 0% 0.015
BusinessClassGeneratorTest 1 1 0 0 0% 0.041
PortletTemplateGeneratorTest 1 0 0 0 100% 0
PortletXslGeneratorTest 1 0 0 0 100% 0.008
PluginXmlGeneratorTest 1 1 0 0 0% 0.001
AdminTemplateGeneratorTest 1 0 0 0 100% 0.011
AdminJspBeanGeneratorTest 2 2 0 0 0% 0.024
GeneratorUtilsTest 1 0 0 0 100% 0
SqlCodeGeneratorTest 1 1 0 0 0% 0
PomGeneratorTest 1 1 0 0 0% 0.017
AdminJspControllerGeneratorTest 1 0 0 0 100% 0.009
PropertiesGeneratorTest 1 1 0 0 0% 0.005
XPageGeneratorTest 1 1 0 0 0% 0.001
XPageTemplateGeneratorTest 1 1 0 0 0% 0.013
ResourcesGeneratorTest 1 1 0 0 0% 0
AdminJspGeneratorTest 1 0 0 0 100% 0
SiteDocumentationGeneratorTest 1 0 0 0 100% 0.021
SpringContextXmlGeneratorTest 1 1 0 0 0% 0.008

fr.paris.lutece.plugins.pluginwizard.web

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

fr.paris.lutece.plugins.pluginwizard.service

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

Test Cases

[Summary] [Package List] [Test Cases]

BusinessKotlinClassGeneratorTest

testGenerate 4.707
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.012

PortletGeneratorTest

testGenerate 0.032

RestGeneratorTest

testGenerate 0.015
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.041
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.008

PluginXmlGeneratorTest

testGenerate 0.001

AdminTemplateGeneratorTest

testGenerateClassic 0.011

AdminJspBeanGeneratorTest

testGenerateAlternative 0.018
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.006
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.002

SqlCodeGeneratorTest

testGenerate 0

PomGeneratorTest

testGenerate 0.017
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.005
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.001
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.013
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

AdminJspGeneratorTest

testGenerate 0

SiteDocumentationGeneratorTest

testGenerate 0.021

PluginWizardAppTest

testCreateBusinessClass 0.505

SpringContextXmlGeneratorTest

testGenerate 0.008
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] ----