| { |
| include: [ |
| "//sdk/lib/diagnostics/syslog/client.shard.cml", |
| "//src/sys/test_runners/rust/default.shard.cml", |
| ], |
| program: { |
| binary: "bin/element_session_bin_test", |
| }, |
| children: [ |
| { |
| name: "element_proposer", |
| url: "fuchsia-pkg://fuchsia.com/element_proposer#meta/element_proposer.cm", |
| startup: "eager", |
| }, |
| ], |
| collections: [ |
| { |
| name: "elements", |
| durability: "transient", |
| }, |
| ], |
| capabilities: [ |
| { protocol: "fuchsia.session.examples.ElementPing" }, |
| { protocol: "fuchsia.session.ElementManager" }, |
| ], |
| use: [ |
| { |
| protocol: "fuchsia.sys2.Realm", |
| from: "framework", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: "fuchsia.session.examples.ElementPing", |
| from: "self", |
| to: "#elements", |
| }, |
| { |
| protocol: "fuchsia.session.ElementManager", |
| from: "self", |
| to: "#element_proposer", |
| }, |
| ], |
| } |