mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-05-12 17:05:08 +00:00
Fix null check to work with assertEqual-failures and exception messages containing reserved xml characters
This commit is contained in:
parent
c25417e702
commit
017dfcbff8
@ -1,25 +1,25 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<response>
|
<response>
|
||||||
<test>${test?html}</test>
|
<test>${test?xml}</test>
|
||||||
<result>${result?html}</result>
|
<result>${result?xml}</result>
|
||||||
<#if failures??>
|
<#if failures??>
|
||||||
<failures>
|
<failures>
|
||||||
<#list failures as failure>
|
<#list failures as failure>
|
||||||
<trace>${failure.getTrace()?html}</trace>
|
<trace>${failure.getTrace()?xml}</trace>
|
||||||
<exception>${failure.getException()?html}</exception>
|
<exception>${failure.getException()?xml}</exception>
|
||||||
<message>${failure.getMessage()!""?html}</message>
|
<message>${failure.getMessage()!?xml}</message>
|
||||||
<testHeader>${failure.getTestHeader()?html}</testHeader>
|
<testHeader>${failure.getTestHeader()?xml}</testHeader>
|
||||||
</#list>
|
</#list>
|
||||||
</failures>
|
</failures>
|
||||||
</#if>
|
</#if>
|
||||||
<failureCount>${failureCount?html}</failureCount>
|
<failureCount>${failureCount?xml}</failureCount>
|
||||||
<ignoreCount>${ignoreCount?html}</ignoreCount>
|
<ignoreCount>${ignoreCount?xml}</ignoreCount>
|
||||||
<runCount>${runCount?html}</runCount>
|
<runCount>${runCount?xml}</runCount>
|
||||||
<runTime>${runTime?html}</runTime>
|
<runTime>${runTime?xml}</runTime>
|
||||||
<#if throwables??>
|
<#if throwables??>
|
||||||
<throwables>
|
<throwables>
|
||||||
<#list throwables as throwable>
|
<#list throwables as throwable>
|
||||||
<throwable>${throwable?html}</throwable>
|
<throwable>${throwable?xml}</throwable>
|
||||||
</#list>
|
</#list>
|
||||||
</throwables>
|
</throwables>
|
||||||
</#if>
|
</#if>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user