| // Copyright 2021 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // This realm contains the test cases for fuchsia_component_v2_test. |
| { |
| include: [ |
| "//sdk/lib/diagnostics/syslog/client.shard.cml", |
| "//src/lib/fuchsia-component-test/meta/fuchsia_component_test.shard.cml", |
| ], |
| program: { |
| runner: "elf", |
| binary: "bin/realm", |
| }, |
| collections: [ |
| { |
| name: "coll", |
| durability: "transient", |
| }, |
| ], |
| use: [ |
| { |
| event: [ "destroyed" ], |
| from: "framework", |
| modes: [ "async" ], |
| }, |
| { |
| protocol: "fuchsia.sys2.EventSource", |
| from: "parent", |
| }, |
| { |
| event_stream: "DestroyedEventStream", |
| subscriptions: [ |
| { |
| event: "destroyed", |
| mode: "async", |
| }, |
| ], |
| }, |
| ], |
| } |