| 1 |
// Copyright 2021 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.12.2 |
| 19 |
// source: google/devtools/resultstore/v2/test_suite.proto |
| 20 |
|
| 21 |
package resultstore |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// The result of running a test case. |
| 39 |
type TestCase_Result int32 |
| 40 |
|
| 41 |
const ( |
| 42 |
// The implicit default enum value. Do not use. |
| 43 |
TestCase_RESULT_UNSPECIFIED TestCase_Result = 0 |
| 44 |
// Test case ran to completion. Look for failures or errors to determine |
| 45 |
// whether it passed, failed, or errored. |
| 46 |
TestCase_COMPLETED TestCase_Result = 1 |
| 47 |
// Test case started but did not complete because the test harness received |
| 48 |
// a signal and decided to stop running tests. |
| 49 |
TestCase_INTERRUPTED TestCase_Result = 2 |
| 50 |
// Test case was not started because the test harness received a SIGINT or |
| 51 |
// timed out. |
| 52 |
TestCase_CANCELLED TestCase_Result = 3 |
| 53 |
// Test case was not run because the user or process running the test |
| 54 |
// specified a filter that excluded this test case. |
| 55 |
TestCase_FILTERED TestCase_Result = 4 |
| 56 |
// Test case was not run to completion because the test case decided it |
| 57 |
// should not be run (eg. due to a failed assumption in a JUnit4 test). |
| 58 |
// Per-test setup or tear-down may or may not have run. |
| 59 |
TestCase_SKIPPED TestCase_Result = 5 |
| 60 |
// The test framework did not run the test case because it was labeled as |
| 61 |
// suppressed. Eg. if someone temporarily disables a failing test. |
| 62 |
TestCase_SUPPRESSED TestCase_Result = 6 |
| 63 |
) |
| 64 |
|
| 65 |
// Enum value maps for TestCase_Result. |
| 66 |
var ( |
| 67 |
TestCase_Result_name = map[int32]string{ |
| 68 |
0: "RESULT_UNSPECIFIED", |
| 69 |
1: "COMPLETED", |
| 70 |
2: "INTERRUPTED", |
| 71 |
3: "CANCELLED", |
| 72 |
4: "FILTERED", |
| 73 |
5: "SKIPPED", |
| 74 |
6: "SUPPRESSED", |
| 75 |
} |
| 76 |
TestCase_Result_value = map[string]int32{ |
| 77 |
"RESULT_UNSPECIFIED": 0, |
| 78 |
"COMPLETED": 1, |
| 79 |
"INTERRUPTED": 2, |
| 80 |
"CANCELLED": 3, |
| 81 |
"FILTERED": 4, |
| 82 |
"SKIPPED": 5, |
| 83 |
"SUPPRESSED": 6, |
| 84 |
} |
| 85 |
) |
| 86 |
|
| 87 |
func (x TestCase_Result) Enum() *TestCase_Result { |
| 88 |
p := new(TestCase_Result) |
| 89 |
*p = x |
| 90 |
return p |
| 91 |
} |
| 92 |
|
| 93 |
func (x TestCase_Result) String() string { |
| 94 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 95 |
} |
| 96 |
|
| 97 |
func (TestCase_Result) Descriptor() protoreflect.EnumDescriptor { |
| 98 |
return file_google_devtools_resultstore_v2_test_suite_proto_enumTypes[0].Descriptor() |
| 99 |
} |
| 100 |
|
| 101 |
func (TestCase_Result) Type() protoreflect.EnumType { |
| 102 |
return &file_google_devtools_resultstore_v2_test_suite_proto_enumTypes[0] |
| 103 |
} |
| 104 |
|
| 105 |
func (x TestCase_Result) Number() protoreflect.EnumNumber { |
| 106 |
return protoreflect.EnumNumber(x) |
| 107 |
} |
| 108 |
|
| 109 |
// Deprecated: Use TestCase_Result.Descriptor instead. |
| 110 |
func (TestCase_Result) EnumDescriptor() ([]byte, []int) { |
| 111 |
return file_google_devtools_resultstore_v2_test_suite_proto_rawDescGZIP(), []int{2, 0} |
| 112 |
} |
| 113 |
|
| 114 |
// The result of running a test suite, as reported in a <testsuite> element of |
| 115 |
// an XML log. |
| 116 |
type TestSuite struct { |
| 117 |
state protoimpl.MessageState |
| 118 |
sizeCache protoimpl.SizeCache |
| 119 |
unknownFields protoimpl.UnknownFields |
| 120 |
|
| 121 |
// The full name of this suite, as reported in the name attribute. For Java |
| 122 |
// tests, this is normally the fully qualified class name. Eg. |
| 123 |
// "com.google.common.hash.BloomFilterTest". |
| 124 |
SuiteName string `protobuf:"bytes,1,opt,name=suite_name,json=suiteName,proto3" json:"suite_name,omitempty"` |
| 125 |
// The results of the test cases and test suites contained in this suite, |
| 126 |
// as reported in the <testcase> and <testsuite> elements contained within |
| 127 |
// this <testsuite>. |
| 128 |
Tests []*Test `protobuf:"bytes,2,rep,name=tests,proto3" json:"tests,omitempty"` |
| 129 |
// Failures reported in <failure> elements within this <testsuite>. |
| 130 |
Failures []*TestFailure `protobuf:"bytes,3,rep,name=failures,proto3" json:"failures,omitempty"` |
| 131 |
// Errors reported in <error> elements within this <testsuite>. |
| 132 |
Errors []*TestError `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"` |
| 133 |
// The timing for the entire TestSuite, as reported by the time attribute. |
| 134 |
Timing *Timing `protobuf:"bytes,6,opt,name=timing,proto3" json:"timing,omitempty"` |
| 135 |
// Arbitrary name-value pairs, as reported in custom attributes or in a |
| 136 |
// <properties> element within this <testsuite>. Multiple properties are |
| 137 |
// allowed with the same key. Properties will be returned in lexicographical |
| 138 |
// order by key. |
| 139 |
Properties []*Property `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"` |
| 140 |
// Files produced by this test suite, as reported by undeclared output |
| 141 |
// annotations. |
| 142 |
// The file IDs must be unique within this list. Duplicate file IDs will |
| 143 |
// result in an error. Files will be returned in lexicographical order by ID. |
| 144 |
Files []*File `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"` |
| 145 |
} |
| 146 |
|
| 147 |
func (x *TestSuite) Reset() { |
| 148 |
*x = TestSuite{} |
| 149 |
if protoimpl.UnsafeEnabled { |
| 150 |
mi := &file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[0] |
| 151 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 152 |
ms.StoreMessageInfo(mi) |
| 153 |
} |
| 154 |
} |
| 155 |
|
| 156 |
func (x *TestSuite) String() string { |
| 157 |
return protoimpl.X.MessageStringOf(x) |
| 158 |
} |
| 159 |
|
| 160 |
func (*TestSuite) ProtoMessage() {} |
| 161 |
|
| 162 |
func (x *TestSuite) ProtoReflect() protoreflect.Message { |
| 163 |
mi := &file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[0] |
| 164 |
if protoimpl.UnsafeEnabled && x != nil { |
| 165 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 166 |
if ms.LoadMessageInfo() == nil { |
| 167 |
ms.StoreMessageInfo(mi) |
| 168 |
} |
| 169 |
return ms |
| 170 |
} |
| 171 |
return mi.MessageOf(x) |
| 172 |
} |
| 173 |
|
| 174 |
// Deprecated: Use TestSuite.ProtoReflect.Descriptor instead. |
| 175 |
func (*TestSuite) Descriptor() ([]byte, []int) { |
| 176 |
return file_google_devtools_resultstore_v2_test_suite_proto_rawDescGZIP(), []int{0} |
| 177 |
} |
| 178 |
|
| 179 |
func (x *TestSuite) GetSuiteName() string { |
| 180 |
if x != nil { |
| 181 |
return x.SuiteName |
| 182 |
} |
| 183 |
return "" |
| 184 |
} |
| 185 |
|
| 186 |
func (x *TestSuite) GetTests() []*Test { |
| 187 |
if x != nil { |
| 188 |
return x.Tests |
| 189 |
} |
| 190 |
return nil |
| 191 |
} |
| 192 |
|
| 193 |
func (x *TestSuite) GetFailures() []*TestFailure { |
| 194 |
if x != nil { |
| 195 |
return x.Failures |
| 196 |
} |
| 197 |
return nil |
| 198 |
} |
| 199 |
|
| 200 |
func (x *TestSuite) GetErrors() []*TestError { |
| 201 |
if x != nil { |
| 202 |
return x.Errors |
| 203 |
} |
| 204 |
return nil |
| 205 |
} |
| 206 |
|
| 207 |
func (x *TestSuite) GetTiming() *Timing { |
| 208 |
if x != nil { |
| 209 |
return x.Timing |
| 210 |
} |
| 211 |
return nil |
| 212 |
} |
| 213 |
|
| 214 |
func (x *TestSuite) GetProperties() []*Property { |
| 215 |
if x != nil { |
| 216 |
return x.Properties |
| 217 |
} |
| 218 |
return nil |
| 219 |
} |
| 220 |
|
| 221 |
func (x *TestSuite) GetFiles() []*File { |
| 222 |
if x != nil { |
| 223 |
return x.Files |
| 224 |
} |
| 225 |
return nil |
| 226 |
} |
| 227 |
|
| 228 |
// The result of running a test case or test suite. JUnit3 TestDecorators are |
| 229 |
// represented as a TestSuite with a single test. |
| 230 |
type Test struct { |
| 231 |
state protoimpl.MessageState |
| 232 |
sizeCache protoimpl.SizeCache |
| 233 |
unknownFields protoimpl.UnknownFields |
| 234 |
|
| 235 |
// Either a TestCase of a TestSuite |
| 236 |
// |
| 237 |
// Types that are assignable to TestType: |
| 238 |
// *Test_TestCase |
| 239 |
// *Test_TestSuite |
| 240 |
TestType isTest_TestType `protobuf_oneof:"test_type"` |
| 241 |
} |
| 242 |
|
| 243 |
func (x *Test) Reset() { |
| 244 |
*x = Test{} |
| 245 |
if protoimpl.UnsafeEnabled { |
| 246 |
mi := &file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[1] |
| 247 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 248 |
ms.StoreMessageInfo(mi) |
| 249 |
} |
| 250 |
} |
| 251 |
|
| 252 |
func (x *Test) String() string { |
| 253 |
return protoimpl.X.MessageStringOf(x) |
| 254 |
} |
| 255 |
|
| 256 |
func (*Test) ProtoMessage() {} |
| 257 |
|
| 258 |
func (x *Test) ProtoReflect() protoreflect.Message { |
| 259 |
mi := &file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[1] |
| 260 |
if protoimpl.UnsafeEnabled && x != nil { |
| 261 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 262 |
if ms.LoadMessageInfo() == nil { |
| 263 |
ms.StoreMessageInfo(mi) |
| 264 |
} |
| 265 |
return ms |
| 266 |
} |
| 267 |
return mi.MessageOf(x) |
| 268 |
} |
| 269 |
|
| 270 |
// Deprecated: Use Test.ProtoReflect.Descriptor instead. |
| 271 |
func (*Test) Descriptor() ([]byte, []int) { |
| 272 |
return file_google_devtools_resultstore_v2_test_suite_proto_rawDescGZIP(), []int{1} |
| 273 |
} |
| 274 |
|
| 275 |
func (m *Test) GetTestType() isTest_TestType { |
| 276 |
if m != nil { |
| 277 |
return m.TestType |
| 278 |
} |
| 279 |
return nil |
| 280 |
} |
| 281 |
|
| 282 |
func (x *Test) GetTestCase() *TestCase { |
| 283 |
if x, ok := x.GetTestType().(*Test_TestCase); ok { |
| 284 |
return x.TestCase |
| 285 |
} |
| 286 |
return nil |
| 287 |
} |
| 288 |
|
| 289 |
func (x *Test) GetTestSuite() *TestSuite { |
| 290 |
if x, ok := x.GetTestType().(*Test_TestSuite); ok { |
| 291 |
return x.TestSuite |
| 292 |
} |
| 293 |
return nil |
| 294 |
} |
| 295 |
|
| 296 |
type isTest_TestType interface { |
| 297 |
isTest_TestType() |
| 298 |
} |
| 299 |
|
| 300 |
type Test_TestCase struct { |
| 301 |
// When this contains just a single TestCase |
| 302 |
TestCase *TestCase `protobuf:"bytes,1,opt,name=test_case,json=testCase,proto3,oneof"` |
| 303 |
} |
| 304 |
|
| 305 |
type Test_TestSuite struct { |
| 306 |
// When this contains a TestSuite of test cases. |
| 307 |
TestSuite *TestSuite `protobuf:"bytes,2,opt,name=test_suite,json=testSuite,proto3,oneof"` |
| 308 |
} |
| 309 |
|
| 310 |
func (*Test_TestCase) isTest_TestType() {} |
| 311 |
|
| 312 |
func (*Test_TestSuite) isTest_TestType() {} |
| 313 |
|
| 314 |
// The result of running a test case, as reported in a <testcase> element of |
| 315 |
// an XML log. |
| 316 |
type TestCase struct { |
| 317 |
state protoimpl.MessageState |
| 318 |
sizeCache protoimpl.SizeCache |
| 319 |
unknownFields protoimpl.UnknownFields |
| 320 |
|
| 321 |
// The name of the test case, as reported in the name attribute. For Java, |
| 322 |
// this is normally the method name. Eg. "testBasic". |
| 323 |
CaseName string `protobuf:"bytes,1,opt,name=case_name,json=caseName,proto3" json:"case_name,omitempty"` |
| 324 |
// The name of the class in which the test case was defined, as reported in |
| 325 |
// the classname attribute. For Java, this is normally the fully qualified |
| 326 |
// class name. Eg. "com.google.common.hash.BloomFilterTest". |
| 327 |
ClassName string `protobuf:"bytes,2,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"` |
| 328 |
// An enum reported in the result attribute that is used in conjunction with |
| 329 |
// failures and errors below to report the outcome. |
| 330 |
Result TestCase_Result `protobuf:"varint,3,opt,name=result,proto3,enum=google.devtools.resultstore.v2.TestCase_Result" json:"result,omitempty"` |
| 331 |
// Failures reported in <failure> elements within this <testcase>. |
| 332 |
Failures []*TestFailure `protobuf:"bytes,4,rep,name=failures,proto3" json:"failures,omitempty"` |
| 333 |
// Errors reported in <error> elements within this <testcase>. |
| 334 |
Errors []*TestError `protobuf:"bytes,5,rep,name=errors,proto3" json:"errors,omitempty"` |
| 335 |
// The timing for the TestCase, as reported by the time attribute. |
| 336 |
Timing *Timing `protobuf:"bytes,7,opt,name=timing,proto3" json:"timing,omitempty"` |
| 337 |
// Arbitrary name-value pairs, as reported in custom attributes or in a |
| 338 |
// <properties> element within this <testcase>. Multiple properties are |
| 339 |
// allowed with the same key. Properties will be returned in lexicographical |
| 340 |
// order by key. |
| 341 |
Properties []*Property `protobuf:"bytes,8,rep,name=properties,proto3" json:"properties,omitempty"` |
| 342 |
// Files produced by this test case, as reported by undeclared output |
| 343 |
// annotations. |
| 344 |
// The file IDs must be unique within this list. Duplicate file IDs will |
| 345 |
// result in an error. Files will be returned in lexicographical order by ID. |
| 346 |
Files []*File `protobuf:"bytes,9,rep,name=files,proto3" json:"files,omitempty"` |
| 347 |
} |
| 348 |
|
| 349 |
func (x *TestCase) Reset() { |
| 350 |
*x = TestCase{} |
| 351 |
if protoimpl.UnsafeEnabled { |
| 352 |
mi := &file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[2] |
| 353 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 354 |
ms.StoreMessageInfo(mi) |
| 355 |
} |
| 356 |
} |
| 357 |
|
| 358 |
func (x *TestCase) String() string { |
| 359 |
return protoimpl.X.MessageStringOf(x) |
| 360 |
} |
| 361 |
|
| 362 |
func (*TestCase) ProtoMessage() {} |
| 363 |
|
| 364 |
func (x *TestCase) ProtoReflect() protoreflect.Message { |
| 365 |
mi := &file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[2] |
| 366 |
if protoimpl.UnsafeEnabled && x != nil { |
| 367 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 368 |
if ms.LoadMessageInfo() == nil { |
| 369 |
ms.StoreMessageInfo(mi) |
| 370 |
} |
| 371 |
return ms |
| 372 |
} |
| 373 |
return mi.MessageOf(x) |
| 374 |
} |
| 375 |
|
| 376 |
// Deprecated: Use TestCase.ProtoReflect.Descriptor instead. |
| 377 |
func (*TestCase) Descriptor() ([]byte, []int) { |
| 378 |
return file_google_devtools_resultstore_v2_test_suite_proto_rawDescGZIP(), []int{2} |
| 379 |
} |
| 380 |
|
| 381 |
func (x *TestCase) GetCaseName() string { |
| 382 |
if x != nil { |
| 383 |
return x.CaseName |
| 384 |
} |
| 385 |
return "" |
| 386 |
} |
| 387 |
|
| 388 |
func (x *TestCase) GetClassName() string { |
| 389 |
if x != nil { |
| 390 |
return x.ClassName |
| 391 |
} |
| 392 |
return "" |
| 393 |
} |
| 394 |
|
| 395 |
func (x *TestCase) GetResult() TestCase_Result { |
| 396 |
if x != nil { |
| 397 |
return x.Result |
| 398 |
} |
| 399 |
return TestCase_RESULT_UNSPECIFIED |
| 400 |
} |
| 401 |
|
| 402 |
func (x *TestCase) GetFailures() []*TestFailure { |
| 403 |
if x != nil { |
| 404 |
return x.Failures |
| 405 |
} |
| 406 |
return nil |
| 407 |
} |
| 408 |
|
| 409 |
func (x *TestCase) GetErrors() []*TestError { |
| 410 |
if x != nil { |
| 411 |
return x.Errors |
| 412 |
} |
| 413 |
return nil |
| 414 |
} |
| 415 |
|
| 416 |
func (x *TestCase) GetTiming() *Timing { |
| 417 |
if x != nil { |
| 418 |
return x.Timing |
| 419 |
} |
| 420 |
return nil |
| 421 |
} |
| 422 |
|
| 423 |
func (x *TestCase) GetProperties() []*Property { |
| 424 |
if x != nil { |
| 425 |
return x.Properties |
| 426 |
} |
| 427 |
return nil |
| 428 |
} |
| 429 |
|
| 430 |
func (x *TestCase) GetFiles() []*File { |
| 431 |
if x != nil { |
| 432 |
return x.Files |
| 433 |
} |
| 434 |
return nil |
| 435 |
} |
| 436 |
|
| 437 |
// Represents a violated assertion, as reported in a <failure> element within a |
| 438 |
// <testcase>. Some languages allow assertions to be made without stopping the |
| 439 |
// test case when they're violated, leading to multiple TestFailures. For Java, |
| 440 |
// multiple TestFailures are used to represent a chained exception. |
| 441 |
type TestFailure struct { |
| 442 |
state protoimpl.MessageState |
| 443 |
sizeCache protoimpl.SizeCache |
| 444 |
unknownFields protoimpl.UnknownFields |
| 445 |
|
| 446 |
// The exception message reported in the message attribute. Typically short, |
| 447 |
// but may be multi-line. Eg. "Expected 'foo' but was 'bar'". |
| 448 |
FailureMessage string `protobuf:"bytes,1,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"` |
| 449 |
// The type of the exception being thrown, reported in the type attribute. |
| 450 |
// Eg: "org.junit.ComparisonFailure" |
| 451 |
ExceptionType string `protobuf:"bytes,2,opt,name=exception_type,json=exceptionType,proto3" json:"exception_type,omitempty"` |
| 452 |
// The stack trace reported as the content of the <failure> element, often in |
| 453 |
// a CDATA block. This contains one line for each stack frame, each including |
| 454 |
// a method/function name, a class/file name, and a line number. Most recent |
| 455 |
// call is usually first, but not for Python stack traces. May contain the |
| 456 |
// exception_type and message. |
| 457 |
StackTrace string `protobuf:"bytes,3,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"` |
| 458 |
// The expected values. |
| 459 |
// |
| 460 |
// These values can be diffed against the actual values. Often, there is just |
| 461 |
// one actual and one expected value. If there is more than one, they should |
| 462 |
// be compared as an unordered collection. |
| 463 |
Expected []string `protobuf:"bytes,4,rep,name=expected,proto3" json:"expected,omitempty"` |
| 464 |
// The actual values. |
| 465 |
// |
| 466 |
// These values can be diffed against the expected values. Often, there is |
| 467 |
// just one actual and one expected value. If there is more than one, they |
| 468 |
// should be compared as an unordered collection. |
| 469 |
Actual []string `protobuf:"bytes,5,rep,name=actual,proto3" json:"actual,omitempty"` |
| 470 |
} |
| 471 |
|
| 472 |
func (x *TestFailure) Reset() { |
| 473 |
*x = TestFailure{} |
| 474 |
if protoimpl.UnsafeEnabled { |
| 475 |
mi := &file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[3] |
| 476 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 477 |
ms.StoreMessageInfo(mi) |
| 478 |
} |
| 479 |
} |
| 480 |
|
| 481 |
func (x *TestFailure) String() string { |
| 482 |
return protoimpl.X.MessageStringOf(x) |
| 483 |
} |
| 484 |
|
| 485 |
func (*TestFailure) ProtoMessage() {} |
| 486 |
|
| 487 |
func (x *TestFailure) ProtoReflect() protoreflect.Message { |
| 488 |
mi := &file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[3] |
| 489 |
if protoimpl.UnsafeEnabled && x != nil { |
| 490 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 491 |
if ms.LoadMessageInfo() == nil { |
| 492 |
ms.StoreMessageInfo(mi) |
| 493 |
} |
| 494 |
return ms |
| 495 |
} |
| 496 |
return mi.MessageOf(x) |
| 497 |
} |
| 498 |
|
| 499 |
// Deprecated: Use TestFailure.ProtoReflect.Descriptor instead. |
| 500 |
func (*TestFailure) Descriptor() ([]byte, []int) { |
| 501 |
return file_google_devtools_resultstore_v2_test_suite_proto_rawDescGZIP(), []int{3} |
| 502 |
} |
| 503 |
|
| 504 |
func (x *TestFailure) GetFailureMessage() string { |
| 505 |
if x != nil { |
| 506 |
return x.FailureMessage |
| 507 |
} |
| 508 |
return "" |
| 509 |
} |
| 510 |
|
| 511 |
func (x *TestFailure) GetExceptionType() string { |
| 512 |
if x != nil { |
| 513 |
return x.ExceptionType |
| 514 |
} |
| 515 |
return "" |
| 516 |
} |
| 517 |
|
| 518 |
func (x *TestFailure) GetStackTrace() string { |
| 519 |
if x != nil { |
| 520 |
return x.StackTrace |
| 521 |
} |
| 522 |
return "" |
| 523 |
} |
| 524 |
|
| 525 |
func (x *TestFailure) GetExpected() []string { |
| 526 |
if x != nil { |
| 527 |
return x.Expected |
| 528 |
} |
| 529 |
return nil |
| 530 |
} |
| 531 |
|
| 532 |
func (x *TestFailure) GetActual() []string { |
| 533 |
if x != nil { |
| 534 |
return x.Actual |
| 535 |
} |
| 536 |
return nil |
| 537 |
} |
| 538 |
|
| 539 |
// Represents an exception that prevented a test case from completing, as |
| 540 |
// reported in an <error> element within a <testcase>. For Java, multiple |
| 541 |
// TestErrors are used to represent a chained exception. |
| 542 |
type TestError struct { |
| 543 |
state protoimpl.MessageState |
| 544 |
sizeCache protoimpl.SizeCache |
| 545 |
unknownFields protoimpl.UnknownFields |
| 546 |
|
| 547 |
// The exception message, as reported in the message attribute. Typically |
| 548 |
// short, but may be multi-line. Eg. "argument cannot be null". |
| 549 |
ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` |
| 550 |
// The type of the exception being thrown, reported in the type attribute. |
| 551 |
// For Java, this is a fully qualified Throwable class name. |
| 552 |
// Eg: "java.lang.IllegalArgumentException" |
| 553 |
ExceptionType string `protobuf:"bytes,2,opt,name=exception_type,json=exceptionType,proto3" json:"exception_type,omitempty"` |
| 554 |
// The stack trace reported as the content of the <error> element, often in |
| 555 |
// a CDATA block. This contains one line for each stack frame, each including |
| 556 |
// a method/function name, a class/file name, and a line number. Most recent |
| 557 |
// call is usually first, but not for Python stack traces. May contain the |
| 558 |
// exception_type and message. |
| 559 |
StackTrace string `protobuf:"bytes,3,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"` |
| 560 |
} |
| 561 |
|
| 562 |
func (x *TestError) Reset() { |
| 563 |
*x = TestError{} |
| 564 |
if protoimpl.UnsafeEnabled { |
| 565 |
mi := &file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[4] |
| 566 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 567 |
ms.StoreMessageInfo(mi) |
| 568 |
} |
| 569 |
} |
| 570 |
|
| 571 |
func (x *TestError) String() string { |
| 572 |
return protoimpl.X.MessageStringOf(x) |
| 573 |
} |
| 574 |
|
| 575 |
func (*TestError) ProtoMessage() {} |
| 576 |
|
| 577 |
func (x *TestError) ProtoReflect() protoreflect.Message { |
| 578 |
mi := &file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[4] |
| 579 |
if protoimpl.UnsafeEnabled && x != nil { |
| 580 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 581 |
if ms.LoadMessageInfo() == nil { |
| 582 |
ms.StoreMessageInfo(mi) |
| 583 |
} |
| 584 |
return ms |
| 585 |
} |
| 586 |
return mi.MessageOf(x) |
| 587 |
} |
| 588 |
|
| 589 |
// Deprecated: Use TestError.ProtoReflect.Descriptor instead. |
| 590 |
func (*TestError) Descriptor() ([]byte, []int) { |
| 591 |
return file_google_devtools_resultstore_v2_test_suite_proto_rawDescGZIP(), []int{4} |
| 592 |
} |
| 593 |
|
| 594 |
func (x *TestError) GetErrorMessage() string { |
| 595 |
if x != nil { |
| 596 |
return x.ErrorMessage |
| 597 |
} |
| 598 |
return "" |
| 599 |
} |
| 600 |
|
| 601 |
func (x *TestError) GetExceptionType() string { |
| 602 |
if x != nil { |
| 603 |
return x.ExceptionType |
| 604 |
} |
| 605 |
return "" |
| 606 |
} |
| 607 |
|
| 608 |
func (x *TestError) GetStackTrace() string { |
| 609 |
if x != nil { |
| 610 |
return x.StackTrace |
| 611 |
} |
| 612 |
return "" |
| 613 |
} |
| 614 |
|
| 615 |
var File_google_devtools_resultstore_v2_test_suite_proto protoreflect.FileDescriptor |
| 616 |
|
| 617 |
var file_google_devtools_resultstore_v2_test_suite_proto_rawDesc = []byte{ |
| 618 |
0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 619 |
0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32, |
| 620 |
0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x75, 0x69, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 621 |
0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, |
| 622 |
0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, |
| 623 |
0x32, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, |
| 624 |
0x6c, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, |
| 625 |
0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, |
| 626 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, |
| 627 |
0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x66, |
| 628 |
0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x03, 0x0a, 0x09, 0x54, 0x65, |
| 629 |
0x73, 0x74, 0x53, 0x75, 0x69, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x69, 0x74, 0x65, |
| 630 |
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, 0x69, |
| 631 |
0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x74, 0x65, 0x73, 0x74, 0x73, 0x18, |
| 632 |
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, |
| 633 |
0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, |
| 634 |
0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x05, 0x74, 0x65, 0x73, |
| 635 |
0x74, 0x73, 0x12, 0x47, 0x0a, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x18, 0x03, |
| 636 |
0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, |
| 637 |
0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, |
| 638 |
0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, |
| 639 |
0x65, 0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x65, |
| 640 |
0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, |
| 641 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, |
| 642 |
0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x73, |
| 643 |
0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x3e, |
| 644 |
0x0a, 0x06, 0x74, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, |
| 645 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, |
| 646 |
0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, |
| 647 |
0x54, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x74, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x48, |
| 648 |
0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, |
| 649 |
0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, |
| 650 |
0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 651 |
0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x0a, 0x70, 0x72, |
| 652 |
0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, |
| 653 |
0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 654 |
0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, |
| 655 |
0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, |
| 656 |
0x69, 0x6c, 0x65, 0x73, 0x22, 0xa8, 0x01, 0x0a, 0x04, 0x54, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, |
| 657 |
0x09, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, |
| 658 |
0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, |
| 659 |
0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, |
| 660 |
0x32, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x43, 0x61, 0x73, 0x65, 0x48, 0x00, 0x52, 0x08, 0x74, 0x65, |
| 661 |
0x73, 0x74, 0x43, 0x61, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, |
| 662 |
0x75, 0x69, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, |
| 663 |
0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, |
| 664 |
0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x73, 0x74, |
| 665 |
0x53, 0x75, 0x69, 0x74, 0x65, 0x48, 0x00, 0x52, 0x09, 0x74, 0x65, 0x73, 0x74, 0x53, 0x75, 0x69, |
| 666 |
0x74, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, |
| 667 |
0xdd, 0x04, 0x0a, 0x08, 0x54, 0x65, 0x73, 0x74, 0x43, 0x61, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, |
| 668 |
0x63, 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 669 |
0x08, 0x63, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x61, |
| 670 |
0x73, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, |
| 671 |
0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, |
| 672 |
0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 673 |
0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, |
| 674 |
0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x43, 0x61, |
| 675 |
0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, |
| 676 |
0x74, 0x12, 0x47, 0x0a, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, |
| 677 |
0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, |
| 678 |
0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, |
| 679 |
0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, |
| 680 |
0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x65, 0x72, |
| 681 |
0x72, 0x6f, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, |
| 682 |
0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, |
| 683 |
0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x73, 0x74, |
| 684 |
0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x3e, 0x0a, |
| 685 |
0x06, 0x74, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, |
| 686 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, |
| 687 |
0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, |
| 688 |
0x69, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x74, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x48, 0x0a, |
| 689 |
0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, |
| 690 |
0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, |
| 691 |
0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, |
| 692 |
0x76, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, |
| 693 |
0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, |
| 694 |
0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 695 |
0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, |
| 696 |
0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, |
| 697 |
0x6c, 0x65, 0x73, 0x22, 0x7a, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, |
| 698 |
0x12, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, |
| 699 |
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, |
| 700 |
0x45, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x52, 0x55, 0x50, |
| 701 |
0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, |
| 702 |
0x45, 0x44, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x45, 0x44, |
| 703 |
0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10, 0x05, 0x12, |
| 704 |
0x0e, 0x0a, 0x0a, 0x53, 0x55, 0x50, 0x50, 0x52, 0x45, 0x53, 0x53, 0x45, 0x44, 0x10, 0x06, 0x22, |
| 705 |
0xb2, 0x01, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, |
| 706 |
0x27, 0x0a, 0x0f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, |
| 707 |
0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, |
| 708 |
0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x65, |
| 709 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 710 |
0x52, 0x0d, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, |
| 711 |
0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x03, |
| 712 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, |
| 713 |
0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, |
| 714 |
0x28, 0x09, 0x52, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, |
| 715 |
0x61, 0x63, 0x74, 0x75, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, |
| 716 |
0x74, 0x75, 0x61, 0x6c, 0x22, 0x78, 0x0a, 0x09, 0x54, 0x65, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, |
| 717 |
0x72, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, |
| 718 |
0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, |
| 719 |
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, |
| 720 |
0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, |
| 721 |
0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, |
| 722 |
0x0b, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, |
| 723 |
0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x42, 0x81, |
| 724 |
0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, |
| 725 |
0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, |
| 726 |
0x72, 0x65, 0x2e, 0x76, 0x32, 0x42, 0x0e, 0x54, 0x65, 0x73, 0x74, 0x53, 0x75, 0x69, 0x74, 0x65, |
| 727 |
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 728 |
0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, |
| 729 |
0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, |
| 730 |
0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, |
| 731 |
0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32, 0x3b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, |
| 732 |
0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 733 |
} |
| 734 |
|
| 735 |
var ( |
| 736 |
file_google_devtools_resultstore_v2_test_suite_proto_rawDescOnce sync.Once |
| 737 |
file_google_devtools_resultstore_v2_test_suite_proto_rawDescData = file_google_devtools_resultstore_v2_test_suite_proto_rawDesc |
| 738 |
) |
| 739 |
|
| 740 |
func file_google_devtools_resultstore_v2_test_suite_proto_rawDescGZIP() []byte { |
| 741 |
file_google_devtools_resultstore_v2_test_suite_proto_rawDescOnce.Do(func() { |
| 742 |
file_google_devtools_resultstore_v2_test_suite_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_resultstore_v2_test_suite_proto_rawDescData) |
| 743 |
}) |
| 744 |
return file_google_devtools_resultstore_v2_test_suite_proto_rawDescData |
| 745 |
} |
| 746 |
|
| 747 |
var file_google_devtools_resultstore_v2_test_suite_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 748 |
var file_google_devtools_resultstore_v2_test_suite_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 749 |
var file_google_devtools_resultstore_v2_test_suite_proto_goTypes = []interface{}{ |
| 750 |
(TestCase_Result)(0), // 0: google.devtools.resultstore.v2.TestCase.Result |
| 751 |
(*TestSuite)(nil), // 1: google.devtools.resultstore.v2.TestSuite |
| 752 |
(*Test)(nil), // 2: google.devtools.resultstore.v2.Test |
| 753 |
(*TestCase)(nil), // 3: google.devtools.resultstore.v2.TestCase |
| 754 |
(*TestFailure)(nil), // 4: google.devtools.resultstore.v2.TestFailure |
| 755 |
(*TestError)(nil), // 5: google.devtools.resultstore.v2.TestError |
| 756 |
(*Timing)(nil), // 6: google.devtools.resultstore.v2.Timing |
| 757 |
(*Property)(nil), // 7: google.devtools.resultstore.v2.Property |
| 758 |
(*File)(nil), // 8: google.devtools.resultstore.v2.File |
| 759 |
} |
| 760 |
var file_google_devtools_resultstore_v2_test_suite_proto_depIdxs = []int32{ |
| 761 |
2, // 0: google.devtools.resultstore.v2.TestSuite.tests:type_name -> google.devtools.resultstore.v2.Test |
| 762 |
4, // 1: google.devtools.resultstore.v2.TestSuite.failures:type_name -> google.devtools.resultstore.v2.TestFailure |
| 763 |
5, // 2: google.devtools.resultstore.v2.TestSuite.errors:type_name -> google.devtools.resultstore.v2.TestError |
| 764 |
6, // 3: google.devtools.resultstore.v2.TestSuite.timing:type_name -> google.devtools.resultstore.v2.Timing |
| 765 |
7, // 4: google.devtools.resultstore.v2.TestSuite.properties:type_name -> google.devtools.resultstore.v2.Property |
| 766 |
8, // 5: google.devtools.resultstore.v2.TestSuite.files:type_name -> google.devtools.resultstore.v2.File |
| 767 |
3, // 6: google.devtools.resultstore.v2.Test.test_case:type_name -> google.devtools.resultstore.v2.TestCase |
| 768 |
1, // 7: google.devtools.resultstore.v2.Test.test_suite:type_name -> google.devtools.resultstore.v2.TestSuite |
| 769 |
0, // 8: google.devtools.resultstore.v2.TestCase.result:type_name -> google.devtools.resultstore.v2.TestCase.Result |
| 770 |
4, // 9: google.devtools.resultstore.v2.TestCase.failures:type_name -> google.devtools.resultstore.v2.TestFailure |
| 771 |
5, // 10: google.devtools.resultstore.v2.TestCase.errors:type_name -> google.devtools.resultstore.v2.TestError |
| 772 |
6, // 11: google.devtools.resultstore.v2.TestCase.timing:type_name -> google.devtools.resultstore.v2.Timing |
| 773 |
7, // 12: google.devtools.resultstore.v2.TestCase.properties:type_name -> google.devtools.resultstore.v2.Property |
| 774 |
8, // 13: google.devtools.resultstore.v2.TestCase.files:type_name -> google.devtools.resultstore.v2.File |
| 775 |
14, // [14:14] is the sub-list for method output_type |
| 776 |
14, // [14:14] is the sub-list for method input_type |
| 777 |
14, // [14:14] is the sub-list for extension type_name |
| 778 |
14, // [14:14] is the sub-list for extension extendee |
| 779 |
0, // [0:14] is the sub-list for field type_name |
| 780 |
} |
| 781 |
|
| 782 |
func init() { file_google_devtools_resultstore_v2_test_suite_proto_init() } |
| 783 |
func file_google_devtools_resultstore_v2_test_suite_proto_init() { |
| 784 |
if File_google_devtools_resultstore_v2_test_suite_proto != nil { |
| 785 |
return |
| 786 |
} |
| 787 |
file_google_devtools_resultstore_v2_common_proto_init() |
| 788 |
file_google_devtools_resultstore_v2_file_proto_init() |
| 789 |
if !protoimpl.UnsafeEnabled { |
| 790 |
file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 791 |
switch v := v.(*TestSuite); i { |
| 792 |
case 0: |
| 793 |
return &v.state |
| 794 |
case 1: |
| 795 |
return &v.sizeCache |
| 796 |
case 2: |
| 797 |
return &v.unknownFields |
| 798 |
default: |
| 799 |
return nil |
| 800 |
} |
| 801 |
} |
| 802 |
file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 803 |
switch v := v.(*Test); i { |
| 804 |
case 0: |
| 805 |
return &v.state |
| 806 |
case 1: |
| 807 |
return &v.sizeCache |
| 808 |
case 2: |
| 809 |
return &v.unknownFields |
| 810 |
default: |
| 811 |
return nil |
| 812 |
} |
| 813 |
} |
| 814 |
file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 815 |
switch v := v.(*TestCase); i { |
| 816 |
case 0: |
| 817 |
return &v.state |
| 818 |
case 1: |
| 819 |
return &v.sizeCache |
| 820 |
case 2: |
| 821 |
return &v.unknownFields |
| 822 |
default: |
| 823 |
return nil |
| 824 |
} |
| 825 |
} |
| 826 |
file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 827 |
switch v := v.(*TestFailure); i { |
| 828 |
case 0: |
| 829 |
return &v.state |
| 830 |
case 1: |
| 831 |
return &v.sizeCache |
| 832 |
case 2: |
| 833 |
return &v.unknownFields |
| 834 |
default: |
| 835 |
return nil |
| 836 |
} |
| 837 |
} |
| 838 |
file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 839 |
switch v := v.(*TestError); i { |
| 840 |
case 0: |
| 841 |
return &v.state |
| 842 |
case 1: |
| 843 |
return &v.sizeCache |
| 844 |
case 2: |
| 845 |
return &v.unknownFields |
| 846 |
default: |
| 847 |
return nil |
| 848 |
} |
| 849 |
} |
| 850 |
} |
| 851 |
file_google_devtools_resultstore_v2_test_suite_proto_msgTypes[1].OneofWrappers = []interface{}{ |
| 852 |
(*Test_TestCase)(nil), |
| 853 |
(*Test_TestSuite)(nil), |
| 854 |
} |
| 855 |
type x struct{} |
| 856 |
out := protoimpl.TypeBuilder{ |
| 857 |
File: protoimpl.DescBuilder{ |
| 858 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 859 |
RawDescriptor: file_google_devtools_resultstore_v2_test_suite_proto_rawDesc, |
| 860 |
NumEnums: 1, |
| 861 |
NumMessages: 5, |
| 862 |
NumExtensions: 0, |
| 863 |
NumServices: 0, |
| 864 |
}, |
| 865 |
GoTypes: file_google_devtools_resultstore_v2_test_suite_proto_goTypes, |
| 866 |
DependencyIndexes: file_google_devtools_resultstore_v2_test_suite_proto_depIdxs, |
| 867 |
EnumInfos: file_google_devtools_resultstore_v2_test_suite_proto_enumTypes, |
| 868 |
MessageInfos: file_google_devtools_resultstore_v2_test_suite_proto_msgTypes, |
| 869 |
}.Build() |
| 870 |
File_google_devtools_resultstore_v2_test_suite_proto = out.File |
| 871 |
file_google_devtools_resultstore_v2_test_suite_proto_rawDesc = nil |
| 872 |
file_google_devtools_resultstore_v2_test_suite_proto_goTypes = nil |
| 873 |
file_google_devtools_resultstore_v2_test_suite_proto_depIdxs = nil |
| 874 |
} |