-
Notifications
You must be signed in to change notification settings - Fork 167
Conformance additions for 2.2 #1426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 14 commits
f9940fc
5b98bfd
31f4410
d53ff6c
512960c
16bab76
db0ebd3
b054b1d
3e790a2
80d57b8
fc29072
32787de
9d884c6
cd6d613
c54ad56
dbff0b9
b7bfc4c
451c400
39b0911
32fe58d
5aeff32
f9e2454
e95ffde
bdb4afa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,20 @@ hide_title: true | |
|
|
||
| _These are some basic sanity tests implemented in the FDC3 Conformance Framework. It is expected that Desktop Agent testers will run these first before commencing the much more thorough tests in section 2 onwards._ | ||
|
|
||
| ## Connection | ||
|
|
||
|  In FDC3 2.2, a new interface was introduced to support Browser-based FDC3 Desktop Agents, known as a 'Desktop Agent Proxy', and a new [`getAgent`](../ref/GetAgent) API call was introduced to all apps to retrieve the Desktop Agent API via that interface or the existing 'Desktop Agent Preload' interface. This test pack checks that the a connection is made correctly via `getAgent`. | ||
|
|
||
| | App | Step | Description | | ||
| |-----|-----------------|----------------------------------------------------------| | ||
| | A | `getAgent` | A calls `getAgent` and waits for the promise to resolve to a `DesktopAgent` instance. | | ||
kriswest marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| | A | `getInfo` | A can call the `getInfo()` method on the `DesktopAgent` instance to get the `ImplementationMetadata` object. <br /> Check that fdc3Version is set to 2.2. <br />Check that provider and providerVersion are populated. | | ||
|
||
| | A | `getUserChannels`| A can call the `getUserChannels()` method on the `DesktopAgent` instance to get the `Channel` objects representing the system channels.<br />Check **user** channels are returned.| | ||
kriswest marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - `GetAgentAPI`:  Perform the above test. | ||
|
|
||
| ## Basic API Usage | ||
|
|
||
| - `BasicCL1`: You can create a context listener by calling `fdc3.addContextListener('fdc3.contact',<handler>)`. A `Listener` object is returned and can be used to remove the listener again by calling its `unsubscribe` function. | ||
| - `BasicCL2`: You can create an **unfiltered** context listener by calling `fdc3.addContextListener(null,<handler>)`. A `Listener` object is returned and can be used to remove the listener again by calling its `unsubscribe` function. | ||
| - `BasicIL1`: You can create an intent listener by calling `fdc3.addIntentListener(<intent name>,<handler>)`. A `Listener` object is returned and can be used to remove the listener again by calling its `unsubscribe` function. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.