From 6723998aee62b25a44b597e93bba67b89cc28e64 Mon Sep 17 00:00:00 2001 From: Kris West Date: Mon, 28 Nov 2022 16:45:13 +0000 Subject: [PATCH] Confirm that App channels do not re-play past contexts when a listener is added --- toolbox/fdc3-conformance/FDC3-1.2-Conformance-Test-Cases.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolbox/fdc3-conformance/FDC3-1.2-Conformance-Test-Cases.md b/toolbox/fdc3-conformance/FDC3-1.2-Conformance-Test-Cases.md index de8561864..2c290b925 100644 --- a/toolbox/fdc3-conformance/FDC3-1.2-Conformance-Test-Cases.md +++ b/toolbox/fdc3-conformance/FDC3-1.2-Conformance-Test-Cases.md @@ -105,7 +105,8 @@ _These are some basic sanity tests implemented in the FDC3 Conformance Framework | A | 1. createChannel |`fdc3.getOrCreateChannel("test-channel")` | | B | 2. createChannel | `fdc3.getOrCreateChannel("test-channel")` | | B | 3. Broadcast | `testChannel.broadcast()` the instrument context.
`testChannel.broadcast()` a contact context. | -| A | 4. Receive Context | `testChannel.getCurrentContext('fdc3.instrument')` returns the last broadcast instrument
`testChannel.getCurrentContext('fdc3.contact')` returns the last broadcast contact | +| A | 4. addContextListener | A adds a context listener to the channel *after* B has completed all its broadcasts. It should NOT receive any context via this listener (past context is only retrieved bya getCurrentCOntext on App channels). +| A | 5. Receive Context | `testChannel.getCurrentContext('fdc3.instrument')` returns the last broadcast instrument
`testChannel.getCurrentContext('fdc3.contact')` returns the last broadcast contact | - `ACContextHistoryTyped`: Perform above test. - `ACContextHistoryMultiple`: **B** Broadcasts multiple history items of both types. Only the last version of each type is received by **A**.