Commit 49c4470
committed
Add 165 server interaction tests for Python parity
Comprehensive test coverage matching Python's test_server_interactions.py:
- TestTools, TestToolParameters, TestOutputSchema, TestContentTypes
- TestResource, TestResourceTemplates, TestResourceAnnotations
- TestPrompts, TestPromptVariations, TestMeta
- TestCapabilities, TestProgressAndNotifications, TestRootsNotification
- TestCancelledNotification, TestLogging, TestImageContent
- TestEmbeddedResource, TestToolInputValidation, TestResourceSubscribe
- TestCompletionEdgeCases, TestBatchOperations, TestTransportEdgeCases
- Unicode, pagination, large data, error handling, and edge cases
Also fixes iterator dereference bug in client.hpp when accessing
structuredContent without registered outputSchema.1 parent 5b3522a commit 49c4470
1 file changed
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4154 | 4154 | | |
4155 | 4155 | | |
4156 | 4156 | | |
4157 | | - | |
4158 | | - | |
| 4157 | + | |
| 4158 | + | |
4159 | 4159 | | |
4160 | 4160 | | |
4161 | 4161 | | |
| |||
4168 | 4168 | | |
4169 | 4169 | | |
4170 | 4170 | | |
4171 | | - | |
4172 | | - | |
| 4171 | + | |
| 4172 | + | |
| 4173 | + | |
4173 | 4174 | | |
4174 | 4175 | | |
4175 | 4176 | | |
| |||
4182 | 4183 | | |
4183 | 4184 | | |
4184 | 4185 | | |
4185 | | - | |
4186 | | - | |
4187 | | - | |
| 4186 | + | |
| 4187 | + | |
| 4188 | + | |
| 4189 | + | |
4188 | 4190 | | |
4189 | 4191 | | |
4190 | 4192 | | |
| |||
4197 | 4199 | | |
4198 | 4200 | | |
4199 | 4201 | | |
4200 | | - | |
4201 | | - | |
| 4202 | + | |
| 4203 | + | |
4202 | 4204 | | |
4203 | 4205 | | |
4204 | 4206 | | |
| |||
0 commit comments