From 1456ec4bc84ba9f2458c0830603684ed2baf2f7b Mon Sep 17 00:00:00 2001 From: sacOO7 Date: Sat, 4 Jul 2026 22:37:27 +0530 Subject: [PATCH 1/2] chore(uts): fix legacy uts/test/ paths in spec cross-references The uts specs were authored against a planned uts/test// layout that never shipped - the tree landed as uts//. 91 cross-references across 75 files still pointed at the old layout (mostly the boilerplate "See uts/test/realtime/unit/helpers/mock_websocket.md ..." / mock_http.md header lines, plus scattered "corresponding test" pointers), all of them dead paths. Mechanical rewrite of uts/test/ -> uts/, applied only where the corrected target file exists (validated per unique path before rewriting). Deliberately excluded: - the proxy infrastructure references in the realtime proxy specs (uts/test/realtime/integration/helpers/proxy.md and uts/test/proxy/) - those lines are rewritten by the proxy.md relocation on fix/uts-proxy-liveobjects-spec; changing them here would conflict - four references to uts/test/realtime/unit/client/client_options.md in realtime_client.md - that file never existed under any layout (completion-status.md records RSC1/RSC1a-c coverage as realtime_client.md itself), so these need a spec decision (write the planned file or reword the sections), not a path fix Co-Authored-By: Claude Fable 5 --- uts/realtime/integration/proxy/auth_reauth.md | 6 +++--- uts/realtime/integration/proxy/channel_faults.md | 8 ++++---- .../integration/proxy/connection_open_failures.md | 2 +- uts/realtime/integration/proxy/connection_resume.md | 2 +- uts/realtime/integration/proxy/heartbeat.md | 2 +- uts/realtime/integration/proxy/presence_reentry.md | 2 +- uts/realtime/integration/proxy/rest_faults.md | 6 +++--- uts/realtime/unit/auth/connection_auth_test.md | 2 +- uts/realtime/unit/auth/realtime_authorize.md | 2 +- uts/realtime/unit/channels/channel_additional_attached.md | 2 +- uts/realtime/unit/channels/channel_annotations.md | 6 +++--- uts/realtime/unit/channels/channel_attach.md | 2 +- uts/realtime/unit/channels/channel_attributes.md | 2 +- uts/realtime/unit/channels/channel_connection_state.md | 2 +- uts/realtime/unit/channels/channel_delta_decoding.md | 4 ++-- uts/realtime/unit/channels/channel_detach.md | 2 +- uts/realtime/unit/channels/channel_error.md | 2 +- uts/realtime/unit/channels/channel_get_message.md | 2 +- uts/realtime/unit/channels/channel_history.md | 2 +- uts/realtime/unit/channels/channel_message_versions.md | 2 +- uts/realtime/unit/channels/channel_properties.md | 2 +- uts/realtime/unit/channels/channel_publish.md | 2 +- .../unit/channels/channel_server_initiated_detach.md | 2 +- uts/realtime/unit/channels/channel_state_events.md | 2 +- uts/realtime/unit/channels/channel_subscribe.md | 2 +- .../unit/channels/channel_update_delete_message.md | 2 +- uts/realtime/unit/channels/channel_when_state_test.md | 2 +- uts/realtime/unit/channels/message_field_population.md | 2 +- uts/realtime/unit/client/realtime_client.md | 8 ++++---- uts/realtime/unit/client/realtime_request.md | 2 +- uts/realtime/unit/client/realtime_stats.md | 2 +- uts/realtime/unit/client/realtime_time.md | 2 +- uts/realtime/unit/client/realtime_timeouts.md | 2 +- uts/realtime/unit/connection/auto_connect_test.md | 2 +- uts/realtime/unit/connection/backoff_jitter_test.md | 2 +- uts/realtime/unit/connection/connection_failures_test.md | 2 +- uts/realtime/unit/connection/connection_id_key_test.md | 2 +- .../unit/connection/connection_open_failures_test.md | 2 +- uts/realtime/unit/connection/connection_ping_test.md | 2 +- uts/realtime/unit/connection/connection_recovery_test.md | 2 +- uts/realtime/unit/connection/error_reason_test.md | 2 +- uts/realtime/unit/connection/fallback_hosts_test.md | 4 ++-- .../unit/connection/forwards_compatibility_test.md | 2 +- uts/realtime/unit/connection/heartbeat_test.md | 2 +- uts/realtime/unit/connection/network_change_test.md | 2 +- .../unit/connection/server_initiated_reauth_test.md | 2 +- uts/realtime/unit/connection/update_events_test.md | 2 +- uts/realtime/unit/connection/when_state_test.md | 2 +- uts/rest/unit/auth/auth_callback.md | 2 +- uts/rest/unit/auth/auth_scheme.md | 2 +- uts/rest/unit/auth/authorize.md | 2 +- uts/rest/unit/auth/client_id.md | 2 +- uts/rest/unit/auth/revoke_tokens.md | 2 +- uts/rest/unit/auth/token_details.md | 2 +- uts/rest/unit/auth/token_renewal.md | 2 +- uts/rest/unit/auth/token_request_params.md | 2 +- uts/rest/unit/channel/annotations.md | 2 +- uts/rest/unit/channel/get_message.md | 2 +- uts/rest/unit/channel/history.md | 2 +- uts/rest/unit/channel/idempotency.md | 2 +- uts/rest/unit/channel/message_versions.md | 2 +- uts/rest/unit/channel/publish.md | 2 +- uts/rest/unit/channel/publish_result.md | 2 +- uts/rest/unit/channel/rest_channel_attributes.md | 2 +- uts/rest/unit/channel/update_delete_message.md | 2 +- uts/rest/unit/encoding/message_encoding.md | 2 +- uts/rest/unit/presence/rest_presence.md | 2 +- uts/rest/unit/push/push_admin_publish.md | 2 +- uts/rest/unit/push/push_channel_subscriptions.md | 2 +- uts/rest/unit/push/push_channels.md | 2 +- uts/rest/unit/push/push_device_registrations.md | 2 +- uts/rest/unit/request_endpoint.md | 2 +- uts/rest/unit/rest_client.md | 4 ++-- uts/rest/unit/stats.md | 2 +- uts/rest/unit/types/paginated_result.md | 2 +- 75 files changed, 90 insertions(+), 90 deletions(-) diff --git a/uts/realtime/integration/proxy/auth_reauth.md b/uts/realtime/integration/proxy/auth_reauth.md index 6d704c966..295fe2700 100644 --- a/uts/realtime/integration/proxy/auth_reauth.md +++ b/uts/realtime/integration/proxy/auth_reauth.md @@ -9,9 +9,9 @@ Proxy integration test against Ably Sandbox endpoint. Uses the programmable proxy (`uts/test/proxy/`) to inject transport-level faults while the SDK communicates with the real Ably backend. See `uts/test/realtime/integration/helpers/proxy.md` for proxy infrastructure details. Corresponding unit tests: -- `uts/test/realtime/unit/connection/server_initiated_reauth_test.md` (RTN22, RTN22a) -- `uts/test/realtime/unit/auth/realtime_authorize.md` (RTC8a, RTC8a1) -- `uts/test/realtime/unit/auth/connection_auth_test.md` (RSA4c3 covers RTN22 reauth failure while CONNECTED) +- `uts/realtime/unit/connection/server_initiated_reauth_test.md` (RTN22, RTN22a) +- `uts/realtime/unit/auth/realtime_authorize.md` (RTC8a, RTC8a1) +- `uts/realtime/unit/auth/connection_auth_test.md` (RSA4c3 covers RTN22 reauth failure while CONNECTED) ## Sandbox Setup diff --git a/uts/realtime/integration/proxy/channel_faults.md b/uts/realtime/integration/proxy/channel_faults.md index 1035d6772..cff08df17 100644 --- a/uts/realtime/integration/proxy/channel_faults.md +++ b/uts/realtime/integration/proxy/channel_faults.md @@ -12,10 +12,10 @@ See `uts/test/realtime/integration/helpers/proxy.md` for the full proxy infrastr ## Corresponding Unit Tests -- `uts/test/realtime/unit/channels/channel_attach.md` -- RTL4f (attach timeout) -- `uts/test/realtime/unit/channels/channel_detach.md` -- RTL5f (detach timeout) -- `uts/test/realtime/unit/channels/channel_server_initiated_detach.md` -- RTL13a (unsolicited DETACHED triggers reattach) -- `uts/test/realtime/unit/channels/channel_error.md` -- RTL14 (channel ERROR transitions to FAILED) +- `uts/realtime/unit/channels/channel_attach.md` -- RTL4f (attach timeout) +- `uts/realtime/unit/channels/channel_detach.md` -- RTL5f (detach timeout) +- `uts/realtime/unit/channels/channel_server_initiated_detach.md` -- RTL13a (unsolicited DETACHED triggers reattach) +- `uts/realtime/unit/channels/channel_error.md` -- RTL14 (channel ERROR transitions to FAILED) ## Sandbox Setup diff --git a/uts/realtime/integration/proxy/connection_open_failures.md b/uts/realtime/integration/proxy/connection_open_failures.md index 44b65ae79..9caa939b0 100644 --- a/uts/realtime/integration/proxy/connection_open_failures.md +++ b/uts/realtime/integration/proxy/connection_open_failures.md @@ -12,7 +12,7 @@ See `uts/test/realtime/integration/helpers/proxy.md` for the full proxy infrastr ## Related Unit Tests -See `uts/test/realtime/unit/connection/connection_open_failures_test.md` for the corresponding unit tests that verify the same spec points with mocked WebSocket. +See `uts/realtime/unit/connection/connection_open_failures_test.md` for the corresponding unit tests that verify the same spec points with mocked WebSocket. ## Sandbox Setup diff --git a/uts/realtime/integration/proxy/connection_resume.md b/uts/realtime/integration/proxy/connection_resume.md index 3c908366a..21ab364c8 100644 --- a/uts/realtime/integration/proxy/connection_resume.md +++ b/uts/realtime/integration/proxy/connection_resume.md @@ -8,7 +8,7 @@ Proxy integration test against Ably Sandbox endpoint. Uses the programmable proxy (`uts/test/proxy/`) to inject transport-level faults while the SDK communicates with the real Ably backend. See `uts/test/realtime/integration/helpers/proxy.md` for proxy infrastructure details. -Corresponding unit tests: `uts/test/realtime/unit/connection/connection_failures_test.md`, `uts/test/realtime/unit/connection/connection_recovery_test.md` +Corresponding unit tests: `uts/realtime/unit/connection/connection_failures_test.md`, `uts/realtime/unit/connection/connection_recovery_test.md` ## Sandbox Setup diff --git a/uts/realtime/integration/proxy/heartbeat.md b/uts/realtime/integration/proxy/heartbeat.md index 8f6e1e2b3..3d1d9d8dd 100644 --- a/uts/realtime/integration/proxy/heartbeat.md +++ b/uts/realtime/integration/proxy/heartbeat.md @@ -12,7 +12,7 @@ See `uts/test/realtime/integration/helpers/proxy.md` for the full proxy infrastr ## Related Unit Tests -See `uts/test/realtime/unit/connection/heartbeat_test.md` for the corresponding unit tests that verify the same spec points with mocked WebSocket and fake timers. +See `uts/realtime/unit/connection/heartbeat_test.md` for the corresponding unit tests that verify the same spec points with mocked WebSocket and fake timers. ## Sandbox Setup diff --git a/uts/realtime/integration/proxy/presence_reentry.md b/uts/realtime/integration/proxy/presence_reentry.md index 0e3d6bd91..2963b86c9 100644 --- a/uts/realtime/integration/proxy/presence_reentry.md +++ b/uts/realtime/integration/proxy/presence_reentry.md @@ -12,7 +12,7 @@ See `uts/test/realtime/integration/helpers/proxy.md` for the full proxy infrastr ## Corresponding Unit Tests -- `uts/test/realtime/unit/presence/realtime_presence_reentry.md` -- RTP17i (automatic re-entry on ATTACHED non-RESUMED), RTP17g (re-entry publishes ENTER with stored clientId and data) +- `uts/realtime/unit/presence/realtime_presence_reentry.md` -- RTP17i (automatic re-entry on ATTACHED non-RESUMED), RTP17g (re-entry publishes ENTER with stored clientId and data) ## Sandbox Setup diff --git a/uts/realtime/integration/proxy/rest_faults.md b/uts/realtime/integration/proxy/rest_faults.md index 7fdeb4592..e2458740a 100644 --- a/uts/realtime/integration/proxy/rest_faults.md +++ b/uts/realtime/integration/proxy/rest_faults.md @@ -12,9 +12,9 @@ See `uts/test/realtime/integration/helpers/proxy.md` for the full proxy infrastr ## Corresponding Unit Tests -- `uts/test/rest/unit/auth/token_renewal.md` -- RSC10 (unit test verifies token renewal logic with mocked HTTP) -- `uts/test/rest/unit/fallback.md` -- RSC15m/REC2c2 (unit test verifies fallback/error handling with mocked HTTP) -- `uts/test/realtime/unit/channels/channel_publish.md` -- RTL6 (unit test verifies publish request formation) +- `uts/rest/unit/auth/token_renewal.md` -- RSC10 (unit test verifies token renewal logic with mocked HTTP) +- `uts/rest/unit/fallback.md` -- RSC15m/REC2c2 (unit test verifies fallback/error handling with mocked HTTP) +- `uts/realtime/unit/channels/channel_publish.md` -- RTL6 (unit test verifies publish request formation) ## Sandbox Setup diff --git a/uts/realtime/unit/auth/connection_auth_test.md b/uts/realtime/unit/auth/connection_auth_test.md index e52997731..59a95af65 100644 --- a/uts/realtime/unit/auth/connection_auth_test.md +++ b/uts/realtime/unit/auth/connection_auth_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client and authCallback ## Mock Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. ## Purpose diff --git a/uts/realtime/unit/auth/realtime_authorize.md b/uts/realtime/unit/auth/realtime_authorize.md index 33a748037..e8945acb5 100644 --- a/uts/realtime/unit/auth/realtime_authorize.md +++ b/uts/realtime/unit/auth/realtime_authorize.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client and authCallback ## Mock Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. ## Purpose diff --git a/uts/realtime/unit/channels/channel_additional_attached.md b/uts/realtime/unit/channels/channel_additional_attached.md index 76d1c6f2b..7f296342a 100644 --- a/uts/realtime/unit/channels/channel_additional_attached.md +++ b/uts/realtime/unit/channels/channel_additional_attached.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/channel_annotations.md b/uts/realtime/unit/channels/channel_annotations.md index fff3bf083..481e72c05 100644 --- a/uts/realtime/unit/channels/channel_annotations.md +++ b/uts/realtime/unit/channels/channel_annotations.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- @@ -238,7 +238,7 @@ CLOSE_CLIENT(client) **Spec requirement:** RTAN1b — Has the same connection and channel state conditions as message publishing, see RTL6c. -Tests that annotation publish fails in FAILED and SUSPENDED channel states, matching the behaviour tested in `uts/test/realtime/unit/channels/channel_publish.md` (RTL6c4). The same connection and channel state preconditions apply. +Tests that annotation publish fails in FAILED and SUSPENDED channel states, matching the behaviour tested in `uts/realtime/unit/channels/channel_publish.md` (RTL6c4). The same connection and channel state preconditions apply. ### Setup ```pseudo @@ -460,7 +460,7 @@ CLOSE_CLIENT(client) **Spec requirement:** RTAN3a — Is identical to `RestAnnotations#get`. -`RealtimeAnnotations#get` uses the same underlying REST endpoint as `RestAnnotations#get`. The tests in `uts/test/rest/unit/channel/annotations.md` (covering RSAN3) should be used to verify that all the same behaviour, parameters, and return types apply when called on a `RealtimeChannel` instance. +`RealtimeAnnotations#get` uses the same underlying REST endpoint as `RestAnnotations#get`. The tests in `uts/rest/unit/channel/annotations.md` (covering RSAN3) should be used to verify that all the same behaviour, parameters, and return types apply when called on a `RealtimeChannel` instance. --- diff --git a/uts/realtime/unit/channels/channel_attach.md b/uts/realtime/unit/channels/channel_attach.md index ae887eb59..b86021b11 100644 --- a/uts/realtime/unit/channels/channel_attach.md +++ b/uts/realtime/unit/channels/channel_attach.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/channel_attributes.md b/uts/realtime/unit/channels/channel_attributes.md index 72d4a6c4f..d18022642 100644 --- a/uts/realtime/unit/channels/channel_attributes.md +++ b/uts/realtime/unit/channels/channel_attributes.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/channel_connection_state.md b/uts/realtime/unit/channels/channel_connection_state.md index 3b3c48461..7f68a9804 100644 --- a/uts/realtime/unit/channels/channel_connection_state.md +++ b/uts/realtime/unit/channels/channel_connection_state.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/channel_delta_decoding.md b/uts/realtime/unit/channels/channel_delta_decoding.md index 674fe657c..9b669c93a 100644 --- a/uts/realtime/unit/channels/channel_delta_decoding.md +++ b/uts/realtime/unit/channels/channel_delta_decoding.md @@ -7,11 +7,11 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. ## Mock VCDiff Infrastructure -See `uts/test/realtime/unit/helpers/mock_vcdiff.md` for the full Mock VCDiff Infrastructure specification. +See `uts/realtime/unit/helpers/mock_vcdiff.md` for the full Mock VCDiff Infrastructure specification. > **Transport encoding note:** On JSON transport (the default for unit tests), > binary vcdiff delta payloads cannot be transmitted as raw bytes — they must be diff --git a/uts/realtime/unit/channels/channel_detach.md b/uts/realtime/unit/channels/channel_detach.md index 40a1a16a7..181ff4ef1 100644 --- a/uts/realtime/unit/channels/channel_detach.md +++ b/uts/realtime/unit/channels/channel_detach.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/channel_error.md b/uts/realtime/unit/channels/channel_error.md index c050b7940..fd168005b 100644 --- a/uts/realtime/unit/channels/channel_error.md +++ b/uts/realtime/unit/channels/channel_error.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/channel_get_message.md b/uts/realtime/unit/channels/channel_get_message.md index c9ea1fad9..8ef9fdd41 100644 --- a/uts/realtime/unit/channels/channel_get_message.md +++ b/uts/realtime/unit/channels/channel_get_message.md @@ -13,4 +13,4 @@ Unit test with mocked HTTP client **Spec requirement:** `RealtimeChannel#getMessage` function: same as `RestChannel#getMessage`. -`RealtimeChannel#getMessage` uses the same underlying REST endpoint as `RestChannel#getMessage`. The tests in `uts/test/rest/unit/channel/get_message.md` (covering RSL11) should be used to verify that all the same behaviour, parameters, and return types apply when called on a `RealtimeChannel` instance. +`RealtimeChannel#getMessage` uses the same underlying REST endpoint as `RestChannel#getMessage`. The tests in `uts/rest/unit/channel/get_message.md` (covering RSL11) should be used to verify that all the same behaviour, parameters, and return types apply when called on a `RealtimeChannel` instance. diff --git a/uts/realtime/unit/channels/channel_history.md b/uts/realtime/unit/channels/channel_history.md index 7f8fcd4d2..1bfd75c35 100644 --- a/uts/realtime/unit/channels/channel_history.md +++ b/uts/realtime/unit/channels/channel_history.md @@ -16,7 +16,7 @@ Unit test with mocked HTTP client | RTL10a | Supports all the same params as `RestChannel#history` | | RTL10c | Returns a `PaginatedResult` page containing the first page of messages | -`RealtimeChannel#history` uses the same underlying REST endpoint as `RestChannel#history`. The tests in `uts/test/rest/unit/channel/history.md` (covering RSL2) should be used to verify that all the same behaviour, parameters, and return types apply when called on a `RealtimeChannel` instance. +`RealtimeChannel#history` uses the same underlying REST endpoint as `RestChannel#history`. The tests in `uts/rest/unit/channel/history.md` (covering RSL2) should be used to verify that all the same behaviour, parameters, and return types apply when called on a `RealtimeChannel` instance. --- diff --git a/uts/realtime/unit/channels/channel_message_versions.md b/uts/realtime/unit/channels/channel_message_versions.md index c812d5734..a93396388 100644 --- a/uts/realtime/unit/channels/channel_message_versions.md +++ b/uts/realtime/unit/channels/channel_message_versions.md @@ -13,4 +13,4 @@ Unit test with mocked HTTP client **Spec requirement:** `RealtimeChannel#getMessageVersions` function: same as `RestChannel#getMessageVersions`. -`RealtimeChannel#getMessageVersions` uses the same underlying REST endpoint as `RestChannel#getMessageVersions`. The tests in `uts/test/rest/unit/channel/message_versions.md` (covering RSL14) should be used to verify that all the same behaviour, parameters, and return types apply when called on a `RealtimeChannel` instance. +`RealtimeChannel#getMessageVersions` uses the same underlying REST endpoint as `RestChannel#getMessageVersions`. The tests in `uts/rest/unit/channel/message_versions.md` (covering RSL14) should be used to verify that all the same behaviour, parameters, and return types apply when called on a `RealtimeChannel` instance. diff --git a/uts/realtime/unit/channels/channel_properties.md b/uts/realtime/unit/channels/channel_properties.md index 2a85a7437..c6cd622fd 100644 --- a/uts/realtime/unit/channels/channel_properties.md +++ b/uts/realtime/unit/channels/channel_properties.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/channel_publish.md b/uts/realtime/unit/channels/channel_publish.md index cd8fa326d..2b0497989 100644 --- a/uts/realtime/unit/channels/channel_publish.md +++ b/uts/realtime/unit/channels/channel_publish.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/channel_server_initiated_detach.md b/uts/realtime/unit/channels/channel_server_initiated_detach.md index e7b41661f..66462b58b 100644 --- a/uts/realtime/unit/channels/channel_server_initiated_detach.md +++ b/uts/realtime/unit/channels/channel_server_initiated_detach.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket and fake timers ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/channel_state_events.md b/uts/realtime/unit/channels/channel_state_events.md index 0fc862d1f..56d14d10c 100644 --- a/uts/realtime/unit/channels/channel_state_events.md +++ b/uts/realtime/unit/channels/channel_state_events.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/channel_subscribe.md b/uts/realtime/unit/channels/channel_subscribe.md index 6bfbf41a8..2fb954c4d 100644 --- a/uts/realtime/unit/channels/channel_subscribe.md +++ b/uts/realtime/unit/channels/channel_subscribe.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/channel_update_delete_message.md b/uts/realtime/unit/channels/channel_update_delete_message.md index 38d478a63..08ecfb491 100644 --- a/uts/realtime/unit/channels/channel_update_delete_message.md +++ b/uts/realtime/unit/channels/channel_update_delete_message.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/channel_when_state_test.md b/uts/realtime/unit/channels/channel_when_state_test.md index 0bc0f0e71..6269122cc 100644 --- a/uts/realtime/unit/channels/channel_when_state_test.md +++ b/uts/realtime/unit/channels/channel_when_state_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/channels/message_field_population.md b/uts/realtime/unit/channels/message_field_population.md index e2f47d1b0..3beff88bd 100644 --- a/uts/realtime/unit/channels/message_field_population.md +++ b/uts/realtime/unit/channels/message_field_population.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/client/realtime_client.md b/uts/realtime/unit/client/realtime_client.md index b297dc651..1c534c7b6 100644 --- a/uts/realtime/unit/client/realtime_client.md +++ b/uts/realtime/unit/client/realtime_client.md @@ -43,7 +43,7 @@ This means: if the state is already `connecting`, proceed immediately; otherwise ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- @@ -613,11 +613,11 @@ The following options are shared with the REST client and should behave identica | `token` / `tokenDetails` | RSC1c | `uts/test/realtime/unit/client/client_options.md` | | `authCallback` / `authUrl` | RSA8 | `unit/auth/auth_callback.md` | | `clientId` | RSA7, RSC17 | `unit/auth/client_id.md` | -| `tls` | RSC18 | `uts/test/rest/unit/rest_client.md` | +| `tls` | RSC18 | `uts/rest/unit/rest_client.md` | | `environment` / `endpoint` | RSC15e, REC1 | `unit/client/fallback.md` | | `restHost` / `realtimeHost` | RSC12, TO3k2, TO3k3 | `unit/client/fallback.md` | | `fallbackHosts` | RSC15 | `unit/client/fallback.md` | -| `useBinaryProtocol` | RSC8, TO3f | `uts/test/rest/unit/rest_client.md` | +| `useBinaryProtocol` | RSC8, TO3f | `uts/rest/unit/rest_client.md` | | `logLevel` / `logHandler` | TO3b, TO3c | (not yet specified) | ### Realtime-Specific Verification for Shared Options @@ -715,7 +715,7 @@ CLOSE_CLIENT(client) ## Test Infrastructure Notes -See `uts/test/realtime/unit/helpers/mock_websocket.md` for mock installation, test isolation, and timer mocking guidance. +See `uts/realtime/unit/helpers/mock_websocket.md` for mock installation, test isolation, and timer mocking guidance. ### Channel Naming diff --git a/uts/realtime/unit/client/realtime_request.md b/uts/realtime/unit/client/realtime_request.md index e61292286..a2b570eec 100644 --- a/uts/realtime/unit/client/realtime_request.md +++ b/uts/realtime/unit/client/realtime_request.md @@ -13,4 +13,4 @@ Unit test with mocked HTTP client **Spec requirement:** `RealtimeClient#request` is a wrapper around `RestClient#request` (see RSC19) delivered in an idiomatic way for the realtime library. -`RealtimeClient#request` is a direct proxy to `RestClient#request`. The tests in `uts/test/rest/unit/request.md` (covering RSC19) should be used to test a `RealtimeClient` instance in place of a `RestClient` instance. All the same behaviour, parameters, and return types apply. +`RealtimeClient#request` is a direct proxy to `RestClient#request`. The tests in `uts/rest/unit/request.md` (covering RSC19) should be used to test a `RealtimeClient` instance in place of a `RestClient` instance. All the same behaviour, parameters, and return types apply. diff --git a/uts/realtime/unit/client/realtime_stats.md b/uts/realtime/unit/client/realtime_stats.md index ec7185aec..4b9d76263 100644 --- a/uts/realtime/unit/client/realtime_stats.md +++ b/uts/realtime/unit/client/realtime_stats.md @@ -16,4 +16,4 @@ Unit test with mocked HTTP client | RTC5a | Proxy to `RestClient#stats` presented with an async or threaded interface as appropriate | | RTC5b | Accepts all the same params as `RestClient#stats` and provides all the same functionality | -`RealtimeClient#stats` is a direct proxy to `RestClient#stats`. The tests in `uts/test/rest/unit/stats.md` (covering RSC6) should be used to test a `RealtimeClient` instance in place of a `RestClient` instance. All the same behaviour, parameters, and return types apply. +`RealtimeClient#stats` is a direct proxy to `RestClient#stats`. The tests in `uts/rest/unit/stats.md` (covering RSC6) should be used to test a `RealtimeClient` instance in place of a `RestClient` instance. All the same behaviour, parameters, and return types apply. diff --git a/uts/realtime/unit/client/realtime_time.md b/uts/realtime/unit/client/realtime_time.md index a13dfb6b6..61679021f 100644 --- a/uts/realtime/unit/client/realtime_time.md +++ b/uts/realtime/unit/client/realtime_time.md @@ -15,4 +15,4 @@ Unit test with mocked HTTP client |------|-------------| | RTC6a | Proxy to `RestClient#time` presented with an async or threaded interface as appropriate | -`RealtimeClient#time` is a direct proxy to `RestClient#time`. The tests in `uts/test/rest/unit/time.md` (covering RSC16) should be used to test a `RealtimeClient` instance in place of a `RestClient` instance. All the same behaviour, parameters, and return types apply. +`RealtimeClient#time` is a direct proxy to `RestClient#time`. The tests in `uts/rest/unit/time.md` (covering RSC16) should be used to test a `RealtimeClient` instance in place of a `RestClient` instance. All the same behaviour, parameters, and return types apply. diff --git a/uts/realtime/unit/client/realtime_timeouts.md b/uts/realtime/unit/client/realtime_timeouts.md index ac9fa6b52..cb4b8ff75 100644 --- a/uts/realtime/unit/client/realtime_timeouts.md +++ b/uts/realtime/unit/client/realtime_timeouts.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/connection/auto_connect_test.md b/uts/realtime/unit/connection/auto_connect_test.md index 6dee11512..32beade5f 100644 --- a/uts/realtime/unit/connection/auto_connect_test.md +++ b/uts/realtime/unit/connection/auto_connect_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/connection/backoff_jitter_test.md b/uts/realtime/unit/connection/backoff_jitter_test.md index 5bb34a8f7..b342c5083 100644 --- a/uts/realtime/unit/connection/backoff_jitter_test.md +++ b/uts/realtime/unit/connection/backoff_jitter_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. ## Overview diff --git a/uts/realtime/unit/connection/connection_failures_test.md b/uts/realtime/unit/connection/connection_failures_test.md index ace9c3981..ab4bb1932 100644 --- a/uts/realtime/unit/connection/connection_failures_test.md +++ b/uts/realtime/unit/connection/connection_failures_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/connection/connection_id_key_test.md b/uts/realtime/unit/connection/connection_id_key_test.md index 81239ea42..d8bd66966 100644 --- a/uts/realtime/unit/connection/connection_id_key_test.md +++ b/uts/realtime/unit/connection/connection_id_key_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/connection/connection_open_failures_test.md b/uts/realtime/unit/connection/connection_open_failures_test.md index 38e93fc4b..7de6f9a51 100644 --- a/uts/realtime/unit/connection/connection_open_failures_test.md +++ b/uts/realtime/unit/connection/connection_open_failures_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/connection/connection_ping_test.md b/uts/realtime/unit/connection/connection_ping_test.md index ea1e03ede..37a3dc98f 100644 --- a/uts/realtime/unit/connection/connection_ping_test.md +++ b/uts/realtime/unit/connection/connection_ping_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. ## Overview diff --git a/uts/realtime/unit/connection/connection_recovery_test.md b/uts/realtime/unit/connection/connection_recovery_test.md index 7b1e8aafc..cc429b6e5 100644 --- a/uts/realtime/unit/connection/connection_recovery_test.md +++ b/uts/realtime/unit/connection/connection_recovery_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/connection/error_reason_test.md b/uts/realtime/unit/connection/error_reason_test.md index 81b855dd9..b460a908b 100644 --- a/uts/realtime/unit/connection/error_reason_test.md +++ b/uts/realtime/unit/connection/error_reason_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/connection/fallback_hosts_test.md b/uts/realtime/unit/connection/fallback_hosts_test.md index 28e438af4..0a73f0d52 100644 --- a/uts/realtime/unit/connection/fallback_hosts_test.md +++ b/uts/realtime/unit/connection/fallback_hosts_test.md @@ -7,8 +7,8 @@ Unit test with mocked WebSocket client and HTTP client ## Mock Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. -See `uts/test/rest/unit/helpers/mock_http.md` for Mock HTTP Client specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/rest/unit/helpers/mock_http.md` for Mock HTTP Client specification. --- diff --git a/uts/realtime/unit/connection/forwards_compatibility_test.md b/uts/realtime/unit/connection/forwards_compatibility_test.md index 89d22c0e2..82383044e 100644 --- a/uts/realtime/unit/connection/forwards_compatibility_test.md +++ b/uts/realtime/unit/connection/forwards_compatibility_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. ## Overview diff --git a/uts/realtime/unit/connection/heartbeat_test.md b/uts/realtime/unit/connection/heartbeat_test.md index 82a434b49..1e46a3a62 100644 --- a/uts/realtime/unit/connection/heartbeat_test.md +++ b/uts/realtime/unit/connection/heartbeat_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. ## Overview diff --git a/uts/realtime/unit/connection/network_change_test.md b/uts/realtime/unit/connection/network_change_test.md index 285f70ba7..91aff268b 100644 --- a/uts/realtime/unit/connection/network_change_test.md +++ b/uts/realtime/unit/connection/network_change_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. ## Platform Network Connectivity Listener diff --git a/uts/realtime/unit/connection/server_initiated_reauth_test.md b/uts/realtime/unit/connection/server_initiated_reauth_test.md index d3a6cc586..19544523e 100644 --- a/uts/realtime/unit/connection/server_initiated_reauth_test.md +++ b/uts/realtime/unit/connection/server_initiated_reauth_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client and authCallback ## Mock Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. ## Purpose diff --git a/uts/realtime/unit/connection/update_events_test.md b/uts/realtime/unit/connection/update_events_test.md index 480c5bdf5..7b5337faf 100644 --- a/uts/realtime/unit/connection/update_events_test.md +++ b/uts/realtime/unit/connection/update_events_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/realtime/unit/connection/when_state_test.md b/uts/realtime/unit/connection/when_state_test.md index 6dda70a88..115e23f6d 100644 --- a/uts/realtime/unit/connection/when_state_test.md +++ b/uts/realtime/unit/connection/when_state_test.md @@ -7,7 +7,7 @@ Unit test with mocked WebSocket client ## Mock WebSocket Infrastructure -See `uts/test/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. +See `uts/realtime/unit/helpers/mock_websocket.md` for the full Mock WebSocket Infrastructure specification. --- diff --git a/uts/rest/unit/auth/auth_callback.md b/uts/rest/unit/auth/auth_callback.md index 470411a72..d63dfbe2e 100644 --- a/uts/rest/unit/auth/auth_callback.md +++ b/uts/rest/unit/auth/auth_callback.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. +See `uts/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. ## Purpose diff --git a/uts/rest/unit/auth/auth_scheme.md b/uts/rest/unit/auth/auth_scheme.md index 1e444902f..8c8673180 100644 --- a/uts/rest/unit/auth/auth_scheme.md +++ b/uts/rest/unit/auth/auth_scheme.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. +See `uts/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. ## Purpose diff --git a/uts/rest/unit/auth/authorize.md b/uts/rest/unit/auth/authorize.md index 26693d45a..849d745d5 100644 --- a/uts/rest/unit/auth/authorize.md +++ b/uts/rest/unit/auth/authorize.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client and/or mocked authCallback ## Mock HTTP Infrastructure -See `uts/test/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. +See `uts/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. --- diff --git a/uts/rest/unit/auth/client_id.md b/uts/rest/unit/auth/client_id.md index 5a832c3f4..548ac2329 100644 --- a/uts/rest/unit/auth/client_id.md +++ b/uts/rest/unit/auth/client_id.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client and/or authCallback ## Mock HTTP Infrastructure -See `uts/test/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. +See `uts/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. --- diff --git a/uts/rest/unit/auth/revoke_tokens.md b/uts/rest/unit/auth/revoke_tokens.md index 39d718f60..ea2c7bae6 100644 --- a/uts/rest/unit/auth/revoke_tokens.md +++ b/uts/rest/unit/auth/revoke_tokens.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. +See `uts/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. ## Server Response Format diff --git a/uts/rest/unit/auth/token_details.md b/uts/rest/unit/auth/token_details.md index 74add4919..317bbc503 100644 --- a/uts/rest/unit/auth/token_details.md +++ b/uts/rest/unit/auth/token_details.md @@ -15,7 +15,7 @@ Unit test with mocked HTTP client and/or mocked authCallback ## Mock HTTP Infrastructure -See `uts/test/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. +See `uts/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. --- diff --git a/uts/rest/unit/auth/token_renewal.md b/uts/rest/unit/auth/token_renewal.md index 996a8b297..fabd1d336 100644 --- a/uts/rest/unit/auth/token_renewal.md +++ b/uts/rest/unit/auth/token_renewal.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. +See `uts/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. ## Purpose diff --git a/uts/rest/unit/auth/token_request_params.md b/uts/rest/unit/auth/token_request_params.md index 8116d84eb..1763f2fbe 100644 --- a/uts/rest/unit/auth/token_request_params.md +++ b/uts/rest/unit/auth/token_request_params.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. +See `uts/rest/unit/rest_client.md` for the full Mock HTTP Infrastructure specification. These tests use the same `MockHttpClient` interface with `PendingConnection` and `PendingRequest`. ## Purpose diff --git a/uts/rest/unit/channel/annotations.md b/uts/rest/unit/channel/annotations.md index a82162235..dade657d7 100644 --- a/uts/rest/unit/channel/annotations.md +++ b/uts/rest/unit/channel/annotations.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -These tests use the mock HTTP infrastructure defined in `uts/test/rest/unit/helpers/mock_http.md`. +These tests use the mock HTTP infrastructure defined in `uts/rest/unit/helpers/mock_http.md`. --- diff --git a/uts/rest/unit/channel/get_message.md b/uts/rest/unit/channel/get_message.md index e03aaca31..3ec160bd0 100644 --- a/uts/rest/unit/channel/get_message.md +++ b/uts/rest/unit/channel/get_message.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -These tests use the mock HTTP infrastructure defined in `uts/test/rest/unit/helpers/mock_http.md`. +These tests use the mock HTTP infrastructure defined in `uts/rest/unit/helpers/mock_http.md`. --- diff --git a/uts/rest/unit/channel/history.md b/uts/rest/unit/channel/history.md index e615bca4a..0e4a1c2e3 100644 --- a/uts/rest/unit/channel/history.md +++ b/uts/rest/unit/channel/history.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -These tests use the mock HTTP infrastructure defined in `/Users/paddy/data/worknew/dev/dart-experiments/uts/test/rest/unit/rest_client.md`. +These tests use the mock HTTP infrastructure defined in `/Users/paddy/data/worknew/dev/dart-experiments/uts/rest/unit/rest_client.md`. The mock must support: - Handler-based configuration with `onConnectionAttempt` and `onRequest` callbacks diff --git a/uts/rest/unit/channel/idempotency.md b/uts/rest/unit/channel/idempotency.md index 9bf00c891..b21a9cfdb 100644 --- a/uts/rest/unit/channel/idempotency.md +++ b/uts/rest/unit/channel/idempotency.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -These tests use the mock HTTP infrastructure defined in `/Users/paddy/data/worknew/dev/dart-experiments/uts/test/rest/unit/rest_client.md`. +These tests use the mock HTTP infrastructure defined in `/Users/paddy/data/worknew/dev/dart-experiments/uts/rest/unit/rest_client.md`. The mock must support: - Handler-based configuration with `onConnectionAttempt` and `onRequest` callbacks diff --git a/uts/rest/unit/channel/message_versions.md b/uts/rest/unit/channel/message_versions.md index 6025ee72c..c0363af57 100644 --- a/uts/rest/unit/channel/message_versions.md +++ b/uts/rest/unit/channel/message_versions.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -These tests use the mock HTTP infrastructure defined in `uts/test/rest/unit/helpers/mock_http.md`. +These tests use the mock HTTP infrastructure defined in `uts/rest/unit/helpers/mock_http.md`. --- diff --git a/uts/rest/unit/channel/publish.md b/uts/rest/unit/channel/publish.md index 72017cbc4..ca187b302 100644 --- a/uts/rest/unit/channel/publish.md +++ b/uts/rest/unit/channel/publish.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -These tests use the mock HTTP infrastructure defined in `/Users/paddy/data/worknew/dev/dart-experiments/uts/test/rest/unit/rest_client.md`. +These tests use the mock HTTP infrastructure defined in `/Users/paddy/data/worknew/dev/dart-experiments/uts/rest/unit/rest_client.md`. The mock must support: - Handler-based configuration with `onConnectionAttempt` and `onRequest` callbacks diff --git a/uts/rest/unit/channel/publish_result.md b/uts/rest/unit/channel/publish_result.md index e28498b63..9678e2994 100644 --- a/uts/rest/unit/channel/publish_result.md +++ b/uts/rest/unit/channel/publish_result.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -These tests use the mock HTTP infrastructure defined in `uts/test/rest/unit/helpers/mock_http.md`. +These tests use the mock HTTP infrastructure defined in `uts/rest/unit/helpers/mock_http.md`. --- diff --git a/uts/rest/unit/channel/rest_channel_attributes.md b/uts/rest/unit/channel/rest_channel_attributes.md index f7f9b8671..f57157d63 100644 --- a/uts/rest/unit/channel/rest_channel_attributes.md +++ b/uts/rest/unit/channel/rest_channel_attributes.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. +See `uts/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. --- diff --git a/uts/rest/unit/channel/update_delete_message.md b/uts/rest/unit/channel/update_delete_message.md index 31428e156..b7cceeb88 100644 --- a/uts/rest/unit/channel/update_delete_message.md +++ b/uts/rest/unit/channel/update_delete_message.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -These tests use the mock HTTP infrastructure defined in `uts/test/rest/unit/helpers/mock_http.md`. +These tests use the mock HTTP infrastructure defined in `uts/rest/unit/helpers/mock_http.md`. --- diff --git a/uts/rest/unit/encoding/message_encoding.md b/uts/rest/unit/encoding/message_encoding.md index 089e2005a..0a2ca2061 100644 --- a/uts/rest/unit/encoding/message_encoding.md +++ b/uts/rest/unit/encoding/message_encoding.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -These tests use the mock HTTP infrastructure described in `/Users/paddy/data/worknew/dev/dart-experiments/uts/test/rest/unit/rest_client.md`. +These tests use the mock HTTP infrastructure described in `/Users/paddy/data/worknew/dev/dart-experiments/uts/rest/unit/rest_client.md`. The mock supports: - Intercepting HTTP requests and capturing details (URL, headers, method, body) diff --git a/uts/rest/unit/presence/rest_presence.md b/uts/rest/unit/presence/rest_presence.md index 2eac62e18..979e07a50 100644 --- a/uts/rest/unit/presence/rest_presence.md +++ b/uts/rest/unit/presence/rest_presence.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -These tests use the mock HTTP infrastructure described in `/Users/paddy/data/worknew/dev/dart-experiments/uts/test/rest/unit/rest_client.md`. +These tests use the mock HTTP infrastructure described in `/Users/paddy/data/worknew/dev/dart-experiments/uts/rest/unit/rest_client.md`. The mock supports: - Intercepting HTTP requests and capturing details (URL, headers, method, body) diff --git a/uts/rest/unit/push/push_admin_publish.md b/uts/rest/unit/push/push_admin_publish.md index 7b13c3e22..c99e06ca6 100644 --- a/uts/rest/unit/push/push_admin_publish.md +++ b/uts/rest/unit/push/push_admin_publish.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. +See `uts/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. --- diff --git a/uts/rest/unit/push/push_channel_subscriptions.md b/uts/rest/unit/push/push_channel_subscriptions.md index 3eaf2ef5a..0a5a4e6d0 100644 --- a/uts/rest/unit/push/push_channel_subscriptions.md +++ b/uts/rest/unit/push/push_channel_subscriptions.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. +See `uts/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. --- diff --git a/uts/rest/unit/push/push_channels.md b/uts/rest/unit/push/push_channels.md index 6d8c8299d..1a06eba17 100644 --- a/uts/rest/unit/push/push_channels.md +++ b/uts/rest/unit/push/push_channels.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. +See `uts/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. ## Notes diff --git a/uts/rest/unit/push/push_device_registrations.md b/uts/rest/unit/push/push_device_registrations.md index d433d2290..754eba6f6 100644 --- a/uts/rest/unit/push/push_device_registrations.md +++ b/uts/rest/unit/push/push_device_registrations.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. +See `uts/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. --- diff --git a/uts/rest/unit/request_endpoint.md b/uts/rest/unit/request_endpoint.md index 02286bb43..258749eb0 100644 --- a/uts/rest/unit/request_endpoint.md +++ b/uts/rest/unit/request_endpoint.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. +See `uts/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. --- diff --git a/uts/rest/unit/rest_client.md b/uts/rest/unit/rest_client.md index 80fe4241d..20986fd2b 100644 --- a/uts/rest/unit/rest_client.md +++ b/uts/rest/unit/rest_client.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. +See `uts/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. --- @@ -587,4 +587,4 @@ ASSERT result IS valid ## Test Infrastructure Notes -See `uts/test/rest/unit/helpers/mock_http.md` for mock installation, test isolation, and timer mocking guidance. +See `uts/rest/unit/helpers/mock_http.md` for mock installation, test isolation, and timer mocking guidance. diff --git a/uts/rest/unit/stats.md b/uts/rest/unit/stats.md index 717890d48..cddeb2e97 100644 --- a/uts/rest/unit/stats.md +++ b/uts/rest/unit/stats.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -See `uts/test/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. +See `uts/rest/unit/helpers/mock_http.md` for the full Mock HTTP Infrastructure specification. ## Purpose diff --git a/uts/rest/unit/types/paginated_result.md b/uts/rest/unit/types/paginated_result.md index e53711d7c..2f66c213f 100644 --- a/uts/rest/unit/types/paginated_result.md +++ b/uts/rest/unit/types/paginated_result.md @@ -7,7 +7,7 @@ Unit test with mocked HTTP client ## Mock HTTP Infrastructure -These tests use the mock HTTP infrastructure described in `/Users/paddy/data/worknew/dev/dart-experiments/uts/test/rest/unit/rest_client.md`. +These tests use the mock HTTP infrastructure described in `/Users/paddy/data/worknew/dev/dart-experiments/uts/rest/unit/rest_client.md`. The mock supports: - Intercepting HTTP requests and capturing details (URL, headers, method, body) From 1d9050a3f6e83f2366dc1060c846078656739b7b Mon Sep 17 00:00:00 2001 From: sacOO7 Date: Sat, 4 Jul 2026 22:42:06 +0530 Subject: [PATCH 2/2] chore(uts): retarget two broken cross-references with verified coverage Found by validating every backticked uts/*.md path in the tree: - rest_fallback.md pointed RSL1k at uts/rest/unit/publish.md, which does not exist; the RSL1k (idempotent publish) unit coverage lives in uts/rest/unit/channel/idempotency.md - realtime_client.md's RSC1b pointer targeted the never-written client_options.md; RSC1b (error when no auth method available) is covered by uts/rest/unit/auth/auth_scheme.md (rest/unit/RSC1b/no-auth-method-error-0) The remaining three client_options.md references (RSC1/RSC1a/RSC1c) are left as-is deliberately: no REST-side spec covers key-vs-token constructor detection, so they mark a genuine coverage gap for a spec owner to resolve rather than a path to rewrite. Co-Authored-By: Claude Fable 5 --- uts/realtime/unit/client/realtime_client.md | 2 +- uts/rest/integration/proxy/rest_fallback.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/uts/realtime/unit/client/realtime_client.md b/uts/realtime/unit/client/realtime_client.md index 1c534c7b6..4947c026a 100644 --- a/uts/realtime/unit/client/realtime_client.md +++ b/uts/realtime/unit/client/realtime_client.md @@ -72,7 +72,7 @@ The same test cases apply: The Realtime client has the same error handling as the REST client for invalid credentials. -**See:** `uts/test/realtime/unit/client/client_options.md` - RSC1b +**See:** `uts/rest/unit/auth/auth_scheme.md` - RSC1b Error code 40106 should be raised when no valid credentials are provided. diff --git a/uts/rest/integration/proxy/rest_fallback.md b/uts/rest/integration/proxy/rest_fallback.md index bd3b13232..225bfde9d 100644 --- a/uts/rest/integration/proxy/rest_fallback.md +++ b/uts/rest/integration/proxy/rest_fallback.md @@ -13,7 +13,7 @@ See `uts/realtime/integration/helpers/proxy.md` for the full proxy infrastructur ## Corresponding Unit Tests - `uts/rest/unit/fallback.md` -- RSC15l/RSC15l4 (unit test verifies fallback logic with mocked HTTP) -- `uts/rest/unit/publish.md` -- RSL1k (unit test verifies idempotent publish logic with mocked HTTP) +- `uts/rest/unit/channel/idempotency.md` -- RSL1k (unit test verifies idempotent publish logic with mocked HTTP) ## Purpose