.qa.bb.bb-reports.0.9.6.source-code.template.ftl Maven / Gradle / Ivy
<#--
#%L
Bobcat Parent
%%
Copyright (C) 2016 Cognifide Ltd.
%%
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#L%
-->
<#escape x as x?html>
Bobcat Test Results
Environment
<#list collector.properties as entry>
${entry.key} ${entry.value}
#list>
Test results
<#assign sub_id=0>
<#list collector.testInfoEntries as test>
<#if test.result = "OK">
<#else>
#if>
<#list test.logEntries as entry>
<#switch entry.class.simpleName>
<#case "ErrorEntry">
${entry.message!""}
<#break>
<#case "EventEntry">
${entry.duration}
${entry.event}
${entry.parameter!""}
<#break>
<#case "ExceptionEntry">
Exception: ${entry.exception.class}
<#if entry.message?has_content>
Message: ${entry.message}
#if>
<#assign sub_id=sub_id+1>
<#list entry.stack as stackElement>
${stackElement.className}.${stackElement.methodName}
() ${stackElement.lineNumber}
#list>
<#break>
<#case "InfoEntry">
${entry.message}
<#break>
<#case "ScreenshotEntry">
${entry.message!""}
<#break>
<#case "SubreportStartEntry">
+${entry.name}
<#case "SubreportEndEntry">
<#break>
<#case "AssertionFailedEntry">
${entry.message!"[AssertionFailedEntry]"}
<#break>
<#case "SoftAssertionFailedEntry">
${entry.message!"[SoftAssertionFailedEntry]"}
<#break>
<#case "BrowserLogEntry">
JS Console Errors
${entry.message}
<#break>
#switch>
<#if entry.class.simpleName == "SubreportStartEntry">
#if>
#list>
<#assign sub_id=sub_id+1>
#list>
#escape>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy