finos / FDC3-conformance-framework

A framework for testing whether desktop containers implement the FDC3 standard
Apache License 2.0
14 stars 15 forks source link

Conformance tests don't test retrieving User channels like app channels #246

Open kriswest opened 1 year ago

kriswest commented 1 year ago

FDC3 User channels can be worked with via the top-level functions fdc3.broadcast and fdc3.addContextListener OR via the Channel interface retrieved via fdc3.getUserChannels() and fdc3.getOrCreateChannel(<some user channel id>) then channel.broadcast and channel.addContextListener. An implementation error might lead to the two mechanisms appearing to work with different channels (an app channel and user channel version), however, they should be the same (or the fdc3.getUserChannels() function would not make sense).

The conformance tests (both 1.2 and 2.0) should be confirming this, but don't currently. A couple of new tests should be implemented (in both test versions) to confirm this.