Add initial Activity / Metric support (#183)
This commit is contained in:
parent
674cb1515c
commit
4b38d3e71b
1 changed files with 443 additions and 61 deletions
|
|
@ -684,7 +684,7 @@ public class McpServerTests : LoggedTest
|
|||
|
||||
var notification = await notificationReceived.Task;
|
||||
var progress = (ProgressNotification)notification.Params!;
|
||||
Assert.Equal("\"abc\"", progress.ProgressToken.ToString());
|
||||
Assert.Equal("abc", progress.ProgressToken.ToString());
|
||||
Assert.Equal(50, progress.Progress.Progress);
|
||||
Assert.Equal(100, progress.Progress.Total);
|
||||
Assert.Equal("Progress message", progress.Progress.Message);
|
||||
|
|
|
|||
Loading…
Reference in a new issue