blob: 0c3c9c222062c88fecda9b779aa4a1fe0a9aec90 [file] [log] [blame]
// 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/rust/default.shard.cml",
"//src/testing/realm_proxy/client/meta/realm_proxy.shard.cml",
"inspect/client.shard.cml",
"sys/component/realm_builder.shard.cml",
"syslog/client.shard.cml",
],
program: {
binary: "bin/archivist_integration_tests",
},
children: [
// TODO(289370551): Move this to a test-root.cml and make this test a sibling.
// These tests are being incrementally refactored to use this realm
// factory instead of RealmBuilder.
{
name: "realm_factory",
url: "archivist-realm-factory#meta/archivist-realm-factory.cm",
},
],
use: [
{
protocol: "fuchsia.archivist.test.RealmFactory",
from: "#realm_factory",
},
{
protocol: "fuchsia.sys2.RealmQuery",
from: "framework",
},
{
protocol: [ "fuchsia.logger.Log" ],
},
{
event_stream: [
"started",
"stopped",
],
from: "parent",
},
],
offer: [
{
protocol: [ "fuchsia.boot.ReadOnlyLog" ],
from: "parent",
to: [
"#realm_builder",
"#realm_factory",
],
},
{
protocol: [ "fuchsia.tracing.provider.Registry" ],
from: "parent",
to: [
"#realm_builder",
"#realm_factory",
],
availability: "optional",
},
{
event_stream: [ "capability_requested" ],
from: "parent",
to: "#realm_factory",
},
],
}