@stanterprise/protobuf 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +677 -785
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +681 -785
- package/dist/index.mjs.map +1 -1
- package/dist/lib/index.d.ts +13 -15
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/common/common.d.ts +3 -1
- package/dist/lib/testsystem/v1/common/common.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/entities/test_case.d.ts +56 -72
- package/dist/lib/testsystem/v1/entities/test_case.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts +64 -91
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/events/events.d.ts +10 -0
- package/dist/lib/testsystem/v1/events/events.d.ts.map +1 -1
- package/lib/index.ts +39 -49
- package/lib/testsystem/v1/common/common.ts +3 -1
- package/lib/testsystem/v1/entities/test_case.ts +253 -301
- package/lib/testsystem/v1/entities/test_suite.ts +269 -368
- package/lib/testsystem/v1/events/events.ts +46 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36,19 +36,24 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
36
36
|
// index.ts
|
|
37
37
|
var index_exports = {};
|
|
38
38
|
__export(index_exports, {
|
|
39
|
-
common: () =>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
common: () => testsystem,
|
|
40
|
+
events: () => testsystem4,
|
|
41
|
+
google: () => timestamp_exports,
|
|
42
|
+
observer: () => testsystem5,
|
|
43
|
+
testCase: () => testsystem2,
|
|
44
|
+
testSuite: () => testsystem3,
|
|
44
45
|
testsystem: () => testsystem6
|
|
45
46
|
});
|
|
46
47
|
module.exports = __toCommonJS(index_exports);
|
|
47
48
|
|
|
48
49
|
// lib/google/protobuf/timestamp.ts
|
|
50
|
+
var timestamp_exports = {};
|
|
51
|
+
__export(timestamp_exports, {
|
|
52
|
+
google: () => google
|
|
53
|
+
});
|
|
49
54
|
var pb_1 = __toESM(require("google-protobuf"));
|
|
50
55
|
var google;
|
|
51
|
-
((
|
|
56
|
+
((google3) => {
|
|
52
57
|
let protobuf;
|
|
53
58
|
((protobuf2) => {
|
|
54
59
|
var _one_of_decls;
|
|
@@ -135,7 +140,7 @@ var google;
|
|
|
135
140
|
_one_of_decls = new WeakMap();
|
|
136
141
|
let Timestamp = _Timestamp;
|
|
137
142
|
protobuf2.Timestamp = _Timestamp;
|
|
138
|
-
})(protobuf =
|
|
143
|
+
})(protobuf = google3.protobuf || (google3.protobuf = {}));
|
|
139
144
|
})(google || (google = {}));
|
|
140
145
|
|
|
141
146
|
// lib/testsystem/v1/common/common.ts
|
|
@@ -144,8 +149,8 @@ var testsystem;
|
|
|
144
149
|
((testsystem7) => {
|
|
145
150
|
let v1;
|
|
146
151
|
((v12) => {
|
|
147
|
-
let
|
|
148
|
-
((
|
|
152
|
+
let common;
|
|
153
|
+
((common2) => {
|
|
149
154
|
var _one_of_decls;
|
|
150
155
|
let TestStatus;
|
|
151
156
|
((TestStatus2) => {
|
|
@@ -154,7 +159,9 @@ var testsystem;
|
|
|
154
159
|
TestStatus2[TestStatus2["FAILED"] = 2] = "FAILED";
|
|
155
160
|
TestStatus2[TestStatus2["SKIPPED"] = 3] = "SKIPPED";
|
|
156
161
|
TestStatus2[TestStatus2["BROKEN"] = 4] = "BROKEN";
|
|
157
|
-
|
|
162
|
+
TestStatus2[TestStatus2["TIMEDOUT"] = 5] = "TIMEDOUT";
|
|
163
|
+
TestStatus2[TestStatus2["INTERRUPTED"] = 6] = "INTERRUPTED";
|
|
164
|
+
})(TestStatus = common2.TestStatus || (common2.TestStatus = {}));
|
|
158
165
|
const _Attachment = class _Attachment extends pb_12.Message {
|
|
159
166
|
constructor(data) {
|
|
160
167
|
super();
|
|
@@ -291,15 +298,15 @@ var testsystem;
|
|
|
291
298
|
};
|
|
292
299
|
_one_of_decls = new WeakMap();
|
|
293
300
|
let Attachment = _Attachment;
|
|
294
|
-
|
|
295
|
-
})(
|
|
301
|
+
common2.Attachment = _Attachment;
|
|
302
|
+
})(common = v12.common || (v12.common = {}));
|
|
296
303
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
297
304
|
})(testsystem || (testsystem = {}));
|
|
298
305
|
|
|
299
306
|
// lib/google/protobuf/duration.ts
|
|
300
307
|
var pb_13 = __toESM(require("google-protobuf"));
|
|
301
308
|
var google2;
|
|
302
|
-
((
|
|
309
|
+
((google3) => {
|
|
303
310
|
let protobuf;
|
|
304
311
|
((protobuf2) => {
|
|
305
312
|
var _one_of_decls;
|
|
@@ -386,7 +393,7 @@ var google2;
|
|
|
386
393
|
_one_of_decls = new WeakMap();
|
|
387
394
|
let Duration = _Duration;
|
|
388
395
|
protobuf2.Duration = _Duration;
|
|
389
|
-
})(protobuf =
|
|
396
|
+
})(protobuf = google3.protobuf || (google3.protobuf = {}));
|
|
390
397
|
})(google2 || (google2 = {}));
|
|
391
398
|
|
|
392
399
|
// lib/testsystem/v1/entities/test_case.ts
|
|
@@ -395,14 +402,14 @@ var testsystem2;
|
|
|
395
402
|
((testsystem7) => {
|
|
396
403
|
let v1;
|
|
397
404
|
((v12) => {
|
|
398
|
-
let
|
|
399
|
-
((
|
|
400
|
-
var _one_of_decls, _one_of_decls2
|
|
401
|
-
const
|
|
405
|
+
let entities;
|
|
406
|
+
((entities2) => {
|
|
407
|
+
var _one_of_decls, _one_of_decls2;
|
|
408
|
+
const _TestCaseRun = class _TestCaseRun extends pb_14.Message {
|
|
402
409
|
constructor(data) {
|
|
403
410
|
super();
|
|
404
411
|
__privateAdd(this, _one_of_decls, []);
|
|
405
|
-
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [
|
|
412
|
+
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [10, 13, 15], __privateGet(this, _one_of_decls));
|
|
406
413
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
407
414
|
if ("id" in data && data.id != void 0) {
|
|
408
415
|
this.id = data.id;
|
|
@@ -413,18 +420,54 @@ var testsystem2;
|
|
|
413
420
|
if ("description" in data && data.description != void 0) {
|
|
414
421
|
this.description = data.description;
|
|
415
422
|
}
|
|
416
|
-
if ("
|
|
417
|
-
this.
|
|
423
|
+
if ("run_id" in data && data.run_id != void 0) {
|
|
424
|
+
this.run_id = data.run_id;
|
|
425
|
+
}
|
|
426
|
+
if ("test_suite_run_id" in data && data.test_suite_run_id != void 0) {
|
|
427
|
+
this.test_suite_run_id = data.test_suite_run_id;
|
|
418
428
|
}
|
|
419
429
|
if ("status" in data && data.status != void 0) {
|
|
420
430
|
this.status = data.status;
|
|
421
431
|
}
|
|
422
|
-
if ("
|
|
423
|
-
this.
|
|
432
|
+
if ("start_time" in data && data.start_time != void 0) {
|
|
433
|
+
this.start_time = data.start_time;
|
|
434
|
+
}
|
|
435
|
+
if ("end_time" in data && data.end_time != void 0) {
|
|
436
|
+
this.end_time = data.end_time;
|
|
437
|
+
}
|
|
438
|
+
if ("duration" in data && data.duration != void 0) {
|
|
439
|
+
this.duration = data.duration;
|
|
440
|
+
}
|
|
441
|
+
if ("attachments" in data && data.attachments != void 0) {
|
|
442
|
+
this.attachments = data.attachments;
|
|
443
|
+
}
|
|
444
|
+
if ("error_message" in data && data.error_message != void 0) {
|
|
445
|
+
this.error_message = data.error_message;
|
|
446
|
+
}
|
|
447
|
+
if ("stack_trace" in data && data.stack_trace != void 0) {
|
|
448
|
+
this.stack_trace = data.stack_trace;
|
|
449
|
+
}
|
|
450
|
+
if ("errors" in data && data.errors != void 0) {
|
|
451
|
+
this.errors = data.errors;
|
|
452
|
+
}
|
|
453
|
+
if ("metadata" in data && data.metadata != void 0) {
|
|
454
|
+
this.metadata = data.metadata;
|
|
424
455
|
}
|
|
425
456
|
if ("tags" in data && data.tags != void 0) {
|
|
426
457
|
this.tags = data.tags;
|
|
427
458
|
}
|
|
459
|
+
if ("location" in data && data.location != void 0) {
|
|
460
|
+
this.location = data.location;
|
|
461
|
+
}
|
|
462
|
+
if ("retry_count" in data && data.retry_count != void 0) {
|
|
463
|
+
this.retry_count = data.retry_count;
|
|
464
|
+
}
|
|
465
|
+
if ("retry_index" in data && data.retry_index != void 0) {
|
|
466
|
+
this.retry_index = data.retry_index;
|
|
467
|
+
}
|
|
468
|
+
if ("timeout" in data && data.timeout != void 0) {
|
|
469
|
+
this.timeout = data.timeout;
|
|
470
|
+
}
|
|
428
471
|
}
|
|
429
472
|
if (!this.metadata)
|
|
430
473
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -447,32 +490,113 @@ var testsystem2;
|
|
|
447
490
|
set description(value) {
|
|
448
491
|
pb_14.Message.setField(this, 3, value);
|
|
449
492
|
}
|
|
450
|
-
get
|
|
451
|
-
return pb_14.Message.
|
|
493
|
+
get run_id() {
|
|
494
|
+
return pb_14.Message.getFieldWithDefault(this, 4, "");
|
|
452
495
|
}
|
|
453
|
-
set
|
|
496
|
+
set run_id(value) {
|
|
454
497
|
pb_14.Message.setField(this, 4, value);
|
|
455
498
|
}
|
|
456
|
-
get
|
|
457
|
-
return pb_14.Message.getFieldWithDefault(this, 5,
|
|
499
|
+
get test_suite_run_id() {
|
|
500
|
+
return pb_14.Message.getFieldWithDefault(this, 5, "");
|
|
458
501
|
}
|
|
459
|
-
set
|
|
502
|
+
set test_suite_run_id(value) {
|
|
460
503
|
pb_14.Message.setField(this, 5, value);
|
|
461
504
|
}
|
|
462
|
-
get
|
|
463
|
-
return pb_14.Message.getFieldWithDefault(this, 6,
|
|
505
|
+
get status() {
|
|
506
|
+
return pb_14.Message.getFieldWithDefault(this, 6, testsystem.v1.common.TestStatus.UNKNOWN);
|
|
464
507
|
}
|
|
465
|
-
set
|
|
508
|
+
set status(value) {
|
|
466
509
|
pb_14.Message.setField(this, 6, value);
|
|
467
510
|
}
|
|
511
|
+
get start_time() {
|
|
512
|
+
return pb_14.Message.getWrapperField(this, google.protobuf.Timestamp, 7);
|
|
513
|
+
}
|
|
514
|
+
set start_time(value) {
|
|
515
|
+
pb_14.Message.setWrapperField(this, 7, value);
|
|
516
|
+
}
|
|
517
|
+
get has_start_time() {
|
|
518
|
+
return pb_14.Message.getField(this, 7) != null;
|
|
519
|
+
}
|
|
520
|
+
get end_time() {
|
|
521
|
+
return pb_14.Message.getWrapperField(this, google.protobuf.Timestamp, 8);
|
|
522
|
+
}
|
|
523
|
+
set end_time(value) {
|
|
524
|
+
pb_14.Message.setWrapperField(this, 8, value);
|
|
525
|
+
}
|
|
526
|
+
get has_end_time() {
|
|
527
|
+
return pb_14.Message.getField(this, 8) != null;
|
|
528
|
+
}
|
|
529
|
+
get duration() {
|
|
530
|
+
return pb_14.Message.getWrapperField(this, google2.protobuf.Duration, 9);
|
|
531
|
+
}
|
|
532
|
+
set duration(value) {
|
|
533
|
+
pb_14.Message.setWrapperField(this, 9, value);
|
|
534
|
+
}
|
|
535
|
+
get has_duration() {
|
|
536
|
+
return pb_14.Message.getField(this, 9) != null;
|
|
537
|
+
}
|
|
538
|
+
get attachments() {
|
|
539
|
+
return pb_14.Message.getRepeatedWrapperField(this, testsystem.v1.common.Attachment, 10);
|
|
540
|
+
}
|
|
541
|
+
set attachments(value) {
|
|
542
|
+
pb_14.Message.setRepeatedWrapperField(this, 10, value);
|
|
543
|
+
}
|
|
544
|
+
get error_message() {
|
|
545
|
+
return pb_14.Message.getFieldWithDefault(this, 11, "");
|
|
546
|
+
}
|
|
547
|
+
set error_message(value) {
|
|
548
|
+
pb_14.Message.setField(this, 11, value);
|
|
549
|
+
}
|
|
550
|
+
get stack_trace() {
|
|
551
|
+
return pb_14.Message.getFieldWithDefault(this, 12, "");
|
|
552
|
+
}
|
|
553
|
+
set stack_trace(value) {
|
|
554
|
+
pb_14.Message.setField(this, 12, value);
|
|
555
|
+
}
|
|
556
|
+
get errors() {
|
|
557
|
+
return pb_14.Message.getFieldWithDefault(this, 13, []);
|
|
558
|
+
}
|
|
559
|
+
set errors(value) {
|
|
560
|
+
pb_14.Message.setField(this, 13, value);
|
|
561
|
+
}
|
|
562
|
+
get metadata() {
|
|
563
|
+
return pb_14.Message.getField(this, 14);
|
|
564
|
+
}
|
|
565
|
+
set metadata(value) {
|
|
566
|
+
pb_14.Message.setField(this, 14, value);
|
|
567
|
+
}
|
|
468
568
|
get tags() {
|
|
469
|
-
return pb_14.Message.getFieldWithDefault(this,
|
|
569
|
+
return pb_14.Message.getFieldWithDefault(this, 15, []);
|
|
470
570
|
}
|
|
471
571
|
set tags(value) {
|
|
472
|
-
pb_14.Message.setField(this,
|
|
572
|
+
pb_14.Message.setField(this, 15, value);
|
|
573
|
+
}
|
|
574
|
+
get location() {
|
|
575
|
+
return pb_14.Message.getFieldWithDefault(this, 16, "");
|
|
576
|
+
}
|
|
577
|
+
set location(value) {
|
|
578
|
+
pb_14.Message.setField(this, 16, value);
|
|
579
|
+
}
|
|
580
|
+
get retry_count() {
|
|
581
|
+
return pb_14.Message.getFieldWithDefault(this, 17, 0);
|
|
582
|
+
}
|
|
583
|
+
set retry_count(value) {
|
|
584
|
+
pb_14.Message.setField(this, 17, value);
|
|
585
|
+
}
|
|
586
|
+
get retry_index() {
|
|
587
|
+
return pb_14.Message.getFieldWithDefault(this, 18, 0);
|
|
588
|
+
}
|
|
589
|
+
set retry_index(value) {
|
|
590
|
+
pb_14.Message.setField(this, 18, value);
|
|
591
|
+
}
|
|
592
|
+
get timeout() {
|
|
593
|
+
return pb_14.Message.getFieldWithDefault(this, 19, 0);
|
|
594
|
+
}
|
|
595
|
+
set timeout(value) {
|
|
596
|
+
pb_14.Message.setField(this, 19, value);
|
|
473
597
|
}
|
|
474
598
|
static fromObject(data) {
|
|
475
|
-
const message = new
|
|
599
|
+
const message = new _TestCaseRun({});
|
|
476
600
|
if (data.id != null) {
|
|
477
601
|
message.id = data.id;
|
|
478
602
|
}
|
|
@@ -482,18 +606,54 @@ var testsystem2;
|
|
|
482
606
|
if (data.description != null) {
|
|
483
607
|
message.description = data.description;
|
|
484
608
|
}
|
|
485
|
-
if (
|
|
486
|
-
message.
|
|
609
|
+
if (data.run_id != null) {
|
|
610
|
+
message.run_id = data.run_id;
|
|
611
|
+
}
|
|
612
|
+
if (data.test_suite_run_id != null) {
|
|
613
|
+
message.test_suite_run_id = data.test_suite_run_id;
|
|
487
614
|
}
|
|
488
615
|
if (data.status != null) {
|
|
489
616
|
message.status = data.status;
|
|
490
617
|
}
|
|
491
|
-
if (data.
|
|
492
|
-
message.
|
|
618
|
+
if (data.start_time != null) {
|
|
619
|
+
message.start_time = google.protobuf.Timestamp.fromObject(data.start_time);
|
|
620
|
+
}
|
|
621
|
+
if (data.end_time != null) {
|
|
622
|
+
message.end_time = google.protobuf.Timestamp.fromObject(data.end_time);
|
|
623
|
+
}
|
|
624
|
+
if (data.duration != null) {
|
|
625
|
+
message.duration = google2.protobuf.Duration.fromObject(data.duration);
|
|
626
|
+
}
|
|
627
|
+
if (data.attachments != null) {
|
|
628
|
+
message.attachments = data.attachments.map((item) => testsystem.v1.common.Attachment.fromObject(item));
|
|
629
|
+
}
|
|
630
|
+
if (data.error_message != null) {
|
|
631
|
+
message.error_message = data.error_message;
|
|
632
|
+
}
|
|
633
|
+
if (data.stack_trace != null) {
|
|
634
|
+
message.stack_trace = data.stack_trace;
|
|
635
|
+
}
|
|
636
|
+
if (data.errors != null) {
|
|
637
|
+
message.errors = data.errors;
|
|
638
|
+
}
|
|
639
|
+
if (typeof data.metadata == "object") {
|
|
640
|
+
message.metadata = new Map(Object.entries(data.metadata));
|
|
493
641
|
}
|
|
494
642
|
if (data.tags != null) {
|
|
495
643
|
message.tags = data.tags;
|
|
496
644
|
}
|
|
645
|
+
if (data.location != null) {
|
|
646
|
+
message.location = data.location;
|
|
647
|
+
}
|
|
648
|
+
if (data.retry_count != null) {
|
|
649
|
+
message.retry_count = data.retry_count;
|
|
650
|
+
}
|
|
651
|
+
if (data.retry_index != null) {
|
|
652
|
+
message.retry_index = data.retry_index;
|
|
653
|
+
}
|
|
654
|
+
if (data.timeout != null) {
|
|
655
|
+
message.timeout = data.timeout;
|
|
656
|
+
}
|
|
497
657
|
return message;
|
|
498
658
|
}
|
|
499
659
|
toObject() {
|
|
@@ -507,18 +667,54 @@ var testsystem2;
|
|
|
507
667
|
if (this.description != null) {
|
|
508
668
|
data.description = this.description;
|
|
509
669
|
}
|
|
510
|
-
if (this.
|
|
511
|
-
data.
|
|
670
|
+
if (this.run_id != null) {
|
|
671
|
+
data.run_id = this.run_id;
|
|
672
|
+
}
|
|
673
|
+
if (this.test_suite_run_id != null) {
|
|
674
|
+
data.test_suite_run_id = this.test_suite_run_id;
|
|
512
675
|
}
|
|
513
676
|
if (this.status != null) {
|
|
514
677
|
data.status = this.status;
|
|
515
678
|
}
|
|
516
|
-
if (this.
|
|
517
|
-
data.
|
|
679
|
+
if (this.start_time != null) {
|
|
680
|
+
data.start_time = this.start_time.toObject();
|
|
681
|
+
}
|
|
682
|
+
if (this.end_time != null) {
|
|
683
|
+
data.end_time = this.end_time.toObject();
|
|
684
|
+
}
|
|
685
|
+
if (this.duration != null) {
|
|
686
|
+
data.duration = this.duration.toObject();
|
|
687
|
+
}
|
|
688
|
+
if (this.attachments != null) {
|
|
689
|
+
data.attachments = this.attachments.map((item) => item.toObject());
|
|
690
|
+
}
|
|
691
|
+
if (this.error_message != null) {
|
|
692
|
+
data.error_message = this.error_message;
|
|
693
|
+
}
|
|
694
|
+
if (this.stack_trace != null) {
|
|
695
|
+
data.stack_trace = this.stack_trace;
|
|
696
|
+
}
|
|
697
|
+
if (this.errors != null) {
|
|
698
|
+
data.errors = this.errors;
|
|
699
|
+
}
|
|
700
|
+
if (this.metadata != null) {
|
|
701
|
+
data.metadata = Object.fromEntries(this.metadata);
|
|
518
702
|
}
|
|
519
703
|
if (this.tags != null) {
|
|
520
704
|
data.tags = this.tags;
|
|
521
705
|
}
|
|
706
|
+
if (this.location != null) {
|
|
707
|
+
data.location = this.location;
|
|
708
|
+
}
|
|
709
|
+
if (this.retry_count != null) {
|
|
710
|
+
data.retry_count = this.retry_count;
|
|
711
|
+
}
|
|
712
|
+
if (this.retry_index != null) {
|
|
713
|
+
data.retry_index = this.retry_index;
|
|
714
|
+
}
|
|
715
|
+
if (this.timeout != null) {
|
|
716
|
+
data.timeout = this.timeout;
|
|
717
|
+
}
|
|
522
718
|
return data;
|
|
523
719
|
}
|
|
524
720
|
serialize(w) {
|
|
@@ -529,23 +725,47 @@ var testsystem2;
|
|
|
529
725
|
writer.writeString(2, this.name);
|
|
530
726
|
if (this.description.length)
|
|
531
727
|
writer.writeString(3, this.description);
|
|
728
|
+
if (this.run_id.length)
|
|
729
|
+
writer.writeString(4, this.run_id);
|
|
730
|
+
if (this.test_suite_run_id.length)
|
|
731
|
+
writer.writeString(5, this.test_suite_run_id);
|
|
732
|
+
if (this.status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
733
|
+
writer.writeEnum(6, this.status);
|
|
734
|
+
if (this.has_start_time)
|
|
735
|
+
writer.writeMessage(7, this.start_time, () => this.start_time.serialize(writer));
|
|
736
|
+
if (this.has_end_time)
|
|
737
|
+
writer.writeMessage(8, this.end_time, () => this.end_time.serialize(writer));
|
|
738
|
+
if (this.has_duration)
|
|
739
|
+
writer.writeMessage(9, this.duration, () => this.duration.serialize(writer));
|
|
740
|
+
if (this.attachments.length)
|
|
741
|
+
writer.writeRepeatedMessage(10, this.attachments, (item) => item.serialize(writer));
|
|
742
|
+
if (this.error_message.length)
|
|
743
|
+
writer.writeString(11, this.error_message);
|
|
744
|
+
if (this.stack_trace.length)
|
|
745
|
+
writer.writeString(12, this.stack_trace);
|
|
746
|
+
if (this.errors.length)
|
|
747
|
+
writer.writeRepeatedString(13, this.errors);
|
|
532
748
|
for (const [key, value] of this.metadata) {
|
|
533
|
-
writer.writeMessage(
|
|
749
|
+
writer.writeMessage(14, this.metadata, () => {
|
|
534
750
|
writer.writeString(1, key);
|
|
535
751
|
writer.writeString(2, value);
|
|
536
752
|
});
|
|
537
753
|
}
|
|
538
|
-
if (this.status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
539
|
-
writer.writeEnum(5, this.status);
|
|
540
|
-
if (this.parent_suite_id.length)
|
|
541
|
-
writer.writeString(6, this.parent_suite_id);
|
|
542
754
|
if (this.tags.length)
|
|
543
|
-
writer.writeRepeatedString(
|
|
755
|
+
writer.writeRepeatedString(15, this.tags);
|
|
756
|
+
if (this.location.length)
|
|
757
|
+
writer.writeString(16, this.location);
|
|
758
|
+
if (this.retry_count != 0)
|
|
759
|
+
writer.writeInt32(17, this.retry_count);
|
|
760
|
+
if (this.retry_index != 0)
|
|
761
|
+
writer.writeInt32(18, this.retry_index);
|
|
762
|
+
if (this.timeout != 0)
|
|
763
|
+
writer.writeInt32(19, this.timeout);
|
|
544
764
|
if (!w)
|
|
545
765
|
return writer.getResultBuffer();
|
|
546
766
|
}
|
|
547
767
|
static deserialize(bytes) {
|
|
548
|
-
const reader = bytes instanceof pb_14.BinaryReader ? bytes : new pb_14.BinaryReader(bytes), message = new
|
|
768
|
+
const reader = bytes instanceof pb_14.BinaryReader ? bytes : new pb_14.BinaryReader(bytes), message = new _TestCaseRun();
|
|
549
769
|
while (reader.nextField()) {
|
|
550
770
|
if (reader.isEndGroup())
|
|
551
771
|
break;
|
|
@@ -560,16 +780,52 @@ var testsystem2;
|
|
|
560
780
|
message.description = reader.readString();
|
|
561
781
|
break;
|
|
562
782
|
case 4:
|
|
563
|
-
|
|
783
|
+
message.run_id = reader.readString();
|
|
564
784
|
break;
|
|
565
785
|
case 5:
|
|
566
|
-
message.
|
|
786
|
+
message.test_suite_run_id = reader.readString();
|
|
567
787
|
break;
|
|
568
788
|
case 6:
|
|
569
|
-
message.
|
|
789
|
+
message.status = reader.readEnum();
|
|
570
790
|
break;
|
|
571
791
|
case 7:
|
|
572
|
-
|
|
792
|
+
reader.readMessage(message.start_time, () => message.start_time = google.protobuf.Timestamp.deserialize(reader));
|
|
793
|
+
break;
|
|
794
|
+
case 8:
|
|
795
|
+
reader.readMessage(message.end_time, () => message.end_time = google.protobuf.Timestamp.deserialize(reader));
|
|
796
|
+
break;
|
|
797
|
+
case 9:
|
|
798
|
+
reader.readMessage(message.duration, () => message.duration = google2.protobuf.Duration.deserialize(reader));
|
|
799
|
+
break;
|
|
800
|
+
case 10:
|
|
801
|
+
reader.readMessage(message.attachments, () => pb_14.Message.addToRepeatedWrapperField(message, 10, testsystem.v1.common.Attachment.deserialize(reader), testsystem.v1.common.Attachment));
|
|
802
|
+
break;
|
|
803
|
+
case 11:
|
|
804
|
+
message.error_message = reader.readString();
|
|
805
|
+
break;
|
|
806
|
+
case 12:
|
|
807
|
+
message.stack_trace = reader.readString();
|
|
808
|
+
break;
|
|
809
|
+
case 13:
|
|
810
|
+
pb_14.Message.addToRepeatedField(message, 13, reader.readString());
|
|
811
|
+
break;
|
|
812
|
+
case 14:
|
|
813
|
+
reader.readMessage(message, () => pb_14.Map.deserializeBinary(message.metadata, reader, reader.readString, reader.readString));
|
|
814
|
+
break;
|
|
815
|
+
case 15:
|
|
816
|
+
pb_14.Message.addToRepeatedField(message, 15, reader.readString());
|
|
817
|
+
break;
|
|
818
|
+
case 16:
|
|
819
|
+
message.location = reader.readString();
|
|
820
|
+
break;
|
|
821
|
+
case 17:
|
|
822
|
+
message.retry_count = reader.readInt32();
|
|
823
|
+
break;
|
|
824
|
+
case 18:
|
|
825
|
+
message.retry_index = reader.readInt32();
|
|
826
|
+
break;
|
|
827
|
+
case 19:
|
|
828
|
+
message.timeout = reader.readInt32();
|
|
573
829
|
break;
|
|
574
830
|
default:
|
|
575
831
|
reader.skipField();
|
|
@@ -581,344 +837,32 @@ var testsystem2;
|
|
|
581
837
|
return this.serialize();
|
|
582
838
|
}
|
|
583
839
|
static deserializeBinary(bytes) {
|
|
584
|
-
return
|
|
840
|
+
return _TestCaseRun.deserialize(bytes);
|
|
585
841
|
}
|
|
586
842
|
};
|
|
587
843
|
_one_of_decls = new WeakMap();
|
|
588
|
-
let
|
|
589
|
-
|
|
590
|
-
const
|
|
844
|
+
let TestCaseRun = _TestCaseRun;
|
|
845
|
+
entities2.TestCaseRun = _TestCaseRun;
|
|
846
|
+
const _StepRun = class _StepRun extends pb_14.Message {
|
|
591
847
|
constructor(data) {
|
|
592
848
|
super();
|
|
593
849
|
__privateAdd(this, _one_of_decls2, []);
|
|
594
|
-
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [
|
|
850
|
+
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [14], __privateGet(this, _one_of_decls2));
|
|
595
851
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
596
852
|
if ("id" in data && data.id != void 0) {
|
|
597
853
|
this.id = data.id;
|
|
598
854
|
}
|
|
599
|
-
if ("test_id" in data && data.test_id != void 0) {
|
|
600
|
-
this.test_id = data.test_id;
|
|
601
|
-
}
|
|
602
855
|
if ("run_id" in data && data.run_id != void 0) {
|
|
603
856
|
this.run_id = data.run_id;
|
|
604
857
|
}
|
|
605
|
-
if ("
|
|
606
|
-
this.
|
|
858
|
+
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
859
|
+
this.test_case_run_id = data.test_case_run_id;
|
|
607
860
|
}
|
|
608
861
|
if ("title" in data && data.title != void 0) {
|
|
609
862
|
this.title = data.title;
|
|
610
863
|
}
|
|
611
|
-
if ("
|
|
612
|
-
this.
|
|
613
|
-
}
|
|
614
|
-
if ("start_time" in data && data.start_time != void 0) {
|
|
615
|
-
this.start_time = data.start_time;
|
|
616
|
-
}
|
|
617
|
-
if ("attachments" in data && data.attachments != void 0) {
|
|
618
|
-
this.attachments = data.attachments;
|
|
619
|
-
}
|
|
620
|
-
if ("error_message" in data && data.error_message != void 0) {
|
|
621
|
-
this.error_message = data.error_message;
|
|
622
|
-
}
|
|
623
|
-
if ("stack_trace" in data && data.stack_trace != void 0) {
|
|
624
|
-
this.stack_trace = data.stack_trace;
|
|
625
|
-
}
|
|
626
|
-
if ("metadata" in data && data.metadata != void 0) {
|
|
627
|
-
this.metadata = data.metadata;
|
|
628
|
-
}
|
|
629
|
-
if ("errors" in data && data.errors != void 0) {
|
|
630
|
-
this.errors = data.errors;
|
|
631
|
-
}
|
|
632
|
-
if ("actual_tags" in data && data.actual_tags != void 0) {
|
|
633
|
-
this.actual_tags = data.actual_tags;
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
if (!this.metadata)
|
|
637
|
-
this.metadata = /* @__PURE__ */ new Map();
|
|
638
|
-
}
|
|
639
|
-
get id() {
|
|
640
|
-
return pb_14.Message.getFieldWithDefault(this, 1, "");
|
|
641
|
-
}
|
|
642
|
-
set id(value) {
|
|
643
|
-
pb_14.Message.setField(this, 1, value);
|
|
644
|
-
}
|
|
645
|
-
get test_id() {
|
|
646
|
-
return pb_14.Message.getFieldWithDefault(this, 2, "");
|
|
647
|
-
}
|
|
648
|
-
set test_id(value) {
|
|
649
|
-
pb_14.Message.setField(this, 2, value);
|
|
650
|
-
}
|
|
651
|
-
get run_id() {
|
|
652
|
-
return pb_14.Message.getFieldWithDefault(this, 3, "");
|
|
653
|
-
}
|
|
654
|
-
set run_id(value) {
|
|
655
|
-
pb_14.Message.setField(this, 3, value);
|
|
656
|
-
}
|
|
657
|
-
get test_suite_run_id() {
|
|
658
|
-
return pb_14.Message.getFieldWithDefault(this, 4, "");
|
|
659
|
-
}
|
|
660
|
-
set test_suite_run_id(value) {
|
|
661
|
-
pb_14.Message.setField(this, 4, value);
|
|
662
|
-
}
|
|
663
|
-
get title() {
|
|
664
|
-
return pb_14.Message.getFieldWithDefault(this, 5, "");
|
|
665
|
-
}
|
|
666
|
-
set title(value) {
|
|
667
|
-
pb_14.Message.setField(this, 5, value);
|
|
668
|
-
}
|
|
669
|
-
get status() {
|
|
670
|
-
return pb_14.Message.getFieldWithDefault(this, 6, testsystem.v1.common.TestStatus.UNKNOWN);
|
|
671
|
-
}
|
|
672
|
-
set status(value) {
|
|
673
|
-
pb_14.Message.setField(this, 6, value);
|
|
674
|
-
}
|
|
675
|
-
get start_time() {
|
|
676
|
-
return pb_14.Message.getWrapperField(this, google.protobuf.Timestamp, 7);
|
|
677
|
-
}
|
|
678
|
-
set start_time(value) {
|
|
679
|
-
pb_14.Message.setWrapperField(this, 7, value);
|
|
680
|
-
}
|
|
681
|
-
get has_start_time() {
|
|
682
|
-
return pb_14.Message.getField(this, 7) != null;
|
|
683
|
-
}
|
|
684
|
-
get attachments() {
|
|
685
|
-
return pb_14.Message.getRepeatedWrapperField(this, testsystem.v1.common.Attachment, 8);
|
|
686
|
-
}
|
|
687
|
-
set attachments(value) {
|
|
688
|
-
pb_14.Message.setRepeatedWrapperField(this, 8, value);
|
|
689
|
-
}
|
|
690
|
-
get error_message() {
|
|
691
|
-
return pb_14.Message.getFieldWithDefault(this, 9, "");
|
|
692
|
-
}
|
|
693
|
-
set error_message(value) {
|
|
694
|
-
pb_14.Message.setField(this, 9, value);
|
|
695
|
-
}
|
|
696
|
-
get stack_trace() {
|
|
697
|
-
return pb_14.Message.getFieldWithDefault(this, 10, "");
|
|
698
|
-
}
|
|
699
|
-
set stack_trace(value) {
|
|
700
|
-
pb_14.Message.setField(this, 10, value);
|
|
701
|
-
}
|
|
702
|
-
get metadata() {
|
|
703
|
-
return pb_14.Message.getField(this, 11);
|
|
704
|
-
}
|
|
705
|
-
set metadata(value) {
|
|
706
|
-
pb_14.Message.setField(this, 11, value);
|
|
707
|
-
}
|
|
708
|
-
get errors() {
|
|
709
|
-
return pb_14.Message.getFieldWithDefault(this, 12, []);
|
|
710
|
-
}
|
|
711
|
-
set errors(value) {
|
|
712
|
-
pb_14.Message.setField(this, 12, value);
|
|
713
|
-
}
|
|
714
|
-
get actual_tags() {
|
|
715
|
-
return pb_14.Message.getFieldWithDefault(this, 13, []);
|
|
716
|
-
}
|
|
717
|
-
set actual_tags(value) {
|
|
718
|
-
pb_14.Message.setField(this, 13, value);
|
|
719
|
-
}
|
|
720
|
-
static fromObject(data) {
|
|
721
|
-
const message = new _TestCaseRun({});
|
|
722
|
-
if (data.id != null) {
|
|
723
|
-
message.id = data.id;
|
|
724
|
-
}
|
|
725
|
-
if (data.test_id != null) {
|
|
726
|
-
message.test_id = data.test_id;
|
|
727
|
-
}
|
|
728
|
-
if (data.run_id != null) {
|
|
729
|
-
message.run_id = data.run_id;
|
|
730
|
-
}
|
|
731
|
-
if (data.test_suite_run_id != null) {
|
|
732
|
-
message.test_suite_run_id = data.test_suite_run_id;
|
|
733
|
-
}
|
|
734
|
-
if (data.title != null) {
|
|
735
|
-
message.title = data.title;
|
|
736
|
-
}
|
|
737
|
-
if (data.status != null) {
|
|
738
|
-
message.status = data.status;
|
|
739
|
-
}
|
|
740
|
-
if (data.start_time != null) {
|
|
741
|
-
message.start_time = google.protobuf.Timestamp.fromObject(data.start_time);
|
|
742
|
-
}
|
|
743
|
-
if (data.attachments != null) {
|
|
744
|
-
message.attachments = data.attachments.map((item) => testsystem.v1.common.Attachment.fromObject(item));
|
|
745
|
-
}
|
|
746
|
-
if (data.error_message != null) {
|
|
747
|
-
message.error_message = data.error_message;
|
|
748
|
-
}
|
|
749
|
-
if (data.stack_trace != null) {
|
|
750
|
-
message.stack_trace = data.stack_trace;
|
|
751
|
-
}
|
|
752
|
-
if (typeof data.metadata == "object") {
|
|
753
|
-
message.metadata = new Map(Object.entries(data.metadata));
|
|
754
|
-
}
|
|
755
|
-
if (data.errors != null) {
|
|
756
|
-
message.errors = data.errors;
|
|
757
|
-
}
|
|
758
|
-
if (data.actual_tags != null) {
|
|
759
|
-
message.actual_tags = data.actual_tags;
|
|
760
|
-
}
|
|
761
|
-
return message;
|
|
762
|
-
}
|
|
763
|
-
toObject() {
|
|
764
|
-
const data = {};
|
|
765
|
-
if (this.id != null) {
|
|
766
|
-
data.id = this.id;
|
|
767
|
-
}
|
|
768
|
-
if (this.test_id != null) {
|
|
769
|
-
data.test_id = this.test_id;
|
|
770
|
-
}
|
|
771
|
-
if (this.run_id != null) {
|
|
772
|
-
data.run_id = this.run_id;
|
|
773
|
-
}
|
|
774
|
-
if (this.test_suite_run_id != null) {
|
|
775
|
-
data.test_suite_run_id = this.test_suite_run_id;
|
|
776
|
-
}
|
|
777
|
-
if (this.title != null) {
|
|
778
|
-
data.title = this.title;
|
|
779
|
-
}
|
|
780
|
-
if (this.status != null) {
|
|
781
|
-
data.status = this.status;
|
|
782
|
-
}
|
|
783
|
-
if (this.start_time != null) {
|
|
784
|
-
data.start_time = this.start_time.toObject();
|
|
785
|
-
}
|
|
786
|
-
if (this.attachments != null) {
|
|
787
|
-
data.attachments = this.attachments.map((item) => item.toObject());
|
|
788
|
-
}
|
|
789
|
-
if (this.error_message != null) {
|
|
790
|
-
data.error_message = this.error_message;
|
|
791
|
-
}
|
|
792
|
-
if (this.stack_trace != null) {
|
|
793
|
-
data.stack_trace = this.stack_trace;
|
|
794
|
-
}
|
|
795
|
-
if (this.metadata != null) {
|
|
796
|
-
data.metadata = Object.fromEntries(this.metadata);
|
|
797
|
-
}
|
|
798
|
-
if (this.errors != null) {
|
|
799
|
-
data.errors = this.errors;
|
|
800
|
-
}
|
|
801
|
-
if (this.actual_tags != null) {
|
|
802
|
-
data.actual_tags = this.actual_tags;
|
|
803
|
-
}
|
|
804
|
-
return data;
|
|
805
|
-
}
|
|
806
|
-
serialize(w) {
|
|
807
|
-
const writer = w || new pb_14.BinaryWriter();
|
|
808
|
-
if (this.id.length)
|
|
809
|
-
writer.writeString(1, this.id);
|
|
810
|
-
if (this.test_id.length)
|
|
811
|
-
writer.writeString(2, this.test_id);
|
|
812
|
-
if (this.run_id.length)
|
|
813
|
-
writer.writeString(3, this.run_id);
|
|
814
|
-
if (this.test_suite_run_id.length)
|
|
815
|
-
writer.writeString(4, this.test_suite_run_id);
|
|
816
|
-
if (this.title.length)
|
|
817
|
-
writer.writeString(5, this.title);
|
|
818
|
-
if (this.status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
819
|
-
writer.writeEnum(6, this.status);
|
|
820
|
-
if (this.has_start_time)
|
|
821
|
-
writer.writeMessage(7, this.start_time, () => this.start_time.serialize(writer));
|
|
822
|
-
if (this.attachments.length)
|
|
823
|
-
writer.writeRepeatedMessage(8, this.attachments, (item) => item.serialize(writer));
|
|
824
|
-
if (this.error_message.length)
|
|
825
|
-
writer.writeString(9, this.error_message);
|
|
826
|
-
if (this.stack_trace.length)
|
|
827
|
-
writer.writeString(10, this.stack_trace);
|
|
828
|
-
for (const [key, value] of this.metadata) {
|
|
829
|
-
writer.writeMessage(11, this.metadata, () => {
|
|
830
|
-
writer.writeString(1, key);
|
|
831
|
-
writer.writeString(2, value);
|
|
832
|
-
});
|
|
833
|
-
}
|
|
834
|
-
if (this.errors.length)
|
|
835
|
-
writer.writeRepeatedString(12, this.errors);
|
|
836
|
-
if (this.actual_tags.length)
|
|
837
|
-
writer.writeRepeatedString(13, this.actual_tags);
|
|
838
|
-
if (!w)
|
|
839
|
-
return writer.getResultBuffer();
|
|
840
|
-
}
|
|
841
|
-
static deserialize(bytes) {
|
|
842
|
-
const reader = bytes instanceof pb_14.BinaryReader ? bytes : new pb_14.BinaryReader(bytes), message = new _TestCaseRun();
|
|
843
|
-
while (reader.nextField()) {
|
|
844
|
-
if (reader.isEndGroup())
|
|
845
|
-
break;
|
|
846
|
-
switch (reader.getFieldNumber()) {
|
|
847
|
-
case 1:
|
|
848
|
-
message.id = reader.readString();
|
|
849
|
-
break;
|
|
850
|
-
case 2:
|
|
851
|
-
message.test_id = reader.readString();
|
|
852
|
-
break;
|
|
853
|
-
case 3:
|
|
854
|
-
message.run_id = reader.readString();
|
|
855
|
-
break;
|
|
856
|
-
case 4:
|
|
857
|
-
message.test_suite_run_id = reader.readString();
|
|
858
|
-
break;
|
|
859
|
-
case 5:
|
|
860
|
-
message.title = reader.readString();
|
|
861
|
-
break;
|
|
862
|
-
case 6:
|
|
863
|
-
message.status = reader.readEnum();
|
|
864
|
-
break;
|
|
865
|
-
case 7:
|
|
866
|
-
reader.readMessage(message.start_time, () => message.start_time = google.protobuf.Timestamp.deserialize(reader));
|
|
867
|
-
break;
|
|
868
|
-
case 8:
|
|
869
|
-
reader.readMessage(message.attachments, () => pb_14.Message.addToRepeatedWrapperField(message, 8, testsystem.v1.common.Attachment.deserialize(reader), testsystem.v1.common.Attachment));
|
|
870
|
-
break;
|
|
871
|
-
case 9:
|
|
872
|
-
message.error_message = reader.readString();
|
|
873
|
-
break;
|
|
874
|
-
case 10:
|
|
875
|
-
message.stack_trace = reader.readString();
|
|
876
|
-
break;
|
|
877
|
-
case 11:
|
|
878
|
-
reader.readMessage(message, () => pb_14.Map.deserializeBinary(message.metadata, reader, reader.readString, reader.readString));
|
|
879
|
-
break;
|
|
880
|
-
case 12:
|
|
881
|
-
pb_14.Message.addToRepeatedField(message, 12, reader.readString());
|
|
882
|
-
break;
|
|
883
|
-
case 13:
|
|
884
|
-
pb_14.Message.addToRepeatedField(message, 13, reader.readString());
|
|
885
|
-
break;
|
|
886
|
-
default:
|
|
887
|
-
reader.skipField();
|
|
888
|
-
}
|
|
889
|
-
}
|
|
890
|
-
return message;
|
|
891
|
-
}
|
|
892
|
-
serializeBinary() {
|
|
893
|
-
return this.serialize();
|
|
894
|
-
}
|
|
895
|
-
static deserializeBinary(bytes) {
|
|
896
|
-
return _TestCaseRun.deserialize(bytes);
|
|
897
|
-
}
|
|
898
|
-
};
|
|
899
|
-
_one_of_decls2 = new WeakMap();
|
|
900
|
-
let TestCaseRun = _TestCaseRun;
|
|
901
|
-
entities3.TestCaseRun = _TestCaseRun;
|
|
902
|
-
const _StepRun = class _StepRun extends pb_14.Message {
|
|
903
|
-
constructor(data) {
|
|
904
|
-
super();
|
|
905
|
-
__privateAdd(this, _one_of_decls3, []);
|
|
906
|
-
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [14], __privateGet(this, _one_of_decls3));
|
|
907
|
-
if (!Array.isArray(data) && typeof data == "object") {
|
|
908
|
-
if ("id" in data && data.id != void 0) {
|
|
909
|
-
this.id = data.id;
|
|
910
|
-
}
|
|
911
|
-
if ("run_id" in data && data.run_id != void 0) {
|
|
912
|
-
this.run_id = data.run_id;
|
|
913
|
-
}
|
|
914
|
-
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
915
|
-
this.test_case_run_id = data.test_case_run_id;
|
|
916
|
-
}
|
|
917
|
-
if ("title" in data && data.title != void 0) {
|
|
918
|
-
this.title = data.title;
|
|
919
|
-
}
|
|
920
|
-
if ("description" in data && data.description != void 0) {
|
|
921
|
-
this.description = data.description;
|
|
864
|
+
if ("description" in data && data.description != void 0) {
|
|
865
|
+
this.description = data.description;
|
|
922
866
|
}
|
|
923
867
|
if ("start_time" in data && data.start_time != void 0) {
|
|
924
868
|
this.start_time = data.start_time;
|
|
@@ -950,6 +894,9 @@ var testsystem2;
|
|
|
950
894
|
if ("location" in data && data.location != void 0) {
|
|
951
895
|
this.location = data.location;
|
|
952
896
|
}
|
|
897
|
+
if ("category" in data && data.category != void 0) {
|
|
898
|
+
this.category = data.category;
|
|
899
|
+
}
|
|
953
900
|
}
|
|
954
901
|
if (!this.metadata)
|
|
955
902
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -1050,6 +997,12 @@ var testsystem2;
|
|
|
1050
997
|
set location(value) {
|
|
1051
998
|
pb_14.Message.setField(this, 15, value);
|
|
1052
999
|
}
|
|
1000
|
+
get category() {
|
|
1001
|
+
return pb_14.Message.getFieldWithDefault(this, 16, "");
|
|
1002
|
+
}
|
|
1003
|
+
set category(value) {
|
|
1004
|
+
pb_14.Message.setField(this, 16, value);
|
|
1005
|
+
}
|
|
1053
1006
|
static fromObject(data) {
|
|
1054
1007
|
const message = new _StepRun({});
|
|
1055
1008
|
if (data.id != null) {
|
|
@@ -1097,6 +1050,9 @@ var testsystem2;
|
|
|
1097
1050
|
if (data.location != null) {
|
|
1098
1051
|
message.location = data.location;
|
|
1099
1052
|
}
|
|
1053
|
+
if (data.category != null) {
|
|
1054
|
+
message.category = data.category;
|
|
1055
|
+
}
|
|
1100
1056
|
return message;
|
|
1101
1057
|
}
|
|
1102
1058
|
toObject() {
|
|
@@ -1146,6 +1102,9 @@ var testsystem2;
|
|
|
1146
1102
|
if (this.location != null) {
|
|
1147
1103
|
data.location = this.location;
|
|
1148
1104
|
}
|
|
1105
|
+
if (this.category != null) {
|
|
1106
|
+
data.category = this.category;
|
|
1107
|
+
}
|
|
1149
1108
|
return data;
|
|
1150
1109
|
}
|
|
1151
1110
|
serialize(w) {
|
|
@@ -1184,6 +1143,8 @@ var testsystem2;
|
|
|
1184
1143
|
writer.writeRepeatedString(14, this.errors);
|
|
1185
1144
|
if (this.location.length)
|
|
1186
1145
|
writer.writeString(15, this.location);
|
|
1146
|
+
if (this.category.length)
|
|
1147
|
+
writer.writeString(16, this.category);
|
|
1187
1148
|
if (!w)
|
|
1188
1149
|
return writer.getResultBuffer();
|
|
1189
1150
|
}
|
|
@@ -1238,6 +1199,9 @@ var testsystem2;
|
|
|
1238
1199
|
case 15:
|
|
1239
1200
|
message.location = reader.readString();
|
|
1240
1201
|
break;
|
|
1202
|
+
case 16:
|
|
1203
|
+
message.category = reader.readString();
|
|
1204
|
+
break;
|
|
1241
1205
|
default:
|
|
1242
1206
|
reader.skipField();
|
|
1243
1207
|
}
|
|
@@ -1251,291 +1215,33 @@ var testsystem2;
|
|
|
1251
1215
|
return _StepRun.deserialize(bytes);
|
|
1252
1216
|
}
|
|
1253
1217
|
};
|
|
1254
|
-
|
|
1218
|
+
_one_of_decls2 = new WeakMap();
|
|
1255
1219
|
let StepRun = _StepRun;
|
|
1256
|
-
|
|
1257
|
-
})(
|
|
1220
|
+
entities2.StepRun = _StepRun;
|
|
1221
|
+
})(entities = v12.entities || (v12.entities = {}));
|
|
1258
1222
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
1259
1223
|
})(testsystem2 || (testsystem2 = {}));
|
|
1260
1224
|
|
|
1261
1225
|
// lib/testsystem/v1/entities/test_suite.ts
|
|
1262
|
-
var pb_15 = __toESM(require("google-protobuf"));
|
|
1263
|
-
var testsystem3;
|
|
1264
|
-
((testsystem7) => {
|
|
1265
|
-
let v1;
|
|
1266
|
-
((v12) => {
|
|
1267
|
-
let
|
|
1268
|
-
((
|
|
1269
|
-
var _one_of_decls
|
|
1270
|
-
let SuiteType;
|
|
1271
|
-
((SuiteType2) => {
|
|
1272
|
-
SuiteType2[SuiteType2["ROOT"] = 0] = "ROOT";
|
|
1273
|
-
SuiteType2[SuiteType2["PROJECT"] = 1] = "PROJECT";
|
|
1274
|
-
SuiteType2[SuiteType2["SUBSUITE"] = 2] = "SUBSUITE";
|
|
1275
|
-
})(SuiteType =
|
|
1276
|
-
const _TestSuiteRun = class _TestSuiteRun extends pb_15.Message {
|
|
1277
|
-
constructor(data) {
|
|
1278
|
-
super();
|
|
1279
|
-
__privateAdd(this, _one_of_decls, []);
|
|
1280
|
-
pb_15.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __privateGet(this, _one_of_decls));
|
|
1281
|
-
if (!Array.isArray(data) && typeof data == "object") {
|
|
1282
|
-
if ("id" in data && data.id != void 0) {
|
|
1283
|
-
this.id = data.id;
|
|
1284
|
-
}
|
|
1285
|
-
if ("name" in data && data.name != void 0) {
|
|
1286
|
-
this.name = data.name;
|
|
1287
|
-
}
|
|
1288
|
-
if ("description" in data && data.description != void 0) {
|
|
1289
|
-
this.description = data.description;
|
|
1290
|
-
}
|
|
1291
|
-
if ("start_time" in data && data.start_time != void 0) {
|
|
1292
|
-
this.start_time = data.start_time;
|
|
1293
|
-
}
|
|
1294
|
-
if ("end_time" in data && data.end_time != void 0) {
|
|
1295
|
-
this.end_time = data.end_time;
|
|
1296
|
-
}
|
|
1297
|
-
if ("duration" in data && data.duration != void 0) {
|
|
1298
|
-
this.duration = data.duration;
|
|
1299
|
-
}
|
|
1300
|
-
if ("status" in data && data.status != void 0) {
|
|
1301
|
-
this.status = data.status;
|
|
1302
|
-
}
|
|
1303
|
-
if ("metadata" in data && data.metadata != void 0) {
|
|
1304
|
-
this.metadata = data.metadata;
|
|
1305
|
-
}
|
|
1306
|
-
if ("test_suite_spec_id" in data && data.test_suite_spec_id != void 0) {
|
|
1307
|
-
this.test_suite_spec_id = data.test_suite_spec_id;
|
|
1308
|
-
}
|
|
1309
|
-
if ("initiated_by" in data && data.initiated_by != void 0) {
|
|
1310
|
-
this.initiated_by = data.initiated_by;
|
|
1311
|
-
}
|
|
1312
|
-
}
|
|
1313
|
-
if (!this.metadata)
|
|
1314
|
-
this.metadata = /* @__PURE__ */ new Map();
|
|
1315
|
-
}
|
|
1316
|
-
get id() {
|
|
1317
|
-
return pb_15.Message.getFieldWithDefault(this, 1, "");
|
|
1318
|
-
}
|
|
1319
|
-
set id(value) {
|
|
1320
|
-
pb_15.Message.setField(this, 1, value);
|
|
1321
|
-
}
|
|
1322
|
-
get name() {
|
|
1323
|
-
return pb_15.Message.getFieldWithDefault(this, 2, "");
|
|
1324
|
-
}
|
|
1325
|
-
set name(value) {
|
|
1326
|
-
pb_15.Message.setField(this, 2, value);
|
|
1327
|
-
}
|
|
1328
|
-
get description() {
|
|
1329
|
-
return pb_15.Message.getFieldWithDefault(this, 3, "");
|
|
1330
|
-
}
|
|
1331
|
-
set description(value) {
|
|
1332
|
-
pb_15.Message.setField(this, 3, value);
|
|
1333
|
-
}
|
|
1334
|
-
get start_time() {
|
|
1335
|
-
return pb_15.Message.getWrapperField(this, google.protobuf.Timestamp, 4);
|
|
1336
|
-
}
|
|
1337
|
-
set start_time(value) {
|
|
1338
|
-
pb_15.Message.setWrapperField(this, 4, value);
|
|
1339
|
-
}
|
|
1340
|
-
get has_start_time() {
|
|
1341
|
-
return pb_15.Message.getField(this, 4) != null;
|
|
1342
|
-
}
|
|
1343
|
-
get end_time() {
|
|
1344
|
-
return pb_15.Message.getWrapperField(this, google.protobuf.Timestamp, 5);
|
|
1345
|
-
}
|
|
1346
|
-
set end_time(value) {
|
|
1347
|
-
pb_15.Message.setWrapperField(this, 5, value);
|
|
1348
|
-
}
|
|
1349
|
-
get has_end_time() {
|
|
1350
|
-
return pb_15.Message.getField(this, 5) != null;
|
|
1351
|
-
}
|
|
1352
|
-
get duration() {
|
|
1353
|
-
return pb_15.Message.getWrapperField(this, google2.protobuf.Duration, 6);
|
|
1354
|
-
}
|
|
1355
|
-
set duration(value) {
|
|
1356
|
-
pb_15.Message.setWrapperField(this, 6, value);
|
|
1357
|
-
}
|
|
1358
|
-
get has_duration() {
|
|
1359
|
-
return pb_15.Message.getField(this, 6) != null;
|
|
1360
|
-
}
|
|
1361
|
-
get status() {
|
|
1362
|
-
return pb_15.Message.getFieldWithDefault(this, 7, testsystem.v1.common.TestStatus.UNKNOWN);
|
|
1363
|
-
}
|
|
1364
|
-
set status(value) {
|
|
1365
|
-
pb_15.Message.setField(this, 7, value);
|
|
1366
|
-
}
|
|
1367
|
-
get metadata() {
|
|
1368
|
-
return pb_15.Message.getField(this, 8);
|
|
1369
|
-
}
|
|
1370
|
-
set metadata(value) {
|
|
1371
|
-
pb_15.Message.setField(this, 8, value);
|
|
1372
|
-
}
|
|
1373
|
-
get test_suite_spec_id() {
|
|
1374
|
-
return pb_15.Message.getFieldWithDefault(this, 9, "");
|
|
1375
|
-
}
|
|
1376
|
-
set test_suite_spec_id(value) {
|
|
1377
|
-
pb_15.Message.setField(this, 9, value);
|
|
1378
|
-
}
|
|
1379
|
-
get initiated_by() {
|
|
1380
|
-
return pb_15.Message.getFieldWithDefault(this, 10, "");
|
|
1381
|
-
}
|
|
1382
|
-
set initiated_by(value) {
|
|
1383
|
-
pb_15.Message.setField(this, 10, value);
|
|
1384
|
-
}
|
|
1385
|
-
static fromObject(data) {
|
|
1386
|
-
const message = new _TestSuiteRun({});
|
|
1387
|
-
if (data.id != null) {
|
|
1388
|
-
message.id = data.id;
|
|
1389
|
-
}
|
|
1390
|
-
if (data.name != null) {
|
|
1391
|
-
message.name = data.name;
|
|
1392
|
-
}
|
|
1393
|
-
if (data.description != null) {
|
|
1394
|
-
message.description = data.description;
|
|
1395
|
-
}
|
|
1396
|
-
if (data.start_time != null) {
|
|
1397
|
-
message.start_time = google.protobuf.Timestamp.fromObject(data.start_time);
|
|
1398
|
-
}
|
|
1399
|
-
if (data.end_time != null) {
|
|
1400
|
-
message.end_time = google.protobuf.Timestamp.fromObject(data.end_time);
|
|
1401
|
-
}
|
|
1402
|
-
if (data.duration != null) {
|
|
1403
|
-
message.duration = google2.protobuf.Duration.fromObject(data.duration);
|
|
1404
|
-
}
|
|
1405
|
-
if (data.status != null) {
|
|
1406
|
-
message.status = data.status;
|
|
1407
|
-
}
|
|
1408
|
-
if (typeof data.metadata == "object") {
|
|
1409
|
-
message.metadata = new Map(Object.entries(data.metadata));
|
|
1410
|
-
}
|
|
1411
|
-
if (data.test_suite_spec_id != null) {
|
|
1412
|
-
message.test_suite_spec_id = data.test_suite_spec_id;
|
|
1413
|
-
}
|
|
1414
|
-
if (data.initiated_by != null) {
|
|
1415
|
-
message.initiated_by = data.initiated_by;
|
|
1416
|
-
}
|
|
1417
|
-
return message;
|
|
1418
|
-
}
|
|
1419
|
-
toObject() {
|
|
1420
|
-
const data = {};
|
|
1421
|
-
if (this.id != null) {
|
|
1422
|
-
data.id = this.id;
|
|
1423
|
-
}
|
|
1424
|
-
if (this.name != null) {
|
|
1425
|
-
data.name = this.name;
|
|
1426
|
-
}
|
|
1427
|
-
if (this.description != null) {
|
|
1428
|
-
data.description = this.description;
|
|
1429
|
-
}
|
|
1430
|
-
if (this.start_time != null) {
|
|
1431
|
-
data.start_time = this.start_time.toObject();
|
|
1432
|
-
}
|
|
1433
|
-
if (this.end_time != null) {
|
|
1434
|
-
data.end_time = this.end_time.toObject();
|
|
1435
|
-
}
|
|
1436
|
-
if (this.duration != null) {
|
|
1437
|
-
data.duration = this.duration.toObject();
|
|
1438
|
-
}
|
|
1439
|
-
if (this.status != null) {
|
|
1440
|
-
data.status = this.status;
|
|
1441
|
-
}
|
|
1442
|
-
if (this.metadata != null) {
|
|
1443
|
-
data.metadata = Object.fromEntries(this.metadata);
|
|
1444
|
-
}
|
|
1445
|
-
if (this.test_suite_spec_id != null) {
|
|
1446
|
-
data.test_suite_spec_id = this.test_suite_spec_id;
|
|
1447
|
-
}
|
|
1448
|
-
if (this.initiated_by != null) {
|
|
1449
|
-
data.initiated_by = this.initiated_by;
|
|
1450
|
-
}
|
|
1451
|
-
return data;
|
|
1452
|
-
}
|
|
1453
|
-
serialize(w) {
|
|
1454
|
-
const writer = w || new pb_15.BinaryWriter();
|
|
1455
|
-
if (this.id.length)
|
|
1456
|
-
writer.writeString(1, this.id);
|
|
1457
|
-
if (this.name.length)
|
|
1458
|
-
writer.writeString(2, this.name);
|
|
1459
|
-
if (this.description.length)
|
|
1460
|
-
writer.writeString(3, this.description);
|
|
1461
|
-
if (this.has_start_time)
|
|
1462
|
-
writer.writeMessage(4, this.start_time, () => this.start_time.serialize(writer));
|
|
1463
|
-
if (this.has_end_time)
|
|
1464
|
-
writer.writeMessage(5, this.end_time, () => this.end_time.serialize(writer));
|
|
1465
|
-
if (this.has_duration)
|
|
1466
|
-
writer.writeMessage(6, this.duration, () => this.duration.serialize(writer));
|
|
1467
|
-
if (this.status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
1468
|
-
writer.writeEnum(7, this.status);
|
|
1469
|
-
for (const [key, value] of this.metadata) {
|
|
1470
|
-
writer.writeMessage(8, this.metadata, () => {
|
|
1471
|
-
writer.writeString(1, key);
|
|
1472
|
-
writer.writeString(2, value);
|
|
1473
|
-
});
|
|
1474
|
-
}
|
|
1475
|
-
if (this.test_suite_spec_id.length)
|
|
1476
|
-
writer.writeString(9, this.test_suite_spec_id);
|
|
1477
|
-
if (this.initiated_by.length)
|
|
1478
|
-
writer.writeString(10, this.initiated_by);
|
|
1479
|
-
if (!w)
|
|
1480
|
-
return writer.getResultBuffer();
|
|
1481
|
-
}
|
|
1482
|
-
static deserialize(bytes) {
|
|
1483
|
-
const reader = bytes instanceof pb_15.BinaryReader ? bytes : new pb_15.BinaryReader(bytes), message = new _TestSuiteRun();
|
|
1484
|
-
while (reader.nextField()) {
|
|
1485
|
-
if (reader.isEndGroup())
|
|
1486
|
-
break;
|
|
1487
|
-
switch (reader.getFieldNumber()) {
|
|
1488
|
-
case 1:
|
|
1489
|
-
message.id = reader.readString();
|
|
1490
|
-
break;
|
|
1491
|
-
case 2:
|
|
1492
|
-
message.name = reader.readString();
|
|
1493
|
-
break;
|
|
1494
|
-
case 3:
|
|
1495
|
-
message.description = reader.readString();
|
|
1496
|
-
break;
|
|
1497
|
-
case 4:
|
|
1498
|
-
reader.readMessage(message.start_time, () => message.start_time = google.protobuf.Timestamp.deserialize(reader));
|
|
1499
|
-
break;
|
|
1500
|
-
case 5:
|
|
1501
|
-
reader.readMessage(message.end_time, () => message.end_time = google.protobuf.Timestamp.deserialize(reader));
|
|
1502
|
-
break;
|
|
1503
|
-
case 6:
|
|
1504
|
-
reader.readMessage(message.duration, () => message.duration = google2.protobuf.Duration.deserialize(reader));
|
|
1505
|
-
break;
|
|
1506
|
-
case 7:
|
|
1507
|
-
message.status = reader.readEnum();
|
|
1508
|
-
break;
|
|
1509
|
-
case 8:
|
|
1510
|
-
reader.readMessage(message, () => pb_15.Map.deserializeBinary(message.metadata, reader, reader.readString, reader.readString));
|
|
1511
|
-
break;
|
|
1512
|
-
case 9:
|
|
1513
|
-
message.test_suite_spec_id = reader.readString();
|
|
1514
|
-
break;
|
|
1515
|
-
case 10:
|
|
1516
|
-
message.initiated_by = reader.readString();
|
|
1517
|
-
break;
|
|
1518
|
-
default:
|
|
1519
|
-
reader.skipField();
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
return message;
|
|
1523
|
-
}
|
|
1524
|
-
serializeBinary() {
|
|
1525
|
-
return this.serialize();
|
|
1526
|
-
}
|
|
1527
|
-
static deserializeBinary(bytes) {
|
|
1528
|
-
return _TestSuiteRun.deserialize(bytes);
|
|
1529
|
-
}
|
|
1530
|
-
};
|
|
1531
|
-
_one_of_decls = new WeakMap();
|
|
1532
|
-
let TestSuiteRun = _TestSuiteRun;
|
|
1533
|
-
entities3.TestSuiteRun = _TestSuiteRun;
|
|
1534
|
-
const _TestSuiteSpec = class _TestSuiteSpec extends pb_15.Message {
|
|
1226
|
+
var pb_15 = __toESM(require("google-protobuf"));
|
|
1227
|
+
var testsystem3;
|
|
1228
|
+
((testsystem7) => {
|
|
1229
|
+
let v1;
|
|
1230
|
+
((v12) => {
|
|
1231
|
+
let entities;
|
|
1232
|
+
((entities2) => {
|
|
1233
|
+
var _one_of_decls;
|
|
1234
|
+
let SuiteType;
|
|
1235
|
+
((SuiteType2) => {
|
|
1236
|
+
SuiteType2[SuiteType2["ROOT"] = 0] = "ROOT";
|
|
1237
|
+
SuiteType2[SuiteType2["PROJECT"] = 1] = "PROJECT";
|
|
1238
|
+
SuiteType2[SuiteType2["SUBSUITE"] = 2] = "SUBSUITE";
|
|
1239
|
+
})(SuiteType = entities2.SuiteType || (entities2.SuiteType = {}));
|
|
1240
|
+
const _TestSuiteRun = class _TestSuiteRun extends pb_15.Message {
|
|
1535
1241
|
constructor(data) {
|
|
1536
1242
|
super();
|
|
1537
|
-
__privateAdd(this,
|
|
1538
|
-
pb_15.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [
|
|
1243
|
+
__privateAdd(this, _one_of_decls, []);
|
|
1244
|
+
pb_15.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [13, 14, 19, 20], __privateGet(this, _one_of_decls));
|
|
1539
1245
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
1540
1246
|
if ("id" in data && data.id != void 0) {
|
|
1541
1247
|
this.id = data.id;
|
|
@@ -1543,36 +1249,60 @@ var testsystem3;
|
|
|
1543
1249
|
if ("name" in data && data.name != void 0) {
|
|
1544
1250
|
this.name = data.name;
|
|
1545
1251
|
}
|
|
1252
|
+
if ("description" in data && data.description != void 0) {
|
|
1253
|
+
this.description = data.description;
|
|
1254
|
+
}
|
|
1546
1255
|
if ("run_id" in data && data.run_id != void 0) {
|
|
1547
1256
|
this.run_id = data.run_id;
|
|
1548
1257
|
}
|
|
1549
|
-
if ("
|
|
1550
|
-
this.
|
|
1258
|
+
if ("start_time" in data && data.start_time != void 0) {
|
|
1259
|
+
this.start_time = data.start_time;
|
|
1551
1260
|
}
|
|
1552
|
-
if ("
|
|
1553
|
-
this.
|
|
1261
|
+
if ("end_time" in data && data.end_time != void 0) {
|
|
1262
|
+
this.end_time = data.end_time;
|
|
1554
1263
|
}
|
|
1555
|
-
if ("
|
|
1556
|
-
this.
|
|
1264
|
+
if ("duration" in data && data.duration != void 0) {
|
|
1265
|
+
this.duration = data.duration;
|
|
1557
1266
|
}
|
|
1558
|
-
if ("
|
|
1559
|
-
this.
|
|
1267
|
+
if ("status" in data && data.status != void 0) {
|
|
1268
|
+
this.status = data.status;
|
|
1560
1269
|
}
|
|
1561
1270
|
if ("metadata" in data && data.metadata != void 0) {
|
|
1562
1271
|
this.metadata = data.metadata;
|
|
1563
1272
|
}
|
|
1273
|
+
if ("location" in data && data.location != void 0) {
|
|
1274
|
+
this.location = data.location;
|
|
1275
|
+
}
|
|
1564
1276
|
if ("type" in data && data.type != void 0) {
|
|
1565
1277
|
this.type = data.type;
|
|
1566
1278
|
}
|
|
1567
1279
|
if ("parent_suite_id" in data && data.parent_suite_id != void 0) {
|
|
1568
1280
|
this.parent_suite_id = data.parent_suite_id;
|
|
1569
1281
|
}
|
|
1282
|
+
if ("test_case_ids" in data && data.test_case_ids != void 0) {
|
|
1283
|
+
this.test_case_ids = data.test_case_ids;
|
|
1284
|
+
}
|
|
1285
|
+
if ("sub_suite_ids" in data && data.sub_suite_ids != void 0) {
|
|
1286
|
+
this.sub_suite_ids = data.sub_suite_ids;
|
|
1287
|
+
}
|
|
1288
|
+
if ("project" in data && data.project != void 0) {
|
|
1289
|
+
this.project = data.project;
|
|
1290
|
+
}
|
|
1291
|
+
if ("initiated_by" in data && data.initiated_by != void 0) {
|
|
1292
|
+
this.initiated_by = data.initiated_by;
|
|
1293
|
+
}
|
|
1570
1294
|
if ("author" in data && data.author != void 0) {
|
|
1571
1295
|
this.author = data.author;
|
|
1572
1296
|
}
|
|
1573
1297
|
if ("owner" in data && data.owner != void 0) {
|
|
1574
1298
|
this.owner = data.owner;
|
|
1575
1299
|
}
|
|
1300
|
+
if ("test_cases" in data && data.test_cases != void 0) {
|
|
1301
|
+
this.test_cases = data.test_cases;
|
|
1302
|
+
}
|
|
1303
|
+
if ("sub_suites" in data && data.sub_suites != void 0) {
|
|
1304
|
+
this.sub_suites = data.sub_suites;
|
|
1305
|
+
}
|
|
1576
1306
|
}
|
|
1577
1307
|
if (!this.metadata)
|
|
1578
1308
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -1589,104 +1319,185 @@ var testsystem3;
|
|
|
1589
1319
|
set name(value) {
|
|
1590
1320
|
pb_15.Message.setField(this, 2, value);
|
|
1591
1321
|
}
|
|
1592
|
-
get
|
|
1322
|
+
get description() {
|
|
1593
1323
|
return pb_15.Message.getFieldWithDefault(this, 3, "");
|
|
1594
1324
|
}
|
|
1595
|
-
set
|
|
1325
|
+
set description(value) {
|
|
1596
1326
|
pb_15.Message.setField(this, 3, value);
|
|
1597
1327
|
}
|
|
1598
|
-
get
|
|
1599
|
-
return pb_15.Message.getFieldWithDefault(this, 4,
|
|
1328
|
+
get run_id() {
|
|
1329
|
+
return pb_15.Message.getFieldWithDefault(this, 4, "");
|
|
1600
1330
|
}
|
|
1601
|
-
set
|
|
1331
|
+
set run_id(value) {
|
|
1602
1332
|
pb_15.Message.setField(this, 4, value);
|
|
1603
1333
|
}
|
|
1604
|
-
get
|
|
1605
|
-
return pb_15.Message.
|
|
1334
|
+
get start_time() {
|
|
1335
|
+
return pb_15.Message.getWrapperField(this, google.protobuf.Timestamp, 5);
|
|
1606
1336
|
}
|
|
1607
|
-
set
|
|
1608
|
-
pb_15.Message.
|
|
1337
|
+
set start_time(value) {
|
|
1338
|
+
pb_15.Message.setWrapperField(this, 5, value);
|
|
1609
1339
|
}
|
|
1610
|
-
get
|
|
1611
|
-
return pb_15.Message.
|
|
1340
|
+
get has_start_time() {
|
|
1341
|
+
return pb_15.Message.getField(this, 5) != null;
|
|
1612
1342
|
}
|
|
1613
|
-
|
|
1614
|
-
pb_15.Message.
|
|
1343
|
+
get end_time() {
|
|
1344
|
+
return pb_15.Message.getWrapperField(this, google.protobuf.Timestamp, 6);
|
|
1615
1345
|
}
|
|
1616
|
-
|
|
1617
|
-
|
|
1346
|
+
set end_time(value) {
|
|
1347
|
+
pb_15.Message.setWrapperField(this, 6, value);
|
|
1618
1348
|
}
|
|
1619
|
-
|
|
1620
|
-
pb_15.Message.
|
|
1349
|
+
get has_end_time() {
|
|
1350
|
+
return pb_15.Message.getField(this, 6) != null;
|
|
1351
|
+
}
|
|
1352
|
+
get duration() {
|
|
1353
|
+
return pb_15.Message.getWrapperField(this, google2.protobuf.Duration, 7);
|
|
1354
|
+
}
|
|
1355
|
+
set duration(value) {
|
|
1356
|
+
pb_15.Message.setWrapperField(this, 7, value);
|
|
1357
|
+
}
|
|
1358
|
+
get has_duration() {
|
|
1359
|
+
return pb_15.Message.getField(this, 7) != null;
|
|
1360
|
+
}
|
|
1361
|
+
get status() {
|
|
1362
|
+
return pb_15.Message.getFieldWithDefault(this, 8, testsystem.v1.common.TestStatus.UNKNOWN);
|
|
1363
|
+
}
|
|
1364
|
+
set status(value) {
|
|
1365
|
+
pb_15.Message.setField(this, 8, value);
|
|
1621
1366
|
}
|
|
1622
1367
|
get metadata() {
|
|
1623
|
-
return pb_15.Message.getField(this,
|
|
1368
|
+
return pb_15.Message.getField(this, 9);
|
|
1624
1369
|
}
|
|
1625
1370
|
set metadata(value) {
|
|
1626
|
-
pb_15.Message.setField(this,
|
|
1371
|
+
pb_15.Message.setField(this, 9, value);
|
|
1372
|
+
}
|
|
1373
|
+
get location() {
|
|
1374
|
+
return pb_15.Message.getFieldWithDefault(this, 10, "");
|
|
1375
|
+
}
|
|
1376
|
+
set location(value) {
|
|
1377
|
+
pb_15.Message.setField(this, 10, value);
|
|
1627
1378
|
}
|
|
1628
1379
|
get type() {
|
|
1629
|
-
return pb_15.Message.getFieldWithDefault(this,
|
|
1380
|
+
return pb_15.Message.getFieldWithDefault(this, 11, 0 /* ROOT */);
|
|
1630
1381
|
}
|
|
1631
1382
|
set type(value) {
|
|
1632
|
-
pb_15.Message.setField(this,
|
|
1383
|
+
pb_15.Message.setField(this, 11, value);
|
|
1633
1384
|
}
|
|
1634
1385
|
get parent_suite_id() {
|
|
1635
|
-
return pb_15.Message.getFieldWithDefault(this,
|
|
1386
|
+
return pb_15.Message.getFieldWithDefault(this, 12, "");
|
|
1636
1387
|
}
|
|
1637
1388
|
set parent_suite_id(value) {
|
|
1638
|
-
pb_15.Message.setField(this,
|
|
1389
|
+
pb_15.Message.setField(this, 12, value);
|
|
1390
|
+
}
|
|
1391
|
+
get test_case_ids() {
|
|
1392
|
+
return pb_15.Message.getFieldWithDefault(this, 13, []);
|
|
1393
|
+
}
|
|
1394
|
+
set test_case_ids(value) {
|
|
1395
|
+
pb_15.Message.setField(this, 13, value);
|
|
1396
|
+
}
|
|
1397
|
+
get sub_suite_ids() {
|
|
1398
|
+
return pb_15.Message.getFieldWithDefault(this, 14, []);
|
|
1399
|
+
}
|
|
1400
|
+
set sub_suite_ids(value) {
|
|
1401
|
+
pb_15.Message.setField(this, 14, value);
|
|
1402
|
+
}
|
|
1403
|
+
get project() {
|
|
1404
|
+
return pb_15.Message.getFieldWithDefault(this, 15, "");
|
|
1405
|
+
}
|
|
1406
|
+
set project(value) {
|
|
1407
|
+
pb_15.Message.setField(this, 15, value);
|
|
1408
|
+
}
|
|
1409
|
+
get initiated_by() {
|
|
1410
|
+
return pb_15.Message.getFieldWithDefault(this, 16, "");
|
|
1411
|
+
}
|
|
1412
|
+
set initiated_by(value) {
|
|
1413
|
+
pb_15.Message.setField(this, 16, value);
|
|
1639
1414
|
}
|
|
1640
1415
|
get author() {
|
|
1641
|
-
return pb_15.Message.getFieldWithDefault(this,
|
|
1416
|
+
return pb_15.Message.getFieldWithDefault(this, 17, "");
|
|
1642
1417
|
}
|
|
1643
1418
|
set author(value) {
|
|
1644
|
-
pb_15.Message.setField(this,
|
|
1419
|
+
pb_15.Message.setField(this, 17, value);
|
|
1645
1420
|
}
|
|
1646
1421
|
get owner() {
|
|
1647
|
-
return pb_15.Message.getFieldWithDefault(this,
|
|
1422
|
+
return pb_15.Message.getFieldWithDefault(this, 18, "");
|
|
1648
1423
|
}
|
|
1649
1424
|
set owner(value) {
|
|
1650
|
-
pb_15.Message.setField(this,
|
|
1425
|
+
pb_15.Message.setField(this, 18, value);
|
|
1426
|
+
}
|
|
1427
|
+
get test_cases() {
|
|
1428
|
+
return pb_15.Message.getRepeatedWrapperField(this, testsystem2.v1.entities.TestCaseRun, 19);
|
|
1429
|
+
}
|
|
1430
|
+
set test_cases(value) {
|
|
1431
|
+
pb_15.Message.setRepeatedWrapperField(this, 19, value);
|
|
1432
|
+
}
|
|
1433
|
+
get sub_suites() {
|
|
1434
|
+
return pb_15.Message.getRepeatedWrapperField(this, _TestSuiteRun, 20);
|
|
1435
|
+
}
|
|
1436
|
+
set sub_suites(value) {
|
|
1437
|
+
pb_15.Message.setRepeatedWrapperField(this, 20, value);
|
|
1651
1438
|
}
|
|
1652
1439
|
static fromObject(data) {
|
|
1653
|
-
const message = new
|
|
1440
|
+
const message = new _TestSuiteRun({});
|
|
1654
1441
|
if (data.id != null) {
|
|
1655
1442
|
message.id = data.id;
|
|
1656
1443
|
}
|
|
1657
1444
|
if (data.name != null) {
|
|
1658
1445
|
message.name = data.name;
|
|
1659
1446
|
}
|
|
1447
|
+
if (data.description != null) {
|
|
1448
|
+
message.description = data.description;
|
|
1449
|
+
}
|
|
1660
1450
|
if (data.run_id != null) {
|
|
1661
1451
|
message.run_id = data.run_id;
|
|
1662
1452
|
}
|
|
1663
|
-
if (data.
|
|
1664
|
-
message.
|
|
1453
|
+
if (data.start_time != null) {
|
|
1454
|
+
message.start_time = google.protobuf.Timestamp.fromObject(data.start_time);
|
|
1665
1455
|
}
|
|
1666
|
-
if (data.
|
|
1667
|
-
message.
|
|
1456
|
+
if (data.end_time != null) {
|
|
1457
|
+
message.end_time = google.protobuf.Timestamp.fromObject(data.end_time);
|
|
1668
1458
|
}
|
|
1669
|
-
if (data.
|
|
1670
|
-
message.
|
|
1459
|
+
if (data.duration != null) {
|
|
1460
|
+
message.duration = google2.protobuf.Duration.fromObject(data.duration);
|
|
1671
1461
|
}
|
|
1672
|
-
if (data.
|
|
1673
|
-
message.
|
|
1462
|
+
if (data.status != null) {
|
|
1463
|
+
message.status = data.status;
|
|
1674
1464
|
}
|
|
1675
1465
|
if (typeof data.metadata == "object") {
|
|
1676
1466
|
message.metadata = new Map(Object.entries(data.metadata));
|
|
1677
1467
|
}
|
|
1468
|
+
if (data.location != null) {
|
|
1469
|
+
message.location = data.location;
|
|
1470
|
+
}
|
|
1678
1471
|
if (data.type != null) {
|
|
1679
1472
|
message.type = data.type;
|
|
1680
1473
|
}
|
|
1681
1474
|
if (data.parent_suite_id != null) {
|
|
1682
1475
|
message.parent_suite_id = data.parent_suite_id;
|
|
1683
1476
|
}
|
|
1477
|
+
if (data.test_case_ids != null) {
|
|
1478
|
+
message.test_case_ids = data.test_case_ids;
|
|
1479
|
+
}
|
|
1480
|
+
if (data.sub_suite_ids != null) {
|
|
1481
|
+
message.sub_suite_ids = data.sub_suite_ids;
|
|
1482
|
+
}
|
|
1483
|
+
if (data.project != null) {
|
|
1484
|
+
message.project = data.project;
|
|
1485
|
+
}
|
|
1486
|
+
if (data.initiated_by != null) {
|
|
1487
|
+
message.initiated_by = data.initiated_by;
|
|
1488
|
+
}
|
|
1684
1489
|
if (data.author != null) {
|
|
1685
1490
|
message.author = data.author;
|
|
1686
1491
|
}
|
|
1687
1492
|
if (data.owner != null) {
|
|
1688
1493
|
message.owner = data.owner;
|
|
1689
1494
|
}
|
|
1495
|
+
if (data.test_cases != null) {
|
|
1496
|
+
message.test_cases = data.test_cases.map((item) => testsystem2.v1.entities.TestCaseRun.fromObject(item));
|
|
1497
|
+
}
|
|
1498
|
+
if (data.sub_suites != null) {
|
|
1499
|
+
message.sub_suites = data.sub_suites.map((item) => _TestSuiteRun.fromObject(item));
|
|
1500
|
+
}
|
|
1690
1501
|
return message;
|
|
1691
1502
|
}
|
|
1692
1503
|
toObject() {
|
|
@@ -1697,36 +1508,60 @@ var testsystem3;
|
|
|
1697
1508
|
if (this.name != null) {
|
|
1698
1509
|
data.name = this.name;
|
|
1699
1510
|
}
|
|
1511
|
+
if (this.description != null) {
|
|
1512
|
+
data.description = this.description;
|
|
1513
|
+
}
|
|
1700
1514
|
if (this.run_id != null) {
|
|
1701
1515
|
data.run_id = this.run_id;
|
|
1702
1516
|
}
|
|
1703
|
-
if (this.
|
|
1704
|
-
data.
|
|
1517
|
+
if (this.start_time != null) {
|
|
1518
|
+
data.start_time = this.start_time.toObject();
|
|
1705
1519
|
}
|
|
1706
|
-
if (this.
|
|
1707
|
-
data.
|
|
1520
|
+
if (this.end_time != null) {
|
|
1521
|
+
data.end_time = this.end_time.toObject();
|
|
1708
1522
|
}
|
|
1709
|
-
if (this.
|
|
1710
|
-
data.
|
|
1523
|
+
if (this.duration != null) {
|
|
1524
|
+
data.duration = this.duration.toObject();
|
|
1711
1525
|
}
|
|
1712
|
-
if (this.
|
|
1713
|
-
data.
|
|
1526
|
+
if (this.status != null) {
|
|
1527
|
+
data.status = this.status;
|
|
1714
1528
|
}
|
|
1715
1529
|
if (this.metadata != null) {
|
|
1716
1530
|
data.metadata = Object.fromEntries(this.metadata);
|
|
1717
1531
|
}
|
|
1532
|
+
if (this.location != null) {
|
|
1533
|
+
data.location = this.location;
|
|
1534
|
+
}
|
|
1718
1535
|
if (this.type != null) {
|
|
1719
1536
|
data.type = this.type;
|
|
1720
1537
|
}
|
|
1721
1538
|
if (this.parent_suite_id != null) {
|
|
1722
1539
|
data.parent_suite_id = this.parent_suite_id;
|
|
1723
1540
|
}
|
|
1541
|
+
if (this.test_case_ids != null) {
|
|
1542
|
+
data.test_case_ids = this.test_case_ids;
|
|
1543
|
+
}
|
|
1544
|
+
if (this.sub_suite_ids != null) {
|
|
1545
|
+
data.sub_suite_ids = this.sub_suite_ids;
|
|
1546
|
+
}
|
|
1547
|
+
if (this.project != null) {
|
|
1548
|
+
data.project = this.project;
|
|
1549
|
+
}
|
|
1550
|
+
if (this.initiated_by != null) {
|
|
1551
|
+
data.initiated_by = this.initiated_by;
|
|
1552
|
+
}
|
|
1724
1553
|
if (this.author != null) {
|
|
1725
1554
|
data.author = this.author;
|
|
1726
1555
|
}
|
|
1727
1556
|
if (this.owner != null) {
|
|
1728
1557
|
data.owner = this.owner;
|
|
1729
1558
|
}
|
|
1559
|
+
if (this.test_cases != null) {
|
|
1560
|
+
data.test_cases = this.test_cases.map((item) => item.toObject());
|
|
1561
|
+
}
|
|
1562
|
+
if (this.sub_suites != null) {
|
|
1563
|
+
data.sub_suites = this.sub_suites.map((item) => item.toObject());
|
|
1564
|
+
}
|
|
1730
1565
|
return data;
|
|
1731
1566
|
}
|
|
1732
1567
|
serialize(w) {
|
|
@@ -1735,35 +1570,51 @@ var testsystem3;
|
|
|
1735
1570
|
writer.writeString(1, this.id);
|
|
1736
1571
|
if (this.name.length)
|
|
1737
1572
|
writer.writeString(2, this.name);
|
|
1738
|
-
if (this.run_id.length)
|
|
1739
|
-
writer.writeString(3, this.run_id);
|
|
1740
|
-
if (this.test_spec_ids.length)
|
|
1741
|
-
writer.writeRepeatedString(4, this.test_spec_ids);
|
|
1742
|
-
if (this.sub_suite_ids.length)
|
|
1743
|
-
writer.writeRepeatedString(5, this.sub_suite_ids);
|
|
1744
1573
|
if (this.description.length)
|
|
1745
|
-
writer.writeString(
|
|
1746
|
-
if (this.
|
|
1747
|
-
writer.writeString(
|
|
1574
|
+
writer.writeString(3, this.description);
|
|
1575
|
+
if (this.run_id.length)
|
|
1576
|
+
writer.writeString(4, this.run_id);
|
|
1577
|
+
if (this.has_start_time)
|
|
1578
|
+
writer.writeMessage(5, this.start_time, () => this.start_time.serialize(writer));
|
|
1579
|
+
if (this.has_end_time)
|
|
1580
|
+
writer.writeMessage(6, this.end_time, () => this.end_time.serialize(writer));
|
|
1581
|
+
if (this.has_duration)
|
|
1582
|
+
writer.writeMessage(7, this.duration, () => this.duration.serialize(writer));
|
|
1583
|
+
if (this.status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
1584
|
+
writer.writeEnum(8, this.status);
|
|
1748
1585
|
for (const [key, value] of this.metadata) {
|
|
1749
|
-
writer.writeMessage(
|
|
1586
|
+
writer.writeMessage(9, this.metadata, () => {
|
|
1750
1587
|
writer.writeString(1, key);
|
|
1751
1588
|
writer.writeString(2, value);
|
|
1752
1589
|
});
|
|
1753
1590
|
}
|
|
1591
|
+
if (this.location.length)
|
|
1592
|
+
writer.writeString(10, this.location);
|
|
1754
1593
|
if (this.type != 0 /* ROOT */)
|
|
1755
|
-
writer.writeEnum(
|
|
1594
|
+
writer.writeEnum(11, this.type);
|
|
1756
1595
|
if (this.parent_suite_id.length)
|
|
1757
|
-
writer.writeString(
|
|
1596
|
+
writer.writeString(12, this.parent_suite_id);
|
|
1597
|
+
if (this.test_case_ids.length)
|
|
1598
|
+
writer.writeRepeatedString(13, this.test_case_ids);
|
|
1599
|
+
if (this.sub_suite_ids.length)
|
|
1600
|
+
writer.writeRepeatedString(14, this.sub_suite_ids);
|
|
1601
|
+
if (this.project.length)
|
|
1602
|
+
writer.writeString(15, this.project);
|
|
1603
|
+
if (this.initiated_by.length)
|
|
1604
|
+
writer.writeString(16, this.initiated_by);
|
|
1758
1605
|
if (this.author.length)
|
|
1759
|
-
writer.writeString(
|
|
1606
|
+
writer.writeString(17, this.author);
|
|
1760
1607
|
if (this.owner.length)
|
|
1761
|
-
writer.writeString(
|
|
1608
|
+
writer.writeString(18, this.owner);
|
|
1609
|
+
if (this.test_cases.length)
|
|
1610
|
+
writer.writeRepeatedMessage(19, this.test_cases, (item) => item.serialize(writer));
|
|
1611
|
+
if (this.sub_suites.length)
|
|
1612
|
+
writer.writeRepeatedMessage(20, this.sub_suites, (item) => item.serialize(writer));
|
|
1762
1613
|
if (!w)
|
|
1763
1614
|
return writer.getResultBuffer();
|
|
1764
1615
|
}
|
|
1765
1616
|
static deserialize(bytes) {
|
|
1766
|
-
const reader = bytes instanceof pb_15.BinaryReader ? bytes : new pb_15.BinaryReader(bytes), message = new
|
|
1617
|
+
const reader = bytes instanceof pb_15.BinaryReader ? bytes : new pb_15.BinaryReader(bytes), message = new _TestSuiteRun();
|
|
1767
1618
|
while (reader.nextField()) {
|
|
1768
1619
|
if (reader.isEndGroup())
|
|
1769
1620
|
break;
|
|
@@ -1775,35 +1626,59 @@ var testsystem3;
|
|
|
1775
1626
|
message.name = reader.readString();
|
|
1776
1627
|
break;
|
|
1777
1628
|
case 3:
|
|
1778
|
-
message.
|
|
1629
|
+
message.description = reader.readString();
|
|
1779
1630
|
break;
|
|
1780
1631
|
case 4:
|
|
1781
|
-
|
|
1632
|
+
message.run_id = reader.readString();
|
|
1782
1633
|
break;
|
|
1783
1634
|
case 5:
|
|
1784
|
-
|
|
1635
|
+
reader.readMessage(message.start_time, () => message.start_time = google.protobuf.Timestamp.deserialize(reader));
|
|
1785
1636
|
break;
|
|
1786
1637
|
case 6:
|
|
1787
|
-
message.
|
|
1638
|
+
reader.readMessage(message.end_time, () => message.end_time = google.protobuf.Timestamp.deserialize(reader));
|
|
1788
1639
|
break;
|
|
1789
1640
|
case 7:
|
|
1790
|
-
message.
|
|
1641
|
+
reader.readMessage(message.duration, () => message.duration = google2.protobuf.Duration.deserialize(reader));
|
|
1791
1642
|
break;
|
|
1792
1643
|
case 8:
|
|
1793
|
-
|
|
1644
|
+
message.status = reader.readEnum();
|
|
1794
1645
|
break;
|
|
1795
1646
|
case 9:
|
|
1796
|
-
message.
|
|
1647
|
+
reader.readMessage(message, () => pb_15.Map.deserializeBinary(message.metadata, reader, reader.readString, reader.readString));
|
|
1797
1648
|
break;
|
|
1798
1649
|
case 10:
|
|
1799
|
-
message.
|
|
1650
|
+
message.location = reader.readString();
|
|
1800
1651
|
break;
|
|
1801
1652
|
case 11:
|
|
1802
|
-
message.
|
|
1653
|
+
message.type = reader.readEnum();
|
|
1803
1654
|
break;
|
|
1804
1655
|
case 12:
|
|
1656
|
+
message.parent_suite_id = reader.readString();
|
|
1657
|
+
break;
|
|
1658
|
+
case 13:
|
|
1659
|
+
pb_15.Message.addToRepeatedField(message, 13, reader.readString());
|
|
1660
|
+
break;
|
|
1661
|
+
case 14:
|
|
1662
|
+
pb_15.Message.addToRepeatedField(message, 14, reader.readString());
|
|
1663
|
+
break;
|
|
1664
|
+
case 15:
|
|
1665
|
+
message.project = reader.readString();
|
|
1666
|
+
break;
|
|
1667
|
+
case 16:
|
|
1668
|
+
message.initiated_by = reader.readString();
|
|
1669
|
+
break;
|
|
1670
|
+
case 17:
|
|
1671
|
+
message.author = reader.readString();
|
|
1672
|
+
break;
|
|
1673
|
+
case 18:
|
|
1805
1674
|
message.owner = reader.readString();
|
|
1806
1675
|
break;
|
|
1676
|
+
case 19:
|
|
1677
|
+
reader.readMessage(message.test_cases, () => pb_15.Message.addToRepeatedWrapperField(message, 19, testsystem2.v1.entities.TestCaseRun.deserialize(reader), testsystem2.v1.entities.TestCaseRun));
|
|
1678
|
+
break;
|
|
1679
|
+
case 20:
|
|
1680
|
+
reader.readMessage(message.sub_suites, () => pb_15.Message.addToRepeatedWrapperField(message, 20, _TestSuiteRun.deserialize(reader), _TestSuiteRun));
|
|
1681
|
+
break;
|
|
1807
1682
|
default:
|
|
1808
1683
|
reader.skipField();
|
|
1809
1684
|
}
|
|
@@ -1814,13 +1689,13 @@ var testsystem3;
|
|
|
1814
1689
|
return this.serialize();
|
|
1815
1690
|
}
|
|
1816
1691
|
static deserializeBinary(bytes) {
|
|
1817
|
-
return
|
|
1692
|
+
return _TestSuiteRun.deserialize(bytes);
|
|
1818
1693
|
}
|
|
1819
1694
|
};
|
|
1820
|
-
|
|
1821
|
-
let
|
|
1822
|
-
|
|
1823
|
-
})(
|
|
1695
|
+
_one_of_decls = new WeakMap();
|
|
1696
|
+
let TestSuiteRun = _TestSuiteRun;
|
|
1697
|
+
entities2.TestSuiteRun = _TestSuiteRun;
|
|
1698
|
+
})(entities = v12.entities || (v12.entities = {}));
|
|
1824
1699
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
1825
1700
|
})(testsystem3 || (testsystem3 = {}));
|
|
1826
1701
|
|
|
@@ -1830,8 +1705,8 @@ var testsystem4;
|
|
|
1830
1705
|
((testsystem7) => {
|
|
1831
1706
|
let v1;
|
|
1832
1707
|
((v12) => {
|
|
1833
|
-
let
|
|
1834
|
-
((
|
|
1708
|
+
let events;
|
|
1709
|
+
((events2) => {
|
|
1835
1710
|
var _one_of_decls, _one_of_decls2, _one_of_decls3, _one_of_decls4, _one_of_decls5, _one_of_decls6, _one_of_decls7, _one_of_decls8, _one_of_decls9, _one_of_decls10, _one_of_decls11;
|
|
1836
1711
|
const _TestBeginEventRequest = class _TestBeginEventRequest extends pb_16.Message {
|
|
1837
1712
|
constructor(data) {
|
|
@@ -1898,7 +1773,7 @@ var testsystem4;
|
|
|
1898
1773
|
};
|
|
1899
1774
|
_one_of_decls = new WeakMap();
|
|
1900
1775
|
let TestBeginEventRequest = _TestBeginEventRequest;
|
|
1901
|
-
|
|
1776
|
+
events2.TestBeginEventRequest = _TestBeginEventRequest;
|
|
1902
1777
|
const _TestEndEventRequest = class _TestEndEventRequest extends pb_16.Message {
|
|
1903
1778
|
constructor(data) {
|
|
1904
1779
|
super();
|
|
@@ -1964,7 +1839,7 @@ var testsystem4;
|
|
|
1964
1839
|
};
|
|
1965
1840
|
_one_of_decls2 = new WeakMap();
|
|
1966
1841
|
let TestEndEventRequest = _TestEndEventRequest;
|
|
1967
|
-
|
|
1842
|
+
events2.TestEndEventRequest = _TestEndEventRequest;
|
|
1968
1843
|
const _StepBeginEventRequest = class _StepBeginEventRequest extends pb_16.Message {
|
|
1969
1844
|
constructor(data) {
|
|
1970
1845
|
super();
|
|
@@ -2030,7 +1905,7 @@ var testsystem4;
|
|
|
2030
1905
|
};
|
|
2031
1906
|
_one_of_decls3 = new WeakMap();
|
|
2032
1907
|
let StepBeginEventRequest = _StepBeginEventRequest;
|
|
2033
|
-
|
|
1908
|
+
events2.StepBeginEventRequest = _StepBeginEventRequest;
|
|
2034
1909
|
const _StepEndEventRequest = class _StepEndEventRequest extends pb_16.Message {
|
|
2035
1910
|
constructor(data) {
|
|
2036
1911
|
super();
|
|
@@ -2096,7 +1971,7 @@ var testsystem4;
|
|
|
2096
1971
|
};
|
|
2097
1972
|
_one_of_decls4 = new WeakMap();
|
|
2098
1973
|
let StepEndEventRequest = _StepEndEventRequest;
|
|
2099
|
-
|
|
1974
|
+
events2.StepEndEventRequest = _StepEndEventRequest;
|
|
2100
1975
|
const _TestFailureEventRequest = class _TestFailureEventRequest extends pb_16.Message {
|
|
2101
1976
|
constructor(data) {
|
|
2102
1977
|
super();
|
|
@@ -2242,7 +2117,7 @@ var testsystem4;
|
|
|
2242
2117
|
};
|
|
2243
2118
|
_one_of_decls5 = new WeakMap();
|
|
2244
2119
|
let TestFailureEventRequest = _TestFailureEventRequest;
|
|
2245
|
-
|
|
2120
|
+
events2.TestFailureEventRequest = _TestFailureEventRequest;
|
|
2246
2121
|
const _TestErrorEventRequest = class _TestErrorEventRequest extends pb_16.Message {
|
|
2247
2122
|
constructor(data) {
|
|
2248
2123
|
super();
|
|
@@ -2388,7 +2263,7 @@ var testsystem4;
|
|
|
2388
2263
|
};
|
|
2389
2264
|
_one_of_decls6 = new WeakMap();
|
|
2390
2265
|
let TestErrorEventRequest = _TestErrorEventRequest;
|
|
2391
|
-
|
|
2266
|
+
events2.TestErrorEventRequest = _TestErrorEventRequest;
|
|
2392
2267
|
const _StdErrorEventRequest = class _StdErrorEventRequest extends pb_16.Message {
|
|
2393
2268
|
constructor(data) {
|
|
2394
2269
|
super();
|
|
@@ -2404,6 +2279,9 @@ var testsystem4;
|
|
|
2404
2279
|
if ("timestamp" in data && data.timestamp != void 0) {
|
|
2405
2280
|
this.timestamp = data.timestamp;
|
|
2406
2281
|
}
|
|
2282
|
+
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
2283
|
+
this.test_case_run_id = data.test_case_run_id;
|
|
2284
|
+
}
|
|
2407
2285
|
}
|
|
2408
2286
|
}
|
|
2409
2287
|
get test_id() {
|
|
@@ -2427,6 +2305,12 @@ var testsystem4;
|
|
|
2427
2305
|
get has_timestamp() {
|
|
2428
2306
|
return pb_16.Message.getField(this, 3) != null;
|
|
2429
2307
|
}
|
|
2308
|
+
get test_case_run_id() {
|
|
2309
|
+
return pb_16.Message.getFieldWithDefault(this, 4, "");
|
|
2310
|
+
}
|
|
2311
|
+
set test_case_run_id(value) {
|
|
2312
|
+
pb_16.Message.setField(this, 4, value);
|
|
2313
|
+
}
|
|
2430
2314
|
static fromObject(data) {
|
|
2431
2315
|
const message = new _StdErrorEventRequest({});
|
|
2432
2316
|
if (data.test_id != null) {
|
|
@@ -2438,6 +2322,9 @@ var testsystem4;
|
|
|
2438
2322
|
if (data.timestamp != null) {
|
|
2439
2323
|
message.timestamp = google.protobuf.Timestamp.fromObject(data.timestamp);
|
|
2440
2324
|
}
|
|
2325
|
+
if (data.test_case_run_id != null) {
|
|
2326
|
+
message.test_case_run_id = data.test_case_run_id;
|
|
2327
|
+
}
|
|
2441
2328
|
return message;
|
|
2442
2329
|
}
|
|
2443
2330
|
toObject() {
|
|
@@ -2451,6 +2338,9 @@ var testsystem4;
|
|
|
2451
2338
|
if (this.timestamp != null) {
|
|
2452
2339
|
data.timestamp = this.timestamp.toObject();
|
|
2453
2340
|
}
|
|
2341
|
+
if (this.test_case_run_id != null) {
|
|
2342
|
+
data.test_case_run_id = this.test_case_run_id;
|
|
2343
|
+
}
|
|
2454
2344
|
return data;
|
|
2455
2345
|
}
|
|
2456
2346
|
serialize(w) {
|
|
@@ -2461,6 +2351,8 @@ var testsystem4;
|
|
|
2461
2351
|
writer.writeString(2, this.message);
|
|
2462
2352
|
if (this.has_timestamp)
|
|
2463
2353
|
writer.writeMessage(3, this.timestamp, () => this.timestamp.serialize(writer));
|
|
2354
|
+
if (this.test_case_run_id.length)
|
|
2355
|
+
writer.writeString(4, this.test_case_run_id);
|
|
2464
2356
|
if (!w)
|
|
2465
2357
|
return writer.getResultBuffer();
|
|
2466
2358
|
}
|
|
@@ -2479,6 +2371,9 @@ var testsystem4;
|
|
|
2479
2371
|
case 3:
|
|
2480
2372
|
reader.readMessage(message.timestamp, () => message.timestamp = google.protobuf.Timestamp.deserialize(reader));
|
|
2481
2373
|
break;
|
|
2374
|
+
case 4:
|
|
2375
|
+
message.test_case_run_id = reader.readString();
|
|
2376
|
+
break;
|
|
2482
2377
|
default:
|
|
2483
2378
|
reader.skipField();
|
|
2484
2379
|
}
|
|
@@ -2494,7 +2389,7 @@ var testsystem4;
|
|
|
2494
2389
|
};
|
|
2495
2390
|
_one_of_decls7 = new WeakMap();
|
|
2496
2391
|
let StdErrorEventRequest = _StdErrorEventRequest;
|
|
2497
|
-
|
|
2392
|
+
events2.StdErrorEventRequest = _StdErrorEventRequest;
|
|
2498
2393
|
const _StdOutputEventRequest = class _StdOutputEventRequest extends pb_16.Message {
|
|
2499
2394
|
constructor(data) {
|
|
2500
2395
|
super();
|
|
@@ -2510,6 +2405,9 @@ var testsystem4;
|
|
|
2510
2405
|
if ("timestamp" in data && data.timestamp != void 0) {
|
|
2511
2406
|
this.timestamp = data.timestamp;
|
|
2512
2407
|
}
|
|
2408
|
+
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
2409
|
+
this.test_case_run_id = data.test_case_run_id;
|
|
2410
|
+
}
|
|
2513
2411
|
}
|
|
2514
2412
|
}
|
|
2515
2413
|
get test_id() {
|
|
@@ -2533,6 +2431,12 @@ var testsystem4;
|
|
|
2533
2431
|
get has_timestamp() {
|
|
2534
2432
|
return pb_16.Message.getField(this, 3) != null;
|
|
2535
2433
|
}
|
|
2434
|
+
get test_case_run_id() {
|
|
2435
|
+
return pb_16.Message.getFieldWithDefault(this, 4, "");
|
|
2436
|
+
}
|
|
2437
|
+
set test_case_run_id(value) {
|
|
2438
|
+
pb_16.Message.setField(this, 4, value);
|
|
2439
|
+
}
|
|
2536
2440
|
static fromObject(data) {
|
|
2537
2441
|
const message = new _StdOutputEventRequest({});
|
|
2538
2442
|
if (data.test_id != null) {
|
|
@@ -2544,6 +2448,9 @@ var testsystem4;
|
|
|
2544
2448
|
if (data.timestamp != null) {
|
|
2545
2449
|
message.timestamp = google.protobuf.Timestamp.fromObject(data.timestamp);
|
|
2546
2450
|
}
|
|
2451
|
+
if (data.test_case_run_id != null) {
|
|
2452
|
+
message.test_case_run_id = data.test_case_run_id;
|
|
2453
|
+
}
|
|
2547
2454
|
return message;
|
|
2548
2455
|
}
|
|
2549
2456
|
toObject() {
|
|
@@ -2557,6 +2464,9 @@ var testsystem4;
|
|
|
2557
2464
|
if (this.timestamp != null) {
|
|
2558
2465
|
data.timestamp = this.timestamp.toObject();
|
|
2559
2466
|
}
|
|
2467
|
+
if (this.test_case_run_id != null) {
|
|
2468
|
+
data.test_case_run_id = this.test_case_run_id;
|
|
2469
|
+
}
|
|
2560
2470
|
return data;
|
|
2561
2471
|
}
|
|
2562
2472
|
serialize(w) {
|
|
@@ -2567,6 +2477,8 @@ var testsystem4;
|
|
|
2567
2477
|
writer.writeString(2, this.message);
|
|
2568
2478
|
if (this.has_timestamp)
|
|
2569
2479
|
writer.writeMessage(3, this.timestamp, () => this.timestamp.serialize(writer));
|
|
2480
|
+
if (this.test_case_run_id.length)
|
|
2481
|
+
writer.writeString(4, this.test_case_run_id);
|
|
2570
2482
|
if (!w)
|
|
2571
2483
|
return writer.getResultBuffer();
|
|
2572
2484
|
}
|
|
@@ -2585,6 +2497,9 @@ var testsystem4;
|
|
|
2585
2497
|
case 3:
|
|
2586
2498
|
reader.readMessage(message.timestamp, () => message.timestamp = google.protobuf.Timestamp.deserialize(reader));
|
|
2587
2499
|
break;
|
|
2500
|
+
case 4:
|
|
2501
|
+
message.test_case_run_id = reader.readString();
|
|
2502
|
+
break;
|
|
2588
2503
|
default:
|
|
2589
2504
|
reader.skipField();
|
|
2590
2505
|
}
|
|
@@ -2600,7 +2515,7 @@ var testsystem4;
|
|
|
2600
2515
|
};
|
|
2601
2516
|
_one_of_decls8 = new WeakMap();
|
|
2602
2517
|
let StdOutputEventRequest = _StdOutputEventRequest;
|
|
2603
|
-
|
|
2518
|
+
events2.StdOutputEventRequest = _StdOutputEventRequest;
|
|
2604
2519
|
const _SuiteBeginEventRequest = class _SuiteBeginEventRequest extends pb_16.Message {
|
|
2605
2520
|
constructor(data) {
|
|
2606
2521
|
super();
|
|
@@ -2666,7 +2581,7 @@ var testsystem4;
|
|
|
2666
2581
|
};
|
|
2667
2582
|
_one_of_decls9 = new WeakMap();
|
|
2668
2583
|
let SuiteBeginEventRequest = _SuiteBeginEventRequest;
|
|
2669
|
-
|
|
2584
|
+
events2.SuiteBeginEventRequest = _SuiteBeginEventRequest;
|
|
2670
2585
|
const _SuiteEndEventRequest = class _SuiteEndEventRequest extends pb_16.Message {
|
|
2671
2586
|
constructor(data) {
|
|
2672
2587
|
super();
|
|
@@ -2732,7 +2647,7 @@ var testsystem4;
|
|
|
2732
2647
|
};
|
|
2733
2648
|
_one_of_decls10 = new WeakMap();
|
|
2734
2649
|
let SuiteEndEventRequest = _SuiteEndEventRequest;
|
|
2735
|
-
|
|
2650
|
+
events2.SuiteEndEventRequest = _SuiteEndEventRequest;
|
|
2736
2651
|
const _HeartbeatEventRequest = class _HeartbeatEventRequest extends pb_16.Message {
|
|
2737
2652
|
constructor(data) {
|
|
2738
2653
|
super();
|
|
@@ -2818,8 +2733,8 @@ var testsystem4;
|
|
|
2818
2733
|
};
|
|
2819
2734
|
_one_of_decls11 = new WeakMap();
|
|
2820
2735
|
let HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2821
|
-
|
|
2822
|
-
})(
|
|
2736
|
+
events2.HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2737
|
+
})(events = v12.events || (v12.events = {}));
|
|
2823
2738
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
2824
2739
|
})(testsystem4 || (testsystem4 = {}));
|
|
2825
2740
|
|
|
@@ -2830,8 +2745,8 @@ var testsystem5;
|
|
|
2830
2745
|
((testsystem7) => {
|
|
2831
2746
|
let v1;
|
|
2832
2747
|
((v12) => {
|
|
2833
|
-
let
|
|
2834
|
-
((
|
|
2748
|
+
let observer;
|
|
2749
|
+
((observer2) => {
|
|
2835
2750
|
var _one_of_decls;
|
|
2836
2751
|
const _AckResponse = class _AckResponse extends pb_17.Message {
|
|
2837
2752
|
constructor(data) {
|
|
@@ -2945,7 +2860,7 @@ var testsystem5;
|
|
|
2945
2860
|
};
|
|
2946
2861
|
_one_of_decls = new WeakMap();
|
|
2947
2862
|
let AckResponse = _AckResponse;
|
|
2948
|
-
|
|
2863
|
+
observer2.AckResponse = _AckResponse;
|
|
2949
2864
|
class UnimplementedTestEventCollectorService {
|
|
2950
2865
|
}
|
|
2951
2866
|
UnimplementedTestEventCollectorService.definition = {
|
|
@@ -3049,7 +2964,7 @@ var testsystem5;
|
|
|
3049
2964
|
responseDeserialize: (bytes) => AckResponse.deserialize(new Uint8Array(bytes))
|
|
3050
2965
|
}
|
|
3051
2966
|
};
|
|
3052
|
-
|
|
2967
|
+
observer2.UnimplementedTestEventCollectorService = UnimplementedTestEventCollectorService;
|
|
3053
2968
|
class TestEventCollectorClient extends grpc_1.makeGenericClientConstructor(UnimplementedTestEventCollectorService.definition, "TestEventCollector", {}) {
|
|
3054
2969
|
constructor(address, credentials, options) {
|
|
3055
2970
|
super(address, credentials, options);
|
|
@@ -3088,51 +3003,28 @@ var testsystem5;
|
|
|
3088
3003
|
};
|
|
3089
3004
|
}
|
|
3090
3005
|
}
|
|
3091
|
-
|
|
3092
|
-
})(
|
|
3006
|
+
observer2.TestEventCollectorClient = TestEventCollectorClient;
|
|
3007
|
+
})(observer = v12.observer || (v12.observer = {}));
|
|
3093
3008
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
3094
3009
|
})(testsystem5 || (testsystem5 = {}));
|
|
3095
3010
|
|
|
3096
3011
|
// lib/index.ts
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
const sv = source[key];
|
|
3104
|
-
const tv = target[key];
|
|
3105
|
-
if (isPlainObject(tv) && isPlainObject(sv))
|
|
3106
|
-
mergeNamespace(tv, sv);
|
|
3107
|
-
else target[key] = sv;
|
|
3108
|
-
}
|
|
3109
|
-
return target;
|
|
3110
|
-
}
|
|
3111
|
-
var testsystem6 = mergeNamespace(
|
|
3112
|
-
mergeNamespace(
|
|
3113
|
-
mergeNamespace(
|
|
3114
|
-
mergeNamespace(
|
|
3115
|
-
mergeNamespace({}, testsystem),
|
|
3116
|
-
testsystem2
|
|
3117
|
-
),
|
|
3118
|
-
testsystem3
|
|
3119
|
-
),
|
|
3120
|
-
testsystem4
|
|
3121
|
-
),
|
|
3012
|
+
var testsystem6 = Object.assign(
|
|
3013
|
+
{},
|
|
3014
|
+
testsystem,
|
|
3015
|
+
testsystem2,
|
|
3016
|
+
testsystem3,
|
|
3017
|
+
testsystem4,
|
|
3122
3018
|
testsystem5
|
|
3123
3019
|
);
|
|
3124
|
-
var common = testsystem.v1.common;
|
|
3125
|
-
var entities = testsystem6.v1.entities;
|
|
3126
|
-
var events = testsystem4.v1.events;
|
|
3127
|
-
var observer = testsystem5.v1.observer;
|
|
3128
|
-
var google3 = google;
|
|
3129
3020
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3130
3021
|
0 && (module.exports = {
|
|
3131
3022
|
common,
|
|
3132
|
-
entities,
|
|
3133
3023
|
events,
|
|
3134
3024
|
google,
|
|
3135
3025
|
observer,
|
|
3026
|
+
testCase,
|
|
3027
|
+
testSuite,
|
|
3136
3028
|
testsystem
|
|
3137
3029
|
});
|
|
3138
3030
|
//# sourceMappingURL=index.js.map
|