Skip to content

Commit

Permalink
Merge pull request #153 from zhujunling-nj/master
Browse files Browse the repository at this point in the history
add description to the "Execution by Test Method", and increase the column width of "Start Time"
  • Loading branch information
MarkEWaite authored Sep 26, 2022
2 parents 8799e93 + 151bf55 commit 36dde98
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ private String getMethodExecutionTableContent(List<MethodResult> mrList) {
sb.append("<a href=\"").append(mr.getUpUrl()).append("\">");
sb.append(mr.getParent().getName()).append(".").append(mr.getName());
sb.append("</a>");
sb.append("</td><td align=\"left\">");
sb.append(mr.getDescription());
sb.append("</td><td align=\"center\">");
sb.append(FormatUtil.formatTime(mr.getDuration()));
sb.append("</td><td align=\"center\">");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ for (group in my.testRunMap.values()) {
th(class:"pane-header", style:"width:5em", title:"Duration") {
text("Duration")
}
th(class:"pane-header", style:"width:5em", title:"Start time") {
th(class:"pane-header", style:"width:15em", title:"Start time") {
text("Start Time")
}
th(class:"pane-header", style:"width:5em", title:"Status") {
Expand Down Expand Up @@ -104,7 +104,7 @@ for (group in my.testRunMap.values()) {
th(class:"pane-header", style:"width:5em", title:"Duration") {
text("Duration")
}
th(class:"pane-header", style:"width:5em", title:"Start time") {
th(class:"pane-header", style:"width:15em", title:"Start time") {
text("Start Time")
}
th(class:"pane-header", style:"width:5em", title:"Status") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ div(id: "report") {
table(border: "1px", class: "pane", id: "params", style: "white-space:normal") {
thead() {
tr() {
th(class: "pane-header", style: "width:5em;")
th(class: "pane-header", style: "width:6.5em;")
th(class: "pane-header", title: "parameter value") {
text("Value")
}
Expand Down Expand Up @@ -88,7 +88,7 @@ div(id: "report") {
if (my.reporterOutput) {
div(id: "reporter-output") {
h3("Reporter Output")
code(style: "white-space:pre; margin-left:15px; display:block; border:1px black; background-color:#F0F0F0") {
code(style: "white-space:pre-wrap; margin-left:15px; display:block; border:1px black; background-color:#F0F0F0") {
raw("${my.reporterOutput}")
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,13 @@ if (my.sortedTestMethodsByStartTime) {
th(class:"pane-header", title:"Method") {
text("Method")
}
th(class:"pane-header", title:"Description") {
text("Description")
}
th(class:"pane-header", style:"width:5em", title:"Duration") {
text("Duration")
}
th(class:"pane-header", style:"width:5em", title:"Start Time") {
th(class:"pane-header", style:"width:15em", title:"Start Time") {
text("Start Time")
}
th(class:"pane-header", style:"width:5em", title:"Status") {
Expand Down

0 comments on commit 36dde98

Please sign in to comment.