All Downloads are FREE. Search and download functionalities are using the official Maven repository.

html-report.report-test.ftl.html Maven / Gradle / Ivy

There is a newer version: 1.6.4
Show newest version
<#macro report_attachments node>
    <#if node.attachments?has_content>
        
    

<#macro report_node node>
    
  • ${node.status?upper_case}
    <#if node?has_content>${node.name?html}
    <@report_attachments node/>
    <#if node.details?has_content>
    ${node.details?html}
    <#if node.class.simpleName = "ExceptionReportNode">
    ${node.stacktrace?html}
    <#else> <#if node.nodes?has_content>
      <#list node.nodes as subNode> <@report_node node=subNode/>
    <#if node.class.simpleName = "LayoutReportNode" && node.layoutReport?has_content && node.layoutReport.sections?has_content>
    <#list node.layoutReport.sections as section>

    ${section.name?html}

    <#list section.objects as obj> <@object_node object=obj/>
  • <#macro object_node object>

    ${object.name?html}

    data-area="${object.area.left?c},${object.area.top?c},${object.area.width?c},${object.area.height?c}" data-name="${object.name?html}">
      <#list object.specs as spec> <#if spec.failed = true>
    • ${spec.text?html}
        <#if spec.errorMessages?has_content> <#list spec.errorMessages as errorMessage>
      • ${errorMessage?html}
        <#if spec.errorAreas?has_content> <#list spec.errorAreas as area>
      • ${area.message?html}
      <#if spec.subObjects?has_content>
      <#list spec.subObjects as subObject> <@object_node object=subObject/>
    • <#else>
    • ${spec.text?html}
      <#if spec.subObjects?has_content>
      <#list spec.subObjects as subObject> <@object_node object=subObject/>
    Galen Report | ${test.testInfo.name?html}

    ${test.testInfo.name?html}

      <#if test.testInfo.report.nodes?has_content> <#list test.testInfo.report.nodes as node> <@report_node node=node/>




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy