Skip to content

Commit

Permalink
[JENKINS-25280] Variant fix of #3 that passes tests: just add getFull…
Browse files Browse the repository at this point in the history
…DisplayName().
  • Loading branch information
jglick committed Oct 25, 2014
1 parent 32acb29 commit 28bb359
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/main/java/hudson/tasks/test/TestObject.java
Expand Up @@ -88,6 +88,10 @@ public String getUrl() {
return '/' + getId();
}

public String getFullDisplayName() {
return getDisplayName();
}

/**
* Returns the top level test result data.
*
Expand Down
Expand Up @@ -66,7 +66,7 @@ THE SOFTWARE.
<!-- child test results are referenced from their parent builds -->
<j:set var="build" value="${testObject.run}" />
<a href="${it.getTestResultPath(testObject)}">
<st:out value="${testObject.displayName}" />
<st:out value="${testObject.fullDisplayName}" />
</a>
</li>
</j:while>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/lib/hudson/test/failed-test.jelly
Expand Up @@ -91,7 +91,7 @@ THE SOFTWARE.
<l:icon class="icon-document-delete icon-sm"/>
</a>
<st:nbsp/>
<a href="${url}" class="model-link inside"><st:out value="${result.displayName}"/></a>
<a href="${url}" class="model-link inside"><st:out value="${result.fullDisplayName}"/></a>
<j:forEach var="badge" items="${result.testActions}">
<st:include it="${badge}" page="badge.jelly" optional="true"/>
</j:forEach>
Expand Down

0 comments on commit 28bb359

Please sign in to comment.