third_party.pigweed.src/pw_transfer/test_server.proto
Alexei Frolov fad8e85548 pw_transfer: Use files in integration tests
This updates pw_transfer's integration tests to use local files as
transfer targets. This makes it simpler to coordinate between C++ and
Python and verify the results of transfer operations.

As part of this, a stream reader and writer that operate on files using
the C++ standard library are added to pw_stream.

Change-Id: I93efe3526ea9569b2f67a371fc89872cca0492a8
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/57342
Commit-Queue: Alexei Frolov <frolv@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2021-09-02 20:29:26 +00:00

25 lines
850 B
Protocol Buffer

// Copyright 2021 The Pigweed Authors
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
// License for the specific language governing permissions and limitations under
// the License.
syntax = "proto3";
import 'pw_protobuf_protos/common.proto';
package pw.transfer;
// Manages the transfer service test RPC server (test_rpc_server.cc).
service TestServer {
rpc ReloadTransferFiles(pw.protobuf.Empty) returns (pw.protobuf.Empty);
}