whitespace needeed here.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27501 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke 2010-02-15 16:34:48 +00:00
parent b712617b82
commit fd6c006968
3 changed files with 8 additions and 5 deletions

View File

@ -47,6 +47,7 @@ THE SOFTWARE.
<j:if test="${tr!=null}">
<t:summary icon="clipboard.gif">
<a href="lastCompletedBuild/testReport/">${%Latest Test Result}</a>
<j:whitespace> </j:whitespace>
<t:test-result it="${tr}" />
</t:summary>
</j:if>

View File

@ -39,6 +39,7 @@ THE SOFTWARE.
<!-- summary -->
<t:summary icon="clipboard.gif">
<a href="${it.urlName}/">${it.displayName}</a>
<j:whitespace> </j:whitespace>
<t:test-result />
<j:set var="failedTests" value="${it.failedTests}" />

View File

@ -22,12 +22,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
<!--
string that reports the test result number in text, like "(5 failures / +3)".
@it : AbstractTestResultAction object
-->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<st:documentation>
Evaluates to a sstring that reports the test result number in text, like "(5 failures / +3)".
<st:attribute name="it" type="AbstractTestResultAction">
Either the "it" has to be available in the context or specified as an attribute.
</st:attribute>
</st:documentation>
<j:choose>
<j:when test="${it.totalCount==0}">
(${%no tests})