@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.mjs
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
1
2
|
var __typeError = (msg) => {
|
|
2
3
|
throw TypeError(msg);
|
|
3
4
|
};
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
4
9
|
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
5
10
|
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
6
11
|
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
7
12
|
|
|
8
13
|
// lib/google/protobuf/timestamp.ts
|
|
14
|
+
var timestamp_exports = {};
|
|
15
|
+
__export(timestamp_exports, {
|
|
16
|
+
google: () => google
|
|
17
|
+
});
|
|
9
18
|
import * as pb_1 from "google-protobuf";
|
|
10
19
|
var google;
|
|
11
|
-
((
|
|
20
|
+
((google3) => {
|
|
12
21
|
let protobuf;
|
|
13
22
|
((protobuf2) => {
|
|
14
23
|
var _one_of_decls;
|
|
@@ -95,7 +104,7 @@ var google;
|
|
|
95
104
|
_one_of_decls = new WeakMap();
|
|
96
105
|
let Timestamp = _Timestamp;
|
|
97
106
|
protobuf2.Timestamp = _Timestamp;
|
|
98
|
-
})(protobuf =
|
|
107
|
+
})(protobuf = google3.protobuf || (google3.protobuf = {}));
|
|
99
108
|
})(google || (google = {}));
|
|
100
109
|
|
|
101
110
|
// lib/testsystem/v1/common/common.ts
|
|
@@ -104,8 +113,8 @@ var testsystem;
|
|
|
104
113
|
((testsystem7) => {
|
|
105
114
|
let v1;
|
|
106
115
|
((v12) => {
|
|
107
|
-
let
|
|
108
|
-
((
|
|
116
|
+
let common;
|
|
117
|
+
((common2) => {
|
|
109
118
|
var _one_of_decls;
|
|
110
119
|
let TestStatus;
|
|
111
120
|
((TestStatus2) => {
|
|
@@ -114,7 +123,9 @@ var testsystem;
|
|
|
114
123
|
TestStatus2[TestStatus2["FAILED"] = 2] = "FAILED";
|
|
115
124
|
TestStatus2[TestStatus2["SKIPPED"] = 3] = "SKIPPED";
|
|
116
125
|
TestStatus2[TestStatus2["BROKEN"] = 4] = "BROKEN";
|
|
117
|
-
|
|
126
|
+
TestStatus2[TestStatus2["TIMEDOUT"] = 5] = "TIMEDOUT";
|
|
127
|
+
TestStatus2[TestStatus2["INTERRUPTED"] = 6] = "INTERRUPTED";
|
|
128
|
+
})(TestStatus = common2.TestStatus || (common2.TestStatus = {}));
|
|
118
129
|
const _Attachment = class _Attachment extends pb_12.Message {
|
|
119
130
|
constructor(data) {
|
|
120
131
|
super();
|
|
@@ -251,15 +262,15 @@ var testsystem;
|
|
|
251
262
|
};
|
|
252
263
|
_one_of_decls = new WeakMap();
|
|
253
264
|
let Attachment = _Attachment;
|
|
254
|
-
|
|
255
|
-
})(
|
|
265
|
+
common2.Attachment = _Attachment;
|
|
266
|
+
})(common = v12.common || (v12.common = {}));
|
|
256
267
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
257
268
|
})(testsystem || (testsystem = {}));
|
|
258
269
|
|
|
259
270
|
// lib/google/protobuf/duration.ts
|
|
260
271
|
import * as pb_13 from "google-protobuf";
|
|
261
272
|
var google2;
|
|
262
|
-
((
|
|
273
|
+
((google3) => {
|
|
263
274
|
let protobuf;
|
|
264
275
|
((protobuf2) => {
|
|
265
276
|
var _one_of_decls;
|
|
@@ -346,7 +357,7 @@ var google2;
|
|
|
346
357
|
_one_of_decls = new WeakMap();
|
|
347
358
|
let Duration = _Duration;
|
|
348
359
|
protobuf2.Duration = _Duration;
|
|
349
|
-
})(protobuf =
|
|
360
|
+
})(protobuf = google3.protobuf || (google3.protobuf = {}));
|
|
350
361
|
})(google2 || (google2 = {}));
|
|
351
362
|
|
|
352
363
|
// lib/testsystem/v1/entities/test_case.ts
|
|
@@ -355,14 +366,14 @@ var testsystem2;
|
|
|
355
366
|
((testsystem7) => {
|
|
356
367
|
let v1;
|
|
357
368
|
((v12) => {
|
|
358
|
-
let
|
|
359
|
-
((
|
|
360
|
-
var _one_of_decls, _one_of_decls2
|
|
361
|
-
const
|
|
369
|
+
let entities;
|
|
370
|
+
((entities2) => {
|
|
371
|
+
var _one_of_decls, _one_of_decls2;
|
|
372
|
+
const _TestCaseRun = class _TestCaseRun extends pb_14.Message {
|
|
362
373
|
constructor(data) {
|
|
363
374
|
super();
|
|
364
375
|
__privateAdd(this, _one_of_decls, []);
|
|
365
|
-
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [
|
|
376
|
+
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [10, 13, 15], __privateGet(this, _one_of_decls));
|
|
366
377
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
367
378
|
if ("id" in data && data.id != void 0) {
|
|
368
379
|
this.id = data.id;
|
|
@@ -373,18 +384,54 @@ var testsystem2;
|
|
|
373
384
|
if ("description" in data && data.description != void 0) {
|
|
374
385
|
this.description = data.description;
|
|
375
386
|
}
|
|
376
|
-
if ("
|
|
377
|
-
this.
|
|
387
|
+
if ("run_id" in data && data.run_id != void 0) {
|
|
388
|
+
this.run_id = data.run_id;
|
|
389
|
+
}
|
|
390
|
+
if ("test_suite_run_id" in data && data.test_suite_run_id != void 0) {
|
|
391
|
+
this.test_suite_run_id = data.test_suite_run_id;
|
|
378
392
|
}
|
|
379
393
|
if ("status" in data && data.status != void 0) {
|
|
380
394
|
this.status = data.status;
|
|
381
395
|
}
|
|
382
|
-
if ("
|
|
383
|
-
this.
|
|
396
|
+
if ("start_time" in data && data.start_time != void 0) {
|
|
397
|
+
this.start_time = data.start_time;
|
|
398
|
+
}
|
|
399
|
+
if ("end_time" in data && data.end_time != void 0) {
|
|
400
|
+
this.end_time = data.end_time;
|
|
401
|
+
}
|
|
402
|
+
if ("duration" in data && data.duration != void 0) {
|
|
403
|
+
this.duration = data.duration;
|
|
404
|
+
}
|
|
405
|
+
if ("attachments" in data && data.attachments != void 0) {
|
|
406
|
+
this.attachments = data.attachments;
|
|
407
|
+
}
|
|
408
|
+
if ("error_message" in data && data.error_message != void 0) {
|
|
409
|
+
this.error_message = data.error_message;
|
|
410
|
+
}
|
|
411
|
+
if ("stack_trace" in data && data.stack_trace != void 0) {
|
|
412
|
+
this.stack_trace = data.stack_trace;
|
|
413
|
+
}
|
|
414
|
+
if ("errors" in data && data.errors != void 0) {
|
|
415
|
+
this.errors = data.errors;
|
|
416
|
+
}
|
|
417
|
+
if ("metadata" in data && data.metadata != void 0) {
|
|
418
|
+
this.metadata = data.metadata;
|
|
384
419
|
}
|
|
385
420
|
if ("tags" in data && data.tags != void 0) {
|
|
386
421
|
this.tags = data.tags;
|
|
387
422
|
}
|
|
423
|
+
if ("location" in data && data.location != void 0) {
|
|
424
|
+
this.location = data.location;
|
|
425
|
+
}
|
|
426
|
+
if ("retry_count" in data && data.retry_count != void 0) {
|
|
427
|
+
this.retry_count = data.retry_count;
|
|
428
|
+
}
|
|
429
|
+
if ("retry_index" in data && data.retry_index != void 0) {
|
|
430
|
+
this.retry_index = data.retry_index;
|
|
431
|
+
}
|
|
432
|
+
if ("timeout" in data && data.timeout != void 0) {
|
|
433
|
+
this.timeout = data.timeout;
|
|
434
|
+
}
|
|
388
435
|
}
|
|
389
436
|
if (!this.metadata)
|
|
390
437
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -407,32 +454,113 @@ var testsystem2;
|
|
|
407
454
|
set description(value) {
|
|
408
455
|
pb_14.Message.setField(this, 3, value);
|
|
409
456
|
}
|
|
410
|
-
get
|
|
411
|
-
return pb_14.Message.
|
|
457
|
+
get run_id() {
|
|
458
|
+
return pb_14.Message.getFieldWithDefault(this, 4, "");
|
|
412
459
|
}
|
|
413
|
-
set
|
|
460
|
+
set run_id(value) {
|
|
414
461
|
pb_14.Message.setField(this, 4, value);
|
|
415
462
|
}
|
|
416
|
-
get
|
|
417
|
-
return pb_14.Message.getFieldWithDefault(this, 5,
|
|
463
|
+
get test_suite_run_id() {
|
|
464
|
+
return pb_14.Message.getFieldWithDefault(this, 5, "");
|
|
418
465
|
}
|
|
419
|
-
set
|
|
466
|
+
set test_suite_run_id(value) {
|
|
420
467
|
pb_14.Message.setField(this, 5, value);
|
|
421
468
|
}
|
|
422
|
-
get
|
|
423
|
-
return pb_14.Message.getFieldWithDefault(this, 6,
|
|
469
|
+
get status() {
|
|
470
|
+
return pb_14.Message.getFieldWithDefault(this, 6, testsystem.v1.common.TestStatus.UNKNOWN);
|
|
424
471
|
}
|
|
425
|
-
set
|
|
472
|
+
set status(value) {
|
|
426
473
|
pb_14.Message.setField(this, 6, value);
|
|
427
474
|
}
|
|
475
|
+
get start_time() {
|
|
476
|
+
return pb_14.Message.getWrapperField(this, google.protobuf.Timestamp, 7);
|
|
477
|
+
}
|
|
478
|
+
set start_time(value) {
|
|
479
|
+
pb_14.Message.setWrapperField(this, 7, value);
|
|
480
|
+
}
|
|
481
|
+
get has_start_time() {
|
|
482
|
+
return pb_14.Message.getField(this, 7) != null;
|
|
483
|
+
}
|
|
484
|
+
get end_time() {
|
|
485
|
+
return pb_14.Message.getWrapperField(this, google.protobuf.Timestamp, 8);
|
|
486
|
+
}
|
|
487
|
+
set end_time(value) {
|
|
488
|
+
pb_14.Message.setWrapperField(this, 8, value);
|
|
489
|
+
}
|
|
490
|
+
get has_end_time() {
|
|
491
|
+
return pb_14.Message.getField(this, 8) != null;
|
|
492
|
+
}
|
|
493
|
+
get duration() {
|
|
494
|
+
return pb_14.Message.getWrapperField(this, google2.protobuf.Duration, 9);
|
|
495
|
+
}
|
|
496
|
+
set duration(value) {
|
|
497
|
+
pb_14.Message.setWrapperField(this, 9, value);
|
|
498
|
+
}
|
|
499
|
+
get has_duration() {
|
|
500
|
+
return pb_14.Message.getField(this, 9) != null;
|
|
501
|
+
}
|
|
502
|
+
get attachments() {
|
|
503
|
+
return pb_14.Message.getRepeatedWrapperField(this, testsystem.v1.common.Attachment, 10);
|
|
504
|
+
}
|
|
505
|
+
set attachments(value) {
|
|
506
|
+
pb_14.Message.setRepeatedWrapperField(this, 10, value);
|
|
507
|
+
}
|
|
508
|
+
get error_message() {
|
|
509
|
+
return pb_14.Message.getFieldWithDefault(this, 11, "");
|
|
510
|
+
}
|
|
511
|
+
set error_message(value) {
|
|
512
|
+
pb_14.Message.setField(this, 11, value);
|
|
513
|
+
}
|
|
514
|
+
get stack_trace() {
|
|
515
|
+
return pb_14.Message.getFieldWithDefault(this, 12, "");
|
|
516
|
+
}
|
|
517
|
+
set stack_trace(value) {
|
|
518
|
+
pb_14.Message.setField(this, 12, value);
|
|
519
|
+
}
|
|
520
|
+
get errors() {
|
|
521
|
+
return pb_14.Message.getFieldWithDefault(this, 13, []);
|
|
522
|
+
}
|
|
523
|
+
set errors(value) {
|
|
524
|
+
pb_14.Message.setField(this, 13, value);
|
|
525
|
+
}
|
|
526
|
+
get metadata() {
|
|
527
|
+
return pb_14.Message.getField(this, 14);
|
|
528
|
+
}
|
|
529
|
+
set metadata(value) {
|
|
530
|
+
pb_14.Message.setField(this, 14, value);
|
|
531
|
+
}
|
|
428
532
|
get tags() {
|
|
429
|
-
return pb_14.Message.getFieldWithDefault(this,
|
|
533
|
+
return pb_14.Message.getFieldWithDefault(this, 15, []);
|
|
430
534
|
}
|
|
431
535
|
set tags(value) {
|
|
432
|
-
pb_14.Message.setField(this,
|
|
536
|
+
pb_14.Message.setField(this, 15, value);
|
|
537
|
+
}
|
|
538
|
+
get location() {
|
|
539
|
+
return pb_14.Message.getFieldWithDefault(this, 16, "");
|
|
540
|
+
}
|
|
541
|
+
set location(value) {
|
|
542
|
+
pb_14.Message.setField(this, 16, value);
|
|
543
|
+
}
|
|
544
|
+
get retry_count() {
|
|
545
|
+
return pb_14.Message.getFieldWithDefault(this, 17, 0);
|
|
546
|
+
}
|
|
547
|
+
set retry_count(value) {
|
|
548
|
+
pb_14.Message.setField(this, 17, value);
|
|
549
|
+
}
|
|
550
|
+
get retry_index() {
|
|
551
|
+
return pb_14.Message.getFieldWithDefault(this, 18, 0);
|
|
552
|
+
}
|
|
553
|
+
set retry_index(value) {
|
|
554
|
+
pb_14.Message.setField(this, 18, value);
|
|
555
|
+
}
|
|
556
|
+
get timeout() {
|
|
557
|
+
return pb_14.Message.getFieldWithDefault(this, 19, 0);
|
|
558
|
+
}
|
|
559
|
+
set timeout(value) {
|
|
560
|
+
pb_14.Message.setField(this, 19, value);
|
|
433
561
|
}
|
|
434
562
|
static fromObject(data) {
|
|
435
|
-
const message = new
|
|
563
|
+
const message = new _TestCaseRun({});
|
|
436
564
|
if (data.id != null) {
|
|
437
565
|
message.id = data.id;
|
|
438
566
|
}
|
|
@@ -442,18 +570,54 @@ var testsystem2;
|
|
|
442
570
|
if (data.description != null) {
|
|
443
571
|
message.description = data.description;
|
|
444
572
|
}
|
|
445
|
-
if (
|
|
446
|
-
message.
|
|
573
|
+
if (data.run_id != null) {
|
|
574
|
+
message.run_id = data.run_id;
|
|
575
|
+
}
|
|
576
|
+
if (data.test_suite_run_id != null) {
|
|
577
|
+
message.test_suite_run_id = data.test_suite_run_id;
|
|
447
578
|
}
|
|
448
579
|
if (data.status != null) {
|
|
449
580
|
message.status = data.status;
|
|
450
581
|
}
|
|
451
|
-
if (data.
|
|
452
|
-
message.
|
|
582
|
+
if (data.start_time != null) {
|
|
583
|
+
message.start_time = google.protobuf.Timestamp.fromObject(data.start_time);
|
|
584
|
+
}
|
|
585
|
+
if (data.end_time != null) {
|
|
586
|
+
message.end_time = google.protobuf.Timestamp.fromObject(data.end_time);
|
|
587
|
+
}
|
|
588
|
+
if (data.duration != null) {
|
|
589
|
+
message.duration = google2.protobuf.Duration.fromObject(data.duration);
|
|
590
|
+
}
|
|
591
|
+
if (data.attachments != null) {
|
|
592
|
+
message.attachments = data.attachments.map((item) => testsystem.v1.common.Attachment.fromObject(item));
|
|
593
|
+
}
|
|
594
|
+
if (data.error_message != null) {
|
|
595
|
+
message.error_message = data.error_message;
|
|
596
|
+
}
|
|
597
|
+
if (data.stack_trace != null) {
|
|
598
|
+
message.stack_trace = data.stack_trace;
|
|
599
|
+
}
|
|
600
|
+
if (data.errors != null) {
|
|
601
|
+
message.errors = data.errors;
|
|
602
|
+
}
|
|
603
|
+
if (typeof data.metadata == "object") {
|
|
604
|
+
message.metadata = new Map(Object.entries(data.metadata));
|
|
453
605
|
}
|
|
454
606
|
if (data.tags != null) {
|
|
455
607
|
message.tags = data.tags;
|
|
456
608
|
}
|
|
609
|
+
if (data.location != null) {
|
|
610
|
+
message.location = data.location;
|
|
611
|
+
}
|
|
612
|
+
if (data.retry_count != null) {
|
|
613
|
+
message.retry_count = data.retry_count;
|
|
614
|
+
}
|
|
615
|
+
if (data.retry_index != null) {
|
|
616
|
+
message.retry_index = data.retry_index;
|
|
617
|
+
}
|
|
618
|
+
if (data.timeout != null) {
|
|
619
|
+
message.timeout = data.timeout;
|
|
620
|
+
}
|
|
457
621
|
return message;
|
|
458
622
|
}
|
|
459
623
|
toObject() {
|
|
@@ -467,18 +631,54 @@ var testsystem2;
|
|
|
467
631
|
if (this.description != null) {
|
|
468
632
|
data.description = this.description;
|
|
469
633
|
}
|
|
470
|
-
if (this.
|
|
471
|
-
data.
|
|
634
|
+
if (this.run_id != null) {
|
|
635
|
+
data.run_id = this.run_id;
|
|
636
|
+
}
|
|
637
|
+
if (this.test_suite_run_id != null) {
|
|
638
|
+
data.test_suite_run_id = this.test_suite_run_id;
|
|
472
639
|
}
|
|
473
640
|
if (this.status != null) {
|
|
474
641
|
data.status = this.status;
|
|
475
642
|
}
|
|
476
|
-
if (this.
|
|
477
|
-
data.
|
|
643
|
+
if (this.start_time != null) {
|
|
644
|
+
data.start_time = this.start_time.toObject();
|
|
645
|
+
}
|
|
646
|
+
if (this.end_time != null) {
|
|
647
|
+
data.end_time = this.end_time.toObject();
|
|
648
|
+
}
|
|
649
|
+
if (this.duration != null) {
|
|
650
|
+
data.duration = this.duration.toObject();
|
|
651
|
+
}
|
|
652
|
+
if (this.attachments != null) {
|
|
653
|
+
data.attachments = this.attachments.map((item) => item.toObject());
|
|
654
|
+
}
|
|
655
|
+
if (this.error_message != null) {
|
|
656
|
+
data.error_message = this.error_message;
|
|
657
|
+
}
|
|
658
|
+
if (this.stack_trace != null) {
|
|
659
|
+
data.stack_trace = this.stack_trace;
|
|
660
|
+
}
|
|
661
|
+
if (this.errors != null) {
|
|
662
|
+
data.errors = this.errors;
|
|
663
|
+
}
|
|
664
|
+
if (this.metadata != null) {
|
|
665
|
+
data.metadata = Object.fromEntries(this.metadata);
|
|
478
666
|
}
|
|
479
667
|
if (this.tags != null) {
|
|
480
668
|
data.tags = this.tags;
|
|
481
669
|
}
|
|
670
|
+
if (this.location != null) {
|
|
671
|
+
data.location = this.location;
|
|
672
|
+
}
|
|
673
|
+
if (this.retry_count != null) {
|
|
674
|
+
data.retry_count = this.retry_count;
|
|
675
|
+
}
|
|
676
|
+
if (this.retry_index != null) {
|
|
677
|
+
data.retry_index = this.retry_index;
|
|
678
|
+
}
|
|
679
|
+
if (this.timeout != null) {
|
|
680
|
+
data.timeout = this.timeout;
|
|
681
|
+
}
|
|
482
682
|
return data;
|
|
483
683
|
}
|
|
484
684
|
serialize(w) {
|
|
@@ -489,23 +689,47 @@ var testsystem2;
|
|
|
489
689
|
writer.writeString(2, this.name);
|
|
490
690
|
if (this.description.length)
|
|
491
691
|
writer.writeString(3, this.description);
|
|
692
|
+
if (this.run_id.length)
|
|
693
|
+
writer.writeString(4, this.run_id);
|
|
694
|
+
if (this.test_suite_run_id.length)
|
|
695
|
+
writer.writeString(5, this.test_suite_run_id);
|
|
696
|
+
if (this.status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
697
|
+
writer.writeEnum(6, this.status);
|
|
698
|
+
if (this.has_start_time)
|
|
699
|
+
writer.writeMessage(7, this.start_time, () => this.start_time.serialize(writer));
|
|
700
|
+
if (this.has_end_time)
|
|
701
|
+
writer.writeMessage(8, this.end_time, () => this.end_time.serialize(writer));
|
|
702
|
+
if (this.has_duration)
|
|
703
|
+
writer.writeMessage(9, this.duration, () => this.duration.serialize(writer));
|
|
704
|
+
if (this.attachments.length)
|
|
705
|
+
writer.writeRepeatedMessage(10, this.attachments, (item) => item.serialize(writer));
|
|
706
|
+
if (this.error_message.length)
|
|
707
|
+
writer.writeString(11, this.error_message);
|
|
708
|
+
if (this.stack_trace.length)
|
|
709
|
+
writer.writeString(12, this.stack_trace);
|
|
710
|
+
if (this.errors.length)
|
|
711
|
+
writer.writeRepeatedString(13, this.errors);
|
|
492
712
|
for (const [key, value] of this.metadata) {
|
|
493
|
-
writer.writeMessage(
|
|
713
|
+
writer.writeMessage(14, this.metadata, () => {
|
|
494
714
|
writer.writeString(1, key);
|
|
495
715
|
writer.writeString(2, value);
|
|
496
716
|
});
|
|
497
717
|
}
|
|
498
|
-
if (this.status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
499
|
-
writer.writeEnum(5, this.status);
|
|
500
|
-
if (this.parent_suite_id.length)
|
|
501
|
-
writer.writeString(6, this.parent_suite_id);
|
|
502
718
|
if (this.tags.length)
|
|
503
|
-
writer.writeRepeatedString(
|
|
719
|
+
writer.writeRepeatedString(15, this.tags);
|
|
720
|
+
if (this.location.length)
|
|
721
|
+
writer.writeString(16, this.location);
|
|
722
|
+
if (this.retry_count != 0)
|
|
723
|
+
writer.writeInt32(17, this.retry_count);
|
|
724
|
+
if (this.retry_index != 0)
|
|
725
|
+
writer.writeInt32(18, this.retry_index);
|
|
726
|
+
if (this.timeout != 0)
|
|
727
|
+
writer.writeInt32(19, this.timeout);
|
|
504
728
|
if (!w)
|
|
505
729
|
return writer.getResultBuffer();
|
|
506
730
|
}
|
|
507
731
|
static deserialize(bytes) {
|
|
508
|
-
const reader = bytes instanceof pb_14.BinaryReader ? bytes : new pb_14.BinaryReader(bytes), message = new
|
|
732
|
+
const reader = bytes instanceof pb_14.BinaryReader ? bytes : new pb_14.BinaryReader(bytes), message = new _TestCaseRun();
|
|
509
733
|
while (reader.nextField()) {
|
|
510
734
|
if (reader.isEndGroup())
|
|
511
735
|
break;
|
|
@@ -520,16 +744,52 @@ var testsystem2;
|
|
|
520
744
|
message.description = reader.readString();
|
|
521
745
|
break;
|
|
522
746
|
case 4:
|
|
523
|
-
|
|
747
|
+
message.run_id = reader.readString();
|
|
524
748
|
break;
|
|
525
749
|
case 5:
|
|
526
|
-
message.
|
|
750
|
+
message.test_suite_run_id = reader.readString();
|
|
527
751
|
break;
|
|
528
752
|
case 6:
|
|
529
|
-
message.
|
|
753
|
+
message.status = reader.readEnum();
|
|
530
754
|
break;
|
|
531
755
|
case 7:
|
|
532
|
-
|
|
756
|
+
reader.readMessage(message.start_time, () => message.start_time = google.protobuf.Timestamp.deserialize(reader));
|
|
757
|
+
break;
|
|
758
|
+
case 8:
|
|
759
|
+
reader.readMessage(message.end_time, () => message.end_time = google.protobuf.Timestamp.deserialize(reader));
|
|
760
|
+
break;
|
|
761
|
+
case 9:
|
|
762
|
+
reader.readMessage(message.duration, () => message.duration = google2.protobuf.Duration.deserialize(reader));
|
|
763
|
+
break;
|
|
764
|
+
case 10:
|
|
765
|
+
reader.readMessage(message.attachments, () => pb_14.Message.addToRepeatedWrapperField(message, 10, testsystem.v1.common.Attachment.deserialize(reader), testsystem.v1.common.Attachment));
|
|
766
|
+
break;
|
|
767
|
+
case 11:
|
|
768
|
+
message.error_message = reader.readString();
|
|
769
|
+
break;
|
|
770
|
+
case 12:
|
|
771
|
+
message.stack_trace = reader.readString();
|
|
772
|
+
break;
|
|
773
|
+
case 13:
|
|
774
|
+
pb_14.Message.addToRepeatedField(message, 13, reader.readString());
|
|
775
|
+
break;
|
|
776
|
+
case 14:
|
|
777
|
+
reader.readMessage(message, () => pb_14.Map.deserializeBinary(message.metadata, reader, reader.readString, reader.readString));
|
|
778
|
+
break;
|
|
779
|
+
case 15:
|
|
780
|
+
pb_14.Message.addToRepeatedField(message, 15, reader.readString());
|
|
781
|
+
break;
|
|
782
|
+
case 16:
|
|
783
|
+
message.location = reader.readString();
|
|
784
|
+
break;
|
|
785
|
+
case 17:
|
|
786
|
+
message.retry_count = reader.readInt32();
|
|
787
|
+
break;
|
|
788
|
+
case 18:
|
|
789
|
+
message.retry_index = reader.readInt32();
|
|
790
|
+
break;
|
|
791
|
+
case 19:
|
|
792
|
+
message.timeout = reader.readInt32();
|
|
533
793
|
break;
|
|
534
794
|
default:
|
|
535
795
|
reader.skipField();
|
|
@@ -541,344 +801,32 @@ var testsystem2;
|
|
|
541
801
|
return this.serialize();
|
|
542
802
|
}
|
|
543
803
|
static deserializeBinary(bytes) {
|
|
544
|
-
return
|
|
804
|
+
return _TestCaseRun.deserialize(bytes);
|
|
545
805
|
}
|
|
546
806
|
};
|
|
547
807
|
_one_of_decls = new WeakMap();
|
|
548
|
-
let
|
|
549
|
-
|
|
550
|
-
const
|
|
808
|
+
let TestCaseRun = _TestCaseRun;
|
|
809
|
+
entities2.TestCaseRun = _TestCaseRun;
|
|
810
|
+
const _StepRun = class _StepRun extends pb_14.Message {
|
|
551
811
|
constructor(data) {
|
|
552
812
|
super();
|
|
553
813
|
__privateAdd(this, _one_of_decls2, []);
|
|
554
|
-
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [
|
|
814
|
+
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [14], __privateGet(this, _one_of_decls2));
|
|
555
815
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
556
816
|
if ("id" in data && data.id != void 0) {
|
|
557
817
|
this.id = data.id;
|
|
558
818
|
}
|
|
559
|
-
if ("test_id" in data && data.test_id != void 0) {
|
|
560
|
-
this.test_id = data.test_id;
|
|
561
|
-
}
|
|
562
819
|
if ("run_id" in data && data.run_id != void 0) {
|
|
563
820
|
this.run_id = data.run_id;
|
|
564
821
|
}
|
|
565
|
-
if ("
|
|
566
|
-
this.
|
|
822
|
+
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
823
|
+
this.test_case_run_id = data.test_case_run_id;
|
|
567
824
|
}
|
|
568
825
|
if ("title" in data && data.title != void 0) {
|
|
569
826
|
this.title = data.title;
|
|
570
827
|
}
|
|
571
|
-
if ("
|
|
572
|
-
this.
|
|
573
|
-
}
|
|
574
|
-
if ("start_time" in data && data.start_time != void 0) {
|
|
575
|
-
this.start_time = data.start_time;
|
|
576
|
-
}
|
|
577
|
-
if ("attachments" in data && data.attachments != void 0) {
|
|
578
|
-
this.attachments = data.attachments;
|
|
579
|
-
}
|
|
580
|
-
if ("error_message" in data && data.error_message != void 0) {
|
|
581
|
-
this.error_message = data.error_message;
|
|
582
|
-
}
|
|
583
|
-
if ("stack_trace" in data && data.stack_trace != void 0) {
|
|
584
|
-
this.stack_trace = data.stack_trace;
|
|
585
|
-
}
|
|
586
|
-
if ("metadata" in data && data.metadata != void 0) {
|
|
587
|
-
this.metadata = data.metadata;
|
|
588
|
-
}
|
|
589
|
-
if ("errors" in data && data.errors != void 0) {
|
|
590
|
-
this.errors = data.errors;
|
|
591
|
-
}
|
|
592
|
-
if ("actual_tags" in data && data.actual_tags != void 0) {
|
|
593
|
-
this.actual_tags = data.actual_tags;
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
if (!this.metadata)
|
|
597
|
-
this.metadata = /* @__PURE__ */ new Map();
|
|
598
|
-
}
|
|
599
|
-
get id() {
|
|
600
|
-
return pb_14.Message.getFieldWithDefault(this, 1, "");
|
|
601
|
-
}
|
|
602
|
-
set id(value) {
|
|
603
|
-
pb_14.Message.setField(this, 1, value);
|
|
604
|
-
}
|
|
605
|
-
get test_id() {
|
|
606
|
-
return pb_14.Message.getFieldWithDefault(this, 2, "");
|
|
607
|
-
}
|
|
608
|
-
set test_id(value) {
|
|
609
|
-
pb_14.Message.setField(this, 2, value);
|
|
610
|
-
}
|
|
611
|
-
get run_id() {
|
|
612
|
-
return pb_14.Message.getFieldWithDefault(this, 3, "");
|
|
613
|
-
}
|
|
614
|
-
set run_id(value) {
|
|
615
|
-
pb_14.Message.setField(this, 3, value);
|
|
616
|
-
}
|
|
617
|
-
get test_suite_run_id() {
|
|
618
|
-
return pb_14.Message.getFieldWithDefault(this, 4, "");
|
|
619
|
-
}
|
|
620
|
-
set test_suite_run_id(value) {
|
|
621
|
-
pb_14.Message.setField(this, 4, value);
|
|
622
|
-
}
|
|
623
|
-
get title() {
|
|
624
|
-
return pb_14.Message.getFieldWithDefault(this, 5, "");
|
|
625
|
-
}
|
|
626
|
-
set title(value) {
|
|
627
|
-
pb_14.Message.setField(this, 5, value);
|
|
628
|
-
}
|
|
629
|
-
get status() {
|
|
630
|
-
return pb_14.Message.getFieldWithDefault(this, 6, testsystem.v1.common.TestStatus.UNKNOWN);
|
|
631
|
-
}
|
|
632
|
-
set status(value) {
|
|
633
|
-
pb_14.Message.setField(this, 6, value);
|
|
634
|
-
}
|
|
635
|
-
get start_time() {
|
|
636
|
-
return pb_14.Message.getWrapperField(this, google.protobuf.Timestamp, 7);
|
|
637
|
-
}
|
|
638
|
-
set start_time(value) {
|
|
639
|
-
pb_14.Message.setWrapperField(this, 7, value);
|
|
640
|
-
}
|
|
641
|
-
get has_start_time() {
|
|
642
|
-
return pb_14.Message.getField(this, 7) != null;
|
|
643
|
-
}
|
|
644
|
-
get attachments() {
|
|
645
|
-
return pb_14.Message.getRepeatedWrapperField(this, testsystem.v1.common.Attachment, 8);
|
|
646
|
-
}
|
|
647
|
-
set attachments(value) {
|
|
648
|
-
pb_14.Message.setRepeatedWrapperField(this, 8, value);
|
|
649
|
-
}
|
|
650
|
-
get error_message() {
|
|
651
|
-
return pb_14.Message.getFieldWithDefault(this, 9, "");
|
|
652
|
-
}
|
|
653
|
-
set error_message(value) {
|
|
654
|
-
pb_14.Message.setField(this, 9, value);
|
|
655
|
-
}
|
|
656
|
-
get stack_trace() {
|
|
657
|
-
return pb_14.Message.getFieldWithDefault(this, 10, "");
|
|
658
|
-
}
|
|
659
|
-
set stack_trace(value) {
|
|
660
|
-
pb_14.Message.setField(this, 10, value);
|
|
661
|
-
}
|
|
662
|
-
get metadata() {
|
|
663
|
-
return pb_14.Message.getField(this, 11);
|
|
664
|
-
}
|
|
665
|
-
set metadata(value) {
|
|
666
|
-
pb_14.Message.setField(this, 11, value);
|
|
667
|
-
}
|
|
668
|
-
get errors() {
|
|
669
|
-
return pb_14.Message.getFieldWithDefault(this, 12, []);
|
|
670
|
-
}
|
|
671
|
-
set errors(value) {
|
|
672
|
-
pb_14.Message.setField(this, 12, value);
|
|
673
|
-
}
|
|
674
|
-
get actual_tags() {
|
|
675
|
-
return pb_14.Message.getFieldWithDefault(this, 13, []);
|
|
676
|
-
}
|
|
677
|
-
set actual_tags(value) {
|
|
678
|
-
pb_14.Message.setField(this, 13, value);
|
|
679
|
-
}
|
|
680
|
-
static fromObject(data) {
|
|
681
|
-
const message = new _TestCaseRun({});
|
|
682
|
-
if (data.id != null) {
|
|
683
|
-
message.id = data.id;
|
|
684
|
-
}
|
|
685
|
-
if (data.test_id != null) {
|
|
686
|
-
message.test_id = data.test_id;
|
|
687
|
-
}
|
|
688
|
-
if (data.run_id != null) {
|
|
689
|
-
message.run_id = data.run_id;
|
|
690
|
-
}
|
|
691
|
-
if (data.test_suite_run_id != null) {
|
|
692
|
-
message.test_suite_run_id = data.test_suite_run_id;
|
|
693
|
-
}
|
|
694
|
-
if (data.title != null) {
|
|
695
|
-
message.title = data.title;
|
|
696
|
-
}
|
|
697
|
-
if (data.status != null) {
|
|
698
|
-
message.status = data.status;
|
|
699
|
-
}
|
|
700
|
-
if (data.start_time != null) {
|
|
701
|
-
message.start_time = google.protobuf.Timestamp.fromObject(data.start_time);
|
|
702
|
-
}
|
|
703
|
-
if (data.attachments != null) {
|
|
704
|
-
message.attachments = data.attachments.map((item) => testsystem.v1.common.Attachment.fromObject(item));
|
|
705
|
-
}
|
|
706
|
-
if (data.error_message != null) {
|
|
707
|
-
message.error_message = data.error_message;
|
|
708
|
-
}
|
|
709
|
-
if (data.stack_trace != null) {
|
|
710
|
-
message.stack_trace = data.stack_trace;
|
|
711
|
-
}
|
|
712
|
-
if (typeof data.metadata == "object") {
|
|
713
|
-
message.metadata = new Map(Object.entries(data.metadata));
|
|
714
|
-
}
|
|
715
|
-
if (data.errors != null) {
|
|
716
|
-
message.errors = data.errors;
|
|
717
|
-
}
|
|
718
|
-
if (data.actual_tags != null) {
|
|
719
|
-
message.actual_tags = data.actual_tags;
|
|
720
|
-
}
|
|
721
|
-
return message;
|
|
722
|
-
}
|
|
723
|
-
toObject() {
|
|
724
|
-
const data = {};
|
|
725
|
-
if (this.id != null) {
|
|
726
|
-
data.id = this.id;
|
|
727
|
-
}
|
|
728
|
-
if (this.test_id != null) {
|
|
729
|
-
data.test_id = this.test_id;
|
|
730
|
-
}
|
|
731
|
-
if (this.run_id != null) {
|
|
732
|
-
data.run_id = this.run_id;
|
|
733
|
-
}
|
|
734
|
-
if (this.test_suite_run_id != null) {
|
|
735
|
-
data.test_suite_run_id = this.test_suite_run_id;
|
|
736
|
-
}
|
|
737
|
-
if (this.title != null) {
|
|
738
|
-
data.title = this.title;
|
|
739
|
-
}
|
|
740
|
-
if (this.status != null) {
|
|
741
|
-
data.status = this.status;
|
|
742
|
-
}
|
|
743
|
-
if (this.start_time != null) {
|
|
744
|
-
data.start_time = this.start_time.toObject();
|
|
745
|
-
}
|
|
746
|
-
if (this.attachments != null) {
|
|
747
|
-
data.attachments = this.attachments.map((item) => item.toObject());
|
|
748
|
-
}
|
|
749
|
-
if (this.error_message != null) {
|
|
750
|
-
data.error_message = this.error_message;
|
|
751
|
-
}
|
|
752
|
-
if (this.stack_trace != null) {
|
|
753
|
-
data.stack_trace = this.stack_trace;
|
|
754
|
-
}
|
|
755
|
-
if (this.metadata != null) {
|
|
756
|
-
data.metadata = Object.fromEntries(this.metadata);
|
|
757
|
-
}
|
|
758
|
-
if (this.errors != null) {
|
|
759
|
-
data.errors = this.errors;
|
|
760
|
-
}
|
|
761
|
-
if (this.actual_tags != null) {
|
|
762
|
-
data.actual_tags = this.actual_tags;
|
|
763
|
-
}
|
|
764
|
-
return data;
|
|
765
|
-
}
|
|
766
|
-
serialize(w) {
|
|
767
|
-
const writer = w || new pb_14.BinaryWriter();
|
|
768
|
-
if (this.id.length)
|
|
769
|
-
writer.writeString(1, this.id);
|
|
770
|
-
if (this.test_id.length)
|
|
771
|
-
writer.writeString(2, this.test_id);
|
|
772
|
-
if (this.run_id.length)
|
|
773
|
-
writer.writeString(3, this.run_id);
|
|
774
|
-
if (this.test_suite_run_id.length)
|
|
775
|
-
writer.writeString(4, this.test_suite_run_id);
|
|
776
|
-
if (this.title.length)
|
|
777
|
-
writer.writeString(5, this.title);
|
|
778
|
-
if (this.status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
779
|
-
writer.writeEnum(6, this.status);
|
|
780
|
-
if (this.has_start_time)
|
|
781
|
-
writer.writeMessage(7, this.start_time, () => this.start_time.serialize(writer));
|
|
782
|
-
if (this.attachments.length)
|
|
783
|
-
writer.writeRepeatedMessage(8, this.attachments, (item) => item.serialize(writer));
|
|
784
|
-
if (this.error_message.length)
|
|
785
|
-
writer.writeString(9, this.error_message);
|
|
786
|
-
if (this.stack_trace.length)
|
|
787
|
-
writer.writeString(10, this.stack_trace);
|
|
788
|
-
for (const [key, value] of this.metadata) {
|
|
789
|
-
writer.writeMessage(11, this.metadata, () => {
|
|
790
|
-
writer.writeString(1, key);
|
|
791
|
-
writer.writeString(2, value);
|
|
792
|
-
});
|
|
793
|
-
}
|
|
794
|
-
if (this.errors.length)
|
|
795
|
-
writer.writeRepeatedString(12, this.errors);
|
|
796
|
-
if (this.actual_tags.length)
|
|
797
|
-
writer.writeRepeatedString(13, this.actual_tags);
|
|
798
|
-
if (!w)
|
|
799
|
-
return writer.getResultBuffer();
|
|
800
|
-
}
|
|
801
|
-
static deserialize(bytes) {
|
|
802
|
-
const reader = bytes instanceof pb_14.BinaryReader ? bytes : new pb_14.BinaryReader(bytes), message = new _TestCaseRun();
|
|
803
|
-
while (reader.nextField()) {
|
|
804
|
-
if (reader.isEndGroup())
|
|
805
|
-
break;
|
|
806
|
-
switch (reader.getFieldNumber()) {
|
|
807
|
-
case 1:
|
|
808
|
-
message.id = reader.readString();
|
|
809
|
-
break;
|
|
810
|
-
case 2:
|
|
811
|
-
message.test_id = reader.readString();
|
|
812
|
-
break;
|
|
813
|
-
case 3:
|
|
814
|
-
message.run_id = reader.readString();
|
|
815
|
-
break;
|
|
816
|
-
case 4:
|
|
817
|
-
message.test_suite_run_id = reader.readString();
|
|
818
|
-
break;
|
|
819
|
-
case 5:
|
|
820
|
-
message.title = reader.readString();
|
|
821
|
-
break;
|
|
822
|
-
case 6:
|
|
823
|
-
message.status = reader.readEnum();
|
|
824
|
-
break;
|
|
825
|
-
case 7:
|
|
826
|
-
reader.readMessage(message.start_time, () => message.start_time = google.protobuf.Timestamp.deserialize(reader));
|
|
827
|
-
break;
|
|
828
|
-
case 8:
|
|
829
|
-
reader.readMessage(message.attachments, () => pb_14.Message.addToRepeatedWrapperField(message, 8, testsystem.v1.common.Attachment.deserialize(reader), testsystem.v1.common.Attachment));
|
|
830
|
-
break;
|
|
831
|
-
case 9:
|
|
832
|
-
message.error_message = reader.readString();
|
|
833
|
-
break;
|
|
834
|
-
case 10:
|
|
835
|
-
message.stack_trace = reader.readString();
|
|
836
|
-
break;
|
|
837
|
-
case 11:
|
|
838
|
-
reader.readMessage(message, () => pb_14.Map.deserializeBinary(message.metadata, reader, reader.readString, reader.readString));
|
|
839
|
-
break;
|
|
840
|
-
case 12:
|
|
841
|
-
pb_14.Message.addToRepeatedField(message, 12, reader.readString());
|
|
842
|
-
break;
|
|
843
|
-
case 13:
|
|
844
|
-
pb_14.Message.addToRepeatedField(message, 13, reader.readString());
|
|
845
|
-
break;
|
|
846
|
-
default:
|
|
847
|
-
reader.skipField();
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
return message;
|
|
851
|
-
}
|
|
852
|
-
serializeBinary() {
|
|
853
|
-
return this.serialize();
|
|
854
|
-
}
|
|
855
|
-
static deserializeBinary(bytes) {
|
|
856
|
-
return _TestCaseRun.deserialize(bytes);
|
|
857
|
-
}
|
|
858
|
-
};
|
|
859
|
-
_one_of_decls2 = new WeakMap();
|
|
860
|
-
let TestCaseRun = _TestCaseRun;
|
|
861
|
-
entities3.TestCaseRun = _TestCaseRun;
|
|
862
|
-
const _StepRun = class _StepRun extends pb_14.Message {
|
|
863
|
-
constructor(data) {
|
|
864
|
-
super();
|
|
865
|
-
__privateAdd(this, _one_of_decls3, []);
|
|
866
|
-
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [14], __privateGet(this, _one_of_decls3));
|
|
867
|
-
if (!Array.isArray(data) && typeof data == "object") {
|
|
868
|
-
if ("id" in data && data.id != void 0) {
|
|
869
|
-
this.id = data.id;
|
|
870
|
-
}
|
|
871
|
-
if ("run_id" in data && data.run_id != void 0) {
|
|
872
|
-
this.run_id = data.run_id;
|
|
873
|
-
}
|
|
874
|
-
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
875
|
-
this.test_case_run_id = data.test_case_run_id;
|
|
876
|
-
}
|
|
877
|
-
if ("title" in data && data.title != void 0) {
|
|
878
|
-
this.title = data.title;
|
|
879
|
-
}
|
|
880
|
-
if ("description" in data && data.description != void 0) {
|
|
881
|
-
this.description = data.description;
|
|
828
|
+
if ("description" in data && data.description != void 0) {
|
|
829
|
+
this.description = data.description;
|
|
882
830
|
}
|
|
883
831
|
if ("start_time" in data && data.start_time != void 0) {
|
|
884
832
|
this.start_time = data.start_time;
|
|
@@ -910,6 +858,9 @@ var testsystem2;
|
|
|
910
858
|
if ("location" in data && data.location != void 0) {
|
|
911
859
|
this.location = data.location;
|
|
912
860
|
}
|
|
861
|
+
if ("category" in data && data.category != void 0) {
|
|
862
|
+
this.category = data.category;
|
|
863
|
+
}
|
|
913
864
|
}
|
|
914
865
|
if (!this.metadata)
|
|
915
866
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -1010,6 +961,12 @@ var testsystem2;
|
|
|
1010
961
|
set location(value) {
|
|
1011
962
|
pb_14.Message.setField(this, 15, value);
|
|
1012
963
|
}
|
|
964
|
+
get category() {
|
|
965
|
+
return pb_14.Message.getFieldWithDefault(this, 16, "");
|
|
966
|
+
}
|
|
967
|
+
set category(value) {
|
|
968
|
+
pb_14.Message.setField(this, 16, value);
|
|
969
|
+
}
|
|
1013
970
|
static fromObject(data) {
|
|
1014
971
|
const message = new _StepRun({});
|
|
1015
972
|
if (data.id != null) {
|
|
@@ -1057,6 +1014,9 @@ var testsystem2;
|
|
|
1057
1014
|
if (data.location != null) {
|
|
1058
1015
|
message.location = data.location;
|
|
1059
1016
|
}
|
|
1017
|
+
if (data.category != null) {
|
|
1018
|
+
message.category = data.category;
|
|
1019
|
+
}
|
|
1060
1020
|
return message;
|
|
1061
1021
|
}
|
|
1062
1022
|
toObject() {
|
|
@@ -1106,6 +1066,9 @@ var testsystem2;
|
|
|
1106
1066
|
if (this.location != null) {
|
|
1107
1067
|
data.location = this.location;
|
|
1108
1068
|
}
|
|
1069
|
+
if (this.category != null) {
|
|
1070
|
+
data.category = this.category;
|
|
1071
|
+
}
|
|
1109
1072
|
return data;
|
|
1110
1073
|
}
|
|
1111
1074
|
serialize(w) {
|
|
@@ -1144,6 +1107,8 @@ var testsystem2;
|
|
|
1144
1107
|
writer.writeRepeatedString(14, this.errors);
|
|
1145
1108
|
if (this.location.length)
|
|
1146
1109
|
writer.writeString(15, this.location);
|
|
1110
|
+
if (this.category.length)
|
|
1111
|
+
writer.writeString(16, this.category);
|
|
1147
1112
|
if (!w)
|
|
1148
1113
|
return writer.getResultBuffer();
|
|
1149
1114
|
}
|
|
@@ -1198,6 +1163,9 @@ var testsystem2;
|
|
|
1198
1163
|
case 15:
|
|
1199
1164
|
message.location = reader.readString();
|
|
1200
1165
|
break;
|
|
1166
|
+
case 16:
|
|
1167
|
+
message.category = reader.readString();
|
|
1168
|
+
break;
|
|
1201
1169
|
default:
|
|
1202
1170
|
reader.skipField();
|
|
1203
1171
|
}
|
|
@@ -1211,291 +1179,33 @@ var testsystem2;
|
|
|
1211
1179
|
return _StepRun.deserialize(bytes);
|
|
1212
1180
|
}
|
|
1213
1181
|
};
|
|
1214
|
-
|
|
1182
|
+
_one_of_decls2 = new WeakMap();
|
|
1215
1183
|
let StepRun = _StepRun;
|
|
1216
|
-
|
|
1217
|
-
})(
|
|
1184
|
+
entities2.StepRun = _StepRun;
|
|
1185
|
+
})(entities = v12.entities || (v12.entities = {}));
|
|
1218
1186
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
1219
1187
|
})(testsystem2 || (testsystem2 = {}));
|
|
1220
1188
|
|
|
1221
|
-
// lib/testsystem/v1/entities/test_suite.ts
|
|
1222
|
-
import * as pb_15 from "google-protobuf";
|
|
1223
|
-
var testsystem3;
|
|
1224
|
-
((testsystem7) => {
|
|
1225
|
-
let v1;
|
|
1226
|
-
((v12) => {
|
|
1227
|
-
let
|
|
1228
|
-
((
|
|
1229
|
-
var _one_of_decls
|
|
1230
|
-
let SuiteType;
|
|
1231
|
-
((SuiteType2) => {
|
|
1232
|
-
SuiteType2[SuiteType2["ROOT"] = 0] = "ROOT";
|
|
1233
|
-
SuiteType2[SuiteType2["PROJECT"] = 1] = "PROJECT";
|
|
1234
|
-
SuiteType2[SuiteType2["SUBSUITE"] = 2] = "SUBSUITE";
|
|
1235
|
-
})(SuiteType =
|
|
1236
|
-
const _TestSuiteRun = class _TestSuiteRun extends pb_15.Message {
|
|
1237
|
-
constructor(data) {
|
|
1238
|
-
super();
|
|
1239
|
-
__privateAdd(this, _one_of_decls, []);
|
|
1240
|
-
pb_15.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __privateGet(this, _one_of_decls));
|
|
1241
|
-
if (!Array.isArray(data) && typeof data == "object") {
|
|
1242
|
-
if ("id" in data && data.id != void 0) {
|
|
1243
|
-
this.id = data.id;
|
|
1244
|
-
}
|
|
1245
|
-
if ("name" in data && data.name != void 0) {
|
|
1246
|
-
this.name = data.name;
|
|
1247
|
-
}
|
|
1248
|
-
if ("description" in data && data.description != void 0) {
|
|
1249
|
-
this.description = data.description;
|
|
1250
|
-
}
|
|
1251
|
-
if ("start_time" in data && data.start_time != void 0) {
|
|
1252
|
-
this.start_time = data.start_time;
|
|
1253
|
-
}
|
|
1254
|
-
if ("end_time" in data && data.end_time != void 0) {
|
|
1255
|
-
this.end_time = data.end_time;
|
|
1256
|
-
}
|
|
1257
|
-
if ("duration" in data && data.duration != void 0) {
|
|
1258
|
-
this.duration = data.duration;
|
|
1259
|
-
}
|
|
1260
|
-
if ("status" in data && data.status != void 0) {
|
|
1261
|
-
this.status = data.status;
|
|
1262
|
-
}
|
|
1263
|
-
if ("metadata" in data && data.metadata != void 0) {
|
|
1264
|
-
this.metadata = data.metadata;
|
|
1265
|
-
}
|
|
1266
|
-
if ("test_suite_spec_id" in data && data.test_suite_spec_id != void 0) {
|
|
1267
|
-
this.test_suite_spec_id = data.test_suite_spec_id;
|
|
1268
|
-
}
|
|
1269
|
-
if ("initiated_by" in data && data.initiated_by != void 0) {
|
|
1270
|
-
this.initiated_by = data.initiated_by;
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
if (!this.metadata)
|
|
1274
|
-
this.metadata = /* @__PURE__ */ new Map();
|
|
1275
|
-
}
|
|
1276
|
-
get id() {
|
|
1277
|
-
return pb_15.Message.getFieldWithDefault(this, 1, "");
|
|
1278
|
-
}
|
|
1279
|
-
set id(value) {
|
|
1280
|
-
pb_15.Message.setField(this, 1, value);
|
|
1281
|
-
}
|
|
1282
|
-
get name() {
|
|
1283
|
-
return pb_15.Message.getFieldWithDefault(this, 2, "");
|
|
1284
|
-
}
|
|
1285
|
-
set name(value) {
|
|
1286
|
-
pb_15.Message.setField(this, 2, value);
|
|
1287
|
-
}
|
|
1288
|
-
get description() {
|
|
1289
|
-
return pb_15.Message.getFieldWithDefault(this, 3, "");
|
|
1290
|
-
}
|
|
1291
|
-
set description(value) {
|
|
1292
|
-
pb_15.Message.setField(this, 3, value);
|
|
1293
|
-
}
|
|
1294
|
-
get start_time() {
|
|
1295
|
-
return pb_15.Message.getWrapperField(this, google.protobuf.Timestamp, 4);
|
|
1296
|
-
}
|
|
1297
|
-
set start_time(value) {
|
|
1298
|
-
pb_15.Message.setWrapperField(this, 4, value);
|
|
1299
|
-
}
|
|
1300
|
-
get has_start_time() {
|
|
1301
|
-
return pb_15.Message.getField(this, 4) != null;
|
|
1302
|
-
}
|
|
1303
|
-
get end_time() {
|
|
1304
|
-
return pb_15.Message.getWrapperField(this, google.protobuf.Timestamp, 5);
|
|
1305
|
-
}
|
|
1306
|
-
set end_time(value) {
|
|
1307
|
-
pb_15.Message.setWrapperField(this, 5, value);
|
|
1308
|
-
}
|
|
1309
|
-
get has_end_time() {
|
|
1310
|
-
return pb_15.Message.getField(this, 5) != null;
|
|
1311
|
-
}
|
|
1312
|
-
get duration() {
|
|
1313
|
-
return pb_15.Message.getWrapperField(this, google2.protobuf.Duration, 6);
|
|
1314
|
-
}
|
|
1315
|
-
set duration(value) {
|
|
1316
|
-
pb_15.Message.setWrapperField(this, 6, value);
|
|
1317
|
-
}
|
|
1318
|
-
get has_duration() {
|
|
1319
|
-
return pb_15.Message.getField(this, 6) != null;
|
|
1320
|
-
}
|
|
1321
|
-
get status() {
|
|
1322
|
-
return pb_15.Message.getFieldWithDefault(this, 7, testsystem.v1.common.TestStatus.UNKNOWN);
|
|
1323
|
-
}
|
|
1324
|
-
set status(value) {
|
|
1325
|
-
pb_15.Message.setField(this, 7, value);
|
|
1326
|
-
}
|
|
1327
|
-
get metadata() {
|
|
1328
|
-
return pb_15.Message.getField(this, 8);
|
|
1329
|
-
}
|
|
1330
|
-
set metadata(value) {
|
|
1331
|
-
pb_15.Message.setField(this, 8, value);
|
|
1332
|
-
}
|
|
1333
|
-
get test_suite_spec_id() {
|
|
1334
|
-
return pb_15.Message.getFieldWithDefault(this, 9, "");
|
|
1335
|
-
}
|
|
1336
|
-
set test_suite_spec_id(value) {
|
|
1337
|
-
pb_15.Message.setField(this, 9, value);
|
|
1338
|
-
}
|
|
1339
|
-
get initiated_by() {
|
|
1340
|
-
return pb_15.Message.getFieldWithDefault(this, 10, "");
|
|
1341
|
-
}
|
|
1342
|
-
set initiated_by(value) {
|
|
1343
|
-
pb_15.Message.setField(this, 10, value);
|
|
1344
|
-
}
|
|
1345
|
-
static fromObject(data) {
|
|
1346
|
-
const message = new _TestSuiteRun({});
|
|
1347
|
-
if (data.id != null) {
|
|
1348
|
-
message.id = data.id;
|
|
1349
|
-
}
|
|
1350
|
-
if (data.name != null) {
|
|
1351
|
-
message.name = data.name;
|
|
1352
|
-
}
|
|
1353
|
-
if (data.description != null) {
|
|
1354
|
-
message.description = data.description;
|
|
1355
|
-
}
|
|
1356
|
-
if (data.start_time != null) {
|
|
1357
|
-
message.start_time = google.protobuf.Timestamp.fromObject(data.start_time);
|
|
1358
|
-
}
|
|
1359
|
-
if (data.end_time != null) {
|
|
1360
|
-
message.end_time = google.protobuf.Timestamp.fromObject(data.end_time);
|
|
1361
|
-
}
|
|
1362
|
-
if (data.duration != null) {
|
|
1363
|
-
message.duration = google2.protobuf.Duration.fromObject(data.duration);
|
|
1364
|
-
}
|
|
1365
|
-
if (data.status != null) {
|
|
1366
|
-
message.status = data.status;
|
|
1367
|
-
}
|
|
1368
|
-
if (typeof data.metadata == "object") {
|
|
1369
|
-
message.metadata = new Map(Object.entries(data.metadata));
|
|
1370
|
-
}
|
|
1371
|
-
if (data.test_suite_spec_id != null) {
|
|
1372
|
-
message.test_suite_spec_id = data.test_suite_spec_id;
|
|
1373
|
-
}
|
|
1374
|
-
if (data.initiated_by != null) {
|
|
1375
|
-
message.initiated_by = data.initiated_by;
|
|
1376
|
-
}
|
|
1377
|
-
return message;
|
|
1378
|
-
}
|
|
1379
|
-
toObject() {
|
|
1380
|
-
const data = {};
|
|
1381
|
-
if (this.id != null) {
|
|
1382
|
-
data.id = this.id;
|
|
1383
|
-
}
|
|
1384
|
-
if (this.name != null) {
|
|
1385
|
-
data.name = this.name;
|
|
1386
|
-
}
|
|
1387
|
-
if (this.description != null) {
|
|
1388
|
-
data.description = this.description;
|
|
1389
|
-
}
|
|
1390
|
-
if (this.start_time != null) {
|
|
1391
|
-
data.start_time = this.start_time.toObject();
|
|
1392
|
-
}
|
|
1393
|
-
if (this.end_time != null) {
|
|
1394
|
-
data.end_time = this.end_time.toObject();
|
|
1395
|
-
}
|
|
1396
|
-
if (this.duration != null) {
|
|
1397
|
-
data.duration = this.duration.toObject();
|
|
1398
|
-
}
|
|
1399
|
-
if (this.status != null) {
|
|
1400
|
-
data.status = this.status;
|
|
1401
|
-
}
|
|
1402
|
-
if (this.metadata != null) {
|
|
1403
|
-
data.metadata = Object.fromEntries(this.metadata);
|
|
1404
|
-
}
|
|
1405
|
-
if (this.test_suite_spec_id != null) {
|
|
1406
|
-
data.test_suite_spec_id = this.test_suite_spec_id;
|
|
1407
|
-
}
|
|
1408
|
-
if (this.initiated_by != null) {
|
|
1409
|
-
data.initiated_by = this.initiated_by;
|
|
1410
|
-
}
|
|
1411
|
-
return data;
|
|
1412
|
-
}
|
|
1413
|
-
serialize(w) {
|
|
1414
|
-
const writer = w || new pb_15.BinaryWriter();
|
|
1415
|
-
if (this.id.length)
|
|
1416
|
-
writer.writeString(1, this.id);
|
|
1417
|
-
if (this.name.length)
|
|
1418
|
-
writer.writeString(2, this.name);
|
|
1419
|
-
if (this.description.length)
|
|
1420
|
-
writer.writeString(3, this.description);
|
|
1421
|
-
if (this.has_start_time)
|
|
1422
|
-
writer.writeMessage(4, this.start_time, () => this.start_time.serialize(writer));
|
|
1423
|
-
if (this.has_end_time)
|
|
1424
|
-
writer.writeMessage(5, this.end_time, () => this.end_time.serialize(writer));
|
|
1425
|
-
if (this.has_duration)
|
|
1426
|
-
writer.writeMessage(6, this.duration, () => this.duration.serialize(writer));
|
|
1427
|
-
if (this.status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
1428
|
-
writer.writeEnum(7, this.status);
|
|
1429
|
-
for (const [key, value] of this.metadata) {
|
|
1430
|
-
writer.writeMessage(8, this.metadata, () => {
|
|
1431
|
-
writer.writeString(1, key);
|
|
1432
|
-
writer.writeString(2, value);
|
|
1433
|
-
});
|
|
1434
|
-
}
|
|
1435
|
-
if (this.test_suite_spec_id.length)
|
|
1436
|
-
writer.writeString(9, this.test_suite_spec_id);
|
|
1437
|
-
if (this.initiated_by.length)
|
|
1438
|
-
writer.writeString(10, this.initiated_by);
|
|
1439
|
-
if (!w)
|
|
1440
|
-
return writer.getResultBuffer();
|
|
1441
|
-
}
|
|
1442
|
-
static deserialize(bytes) {
|
|
1443
|
-
const reader = bytes instanceof pb_15.BinaryReader ? bytes : new pb_15.BinaryReader(bytes), message = new _TestSuiteRun();
|
|
1444
|
-
while (reader.nextField()) {
|
|
1445
|
-
if (reader.isEndGroup())
|
|
1446
|
-
break;
|
|
1447
|
-
switch (reader.getFieldNumber()) {
|
|
1448
|
-
case 1:
|
|
1449
|
-
message.id = reader.readString();
|
|
1450
|
-
break;
|
|
1451
|
-
case 2:
|
|
1452
|
-
message.name = reader.readString();
|
|
1453
|
-
break;
|
|
1454
|
-
case 3:
|
|
1455
|
-
message.description = reader.readString();
|
|
1456
|
-
break;
|
|
1457
|
-
case 4:
|
|
1458
|
-
reader.readMessage(message.start_time, () => message.start_time = google.protobuf.Timestamp.deserialize(reader));
|
|
1459
|
-
break;
|
|
1460
|
-
case 5:
|
|
1461
|
-
reader.readMessage(message.end_time, () => message.end_time = google.protobuf.Timestamp.deserialize(reader));
|
|
1462
|
-
break;
|
|
1463
|
-
case 6:
|
|
1464
|
-
reader.readMessage(message.duration, () => message.duration = google2.protobuf.Duration.deserialize(reader));
|
|
1465
|
-
break;
|
|
1466
|
-
case 7:
|
|
1467
|
-
message.status = reader.readEnum();
|
|
1468
|
-
break;
|
|
1469
|
-
case 8:
|
|
1470
|
-
reader.readMessage(message, () => pb_15.Map.deserializeBinary(message.metadata, reader, reader.readString, reader.readString));
|
|
1471
|
-
break;
|
|
1472
|
-
case 9:
|
|
1473
|
-
message.test_suite_spec_id = reader.readString();
|
|
1474
|
-
break;
|
|
1475
|
-
case 10:
|
|
1476
|
-
message.initiated_by = reader.readString();
|
|
1477
|
-
break;
|
|
1478
|
-
default:
|
|
1479
|
-
reader.skipField();
|
|
1480
|
-
}
|
|
1481
|
-
}
|
|
1482
|
-
return message;
|
|
1483
|
-
}
|
|
1484
|
-
serializeBinary() {
|
|
1485
|
-
return this.serialize();
|
|
1486
|
-
}
|
|
1487
|
-
static deserializeBinary(bytes) {
|
|
1488
|
-
return _TestSuiteRun.deserialize(bytes);
|
|
1489
|
-
}
|
|
1490
|
-
};
|
|
1491
|
-
_one_of_decls = new WeakMap();
|
|
1492
|
-
let TestSuiteRun = _TestSuiteRun;
|
|
1493
|
-
entities3.TestSuiteRun = _TestSuiteRun;
|
|
1494
|
-
const _TestSuiteSpec = class _TestSuiteSpec extends pb_15.Message {
|
|
1189
|
+
// lib/testsystem/v1/entities/test_suite.ts
|
|
1190
|
+
import * as pb_15 from "google-protobuf";
|
|
1191
|
+
var testsystem3;
|
|
1192
|
+
((testsystem7) => {
|
|
1193
|
+
let v1;
|
|
1194
|
+
((v12) => {
|
|
1195
|
+
let entities;
|
|
1196
|
+
((entities2) => {
|
|
1197
|
+
var _one_of_decls;
|
|
1198
|
+
let SuiteType;
|
|
1199
|
+
((SuiteType2) => {
|
|
1200
|
+
SuiteType2[SuiteType2["ROOT"] = 0] = "ROOT";
|
|
1201
|
+
SuiteType2[SuiteType2["PROJECT"] = 1] = "PROJECT";
|
|
1202
|
+
SuiteType2[SuiteType2["SUBSUITE"] = 2] = "SUBSUITE";
|
|
1203
|
+
})(SuiteType = entities2.SuiteType || (entities2.SuiteType = {}));
|
|
1204
|
+
const _TestSuiteRun = class _TestSuiteRun extends pb_15.Message {
|
|
1495
1205
|
constructor(data) {
|
|
1496
1206
|
super();
|
|
1497
|
-
__privateAdd(this,
|
|
1498
|
-
pb_15.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [
|
|
1207
|
+
__privateAdd(this, _one_of_decls, []);
|
|
1208
|
+
pb_15.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [13, 14, 19, 20], __privateGet(this, _one_of_decls));
|
|
1499
1209
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
1500
1210
|
if ("id" in data && data.id != void 0) {
|
|
1501
1211
|
this.id = data.id;
|
|
@@ -1503,36 +1213,60 @@ var testsystem3;
|
|
|
1503
1213
|
if ("name" in data && data.name != void 0) {
|
|
1504
1214
|
this.name = data.name;
|
|
1505
1215
|
}
|
|
1216
|
+
if ("description" in data && data.description != void 0) {
|
|
1217
|
+
this.description = data.description;
|
|
1218
|
+
}
|
|
1506
1219
|
if ("run_id" in data && data.run_id != void 0) {
|
|
1507
1220
|
this.run_id = data.run_id;
|
|
1508
1221
|
}
|
|
1509
|
-
if ("
|
|
1510
|
-
this.
|
|
1222
|
+
if ("start_time" in data && data.start_time != void 0) {
|
|
1223
|
+
this.start_time = data.start_time;
|
|
1511
1224
|
}
|
|
1512
|
-
if ("
|
|
1513
|
-
this.
|
|
1225
|
+
if ("end_time" in data && data.end_time != void 0) {
|
|
1226
|
+
this.end_time = data.end_time;
|
|
1514
1227
|
}
|
|
1515
|
-
if ("
|
|
1516
|
-
this.
|
|
1228
|
+
if ("duration" in data && data.duration != void 0) {
|
|
1229
|
+
this.duration = data.duration;
|
|
1517
1230
|
}
|
|
1518
|
-
if ("
|
|
1519
|
-
this.
|
|
1231
|
+
if ("status" in data && data.status != void 0) {
|
|
1232
|
+
this.status = data.status;
|
|
1520
1233
|
}
|
|
1521
1234
|
if ("metadata" in data && data.metadata != void 0) {
|
|
1522
1235
|
this.metadata = data.metadata;
|
|
1523
1236
|
}
|
|
1237
|
+
if ("location" in data && data.location != void 0) {
|
|
1238
|
+
this.location = data.location;
|
|
1239
|
+
}
|
|
1524
1240
|
if ("type" in data && data.type != void 0) {
|
|
1525
1241
|
this.type = data.type;
|
|
1526
1242
|
}
|
|
1527
1243
|
if ("parent_suite_id" in data && data.parent_suite_id != void 0) {
|
|
1528
1244
|
this.parent_suite_id = data.parent_suite_id;
|
|
1529
1245
|
}
|
|
1246
|
+
if ("test_case_ids" in data && data.test_case_ids != void 0) {
|
|
1247
|
+
this.test_case_ids = data.test_case_ids;
|
|
1248
|
+
}
|
|
1249
|
+
if ("sub_suite_ids" in data && data.sub_suite_ids != void 0) {
|
|
1250
|
+
this.sub_suite_ids = data.sub_suite_ids;
|
|
1251
|
+
}
|
|
1252
|
+
if ("project" in data && data.project != void 0) {
|
|
1253
|
+
this.project = data.project;
|
|
1254
|
+
}
|
|
1255
|
+
if ("initiated_by" in data && data.initiated_by != void 0) {
|
|
1256
|
+
this.initiated_by = data.initiated_by;
|
|
1257
|
+
}
|
|
1530
1258
|
if ("author" in data && data.author != void 0) {
|
|
1531
1259
|
this.author = data.author;
|
|
1532
1260
|
}
|
|
1533
1261
|
if ("owner" in data && data.owner != void 0) {
|
|
1534
1262
|
this.owner = data.owner;
|
|
1535
1263
|
}
|
|
1264
|
+
if ("test_cases" in data && data.test_cases != void 0) {
|
|
1265
|
+
this.test_cases = data.test_cases;
|
|
1266
|
+
}
|
|
1267
|
+
if ("sub_suites" in data && data.sub_suites != void 0) {
|
|
1268
|
+
this.sub_suites = data.sub_suites;
|
|
1269
|
+
}
|
|
1536
1270
|
}
|
|
1537
1271
|
if (!this.metadata)
|
|
1538
1272
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -1549,104 +1283,185 @@ var testsystem3;
|
|
|
1549
1283
|
set name(value) {
|
|
1550
1284
|
pb_15.Message.setField(this, 2, value);
|
|
1551
1285
|
}
|
|
1552
|
-
get
|
|
1286
|
+
get description() {
|
|
1553
1287
|
return pb_15.Message.getFieldWithDefault(this, 3, "");
|
|
1554
1288
|
}
|
|
1555
|
-
set
|
|
1289
|
+
set description(value) {
|
|
1556
1290
|
pb_15.Message.setField(this, 3, value);
|
|
1557
1291
|
}
|
|
1558
|
-
get
|
|
1559
|
-
return pb_15.Message.getFieldWithDefault(this, 4,
|
|
1292
|
+
get run_id() {
|
|
1293
|
+
return pb_15.Message.getFieldWithDefault(this, 4, "");
|
|
1560
1294
|
}
|
|
1561
|
-
set
|
|
1295
|
+
set run_id(value) {
|
|
1562
1296
|
pb_15.Message.setField(this, 4, value);
|
|
1563
1297
|
}
|
|
1564
|
-
get
|
|
1565
|
-
return pb_15.Message.
|
|
1298
|
+
get start_time() {
|
|
1299
|
+
return pb_15.Message.getWrapperField(this, google.protobuf.Timestamp, 5);
|
|
1566
1300
|
}
|
|
1567
|
-
set
|
|
1568
|
-
pb_15.Message.
|
|
1301
|
+
set start_time(value) {
|
|
1302
|
+
pb_15.Message.setWrapperField(this, 5, value);
|
|
1569
1303
|
}
|
|
1570
|
-
get
|
|
1571
|
-
return pb_15.Message.
|
|
1304
|
+
get has_start_time() {
|
|
1305
|
+
return pb_15.Message.getField(this, 5) != null;
|
|
1572
1306
|
}
|
|
1573
|
-
|
|
1574
|
-
pb_15.Message.
|
|
1307
|
+
get end_time() {
|
|
1308
|
+
return pb_15.Message.getWrapperField(this, google.protobuf.Timestamp, 6);
|
|
1575
1309
|
}
|
|
1576
|
-
|
|
1577
|
-
|
|
1310
|
+
set end_time(value) {
|
|
1311
|
+
pb_15.Message.setWrapperField(this, 6, value);
|
|
1578
1312
|
}
|
|
1579
|
-
|
|
1580
|
-
pb_15.Message.
|
|
1313
|
+
get has_end_time() {
|
|
1314
|
+
return pb_15.Message.getField(this, 6) != null;
|
|
1315
|
+
}
|
|
1316
|
+
get duration() {
|
|
1317
|
+
return pb_15.Message.getWrapperField(this, google2.protobuf.Duration, 7);
|
|
1318
|
+
}
|
|
1319
|
+
set duration(value) {
|
|
1320
|
+
pb_15.Message.setWrapperField(this, 7, value);
|
|
1321
|
+
}
|
|
1322
|
+
get has_duration() {
|
|
1323
|
+
return pb_15.Message.getField(this, 7) != null;
|
|
1324
|
+
}
|
|
1325
|
+
get status() {
|
|
1326
|
+
return pb_15.Message.getFieldWithDefault(this, 8, testsystem.v1.common.TestStatus.UNKNOWN);
|
|
1327
|
+
}
|
|
1328
|
+
set status(value) {
|
|
1329
|
+
pb_15.Message.setField(this, 8, value);
|
|
1581
1330
|
}
|
|
1582
1331
|
get metadata() {
|
|
1583
|
-
return pb_15.Message.getField(this,
|
|
1332
|
+
return pb_15.Message.getField(this, 9);
|
|
1584
1333
|
}
|
|
1585
1334
|
set metadata(value) {
|
|
1586
|
-
pb_15.Message.setField(this,
|
|
1335
|
+
pb_15.Message.setField(this, 9, value);
|
|
1336
|
+
}
|
|
1337
|
+
get location() {
|
|
1338
|
+
return pb_15.Message.getFieldWithDefault(this, 10, "");
|
|
1339
|
+
}
|
|
1340
|
+
set location(value) {
|
|
1341
|
+
pb_15.Message.setField(this, 10, value);
|
|
1587
1342
|
}
|
|
1588
1343
|
get type() {
|
|
1589
|
-
return pb_15.Message.getFieldWithDefault(this,
|
|
1344
|
+
return pb_15.Message.getFieldWithDefault(this, 11, 0 /* ROOT */);
|
|
1590
1345
|
}
|
|
1591
1346
|
set type(value) {
|
|
1592
|
-
pb_15.Message.setField(this,
|
|
1347
|
+
pb_15.Message.setField(this, 11, value);
|
|
1593
1348
|
}
|
|
1594
1349
|
get parent_suite_id() {
|
|
1595
|
-
return pb_15.Message.getFieldWithDefault(this,
|
|
1350
|
+
return pb_15.Message.getFieldWithDefault(this, 12, "");
|
|
1596
1351
|
}
|
|
1597
1352
|
set parent_suite_id(value) {
|
|
1598
|
-
pb_15.Message.setField(this,
|
|
1353
|
+
pb_15.Message.setField(this, 12, value);
|
|
1354
|
+
}
|
|
1355
|
+
get test_case_ids() {
|
|
1356
|
+
return pb_15.Message.getFieldWithDefault(this, 13, []);
|
|
1357
|
+
}
|
|
1358
|
+
set test_case_ids(value) {
|
|
1359
|
+
pb_15.Message.setField(this, 13, value);
|
|
1360
|
+
}
|
|
1361
|
+
get sub_suite_ids() {
|
|
1362
|
+
return pb_15.Message.getFieldWithDefault(this, 14, []);
|
|
1363
|
+
}
|
|
1364
|
+
set sub_suite_ids(value) {
|
|
1365
|
+
pb_15.Message.setField(this, 14, value);
|
|
1366
|
+
}
|
|
1367
|
+
get project() {
|
|
1368
|
+
return pb_15.Message.getFieldWithDefault(this, 15, "");
|
|
1369
|
+
}
|
|
1370
|
+
set project(value) {
|
|
1371
|
+
pb_15.Message.setField(this, 15, value);
|
|
1372
|
+
}
|
|
1373
|
+
get initiated_by() {
|
|
1374
|
+
return pb_15.Message.getFieldWithDefault(this, 16, "");
|
|
1375
|
+
}
|
|
1376
|
+
set initiated_by(value) {
|
|
1377
|
+
pb_15.Message.setField(this, 16, value);
|
|
1599
1378
|
}
|
|
1600
1379
|
get author() {
|
|
1601
|
-
return pb_15.Message.getFieldWithDefault(this,
|
|
1380
|
+
return pb_15.Message.getFieldWithDefault(this, 17, "");
|
|
1602
1381
|
}
|
|
1603
1382
|
set author(value) {
|
|
1604
|
-
pb_15.Message.setField(this,
|
|
1383
|
+
pb_15.Message.setField(this, 17, value);
|
|
1605
1384
|
}
|
|
1606
1385
|
get owner() {
|
|
1607
|
-
return pb_15.Message.getFieldWithDefault(this,
|
|
1386
|
+
return pb_15.Message.getFieldWithDefault(this, 18, "");
|
|
1608
1387
|
}
|
|
1609
1388
|
set owner(value) {
|
|
1610
|
-
pb_15.Message.setField(this,
|
|
1389
|
+
pb_15.Message.setField(this, 18, value);
|
|
1390
|
+
}
|
|
1391
|
+
get test_cases() {
|
|
1392
|
+
return pb_15.Message.getRepeatedWrapperField(this, testsystem2.v1.entities.TestCaseRun, 19);
|
|
1393
|
+
}
|
|
1394
|
+
set test_cases(value) {
|
|
1395
|
+
pb_15.Message.setRepeatedWrapperField(this, 19, value);
|
|
1396
|
+
}
|
|
1397
|
+
get sub_suites() {
|
|
1398
|
+
return pb_15.Message.getRepeatedWrapperField(this, _TestSuiteRun, 20);
|
|
1399
|
+
}
|
|
1400
|
+
set sub_suites(value) {
|
|
1401
|
+
pb_15.Message.setRepeatedWrapperField(this, 20, value);
|
|
1611
1402
|
}
|
|
1612
1403
|
static fromObject(data) {
|
|
1613
|
-
const message = new
|
|
1404
|
+
const message = new _TestSuiteRun({});
|
|
1614
1405
|
if (data.id != null) {
|
|
1615
1406
|
message.id = data.id;
|
|
1616
1407
|
}
|
|
1617
1408
|
if (data.name != null) {
|
|
1618
1409
|
message.name = data.name;
|
|
1619
1410
|
}
|
|
1411
|
+
if (data.description != null) {
|
|
1412
|
+
message.description = data.description;
|
|
1413
|
+
}
|
|
1620
1414
|
if (data.run_id != null) {
|
|
1621
1415
|
message.run_id = data.run_id;
|
|
1622
1416
|
}
|
|
1623
|
-
if (data.
|
|
1624
|
-
message.
|
|
1417
|
+
if (data.start_time != null) {
|
|
1418
|
+
message.start_time = google.protobuf.Timestamp.fromObject(data.start_time);
|
|
1625
1419
|
}
|
|
1626
|
-
if (data.
|
|
1627
|
-
message.
|
|
1420
|
+
if (data.end_time != null) {
|
|
1421
|
+
message.end_time = google.protobuf.Timestamp.fromObject(data.end_time);
|
|
1628
1422
|
}
|
|
1629
|
-
if (data.
|
|
1630
|
-
message.
|
|
1423
|
+
if (data.duration != null) {
|
|
1424
|
+
message.duration = google2.protobuf.Duration.fromObject(data.duration);
|
|
1631
1425
|
}
|
|
1632
|
-
if (data.
|
|
1633
|
-
message.
|
|
1426
|
+
if (data.status != null) {
|
|
1427
|
+
message.status = data.status;
|
|
1634
1428
|
}
|
|
1635
1429
|
if (typeof data.metadata == "object") {
|
|
1636
1430
|
message.metadata = new Map(Object.entries(data.metadata));
|
|
1637
1431
|
}
|
|
1432
|
+
if (data.location != null) {
|
|
1433
|
+
message.location = data.location;
|
|
1434
|
+
}
|
|
1638
1435
|
if (data.type != null) {
|
|
1639
1436
|
message.type = data.type;
|
|
1640
1437
|
}
|
|
1641
1438
|
if (data.parent_suite_id != null) {
|
|
1642
1439
|
message.parent_suite_id = data.parent_suite_id;
|
|
1643
1440
|
}
|
|
1441
|
+
if (data.test_case_ids != null) {
|
|
1442
|
+
message.test_case_ids = data.test_case_ids;
|
|
1443
|
+
}
|
|
1444
|
+
if (data.sub_suite_ids != null) {
|
|
1445
|
+
message.sub_suite_ids = data.sub_suite_ids;
|
|
1446
|
+
}
|
|
1447
|
+
if (data.project != null) {
|
|
1448
|
+
message.project = data.project;
|
|
1449
|
+
}
|
|
1450
|
+
if (data.initiated_by != null) {
|
|
1451
|
+
message.initiated_by = data.initiated_by;
|
|
1452
|
+
}
|
|
1644
1453
|
if (data.author != null) {
|
|
1645
1454
|
message.author = data.author;
|
|
1646
1455
|
}
|
|
1647
1456
|
if (data.owner != null) {
|
|
1648
1457
|
message.owner = data.owner;
|
|
1649
1458
|
}
|
|
1459
|
+
if (data.test_cases != null) {
|
|
1460
|
+
message.test_cases = data.test_cases.map((item) => testsystem2.v1.entities.TestCaseRun.fromObject(item));
|
|
1461
|
+
}
|
|
1462
|
+
if (data.sub_suites != null) {
|
|
1463
|
+
message.sub_suites = data.sub_suites.map((item) => _TestSuiteRun.fromObject(item));
|
|
1464
|
+
}
|
|
1650
1465
|
return message;
|
|
1651
1466
|
}
|
|
1652
1467
|
toObject() {
|
|
@@ -1657,36 +1472,60 @@ var testsystem3;
|
|
|
1657
1472
|
if (this.name != null) {
|
|
1658
1473
|
data.name = this.name;
|
|
1659
1474
|
}
|
|
1475
|
+
if (this.description != null) {
|
|
1476
|
+
data.description = this.description;
|
|
1477
|
+
}
|
|
1660
1478
|
if (this.run_id != null) {
|
|
1661
1479
|
data.run_id = this.run_id;
|
|
1662
1480
|
}
|
|
1663
|
-
if (this.
|
|
1664
|
-
data.
|
|
1481
|
+
if (this.start_time != null) {
|
|
1482
|
+
data.start_time = this.start_time.toObject();
|
|
1665
1483
|
}
|
|
1666
|
-
if (this.
|
|
1667
|
-
data.
|
|
1484
|
+
if (this.end_time != null) {
|
|
1485
|
+
data.end_time = this.end_time.toObject();
|
|
1668
1486
|
}
|
|
1669
|
-
if (this.
|
|
1670
|
-
data.
|
|
1487
|
+
if (this.duration != null) {
|
|
1488
|
+
data.duration = this.duration.toObject();
|
|
1671
1489
|
}
|
|
1672
|
-
if (this.
|
|
1673
|
-
data.
|
|
1490
|
+
if (this.status != null) {
|
|
1491
|
+
data.status = this.status;
|
|
1674
1492
|
}
|
|
1675
1493
|
if (this.metadata != null) {
|
|
1676
1494
|
data.metadata = Object.fromEntries(this.metadata);
|
|
1677
1495
|
}
|
|
1496
|
+
if (this.location != null) {
|
|
1497
|
+
data.location = this.location;
|
|
1498
|
+
}
|
|
1678
1499
|
if (this.type != null) {
|
|
1679
1500
|
data.type = this.type;
|
|
1680
1501
|
}
|
|
1681
1502
|
if (this.parent_suite_id != null) {
|
|
1682
1503
|
data.parent_suite_id = this.parent_suite_id;
|
|
1683
1504
|
}
|
|
1505
|
+
if (this.test_case_ids != null) {
|
|
1506
|
+
data.test_case_ids = this.test_case_ids;
|
|
1507
|
+
}
|
|
1508
|
+
if (this.sub_suite_ids != null) {
|
|
1509
|
+
data.sub_suite_ids = this.sub_suite_ids;
|
|
1510
|
+
}
|
|
1511
|
+
if (this.project != null) {
|
|
1512
|
+
data.project = this.project;
|
|
1513
|
+
}
|
|
1514
|
+
if (this.initiated_by != null) {
|
|
1515
|
+
data.initiated_by = this.initiated_by;
|
|
1516
|
+
}
|
|
1684
1517
|
if (this.author != null) {
|
|
1685
1518
|
data.author = this.author;
|
|
1686
1519
|
}
|
|
1687
1520
|
if (this.owner != null) {
|
|
1688
1521
|
data.owner = this.owner;
|
|
1689
1522
|
}
|
|
1523
|
+
if (this.test_cases != null) {
|
|
1524
|
+
data.test_cases = this.test_cases.map((item) => item.toObject());
|
|
1525
|
+
}
|
|
1526
|
+
if (this.sub_suites != null) {
|
|
1527
|
+
data.sub_suites = this.sub_suites.map((item) => item.toObject());
|
|
1528
|
+
}
|
|
1690
1529
|
return data;
|
|
1691
1530
|
}
|
|
1692
1531
|
serialize(w) {
|
|
@@ -1695,35 +1534,51 @@ var testsystem3;
|
|
|
1695
1534
|
writer.writeString(1, this.id);
|
|
1696
1535
|
if (this.name.length)
|
|
1697
1536
|
writer.writeString(2, this.name);
|
|
1698
|
-
if (this.run_id.length)
|
|
1699
|
-
writer.writeString(3, this.run_id);
|
|
1700
|
-
if (this.test_spec_ids.length)
|
|
1701
|
-
writer.writeRepeatedString(4, this.test_spec_ids);
|
|
1702
|
-
if (this.sub_suite_ids.length)
|
|
1703
|
-
writer.writeRepeatedString(5, this.sub_suite_ids);
|
|
1704
1537
|
if (this.description.length)
|
|
1705
|
-
writer.writeString(
|
|
1706
|
-
if (this.
|
|
1707
|
-
writer.writeString(
|
|
1538
|
+
writer.writeString(3, this.description);
|
|
1539
|
+
if (this.run_id.length)
|
|
1540
|
+
writer.writeString(4, this.run_id);
|
|
1541
|
+
if (this.has_start_time)
|
|
1542
|
+
writer.writeMessage(5, this.start_time, () => this.start_time.serialize(writer));
|
|
1543
|
+
if (this.has_end_time)
|
|
1544
|
+
writer.writeMessage(6, this.end_time, () => this.end_time.serialize(writer));
|
|
1545
|
+
if (this.has_duration)
|
|
1546
|
+
writer.writeMessage(7, this.duration, () => this.duration.serialize(writer));
|
|
1547
|
+
if (this.status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
1548
|
+
writer.writeEnum(8, this.status);
|
|
1708
1549
|
for (const [key, value] of this.metadata) {
|
|
1709
|
-
writer.writeMessage(
|
|
1550
|
+
writer.writeMessage(9, this.metadata, () => {
|
|
1710
1551
|
writer.writeString(1, key);
|
|
1711
1552
|
writer.writeString(2, value);
|
|
1712
1553
|
});
|
|
1713
1554
|
}
|
|
1555
|
+
if (this.location.length)
|
|
1556
|
+
writer.writeString(10, this.location);
|
|
1714
1557
|
if (this.type != 0 /* ROOT */)
|
|
1715
|
-
writer.writeEnum(
|
|
1558
|
+
writer.writeEnum(11, this.type);
|
|
1716
1559
|
if (this.parent_suite_id.length)
|
|
1717
|
-
writer.writeString(
|
|
1560
|
+
writer.writeString(12, this.parent_suite_id);
|
|
1561
|
+
if (this.test_case_ids.length)
|
|
1562
|
+
writer.writeRepeatedString(13, this.test_case_ids);
|
|
1563
|
+
if (this.sub_suite_ids.length)
|
|
1564
|
+
writer.writeRepeatedString(14, this.sub_suite_ids);
|
|
1565
|
+
if (this.project.length)
|
|
1566
|
+
writer.writeString(15, this.project);
|
|
1567
|
+
if (this.initiated_by.length)
|
|
1568
|
+
writer.writeString(16, this.initiated_by);
|
|
1718
1569
|
if (this.author.length)
|
|
1719
|
-
writer.writeString(
|
|
1570
|
+
writer.writeString(17, this.author);
|
|
1720
1571
|
if (this.owner.length)
|
|
1721
|
-
writer.writeString(
|
|
1572
|
+
writer.writeString(18, this.owner);
|
|
1573
|
+
if (this.test_cases.length)
|
|
1574
|
+
writer.writeRepeatedMessage(19, this.test_cases, (item) => item.serialize(writer));
|
|
1575
|
+
if (this.sub_suites.length)
|
|
1576
|
+
writer.writeRepeatedMessage(20, this.sub_suites, (item) => item.serialize(writer));
|
|
1722
1577
|
if (!w)
|
|
1723
1578
|
return writer.getResultBuffer();
|
|
1724
1579
|
}
|
|
1725
1580
|
static deserialize(bytes) {
|
|
1726
|
-
const reader = bytes instanceof pb_15.BinaryReader ? bytes : new pb_15.BinaryReader(bytes), message = new
|
|
1581
|
+
const reader = bytes instanceof pb_15.BinaryReader ? bytes : new pb_15.BinaryReader(bytes), message = new _TestSuiteRun();
|
|
1727
1582
|
while (reader.nextField()) {
|
|
1728
1583
|
if (reader.isEndGroup())
|
|
1729
1584
|
break;
|
|
@@ -1735,35 +1590,59 @@ var testsystem3;
|
|
|
1735
1590
|
message.name = reader.readString();
|
|
1736
1591
|
break;
|
|
1737
1592
|
case 3:
|
|
1738
|
-
message.
|
|
1593
|
+
message.description = reader.readString();
|
|
1739
1594
|
break;
|
|
1740
1595
|
case 4:
|
|
1741
|
-
|
|
1596
|
+
message.run_id = reader.readString();
|
|
1742
1597
|
break;
|
|
1743
1598
|
case 5:
|
|
1744
|
-
|
|
1599
|
+
reader.readMessage(message.start_time, () => message.start_time = google.protobuf.Timestamp.deserialize(reader));
|
|
1745
1600
|
break;
|
|
1746
1601
|
case 6:
|
|
1747
|
-
message.
|
|
1602
|
+
reader.readMessage(message.end_time, () => message.end_time = google.protobuf.Timestamp.deserialize(reader));
|
|
1748
1603
|
break;
|
|
1749
1604
|
case 7:
|
|
1750
|
-
message.
|
|
1605
|
+
reader.readMessage(message.duration, () => message.duration = google2.protobuf.Duration.deserialize(reader));
|
|
1751
1606
|
break;
|
|
1752
1607
|
case 8:
|
|
1753
|
-
|
|
1608
|
+
message.status = reader.readEnum();
|
|
1754
1609
|
break;
|
|
1755
1610
|
case 9:
|
|
1756
|
-
message.
|
|
1611
|
+
reader.readMessage(message, () => pb_15.Map.deserializeBinary(message.metadata, reader, reader.readString, reader.readString));
|
|
1757
1612
|
break;
|
|
1758
1613
|
case 10:
|
|
1759
|
-
message.
|
|
1614
|
+
message.location = reader.readString();
|
|
1760
1615
|
break;
|
|
1761
1616
|
case 11:
|
|
1762
|
-
message.
|
|
1617
|
+
message.type = reader.readEnum();
|
|
1763
1618
|
break;
|
|
1764
1619
|
case 12:
|
|
1620
|
+
message.parent_suite_id = reader.readString();
|
|
1621
|
+
break;
|
|
1622
|
+
case 13:
|
|
1623
|
+
pb_15.Message.addToRepeatedField(message, 13, reader.readString());
|
|
1624
|
+
break;
|
|
1625
|
+
case 14:
|
|
1626
|
+
pb_15.Message.addToRepeatedField(message, 14, reader.readString());
|
|
1627
|
+
break;
|
|
1628
|
+
case 15:
|
|
1629
|
+
message.project = reader.readString();
|
|
1630
|
+
break;
|
|
1631
|
+
case 16:
|
|
1632
|
+
message.initiated_by = reader.readString();
|
|
1633
|
+
break;
|
|
1634
|
+
case 17:
|
|
1635
|
+
message.author = reader.readString();
|
|
1636
|
+
break;
|
|
1637
|
+
case 18:
|
|
1765
1638
|
message.owner = reader.readString();
|
|
1766
1639
|
break;
|
|
1640
|
+
case 19:
|
|
1641
|
+
reader.readMessage(message.test_cases, () => pb_15.Message.addToRepeatedWrapperField(message, 19, testsystem2.v1.entities.TestCaseRun.deserialize(reader), testsystem2.v1.entities.TestCaseRun));
|
|
1642
|
+
break;
|
|
1643
|
+
case 20:
|
|
1644
|
+
reader.readMessage(message.sub_suites, () => pb_15.Message.addToRepeatedWrapperField(message, 20, _TestSuiteRun.deserialize(reader), _TestSuiteRun));
|
|
1645
|
+
break;
|
|
1767
1646
|
default:
|
|
1768
1647
|
reader.skipField();
|
|
1769
1648
|
}
|
|
@@ -1774,13 +1653,13 @@ var testsystem3;
|
|
|
1774
1653
|
return this.serialize();
|
|
1775
1654
|
}
|
|
1776
1655
|
static deserializeBinary(bytes) {
|
|
1777
|
-
return
|
|
1656
|
+
return _TestSuiteRun.deserialize(bytes);
|
|
1778
1657
|
}
|
|
1779
1658
|
};
|
|
1780
|
-
|
|
1781
|
-
let
|
|
1782
|
-
|
|
1783
|
-
})(
|
|
1659
|
+
_one_of_decls = new WeakMap();
|
|
1660
|
+
let TestSuiteRun = _TestSuiteRun;
|
|
1661
|
+
entities2.TestSuiteRun = _TestSuiteRun;
|
|
1662
|
+
})(entities = v12.entities || (v12.entities = {}));
|
|
1784
1663
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
1785
1664
|
})(testsystem3 || (testsystem3 = {}));
|
|
1786
1665
|
|
|
@@ -1790,8 +1669,8 @@ var testsystem4;
|
|
|
1790
1669
|
((testsystem7) => {
|
|
1791
1670
|
let v1;
|
|
1792
1671
|
((v12) => {
|
|
1793
|
-
let
|
|
1794
|
-
((
|
|
1672
|
+
let events;
|
|
1673
|
+
((events2) => {
|
|
1795
1674
|
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;
|
|
1796
1675
|
const _TestBeginEventRequest = class _TestBeginEventRequest extends pb_16.Message {
|
|
1797
1676
|
constructor(data) {
|
|
@@ -1858,7 +1737,7 @@ var testsystem4;
|
|
|
1858
1737
|
};
|
|
1859
1738
|
_one_of_decls = new WeakMap();
|
|
1860
1739
|
let TestBeginEventRequest = _TestBeginEventRequest;
|
|
1861
|
-
|
|
1740
|
+
events2.TestBeginEventRequest = _TestBeginEventRequest;
|
|
1862
1741
|
const _TestEndEventRequest = class _TestEndEventRequest extends pb_16.Message {
|
|
1863
1742
|
constructor(data) {
|
|
1864
1743
|
super();
|
|
@@ -1924,7 +1803,7 @@ var testsystem4;
|
|
|
1924
1803
|
};
|
|
1925
1804
|
_one_of_decls2 = new WeakMap();
|
|
1926
1805
|
let TestEndEventRequest = _TestEndEventRequest;
|
|
1927
|
-
|
|
1806
|
+
events2.TestEndEventRequest = _TestEndEventRequest;
|
|
1928
1807
|
const _StepBeginEventRequest = class _StepBeginEventRequest extends pb_16.Message {
|
|
1929
1808
|
constructor(data) {
|
|
1930
1809
|
super();
|
|
@@ -1990,7 +1869,7 @@ var testsystem4;
|
|
|
1990
1869
|
};
|
|
1991
1870
|
_one_of_decls3 = new WeakMap();
|
|
1992
1871
|
let StepBeginEventRequest = _StepBeginEventRequest;
|
|
1993
|
-
|
|
1872
|
+
events2.StepBeginEventRequest = _StepBeginEventRequest;
|
|
1994
1873
|
const _StepEndEventRequest = class _StepEndEventRequest extends pb_16.Message {
|
|
1995
1874
|
constructor(data) {
|
|
1996
1875
|
super();
|
|
@@ -2056,7 +1935,7 @@ var testsystem4;
|
|
|
2056
1935
|
};
|
|
2057
1936
|
_one_of_decls4 = new WeakMap();
|
|
2058
1937
|
let StepEndEventRequest = _StepEndEventRequest;
|
|
2059
|
-
|
|
1938
|
+
events2.StepEndEventRequest = _StepEndEventRequest;
|
|
2060
1939
|
const _TestFailureEventRequest = class _TestFailureEventRequest extends pb_16.Message {
|
|
2061
1940
|
constructor(data) {
|
|
2062
1941
|
super();
|
|
@@ -2202,7 +2081,7 @@ var testsystem4;
|
|
|
2202
2081
|
};
|
|
2203
2082
|
_one_of_decls5 = new WeakMap();
|
|
2204
2083
|
let TestFailureEventRequest = _TestFailureEventRequest;
|
|
2205
|
-
|
|
2084
|
+
events2.TestFailureEventRequest = _TestFailureEventRequest;
|
|
2206
2085
|
const _TestErrorEventRequest = class _TestErrorEventRequest extends pb_16.Message {
|
|
2207
2086
|
constructor(data) {
|
|
2208
2087
|
super();
|
|
@@ -2348,7 +2227,7 @@ var testsystem4;
|
|
|
2348
2227
|
};
|
|
2349
2228
|
_one_of_decls6 = new WeakMap();
|
|
2350
2229
|
let TestErrorEventRequest = _TestErrorEventRequest;
|
|
2351
|
-
|
|
2230
|
+
events2.TestErrorEventRequest = _TestErrorEventRequest;
|
|
2352
2231
|
const _StdErrorEventRequest = class _StdErrorEventRequest extends pb_16.Message {
|
|
2353
2232
|
constructor(data) {
|
|
2354
2233
|
super();
|
|
@@ -2364,6 +2243,9 @@ var testsystem4;
|
|
|
2364
2243
|
if ("timestamp" in data && data.timestamp != void 0) {
|
|
2365
2244
|
this.timestamp = data.timestamp;
|
|
2366
2245
|
}
|
|
2246
|
+
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
2247
|
+
this.test_case_run_id = data.test_case_run_id;
|
|
2248
|
+
}
|
|
2367
2249
|
}
|
|
2368
2250
|
}
|
|
2369
2251
|
get test_id() {
|
|
@@ -2387,6 +2269,12 @@ var testsystem4;
|
|
|
2387
2269
|
get has_timestamp() {
|
|
2388
2270
|
return pb_16.Message.getField(this, 3) != null;
|
|
2389
2271
|
}
|
|
2272
|
+
get test_case_run_id() {
|
|
2273
|
+
return pb_16.Message.getFieldWithDefault(this, 4, "");
|
|
2274
|
+
}
|
|
2275
|
+
set test_case_run_id(value) {
|
|
2276
|
+
pb_16.Message.setField(this, 4, value);
|
|
2277
|
+
}
|
|
2390
2278
|
static fromObject(data) {
|
|
2391
2279
|
const message = new _StdErrorEventRequest({});
|
|
2392
2280
|
if (data.test_id != null) {
|
|
@@ -2398,6 +2286,9 @@ var testsystem4;
|
|
|
2398
2286
|
if (data.timestamp != null) {
|
|
2399
2287
|
message.timestamp = google.protobuf.Timestamp.fromObject(data.timestamp);
|
|
2400
2288
|
}
|
|
2289
|
+
if (data.test_case_run_id != null) {
|
|
2290
|
+
message.test_case_run_id = data.test_case_run_id;
|
|
2291
|
+
}
|
|
2401
2292
|
return message;
|
|
2402
2293
|
}
|
|
2403
2294
|
toObject() {
|
|
@@ -2411,6 +2302,9 @@ var testsystem4;
|
|
|
2411
2302
|
if (this.timestamp != null) {
|
|
2412
2303
|
data.timestamp = this.timestamp.toObject();
|
|
2413
2304
|
}
|
|
2305
|
+
if (this.test_case_run_id != null) {
|
|
2306
|
+
data.test_case_run_id = this.test_case_run_id;
|
|
2307
|
+
}
|
|
2414
2308
|
return data;
|
|
2415
2309
|
}
|
|
2416
2310
|
serialize(w) {
|
|
@@ -2421,6 +2315,8 @@ var testsystem4;
|
|
|
2421
2315
|
writer.writeString(2, this.message);
|
|
2422
2316
|
if (this.has_timestamp)
|
|
2423
2317
|
writer.writeMessage(3, this.timestamp, () => this.timestamp.serialize(writer));
|
|
2318
|
+
if (this.test_case_run_id.length)
|
|
2319
|
+
writer.writeString(4, this.test_case_run_id);
|
|
2424
2320
|
if (!w)
|
|
2425
2321
|
return writer.getResultBuffer();
|
|
2426
2322
|
}
|
|
@@ -2439,6 +2335,9 @@ var testsystem4;
|
|
|
2439
2335
|
case 3:
|
|
2440
2336
|
reader.readMessage(message.timestamp, () => message.timestamp = google.protobuf.Timestamp.deserialize(reader));
|
|
2441
2337
|
break;
|
|
2338
|
+
case 4:
|
|
2339
|
+
message.test_case_run_id = reader.readString();
|
|
2340
|
+
break;
|
|
2442
2341
|
default:
|
|
2443
2342
|
reader.skipField();
|
|
2444
2343
|
}
|
|
@@ -2454,7 +2353,7 @@ var testsystem4;
|
|
|
2454
2353
|
};
|
|
2455
2354
|
_one_of_decls7 = new WeakMap();
|
|
2456
2355
|
let StdErrorEventRequest = _StdErrorEventRequest;
|
|
2457
|
-
|
|
2356
|
+
events2.StdErrorEventRequest = _StdErrorEventRequest;
|
|
2458
2357
|
const _StdOutputEventRequest = class _StdOutputEventRequest extends pb_16.Message {
|
|
2459
2358
|
constructor(data) {
|
|
2460
2359
|
super();
|
|
@@ -2470,6 +2369,9 @@ var testsystem4;
|
|
|
2470
2369
|
if ("timestamp" in data && data.timestamp != void 0) {
|
|
2471
2370
|
this.timestamp = data.timestamp;
|
|
2472
2371
|
}
|
|
2372
|
+
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
2373
|
+
this.test_case_run_id = data.test_case_run_id;
|
|
2374
|
+
}
|
|
2473
2375
|
}
|
|
2474
2376
|
}
|
|
2475
2377
|
get test_id() {
|
|
@@ -2493,6 +2395,12 @@ var testsystem4;
|
|
|
2493
2395
|
get has_timestamp() {
|
|
2494
2396
|
return pb_16.Message.getField(this, 3) != null;
|
|
2495
2397
|
}
|
|
2398
|
+
get test_case_run_id() {
|
|
2399
|
+
return pb_16.Message.getFieldWithDefault(this, 4, "");
|
|
2400
|
+
}
|
|
2401
|
+
set test_case_run_id(value) {
|
|
2402
|
+
pb_16.Message.setField(this, 4, value);
|
|
2403
|
+
}
|
|
2496
2404
|
static fromObject(data) {
|
|
2497
2405
|
const message = new _StdOutputEventRequest({});
|
|
2498
2406
|
if (data.test_id != null) {
|
|
@@ -2504,6 +2412,9 @@ var testsystem4;
|
|
|
2504
2412
|
if (data.timestamp != null) {
|
|
2505
2413
|
message.timestamp = google.protobuf.Timestamp.fromObject(data.timestamp);
|
|
2506
2414
|
}
|
|
2415
|
+
if (data.test_case_run_id != null) {
|
|
2416
|
+
message.test_case_run_id = data.test_case_run_id;
|
|
2417
|
+
}
|
|
2507
2418
|
return message;
|
|
2508
2419
|
}
|
|
2509
2420
|
toObject() {
|
|
@@ -2517,6 +2428,9 @@ var testsystem4;
|
|
|
2517
2428
|
if (this.timestamp != null) {
|
|
2518
2429
|
data.timestamp = this.timestamp.toObject();
|
|
2519
2430
|
}
|
|
2431
|
+
if (this.test_case_run_id != null) {
|
|
2432
|
+
data.test_case_run_id = this.test_case_run_id;
|
|
2433
|
+
}
|
|
2520
2434
|
return data;
|
|
2521
2435
|
}
|
|
2522
2436
|
serialize(w) {
|
|
@@ -2527,6 +2441,8 @@ var testsystem4;
|
|
|
2527
2441
|
writer.writeString(2, this.message);
|
|
2528
2442
|
if (this.has_timestamp)
|
|
2529
2443
|
writer.writeMessage(3, this.timestamp, () => this.timestamp.serialize(writer));
|
|
2444
|
+
if (this.test_case_run_id.length)
|
|
2445
|
+
writer.writeString(4, this.test_case_run_id);
|
|
2530
2446
|
if (!w)
|
|
2531
2447
|
return writer.getResultBuffer();
|
|
2532
2448
|
}
|
|
@@ -2545,6 +2461,9 @@ var testsystem4;
|
|
|
2545
2461
|
case 3:
|
|
2546
2462
|
reader.readMessage(message.timestamp, () => message.timestamp = google.protobuf.Timestamp.deserialize(reader));
|
|
2547
2463
|
break;
|
|
2464
|
+
case 4:
|
|
2465
|
+
message.test_case_run_id = reader.readString();
|
|
2466
|
+
break;
|
|
2548
2467
|
default:
|
|
2549
2468
|
reader.skipField();
|
|
2550
2469
|
}
|
|
@@ -2560,7 +2479,7 @@ var testsystem4;
|
|
|
2560
2479
|
};
|
|
2561
2480
|
_one_of_decls8 = new WeakMap();
|
|
2562
2481
|
let StdOutputEventRequest = _StdOutputEventRequest;
|
|
2563
|
-
|
|
2482
|
+
events2.StdOutputEventRequest = _StdOutputEventRequest;
|
|
2564
2483
|
const _SuiteBeginEventRequest = class _SuiteBeginEventRequest extends pb_16.Message {
|
|
2565
2484
|
constructor(data) {
|
|
2566
2485
|
super();
|
|
@@ -2626,7 +2545,7 @@ var testsystem4;
|
|
|
2626
2545
|
};
|
|
2627
2546
|
_one_of_decls9 = new WeakMap();
|
|
2628
2547
|
let SuiteBeginEventRequest = _SuiteBeginEventRequest;
|
|
2629
|
-
|
|
2548
|
+
events2.SuiteBeginEventRequest = _SuiteBeginEventRequest;
|
|
2630
2549
|
const _SuiteEndEventRequest = class _SuiteEndEventRequest extends pb_16.Message {
|
|
2631
2550
|
constructor(data) {
|
|
2632
2551
|
super();
|
|
@@ -2692,7 +2611,7 @@ var testsystem4;
|
|
|
2692
2611
|
};
|
|
2693
2612
|
_one_of_decls10 = new WeakMap();
|
|
2694
2613
|
let SuiteEndEventRequest = _SuiteEndEventRequest;
|
|
2695
|
-
|
|
2614
|
+
events2.SuiteEndEventRequest = _SuiteEndEventRequest;
|
|
2696
2615
|
const _HeartbeatEventRequest = class _HeartbeatEventRequest extends pb_16.Message {
|
|
2697
2616
|
constructor(data) {
|
|
2698
2617
|
super();
|
|
@@ -2778,8 +2697,8 @@ var testsystem4;
|
|
|
2778
2697
|
};
|
|
2779
2698
|
_one_of_decls11 = new WeakMap();
|
|
2780
2699
|
let HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2781
|
-
|
|
2782
|
-
})(
|
|
2700
|
+
events2.HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2701
|
+
})(events = v12.events || (v12.events = {}));
|
|
2783
2702
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
2784
2703
|
})(testsystem4 || (testsystem4 = {}));
|
|
2785
2704
|
|
|
@@ -2790,8 +2709,8 @@ var testsystem5;
|
|
|
2790
2709
|
((testsystem7) => {
|
|
2791
2710
|
let v1;
|
|
2792
2711
|
((v12) => {
|
|
2793
|
-
let
|
|
2794
|
-
((
|
|
2712
|
+
let observer;
|
|
2713
|
+
((observer2) => {
|
|
2795
2714
|
var _one_of_decls;
|
|
2796
2715
|
const _AckResponse = class _AckResponse extends pb_17.Message {
|
|
2797
2716
|
constructor(data) {
|
|
@@ -2905,7 +2824,7 @@ var testsystem5;
|
|
|
2905
2824
|
};
|
|
2906
2825
|
_one_of_decls = new WeakMap();
|
|
2907
2826
|
let AckResponse = _AckResponse;
|
|
2908
|
-
|
|
2827
|
+
observer2.AckResponse = _AckResponse;
|
|
2909
2828
|
class UnimplementedTestEventCollectorService {
|
|
2910
2829
|
}
|
|
2911
2830
|
UnimplementedTestEventCollectorService.definition = {
|
|
@@ -3009,7 +2928,7 @@ var testsystem5;
|
|
|
3009
2928
|
responseDeserialize: (bytes) => AckResponse.deserialize(new Uint8Array(bytes))
|
|
3010
2929
|
}
|
|
3011
2930
|
};
|
|
3012
|
-
|
|
2931
|
+
observer2.UnimplementedTestEventCollectorService = UnimplementedTestEventCollectorService;
|
|
3013
2932
|
class TestEventCollectorClient extends grpc_1.makeGenericClientConstructor(UnimplementedTestEventCollectorService.definition, "TestEventCollector", {}) {
|
|
3014
2933
|
constructor(address, credentials, options) {
|
|
3015
2934
|
super(address, credentials, options);
|
|
@@ -3048,50 +2967,27 @@ var testsystem5;
|
|
|
3048
2967
|
};
|
|
3049
2968
|
}
|
|
3050
2969
|
}
|
|
3051
|
-
|
|
3052
|
-
})(
|
|
2970
|
+
observer2.TestEventCollectorClient = TestEventCollectorClient;
|
|
2971
|
+
})(observer = v12.observer || (v12.observer = {}));
|
|
3053
2972
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
3054
2973
|
})(testsystem5 || (testsystem5 = {}));
|
|
3055
2974
|
|
|
3056
2975
|
// lib/index.ts
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
const sv = source[key];
|
|
3064
|
-
const tv = target[key];
|
|
3065
|
-
if (isPlainObject(tv) && isPlainObject(sv))
|
|
3066
|
-
mergeNamespace(tv, sv);
|
|
3067
|
-
else target[key] = sv;
|
|
3068
|
-
}
|
|
3069
|
-
return target;
|
|
3070
|
-
}
|
|
3071
|
-
var testsystem6 = mergeNamespace(
|
|
3072
|
-
mergeNamespace(
|
|
3073
|
-
mergeNamespace(
|
|
3074
|
-
mergeNamespace(
|
|
3075
|
-
mergeNamespace({}, testsystem),
|
|
3076
|
-
testsystem2
|
|
3077
|
-
),
|
|
3078
|
-
testsystem3
|
|
3079
|
-
),
|
|
3080
|
-
testsystem4
|
|
3081
|
-
),
|
|
2976
|
+
var testsystem6 = Object.assign(
|
|
2977
|
+
{},
|
|
2978
|
+
testsystem,
|
|
2979
|
+
testsystem2,
|
|
2980
|
+
testsystem3,
|
|
2981
|
+
testsystem4,
|
|
3082
2982
|
testsystem5
|
|
3083
2983
|
);
|
|
3084
|
-
var common = testsystem.v1.common;
|
|
3085
|
-
var entities = testsystem6.v1.entities;
|
|
3086
|
-
var events = testsystem4.v1.events;
|
|
3087
|
-
var observer = testsystem5.v1.observer;
|
|
3088
|
-
var google3 = google;
|
|
3089
2984
|
export {
|
|
3090
|
-
common,
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
2985
|
+
testsystem as common,
|
|
2986
|
+
testsystem4 as events,
|
|
2987
|
+
timestamp_exports as google,
|
|
2988
|
+
testsystem5 as observer,
|
|
2989
|
+
testsystem2 as testCase,
|
|
2990
|
+
testsystem3 as testSuite,
|
|
3095
2991
|
testsystem6 as testsystem
|
|
3096
2992
|
};
|
|
3097
2993
|
//# sourceMappingURL=index.mjs.map
|