Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support configurable start time - emailable report #2476

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.txt
@@ -1,4 +1,5 @@
Current
New : GITHUB-2459: Support configurable start time - emailable report (Barry Evans)
Fixed: GITHUB-2467: XmlTest does not copy the xmlClasses during clone (C.V.Aditya)
Fixed: GITHUB-2469: Parameters added in XmlTest during AlterSuiteListener not available in SuiteListener (C.V.Aditya)
Fixed: GITHUB-2296: Fix for assertEquals not working for sets as order is not guaranteed. (Prashant Maroti)
Expand Down
Expand Up @@ -344,7 +344,7 @@ private int writeScenarioSummary(
.append("<td rowspan=\"")
.append(resultsCount)
.append("\">")
.append(start)
.append(getFormattedStartTime(start))
.append("</td>")
.append("<td rowspan=\"")
.append(resultsCount)
Expand Down Expand Up @@ -389,6 +389,10 @@ private int writeScenarioSummary(
return scenarioCount;
}

protected String getFormattedStartTime(long startTimeInMillisFromEpoch) {
return String.valueOf(startTimeInMillisFromEpoch);
}

/** Writes the details for all test scenarios. */
protected void writeScenarioDetails() {
int scenarioIndex = 0;
Expand Down