blob: 09809e49a98c404a63018638297f9602d2bd7420 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: testplans/source_tree_test_config.proto
package testplans
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// A list of test groups.
type TestGroups struct {
Name []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TestGroups) Reset() { *m = TestGroups{} }
func (m *TestGroups) String() string { return proto.CompactTextString(m) }
func (*TestGroups) ProtoMessage() {}
func (*TestGroups) Descriptor() ([]byte, []int) {
return fileDescriptor_9aed450ade7161bc, []int{0}
}
func (m *TestGroups) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TestGroups.Unmarshal(m, b)
}
func (m *TestGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TestGroups.Marshal(b, m, deterministic)
}
func (m *TestGroups) XXX_Merge(src proto.Message) {
xxx_messageInfo_TestGroups.Merge(m, src)
}
func (m *TestGroups) XXX_Size() int {
return xxx_messageInfo_TestGroups.Size(m)
}
func (m *TestGroups) XXX_DiscardUnknown() {
xxx_messageInfo_TestGroups.DiscardUnknown(m)
}
var xxx_messageInfo_TestGroups proto.InternalMessageInfo
func (m *TestGroups) GetName() []string {
if m != nil {
return m.Name
}
return nil
}
// A description of how to remove test suites from the default set of test
// suites in Chrome OS CQ, as a result of source configuration.
// See http://go/cq-source-config
type SubtractiveRule struct {
// Whether to disable hardware test suites.
DisableHwTests bool `protobuf:"varint,1,opt,name=disable_hw_tests,json=disableHwTests,proto3" json:"disable_hw_tests,omitempty"`
// Whether to disable virtual machine test suites.
DisableVmTests bool `protobuf:"varint,2,opt,name=disable_vm_tests,json=disableVmTests,proto3" json:"disable_vm_tests,omitempty"`
// Prunes away all default suites except those in the provided test groups.
// e.g. setting this to "bluetooth" will have CQ run only those test suites
// in the "bluetooth" test group.
OnlyKeepAllSuitesInGroups *TestGroups `protobuf:"bytes,3,opt,name=only_keep_all_suites_in_groups,json=onlyKeepAllSuitesInGroups,proto3" json:"only_keep_all_suites_in_groups,omitempty"`
// Prunes away all default suites except one in each provided test group.
// e.g. can be used to ensure a test suite is launched on each of the
// supported Chrome OS processor architectures.
OnlyKeepOneSuiteFromEachGroup *TestGroups `protobuf:"bytes,4,opt,name=only_keep_one_suite_from_each_group,json=onlyKeepOneSuiteFromEachGroup,proto3" json:"only_keep_one_suite_from_each_group,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SubtractiveRule) Reset() { *m = SubtractiveRule{} }
func (m *SubtractiveRule) String() string { return proto.CompactTextString(m) }
func (*SubtractiveRule) ProtoMessage() {}
func (*SubtractiveRule) Descriptor() ([]byte, []int) {
return fileDescriptor_9aed450ade7161bc, []int{1}
}
func (m *SubtractiveRule) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SubtractiveRule.Unmarshal(m, b)
}
func (m *SubtractiveRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SubtractiveRule.Marshal(b, m, deterministic)
}
func (m *SubtractiveRule) XXX_Merge(src proto.Message) {
xxx_messageInfo_SubtractiveRule.Merge(m, src)
}
func (m *SubtractiveRule) XXX_Size() int {
return xxx_messageInfo_SubtractiveRule.Size(m)
}
func (m *SubtractiveRule) XXX_DiscardUnknown() {
xxx_messageInfo_SubtractiveRule.DiscardUnknown(m)
}
var xxx_messageInfo_SubtractiveRule proto.InternalMessageInfo
func (m *SubtractiveRule) GetDisableHwTests() bool {
if m != nil {
return m.DisableHwTests
}
return false
}
func (m *SubtractiveRule) GetDisableVmTests() bool {
if m != nil {
return m.DisableVmTests
}
return false
}
func (m *SubtractiveRule) GetOnlyKeepAllSuitesInGroups() *TestGroups {
if m != nil {
return m.OnlyKeepAllSuitesInGroups
}
return nil
}
func (m *SubtractiveRule) GetOnlyKeepOneSuiteFromEachGroup() *TestGroups {
if m != nil {
return m.OnlyKeepOneSuiteFromEachGroup
}
return nil
}
// A descriptive of how to add extra test suites to a CQ run based on source
// configuration. An AdditiveRule will trigger so long as any file matches the
// relevant source pattern. AdditiveRules combine as a union of additional test
// suites to run. disable_by_default=True test suites are particularly relevant
// to AdditiveRules, since AdditiveRules are the only thing that will include
// them.
type AdditiveRule struct {
// Adds on all test suites in the provided groups, even if they have
// disable_by_default=True.
// e.g. could be used to trigger wificell testing (which is expensive) based
// on the presence of files in wifi-related directories.
AddAllSuitesInGroups *TestGroups `protobuf:"bytes,1,opt,name=add_all_suites_in_groups,json=addAllSuitesInGroups,proto3" json:"add_all_suites_in_groups,omitempty"`
// Adds on one test suite from each of the provided groups, even if that suite
// has disable_by_default=True.
// e.g. could be used to trigger wificell testing (which is expensive) on one
// board in each Chrome OS processor architecture.
AddOneSuiteFromEachGroup *TestGroups `protobuf:"bytes,2,opt,name=add_one_suite_from_each_group,json=addOneSuiteFromEachGroup,proto3" json:"add_one_suite_from_each_group,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AdditiveRule) Reset() { *m = AdditiveRule{} }
func (m *AdditiveRule) String() string { return proto.CompactTextString(m) }
func (*AdditiveRule) ProtoMessage() {}
func (*AdditiveRule) Descriptor() ([]byte, []int) {
return fileDescriptor_9aed450ade7161bc, []int{2}
}
func (m *AdditiveRule) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AdditiveRule.Unmarshal(m, b)
}
func (m *AdditiveRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AdditiveRule.Marshal(b, m, deterministic)
}
func (m *AdditiveRule) XXX_Merge(src proto.Message) {
xxx_messageInfo_AdditiveRule.Merge(m, src)
}
func (m *AdditiveRule) XXX_Size() int {
return xxx_messageInfo_AdditiveRule.Size(m)
}
func (m *AdditiveRule) XXX_DiscardUnknown() {
xxx_messageInfo_AdditiveRule.DiscardUnknown(m)
}
var xxx_messageInfo_AdditiveRule proto.InternalMessageInfo
func (m *AdditiveRule) GetAddAllSuitesInGroups() *TestGroups {
if m != nil {
return m.AddAllSuitesInGroups
}
return nil
}
func (m *AdditiveRule) GetAddOneSuiteFromEachGroup() *TestGroups {
if m != nil {
return m.AddOneSuiteFromEachGroup
}
return nil
}
// A set of test subtractions and additions to perform for a source tree.
// See http://go/cq-source-config for documentation.
type SourceTestRules struct {
// A file pattern, representing a segment of Chrome OS code.
FilePattern *FilePattern `protobuf:"bytes,1,opt,name=file_pattern,json=filePattern,proto3" json:"file_pattern,omitempty"`
// A subtractive rule to apply to this file pattern. See the relevant message
// documentation.
SubtractiveRule *SubtractiveRule `protobuf:"bytes,2,opt,name=subtractive_rule,json=subtractiveRule,proto3" json:"subtractive_rule,omitempty"`
// An additive rule to apply to this file pattern. See the relevant message
// documentation.
AdditiveRule *AdditiveRule `protobuf:"bytes,3,opt,name=additive_rule,json=additiveRule,proto3" json:"additive_rule,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SourceTestRules) Reset() { *m = SourceTestRules{} }
func (m *SourceTestRules) String() string { return proto.CompactTextString(m) }
func (*SourceTestRules) ProtoMessage() {}
func (*SourceTestRules) Descriptor() ([]byte, []int) {
return fileDescriptor_9aed450ade7161bc, []int{3}
}
func (m *SourceTestRules) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SourceTestRules.Unmarshal(m, b)
}
func (m *SourceTestRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SourceTestRules.Marshal(b, m, deterministic)
}
func (m *SourceTestRules) XXX_Merge(src proto.Message) {
xxx_messageInfo_SourceTestRules.Merge(m, src)
}
func (m *SourceTestRules) XXX_Size() int {
return xxx_messageInfo_SourceTestRules.Size(m)
}
func (m *SourceTestRules) XXX_DiscardUnknown() {
xxx_messageInfo_SourceTestRules.DiscardUnknown(m)
}
var xxx_messageInfo_SourceTestRules proto.InternalMessageInfo
func (m *SourceTestRules) GetFilePattern() *FilePattern {
if m != nil {
return m.FilePattern
}
return nil
}
func (m *SourceTestRules) GetSubtractiveRule() *SubtractiveRule {
if m != nil {
return m.SubtractiveRule
}
return nil
}
func (m *SourceTestRules) GetAdditiveRule() *AdditiveRule {
if m != nil {
return m.AdditiveRule
}
return nil
}
// Configures test restrictions for all relevant source trees.
// This is the root message.
type SourceTreeTestCfg struct {
// Rules for how to test changes to specified source trees in the codebase.
SourceTestRules []*SourceTestRules `protobuf:"bytes,2,rep,name=source_test_rules,json=sourceTestRules,proto3" json:"source_test_rules,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SourceTreeTestCfg) Reset() { *m = SourceTreeTestCfg{} }
func (m *SourceTreeTestCfg) String() string { return proto.CompactTextString(m) }
func (*SourceTreeTestCfg) ProtoMessage() {}
func (*SourceTreeTestCfg) Descriptor() ([]byte, []int) {
return fileDescriptor_9aed450ade7161bc, []int{4}
}
func (m *SourceTreeTestCfg) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SourceTreeTestCfg.Unmarshal(m, b)
}
func (m *SourceTreeTestCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SourceTreeTestCfg.Marshal(b, m, deterministic)
}
func (m *SourceTreeTestCfg) XXX_Merge(src proto.Message) {
xxx_messageInfo_SourceTreeTestCfg.Merge(m, src)
}
func (m *SourceTreeTestCfg) XXX_Size() int {
return xxx_messageInfo_SourceTreeTestCfg.Size(m)
}
func (m *SourceTreeTestCfg) XXX_DiscardUnknown() {
xxx_messageInfo_SourceTreeTestCfg.DiscardUnknown(m)
}
var xxx_messageInfo_SourceTreeTestCfg proto.InternalMessageInfo
func (m *SourceTreeTestCfg) GetSourceTestRules() []*SourceTestRules {
if m != nil {
return m.SourceTestRules
}
return nil
}
func init() {
proto.RegisterType((*TestGroups)(nil), "testplans.TestGroups")
proto.RegisterType((*SubtractiveRule)(nil), "testplans.SubtractiveRule")
proto.RegisterType((*AdditiveRule)(nil), "testplans.AdditiveRule")
proto.RegisterType((*SourceTestRules)(nil), "testplans.SourceTestRules")
proto.RegisterType((*SourceTreeTestCfg)(nil), "testplans.SourceTreeTestCfg")
}
func init() {
proto.RegisterFile("testplans/source_tree_test_config.proto", fileDescriptor_9aed450ade7161bc)
}
var fileDescriptor_9aed450ade7161bc = []byte{
// 475 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xdf, 0x6e, 0xd3, 0x30,
0x14, 0xc6, 0x95, 0xb6, 0x42, 0xdb, 0x59, 0xa1, 0x5d, 0x04, 0x23, 0x4c, 0x1a, 0xaa, 0xca, 0x05,
0xbd, 0x4a, 0x24, 0x26, 0x2e, 0x90, 0xb8, 0x19, 0x68, 0xe5, 0x9f, 0x10, 0x28, 0x45, 0x13, 0xe2,
0xc6, 0x72, 0x93, 0x93, 0xd4, 0xc2, 0xb1, 0x23, 0xdb, 0xd9, 0xc4, 0xeb, 0xf0, 0x0e, 0x3c, 0x08,
0x6f, 0x84, 0xec, 0xa4, 0x4d, 0x5a, 0xb6, 0xde, 0xc5, 0xc7, 0xdf, 0xf9, 0xf9, 0x3b, 0x27, 0xe7,
0xc0, 0x73, 0x83, 0xda, 0x94, 0x9c, 0x0a, 0x1d, 0x69, 0x59, 0xa9, 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