| // 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/testing/system-validation/ui/tests/meta/system_validation_base.cml" ], | |
| program: { | |
| // Args for ui_app_controller | |
| args: [ | |
| "--run-duration-sec", | |
| "10", | |
| ], | |
| }, | |
| children: [ | |
| { | |
| name: "sample-app", | |
| url: "#meta/simplest_sysmem.cm", | |
| }, | |
| ], | |
| use: [ | |
| { | |
| protocol: [ "fuchsia.ui.app.ViewProvider" ], | |
| from: "#sample-app", | |
| }, | |
| ], | |
| offer: [ | |
| { | |
| protocol: [ | |
| "fuchsia.sysmem.Allocator", | |
| "fuchsia.sysmem2.Allocator", | |
| "fuchsia.ui.composition.Allocator", | |
| "fuchsia.ui.composition.Flatland", | |
| "fuchsia.ui.composition.FlatlandFactory", | |
| ], | |
| from: "parent", | |
| to: [ "#sample-app" ], | |
| }, | |
| { | |
| dictionary: "diagnostics", | |
| from: "parent", | |
| to: [ "#sample-app" ], | |
| }, | |
| ], | |
| } |