| // [START example_snippet] |
| { |
| include: [ |
| "sdk/lib/diagnostics/syslog/client.shard.cml", |
| "src/sys/test_runners/rust/default.shard.cml", |
| ], |
| program: { |
| binary: "bin/hello_world_integration_test", |
| }, |
| children: [ |
| { |
| name: "hello_world", |
| url: "fuchsia-pkg://fuchsia.com/hello-world-integration-test#meta/hello-world.cm", |
| }, |
| ], |
| use: [ |
| { |
| protocol: "fuchsia.sys2.Realm", |
| from: "framework", |
| }, |
| { protocol: "fuchsia.logger.Log" }, |
| ], |
| offer: [ |
| { |
| protocol: "fuchsia.logger.LogSink", |
| from: "parent", |
| to: [ "#hello_world" ], |
| }, |
| ], |
| } |
| |
| // [END example_snippet] |