| { |
| include: [ |
| "sdk/lib/diagnostics/syslog/client.shard.cml", |
| "src/sys/test_runners/rust/default.shard.cml", |
| ], |
| program: { |
| binary: "bin/component_exit_integration_test", |
| }, |
| collections: [ |
| { |
| name: "test-collection", |
| durability: "transient", |
| }, |
| ], |
| capabilities: [ |
| { protocol: "fidl.test.components.Trigger" }, |
| ], |
| use: [ |
| { |
| protocol: [ "fuchsia.sys2.Realm" ], |
| from: "framework", |
| }, |
| { |
| protocol: [ "fuchsia.sys2.BlockingEventSource" ], |
| }, |
| { |
| event: [ |
| "capability_routed", |
| "resolved", |
| "stopped", |
| ], |
| from: "framework", |
| modes: ["sync"], |
| }, |
| ], |
| offer: [ |
| { |
| protocol: "fuchsia.logger.LogSink", |
| from: "parent", |
| to: [ "#test-collection" ], |
| }, |
| { |
| protocol: "fidl.test.components.Trigger", |
| from: "self", |
| to: [ "#test-collection" ], |
| }, |
| ], |
| } |