You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/Eventa.Tests/docs/typescript-test-inventory.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,8 @@ Status labels:
12
12
| Doc section | Status | Current C# target | Covered / deferred details |
13
13
| --- | --- | --- | --- |
14
14
|`context.spec.ts`|`covered`|`EventContextTests.cs`| Covers register+emit, same handler only once, once listeners, `off(event)`, returned disposer, `off(event, handler)`, and returned disposer for a specific listener. |
15
-
|`invoke.spec.ts`|`covered` + `adapted` + `deferred`|`InvokeTests.cs`| Covered: request-response, sync lazy context, request-derived error message, exact error instance propagation, abort/cancel with handler notification, concurrent invokes, same handler once, returned handler removal. Adapted: request-stream input and request-stream abort are currently covered at the protocol/handler layer because C# has no public client invoke overload for request streams. Deferred: async lazy context, undefine handler, batch registration, public client-side request stream invoke parity. |
|`invoke.spec.ts`|`covered` + `adapted` + `deferred`|`InvokeTests.cs`| Covered: request-response, sync lazy context, request-derived error message, exact error instance propagation, abort/cancel with handler notification, concurrent invokes, same handler once, returned handler removal. Adapted: request-stream input and request-stream abort are currently covered at the protocol/handler layer because C# has no public client invoke overload for request streams. Extra C# contract within that adapted coverage: empty request streams are accepted by materializing handler state on `sendStreamEndEvent`, and pre-first-item abort still notifies the handler; those behaviors are not current TS parity. Deferred: async lazy context, undefine handler, batch registration, public client-side request stream invoke parity. |
16
+
|`stream.spec.ts`|`covered`+ `extra`|`StreamTests.cs`| Covers server-streaming, `ToStreamHandler`, concurrent streams, error surfacing, abort stream, cancel stream via async enumerator disposal, abort request stream with paced input, abort request stream before first item, request stream input, `ToStreamHandler` + stream input. Extra C# contract: empty request stream input is intentionally supported even though TS `stream.ts` currently ignores `sendEventStreamEnd` for unknown `invokeId`, and pre-first-item abort still materializes handler state so cancellation is observed; these behaviors are not current TS parity. |
17
17
|`invoke-shared.spec.ts`|`covered`|`EventaTests.cs`, `Primitives/EventDefinitionTests.cs`, `Primitives/InvokeEventDefinitionTests.cs`| Adapted to C# by validating tag-derived event IDs and generated uniqueness instead of TS `invokeType` enum objects. |
18
18
|`invoke-remote-methods.spec.ts`|`deferred`| none | No corresponding C# public API for remote method stubs. |
19
19
|`context-extension-invoke-internal.spec.ts`|`covered`|`InvokeExtensionsTests.cs`| Validates `RegisterAbortEvent` through the public extension surface. |
0 commit comments