csharp-sdk/tests/Common/Utils
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Copilot 8f2e21d734
Fix: Synthesize handlers for empty tool/prompt/resource collections (#865)
* Initial plan

* Allow handlers for empty tool/prompt/resource collections

Changed condition from `IsEmpty: false` to `not null` check in McpServerImpl.cs for resources (line 298), prompts (line 459), and tools (line 547). This allows handlers to be synthesized even when collections are empty, enabling dynamic addition of items after initialization.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
2025-10-16 09:57:50 -04:00
..
DelegatingTestOutputHelper.cs Improve testing for StreamableHttpHandler and IdleTrackingBackgroundService (#345) 2025-04-24 10:49:02 -07:00
LoggedTest.cs Don't conflate request and response IDs in Streamable HTTP transports (#475) 2025-06-03 12:17:11 -07:00
MockHttpHandler.cs Fix: Synthesize handlers for empty tool/prompt/resource collections (#865) 2025-10-16 09:57:50 -04:00
MockLoggerProvider.cs Prune idle sessions before starting new ones (#701) 2025-08-18 11:04:27 -07:00
ProcessExtensions.cs Enable netfx testing. (#588) 2025-07-08 18:50:37 +03:00
TestServerTransport.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
XunitLoggerProvider.cs Clean up namespaces (#410) 2025-05-14 14:50:26 -04:00