| // Copyright 2022 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. |
| { |
| include: [ |
| "//src/sys/test_runners/gtest/default.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| program: { |
| binary: "bin/smart-door-functional-test", |
| }, |
| children: [ |
| { |
| name: "smart-door", |
| url: "#meta/smart-door.cm", |
| }, |
| { |
| name: "smart-door-memory", |
| url: "#meta/smart-door-memory.cm", |
| }, |
| ], |
| use: [ |
| { |
| protocol: [ |
| "fuchsia.security.codelabsmartdoor.Access", |
| "fuchsia.security.codelabsmartdoor.AccessReset", |
| ], |
| from: "#smart-door", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: [ "fuchsia.security.codelabsmartdoor.Memory" ], |
| from: "#smart-door-memory", |
| to: "#smart-door", |
| }, |
| { |
| storage: "data", |
| from: "parent", |
| to: "#smart-door-memory", |
| }, |
| { |
| protocol: "fuchsia.logger.LogSink", |
| from: "parent", |
| to: [ |
| "#smart-door", |
| "#smart-door-memory", |
| ], |
| }, |
| ], |
| } |