csharp-sdk/tests/ModelContextProtocol.Tests/Protocol
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Copilot d429b0bf64
Fix _meta properties to use JsonObject (#1341)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-02-21 07:54:06 -05:00
..
AnnotationsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ArgumentTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
CallToolRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
CallToolResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
CancellationTests.cs Fix: Synthesize handlers for empty tool/prompt/resource collections (#865) 2025-10-16 09:57:50 -04:00
CancelledNotificationParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
CancelMcpTaskRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
CancelMcpTaskResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ClientCapabilitiesTests.cs Add Extensions support to ClientCapabilities and ServerCapabilities (#1317) 2026-02-21 00:08:20 -08:00
CompleteContextTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
CompleteRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
CompleteResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
CompletionTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ContentBlockTests.cs Validate mimeType in ImageContentBlock.FromBytes and AudioContentBlock.FromBytes (#1321) 2026-02-20 03:47:08 +00:00
CreateMessageRequestParamsTests.cs Add tools support to sampling (#976) 2025-11-20 09:52:23 -05:00
CreateMessageResultTests.cs Use ReadOnlyMemory<byte> for binary data to eliminate UTF-16 transcoding (#1070) 2026-02-19 14:08:05 -08:00
CreateTaskResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ElicitationCapabilityTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ElicitationClientDefaultsTests.cs Bring up to 0.1.13 conformance (#1254) 2026-02-10 08:33:52 -08:00
ElicitationCompleteNotificationParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ElicitationDefaultValuesTests.cs Add support for URL mode elicitation (#1021) 2025-12-05 00:03:16 -08:00
ElicitationServerDefaultsTests.cs Bring up to 0.1.13 conformance (#1254) 2026-02-10 08:33:52 -08:00
ElicitationTests.cs Add support for URL mode elicitation (#1021) 2025-12-05 00:03:16 -08:00
ElicitationTypedTests.cs Add McpClient/Session methods using .Protocol types (#1063) 2025-12-05 13:45:12 -05:00
ElicitRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ElicitResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
EmptyResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
EnumSchemaTests.cs Seal public Protocol reference types to prevent external inheritance (#1232) 2026-02-02 10:15:20 -05:00
GetPromptRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
GetPromptResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
GetTaskPayloadRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
GetTaskRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
GetTaskResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
IconTests.cs Add net10.0 assets and run some fixers (#875) 2025-10-15 15:27:43 -04:00
ImplementationTests.cs Add Description property to Implementation type per MCP spec (#966) 2025-11-17 10:42:40 -05:00
InitializedNotificationParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
InitializeRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
InitializeResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
JsonRpcErrorTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
JsonRpcMessageConverterTests.cs Add comprehensive edge case tests for JSON-RPC payload shapes (#1143) 2026-01-14 14:26:18 +02:00
ListPromptsRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ListPromptsResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ListResourcesRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ListResourcesResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ListResourceTemplatesRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ListResourceTemplatesResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ListRootsRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ListRootsResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ListTasksRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ListTasksResultTests.cs Replace concrete collection types with interfaces in public API surface (#1326) 2026-02-19 19:48:45 -08:00
ListToolsRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ListToolsResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
LoggingMessageNotificationParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
McpTaskMetadataTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
McpTasksCapabilityTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
McpTaskStatusNotificationParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
McpTaskTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ModelPreferencesTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
NotificationHandlerTests.cs Restructure IMcpEndpoint, IMcpClient, and IMcpServer (#723) 2025-09-16 10:22:10 -07:00
PingRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
PingResultTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
PrimitiveSchemaDefinitionTests.cs Seal public Protocol reference types to prevent external inheritance (#1232) 2026-02-02 10:15:20 -05:00
ProgressNotificationParamsTests.cs Ignore unexpected properties when deserializing a ContentBlock (#956) 2025-11-09 01:00:55 -08:00
PromptArgumentTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
PromptListChangedNotificationParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
PromptMessageTests.cs Use ReadOnlyMemory<byte> for binary data to eliminate UTF-16 transcoding (#1070) 2026-02-19 14:08:05 -08:00
PromptsCapabilityTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
PromptTests.cs Add net10.0 assets and run some fixers (#875) 2025-10-15 15:27:43 -04:00
ProtocolTypeTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ReadResourceRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ReadResourceResultTests.cs Use ReadOnlyMemory<byte> for binary data to eliminate UTF-16 transcoding (#1070) 2026-02-19 14:08:05 -08:00
ReferenceTests.cs Ignore unexpected properties when deserializing a ContentBlock (#956) 2025-11-09 01:00:55 -08:00
RequestIdTests.cs Clean up namespaces (#410) 2025-05-14 14:50:26 -04:00
RequestMcpTasksCapabilityTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ResourceContentsTests.cs Omit null mimeType from ResourceContents JSON serialization (#1325) 2026-02-20 03:46:56 +00:00
ResourceListChangedNotificationParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ResourcesCapabilityTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ResourceTemplateTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ResourceTests.cs Add net10.0 assets and run some fixers (#875) 2025-10-15 15:27:43 -04:00
ResourceUpdatedNotificationParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
RootsCapabilityTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
RootsListChangedNotificationParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
RootTests.cs Fix _meta properties to use JsonObject (#1341) 2026-02-21 07:54:06 -05:00
SamplingCapabilityTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
SamplingMessageTests.cs Add tools support to sampling (#976) 2025-11-20 09:52:23 -05:00
ServerCapabilitiesTests.cs Add Extensions support to ClientCapabilities and ServerCapabilities (#1317) 2026-02-21 00:08:20 -08:00
SetLevelRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
SubscribeRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ToolAnnotationsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ToolChoiceTests.cs Add tools support to sampling (#976) 2025-11-20 09:52:23 -05:00
ToolListChangedNotificationParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ToolsCapabilityTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
ToolTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
UnknownPropertiesTests.cs Use ReadOnlyMemory<byte> for binary data to eliminate UTF-16 transcoding (#1070) 2026-02-19 14:08:05 -08:00
UnsubscribeRequestParamsTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
UrlElicitationRequiredErrorDataTests.cs Add serialization roundtrip tests for all Protocol namespace types (#1289) 2026-02-17 12:34:49 -08:00
UrlElicitationTests.cs Centralize test timeout constants to fix sporadic CI failures (#1210) 2026-01-29 22:06:17 -05:00