blob: 6c8c4fd4bf8636ed24d18d96d6093cd70844f5ac [file] [log] [blame]
// Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// These protos are only for use in tests of the PublicReplication logic. This
// allows testing different cases, e.g. invalid PublicReplication schemas,
// without relying on actual protos.
syntax = "proto3";
package chromiumos.config.public_replication.testdata;
option go_package = "go.chromium.org/chromiumos/config/go/public_replication/testdata";
import "chromiumos/config/public_replication/public_replication.proto";
message PublicReplicationTestdata {
chromiumos.config.public_replication.PublicReplication public_replication = 1;
string str1 = 2;
string str2 = 3;
map<string, int32> map1 = 4;
}
message WrapperTestdata1 {
int32 n1 = 1;
PublicReplicationTestdata pr_testdata = 2;
repeated PublicReplicationTestdata repeated_pr_testdata = 3;
}
message WrapperTestdata2 {
WrapperTestdata1 wrapper_testdata1 = 1;
}
message WrapperTestdata3 {
chromiumos.config.public_replication.PublicReplication public_replication = 1;
bool b1 = 2;
PublicReplicationTestdata pr_testdata = 3;
}
message RecursiveMessage {
bool b1 = 1;
RecursiveMessage recursive_message = 2;
}