add ide related properties
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace SharpIDE.Application.Features.Testing.Client.Dtos;
|
||||
|
||||
@@ -12,6 +10,7 @@ public sealed record TestNodeUpdate
|
||||
[property: JsonProperty("parent")]
|
||||
string ParentUid);
|
||||
|
||||
// https://github.com/microsoft/testfx/blob/main/docs/mstest-runner-protocol/003-protocol-ide-integration-extensions.md
|
||||
public sealed record TestNode
|
||||
(
|
||||
[property: JsonProperty("uid")]
|
||||
@@ -24,4 +23,20 @@ public sealed record TestNode
|
||||
string NodeType,
|
||||
|
||||
[property: JsonProperty("execution-state")]
|
||||
string ExecutionState);
|
||||
string ExecutionState,
|
||||
|
||||
[property: JsonProperty("location.file")]
|
||||
string LocationFile,
|
||||
|
||||
[property: JsonProperty("location.type")] // Containing Class
|
||||
string LocationType,
|
||||
|
||||
[property: JsonProperty("location.method")]
|
||||
string LocationMethod,
|
||||
|
||||
[property: JsonProperty("location.line-start")]
|
||||
int LocationLineStart,
|
||||
|
||||
[property: JsonProperty("location.line-end")]
|
||||
int LocationLineEnd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user