| // [START example_snippet] |
| { |
| include: [ "sdk/lib/diagnostics/syslog/client.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", |
| }, |
| ], |
| capabilities: [ |
| { protocol: "fuchsia.test.Suite" }, |
| ], |
| use: [ |
| { runner: "rust_test_runner" }, |
| { |
| protocol: "fuchsia.sys2.Realm", |
| from: "framework", |
| }, |
| { protocol: "fuchsia.logger.Log" }, |
| ], |
| offer: [ |
| { |
| protocol: "fuchsia.logger.LogSink", |
| from: "parent", |
| to: [ "#hello_world" ], |
| }, |
| ], |
| expose: [ |
| { |
| protocol: "fuchsia.test.Suite", |
| from: "self", |
| }, |
| ], |
| } |
| |
| // [END example_snippet] |