-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sets start dates, trying to get durations to show correctly
- Loading branch information
1 parent
0fd432e
commit 13d3954
Showing
4 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# 0.4.6 | ||
|
||
- [Feature] Sets start dates | ||
|
||
# 0.4.5 | ||
|
||
- [Fix] Fix for API version when patching a test run as completed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,24 @@ | ||
namespace AzurePipelines.TestLogger | ||
using System; | ||
|
||
namespace AzurePipelines.TestLogger | ||
{ | ||
internal class TestResultParent | ||
{ | ||
public int Id { get; } | ||
|
||
public long Duration { get; set; } | ||
|
||
public DateTime StartedDate { get; } | ||
|
||
public TestResultParent(int id) | ||
: this(id, DateTime.UtcNow) | ||
{ | ||
} | ||
|
||
public TestResultParent(int id, DateTime startedDate) | ||
{ | ||
Id = id; | ||
StartedDate = startedDate; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters