csharp-sdk/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Copilot 25f080115d Apply review feedback: replace _getHttpResponseCompleted with _disposed; rewrite test
- Remove _getHttpResponseCompleted and rely on _httpSseWriter being null as the signal that the GET response stream has been released. Null out _httpSseWriter in DisposeAsync so SendMessageAsync correctly skips writing post-dispose.
- Replace the dispose-idempotency role of the old flag with a dedicated _disposed bool.
- Move the explanatory comment in SendMessageAsync onto the event store branch (which intentionally still runs when the response stream is gone, to support Last-Event-ID replay).
- Rewrite the unit test to assert observable behavior via a recording Stream instead of reflecting on private fields.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-05 16:52:49 -07:00
..
Common/Utils Bring up to 0.1.13 conformance (#1254) 2026-02-10 08:33:52 -08:00
ModelContextProtocol.Analyzers.Tests Fix source generator diagnostic locations for incremental caching (#1153) 2026-01-19 09:37:15 -05:00
ModelContextProtocol.AotCompatibility.TestApp Add AOT compatibility publish test (#1246) 2026-02-09 22:00:12 +02:00
ModelContextProtocol.AspNetCore.Tests feat: Add Enterprise Managed Authorization (SEP-990) support (#1305) 2026-06-03 16:34:59 -07:00
ModelContextProtocol.ConformanceClient Fix process crash when testing Stderr (#1449) 2026-04-06 11:29:00 -07:00
ModelContextProtocol.ConformanceServer Add 3-arg RequestContext constructor and obsolete 2-arg to eliminate null-forgiving operator usage (#1462) 2026-03-27 12:33:23 -07:00
ModelContextProtocol.ExperimentalApiRegressionTest Hide experimental types from external source generators using internal property pattern (#1301) 2026-02-19 07:27:30 -08:00
ModelContextProtocol.TestOAuthServer feat: Add Enterprise Managed Authorization (SEP-990) support (#1305) 2026-06-03 16:34:59 -07:00
ModelContextProtocol.Tests Apply review feedback: replace _getHttpResponseCompleted with _disposed; rewrite test 2026-06-05 16:52:49 -07:00
ModelContextProtocol.TestServer Add 3-arg RequestContext constructor and obsolete 2-arg to eliminate null-forgiving operator usage (#1462) 2026-03-27 12:33:23 -07:00
ModelContextProtocol.TestSseServer Add stateless doc, prefer stateless mode and disable legacy SSE by default (#1468) 2026-03-27 13:56:16 -07:00
Directory.Build.props Add stateless doc, prefer stateless mode and disable legacy SSE by default (#1468) 2026-03-27 13:56:16 -07:00