swift-sdk/Tests/MCPTests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mattt fec680a243
Prevent double continuation resumption in client (#113)
* Prevent double continuation resumption in client

Consolidate request removal and continuation resumption logic to ensure each request's continuation is resumed exactly once, preventing "SWIFT TASK CONTINUATION MISUSE" errors during network failures.

* Fix race condition test
2025-05-26 04:36:01 -07:00
..
Helpers Add support for JSON-RPC batching (#67) 2025-04-10 12:13:41 -07:00
ClientTests.swift Prevent double continuation resumption in client (#113) 2025-05-26 04:36:01 -07:00
HTTPClientTransportTests.swift Delay SSE GET connection until after session ID is established (#97) 2025-05-06 06:49:48 -07:00
IDTests.swift Initial implementation 2025-02-11 15:22:35 -08:00
NetworkTransportTests.swift Improve NetworkTransport and add test coverage (#108) 2025-05-07 10:36:54 -07:00
NotificationTests.swift Update AnyNotification to include notification params (#86) 2025-04-27 06:47:38 -07:00
PromptTests.swift Add support for audio content in prompts and tool results (#73) 2025-04-15 05:41:28 -07:00
RequestTests.swift Add unit test to check that AnyRequest handles missing parameters (#24) 2025-03-19 05:41:50 -07:00
ResourceTests.swift Allow params field to be omitted in requests for methods that don't require them (#17) 2025-03-17 05:26:47 -07:00
ResponseTests.swift Add support for JSON-RPC batching (#67) 2025-04-10 12:13:41 -07:00
RoundtripTests.swift Add support for Linux with glibc (#61) 2025-04-10 05:22:56 -07:00
ServerTests.swift Improve NetworkTransport and add test coverage (#108) 2025-05-07 10:36:54 -07:00
StdioTransportTests.swift Add streamable HTTP transport for clients (#70) 2025-04-15 09:06:29 -07:00
ToolTests.swift Implement Tool.Annotations (#47) 2025-04-15 05:42:44 -07:00
VersioningTests.swift Implement client protocol version negotiation in server initialization (#107) 2025-05-07 05:58:11 -07:00