blob: 4b95122c512ca92ac0cd57c7bb453ec69b532283 [file] [log] [blame]
// Copyright 2020 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.
library fuchsia.archivist.tests;
/// `StdioPuppet` is a test interface through which a test controller commands
/// a puppet to write logs to stdio. This allows the controller to verify stdio
/// piping.
@discoverable
closed protocol StdioPuppet {
/// Writes |line| to stdout, appending a newline character.
strict WritelnStdout(struct {
line string:1024;
});
/// Writes |line| to stderr, appending a newline character.
strict WritelnStderr(struct {
line string:1024;
});
};