| // 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: [ |
| // NOTE: You may want to choose a test runner that understands your language's tests. See |
| // https://fuchsia.dev/fuchsia-src/development/testing/components/test_runner_framework?hl=en#inventory_of_test_runners |
| // for details. |
| "//sdk/lib/sys/testing/elf_test_runner.shard.cml", |
| "//src/sys/test_manager/system-test.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| program: { |
| binary: "bin/button_checker_unittest_bin", |
| }, |
| use: [ |
| { |
| protocol: [ |
| // WARNING: This protocol is not normally available to tests, you may need to add it to the |
| // system test realm or add a mock/fake implementation as a child. |
| "fuchsia.hardware.input", |
| "fuchsia.process.Launcher", |
| ], |
| }, |
| { |
| // WARNING: Device directories are converted as best-effort and may need either different rights or |
| // a different directory name to function in v2. |
| directory: "dev-input", |
| rights: [ "r*" ], |
| path: "/dev/class/input", |
| }, |
| ], |
| } |