| // Realm for integration test that creates and binds to component instances in a collection. | |
| { | |
| "program": { | |
| "binary": "bin/collection_realm", | |
| }, | |
| "use": [ | |
| { "runner": "elf" }, | |
| { | |
| "protocol": "/svc/fuchsia.logger.LogSink", | |
| }, | |
| { | |
| "protocol": "/svc/fuchsia.sys2.Realm", | |
| "from": "framework", | |
| }, | |
| ], | |
| "collections": [ | |
| { | |
| "name": "coll", | |
| "durability": "transient", | |
| }, | |
| ], | |
| "offer": [ | |
| // Offer the ELF runner to children. | |
| { | |
| "runner": "elf", | |
| "from": "realm", | |
| "to": [ | |
| "#coll", | |
| ] | |
| }, | |
| ] | |
| } |