@stanterprise/protobuf 0.0.9 → 0.0.10
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 +244 -77
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +247 -76
- 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 +26 -0
- package/dist/lib/testsystem/v1/entities/test_case.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts +10 -0
- 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 +118 -0
- package/lib/testsystem/v1/entities/test_suite.ts +46 -0
- 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,8 +402,8 @@ var testsystem2;
|
|
|
395
402
|
((testsystem7) => {
|
|
396
403
|
let v1;
|
|
397
404
|
((v12) => {
|
|
398
|
-
let
|
|
399
|
-
((
|
|
405
|
+
let entities;
|
|
406
|
+
((entities2) => {
|
|
400
407
|
var _one_of_decls, _one_of_decls2, _one_of_decls3;
|
|
401
408
|
const _TestCaseSpec = class _TestCaseSpec extends pb_14.Message {
|
|
402
409
|
constructor(data) {
|
|
@@ -586,7 +593,7 @@ var testsystem2;
|
|
|
586
593
|
};
|
|
587
594
|
_one_of_decls = new WeakMap();
|
|
588
595
|
let TestCaseSpec = _TestCaseSpec;
|
|
589
|
-
|
|
596
|
+
entities2.TestCaseSpec = _TestCaseSpec;
|
|
590
597
|
const _TestCaseRun = class _TestCaseRun extends pb_14.Message {
|
|
591
598
|
constructor(data) {
|
|
592
599
|
super();
|
|
@@ -632,6 +639,18 @@ var testsystem2;
|
|
|
632
639
|
if ("actual_tags" in data && data.actual_tags != void 0) {
|
|
633
640
|
this.actual_tags = data.actual_tags;
|
|
634
641
|
}
|
|
642
|
+
if ("duration" in data && data.duration != void 0) {
|
|
643
|
+
this.duration = data.duration;
|
|
644
|
+
}
|
|
645
|
+
if ("retry_count" in data && data.retry_count != void 0) {
|
|
646
|
+
this.retry_count = data.retry_count;
|
|
647
|
+
}
|
|
648
|
+
if ("retry_index" in data && data.retry_index != void 0) {
|
|
649
|
+
this.retry_index = data.retry_index;
|
|
650
|
+
}
|
|
651
|
+
if ("timeout" in data && data.timeout != void 0) {
|
|
652
|
+
this.timeout = data.timeout;
|
|
653
|
+
}
|
|
635
654
|
}
|
|
636
655
|
if (!this.metadata)
|
|
637
656
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -717,6 +736,33 @@ var testsystem2;
|
|
|
717
736
|
set actual_tags(value) {
|
|
718
737
|
pb_14.Message.setField(this, 13, value);
|
|
719
738
|
}
|
|
739
|
+
get duration() {
|
|
740
|
+
return pb_14.Message.getWrapperField(this, google2.protobuf.Duration, 14);
|
|
741
|
+
}
|
|
742
|
+
set duration(value) {
|
|
743
|
+
pb_14.Message.setWrapperField(this, 14, value);
|
|
744
|
+
}
|
|
745
|
+
get has_duration() {
|
|
746
|
+
return pb_14.Message.getField(this, 14) != null;
|
|
747
|
+
}
|
|
748
|
+
get retry_count() {
|
|
749
|
+
return pb_14.Message.getFieldWithDefault(this, 15, 0);
|
|
750
|
+
}
|
|
751
|
+
set retry_count(value) {
|
|
752
|
+
pb_14.Message.setField(this, 15, value);
|
|
753
|
+
}
|
|
754
|
+
get retry_index() {
|
|
755
|
+
return pb_14.Message.getFieldWithDefault(this, 16, 0);
|
|
756
|
+
}
|
|
757
|
+
set retry_index(value) {
|
|
758
|
+
pb_14.Message.setField(this, 16, value);
|
|
759
|
+
}
|
|
760
|
+
get timeout() {
|
|
761
|
+
return pb_14.Message.getFieldWithDefault(this, 17, 0);
|
|
762
|
+
}
|
|
763
|
+
set timeout(value) {
|
|
764
|
+
pb_14.Message.setField(this, 17, value);
|
|
765
|
+
}
|
|
720
766
|
static fromObject(data) {
|
|
721
767
|
const message = new _TestCaseRun({});
|
|
722
768
|
if (data.id != null) {
|
|
@@ -758,6 +804,18 @@ var testsystem2;
|
|
|
758
804
|
if (data.actual_tags != null) {
|
|
759
805
|
message.actual_tags = data.actual_tags;
|
|
760
806
|
}
|
|
807
|
+
if (data.duration != null) {
|
|
808
|
+
message.duration = google2.protobuf.Duration.fromObject(data.duration);
|
|
809
|
+
}
|
|
810
|
+
if (data.retry_count != null) {
|
|
811
|
+
message.retry_count = data.retry_count;
|
|
812
|
+
}
|
|
813
|
+
if (data.retry_index != null) {
|
|
814
|
+
message.retry_index = data.retry_index;
|
|
815
|
+
}
|
|
816
|
+
if (data.timeout != null) {
|
|
817
|
+
message.timeout = data.timeout;
|
|
818
|
+
}
|
|
761
819
|
return message;
|
|
762
820
|
}
|
|
763
821
|
toObject() {
|
|
@@ -801,6 +859,18 @@ var testsystem2;
|
|
|
801
859
|
if (this.actual_tags != null) {
|
|
802
860
|
data.actual_tags = this.actual_tags;
|
|
803
861
|
}
|
|
862
|
+
if (this.duration != null) {
|
|
863
|
+
data.duration = this.duration.toObject();
|
|
864
|
+
}
|
|
865
|
+
if (this.retry_count != null) {
|
|
866
|
+
data.retry_count = this.retry_count;
|
|
867
|
+
}
|
|
868
|
+
if (this.retry_index != null) {
|
|
869
|
+
data.retry_index = this.retry_index;
|
|
870
|
+
}
|
|
871
|
+
if (this.timeout != null) {
|
|
872
|
+
data.timeout = this.timeout;
|
|
873
|
+
}
|
|
804
874
|
return data;
|
|
805
875
|
}
|
|
806
876
|
serialize(w) {
|
|
@@ -835,6 +905,14 @@ var testsystem2;
|
|
|
835
905
|
writer.writeRepeatedString(12, this.errors);
|
|
836
906
|
if (this.actual_tags.length)
|
|
837
907
|
writer.writeRepeatedString(13, this.actual_tags);
|
|
908
|
+
if (this.has_duration)
|
|
909
|
+
writer.writeMessage(14, this.duration, () => this.duration.serialize(writer));
|
|
910
|
+
if (this.retry_count != 0)
|
|
911
|
+
writer.writeInt32(15, this.retry_count);
|
|
912
|
+
if (this.retry_index != 0)
|
|
913
|
+
writer.writeInt32(16, this.retry_index);
|
|
914
|
+
if (this.timeout != 0)
|
|
915
|
+
writer.writeInt32(17, this.timeout);
|
|
838
916
|
if (!w)
|
|
839
917
|
return writer.getResultBuffer();
|
|
840
918
|
}
|
|
@@ -883,6 +961,18 @@ var testsystem2;
|
|
|
883
961
|
case 13:
|
|
884
962
|
pb_14.Message.addToRepeatedField(message, 13, reader.readString());
|
|
885
963
|
break;
|
|
964
|
+
case 14:
|
|
965
|
+
reader.readMessage(message.duration, () => message.duration = google2.protobuf.Duration.deserialize(reader));
|
|
966
|
+
break;
|
|
967
|
+
case 15:
|
|
968
|
+
message.retry_count = reader.readInt32();
|
|
969
|
+
break;
|
|
970
|
+
case 16:
|
|
971
|
+
message.retry_index = reader.readInt32();
|
|
972
|
+
break;
|
|
973
|
+
case 17:
|
|
974
|
+
message.timeout = reader.readInt32();
|
|
975
|
+
break;
|
|
886
976
|
default:
|
|
887
977
|
reader.skipField();
|
|
888
978
|
}
|
|
@@ -898,7 +988,7 @@ var testsystem2;
|
|
|
898
988
|
};
|
|
899
989
|
_one_of_decls2 = new WeakMap();
|
|
900
990
|
let TestCaseRun = _TestCaseRun;
|
|
901
|
-
|
|
991
|
+
entities2.TestCaseRun = _TestCaseRun;
|
|
902
992
|
const _StepRun = class _StepRun extends pb_14.Message {
|
|
903
993
|
constructor(data) {
|
|
904
994
|
super();
|
|
@@ -950,6 +1040,9 @@ var testsystem2;
|
|
|
950
1040
|
if ("location" in data && data.location != void 0) {
|
|
951
1041
|
this.location = data.location;
|
|
952
1042
|
}
|
|
1043
|
+
if ("category" in data && data.category != void 0) {
|
|
1044
|
+
this.category = data.category;
|
|
1045
|
+
}
|
|
953
1046
|
}
|
|
954
1047
|
if (!this.metadata)
|
|
955
1048
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -1050,6 +1143,12 @@ var testsystem2;
|
|
|
1050
1143
|
set location(value) {
|
|
1051
1144
|
pb_14.Message.setField(this, 15, value);
|
|
1052
1145
|
}
|
|
1146
|
+
get category() {
|
|
1147
|
+
return pb_14.Message.getFieldWithDefault(this, 16, "");
|
|
1148
|
+
}
|
|
1149
|
+
set category(value) {
|
|
1150
|
+
pb_14.Message.setField(this, 16, value);
|
|
1151
|
+
}
|
|
1053
1152
|
static fromObject(data) {
|
|
1054
1153
|
const message = new _StepRun({});
|
|
1055
1154
|
if (data.id != null) {
|
|
@@ -1097,6 +1196,9 @@ var testsystem2;
|
|
|
1097
1196
|
if (data.location != null) {
|
|
1098
1197
|
message.location = data.location;
|
|
1099
1198
|
}
|
|
1199
|
+
if (data.category != null) {
|
|
1200
|
+
message.category = data.category;
|
|
1201
|
+
}
|
|
1100
1202
|
return message;
|
|
1101
1203
|
}
|
|
1102
1204
|
toObject() {
|
|
@@ -1146,6 +1248,9 @@ var testsystem2;
|
|
|
1146
1248
|
if (this.location != null) {
|
|
1147
1249
|
data.location = this.location;
|
|
1148
1250
|
}
|
|
1251
|
+
if (this.category != null) {
|
|
1252
|
+
data.category = this.category;
|
|
1253
|
+
}
|
|
1149
1254
|
return data;
|
|
1150
1255
|
}
|
|
1151
1256
|
serialize(w) {
|
|
@@ -1184,6 +1289,8 @@ var testsystem2;
|
|
|
1184
1289
|
writer.writeRepeatedString(14, this.errors);
|
|
1185
1290
|
if (this.location.length)
|
|
1186
1291
|
writer.writeString(15, this.location);
|
|
1292
|
+
if (this.category.length)
|
|
1293
|
+
writer.writeString(16, this.category);
|
|
1187
1294
|
if (!w)
|
|
1188
1295
|
return writer.getResultBuffer();
|
|
1189
1296
|
}
|
|
@@ -1238,6 +1345,9 @@ var testsystem2;
|
|
|
1238
1345
|
case 15:
|
|
1239
1346
|
message.location = reader.readString();
|
|
1240
1347
|
break;
|
|
1348
|
+
case 16:
|
|
1349
|
+
message.category = reader.readString();
|
|
1350
|
+
break;
|
|
1241
1351
|
default:
|
|
1242
1352
|
reader.skipField();
|
|
1243
1353
|
}
|
|
@@ -1253,8 +1363,8 @@ var testsystem2;
|
|
|
1253
1363
|
};
|
|
1254
1364
|
_one_of_decls3 = new WeakMap();
|
|
1255
1365
|
let StepRun = _StepRun;
|
|
1256
|
-
|
|
1257
|
-
})(
|
|
1366
|
+
entities2.StepRun = _StepRun;
|
|
1367
|
+
})(entities = v12.entities || (v12.entities = {}));
|
|
1258
1368
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
1259
1369
|
})(testsystem2 || (testsystem2 = {}));
|
|
1260
1370
|
|
|
@@ -1264,15 +1374,15 @@ var testsystem3;
|
|
|
1264
1374
|
((testsystem7) => {
|
|
1265
1375
|
let v1;
|
|
1266
1376
|
((v12) => {
|
|
1267
|
-
let
|
|
1268
|
-
((
|
|
1377
|
+
let entities;
|
|
1378
|
+
((entities2) => {
|
|
1269
1379
|
var _one_of_decls, _one_of_decls2;
|
|
1270
1380
|
let SuiteType;
|
|
1271
1381
|
((SuiteType2) => {
|
|
1272
1382
|
SuiteType2[SuiteType2["ROOT"] = 0] = "ROOT";
|
|
1273
1383
|
SuiteType2[SuiteType2["PROJECT"] = 1] = "PROJECT";
|
|
1274
1384
|
SuiteType2[SuiteType2["SUBSUITE"] = 2] = "SUBSUITE";
|
|
1275
|
-
})(SuiteType =
|
|
1385
|
+
})(SuiteType = entities2.SuiteType || (entities2.SuiteType = {}));
|
|
1276
1386
|
const _TestSuiteRun = class _TestSuiteRun extends pb_15.Message {
|
|
1277
1387
|
constructor(data) {
|
|
1278
1388
|
super();
|
|
@@ -1309,6 +1419,9 @@ var testsystem3;
|
|
|
1309
1419
|
if ("initiated_by" in data && data.initiated_by != void 0) {
|
|
1310
1420
|
this.initiated_by = data.initiated_by;
|
|
1311
1421
|
}
|
|
1422
|
+
if ("project_name" in data && data.project_name != void 0) {
|
|
1423
|
+
this.project_name = data.project_name;
|
|
1424
|
+
}
|
|
1312
1425
|
}
|
|
1313
1426
|
if (!this.metadata)
|
|
1314
1427
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -1382,6 +1495,12 @@ var testsystem3;
|
|
|
1382
1495
|
set initiated_by(value) {
|
|
1383
1496
|
pb_15.Message.setField(this, 10, value);
|
|
1384
1497
|
}
|
|
1498
|
+
get project_name() {
|
|
1499
|
+
return pb_15.Message.getFieldWithDefault(this, 11, "");
|
|
1500
|
+
}
|
|
1501
|
+
set project_name(value) {
|
|
1502
|
+
pb_15.Message.setField(this, 11, value);
|
|
1503
|
+
}
|
|
1385
1504
|
static fromObject(data) {
|
|
1386
1505
|
const message = new _TestSuiteRun({});
|
|
1387
1506
|
if (data.id != null) {
|
|
@@ -1414,6 +1533,9 @@ var testsystem3;
|
|
|
1414
1533
|
if (data.initiated_by != null) {
|
|
1415
1534
|
message.initiated_by = data.initiated_by;
|
|
1416
1535
|
}
|
|
1536
|
+
if (data.project_name != null) {
|
|
1537
|
+
message.project_name = data.project_name;
|
|
1538
|
+
}
|
|
1417
1539
|
return message;
|
|
1418
1540
|
}
|
|
1419
1541
|
toObject() {
|
|
@@ -1448,6 +1570,9 @@ var testsystem3;
|
|
|
1448
1570
|
if (this.initiated_by != null) {
|
|
1449
1571
|
data.initiated_by = this.initiated_by;
|
|
1450
1572
|
}
|
|
1573
|
+
if (this.project_name != null) {
|
|
1574
|
+
data.project_name = this.project_name;
|
|
1575
|
+
}
|
|
1451
1576
|
return data;
|
|
1452
1577
|
}
|
|
1453
1578
|
serialize(w) {
|
|
@@ -1476,6 +1601,8 @@ var testsystem3;
|
|
|
1476
1601
|
writer.writeString(9, this.test_suite_spec_id);
|
|
1477
1602
|
if (this.initiated_by.length)
|
|
1478
1603
|
writer.writeString(10, this.initiated_by);
|
|
1604
|
+
if (this.project_name.length)
|
|
1605
|
+
writer.writeString(11, this.project_name);
|
|
1479
1606
|
if (!w)
|
|
1480
1607
|
return writer.getResultBuffer();
|
|
1481
1608
|
}
|
|
@@ -1515,6 +1642,9 @@ var testsystem3;
|
|
|
1515
1642
|
case 10:
|
|
1516
1643
|
message.initiated_by = reader.readString();
|
|
1517
1644
|
break;
|
|
1645
|
+
case 11:
|
|
1646
|
+
message.project_name = reader.readString();
|
|
1647
|
+
break;
|
|
1518
1648
|
default:
|
|
1519
1649
|
reader.skipField();
|
|
1520
1650
|
}
|
|
@@ -1530,7 +1660,7 @@ var testsystem3;
|
|
|
1530
1660
|
};
|
|
1531
1661
|
_one_of_decls = new WeakMap();
|
|
1532
1662
|
let TestSuiteRun = _TestSuiteRun;
|
|
1533
|
-
|
|
1663
|
+
entities2.TestSuiteRun = _TestSuiteRun;
|
|
1534
1664
|
const _TestSuiteSpec = class _TestSuiteSpec extends pb_15.Message {
|
|
1535
1665
|
constructor(data) {
|
|
1536
1666
|
super();
|
|
@@ -1573,6 +1703,9 @@ var testsystem3;
|
|
|
1573
1703
|
if ("owner" in data && data.owner != void 0) {
|
|
1574
1704
|
this.owner = data.owner;
|
|
1575
1705
|
}
|
|
1706
|
+
if ("project" in data && data.project != void 0) {
|
|
1707
|
+
this.project = data.project;
|
|
1708
|
+
}
|
|
1576
1709
|
}
|
|
1577
1710
|
if (!this.metadata)
|
|
1578
1711
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -1649,6 +1782,12 @@ var testsystem3;
|
|
|
1649
1782
|
set owner(value) {
|
|
1650
1783
|
pb_15.Message.setField(this, 12, value);
|
|
1651
1784
|
}
|
|
1785
|
+
get project() {
|
|
1786
|
+
return pb_15.Message.getFieldWithDefault(this, 13, "");
|
|
1787
|
+
}
|
|
1788
|
+
set project(value) {
|
|
1789
|
+
pb_15.Message.setField(this, 13, value);
|
|
1790
|
+
}
|
|
1652
1791
|
static fromObject(data) {
|
|
1653
1792
|
const message = new _TestSuiteSpec({});
|
|
1654
1793
|
if (data.id != null) {
|
|
@@ -1687,6 +1826,9 @@ var testsystem3;
|
|
|
1687
1826
|
if (data.owner != null) {
|
|
1688
1827
|
message.owner = data.owner;
|
|
1689
1828
|
}
|
|
1829
|
+
if (data.project != null) {
|
|
1830
|
+
message.project = data.project;
|
|
1831
|
+
}
|
|
1690
1832
|
return message;
|
|
1691
1833
|
}
|
|
1692
1834
|
toObject() {
|
|
@@ -1727,6 +1869,9 @@ var testsystem3;
|
|
|
1727
1869
|
if (this.owner != null) {
|
|
1728
1870
|
data.owner = this.owner;
|
|
1729
1871
|
}
|
|
1872
|
+
if (this.project != null) {
|
|
1873
|
+
data.project = this.project;
|
|
1874
|
+
}
|
|
1730
1875
|
return data;
|
|
1731
1876
|
}
|
|
1732
1877
|
serialize(w) {
|
|
@@ -1759,6 +1904,8 @@ var testsystem3;
|
|
|
1759
1904
|
writer.writeString(11, this.author);
|
|
1760
1905
|
if (this.owner.length)
|
|
1761
1906
|
writer.writeString(12, this.owner);
|
|
1907
|
+
if (this.project.length)
|
|
1908
|
+
writer.writeString(13, this.project);
|
|
1762
1909
|
if (!w)
|
|
1763
1910
|
return writer.getResultBuffer();
|
|
1764
1911
|
}
|
|
@@ -1804,6 +1951,9 @@ var testsystem3;
|
|
|
1804
1951
|
case 12:
|
|
1805
1952
|
message.owner = reader.readString();
|
|
1806
1953
|
break;
|
|
1954
|
+
case 13:
|
|
1955
|
+
message.project = reader.readString();
|
|
1956
|
+
break;
|
|
1807
1957
|
default:
|
|
1808
1958
|
reader.skipField();
|
|
1809
1959
|
}
|
|
@@ -1819,8 +1969,8 @@ var testsystem3;
|
|
|
1819
1969
|
};
|
|
1820
1970
|
_one_of_decls2 = new WeakMap();
|
|
1821
1971
|
let TestSuiteSpec = _TestSuiteSpec;
|
|
1822
|
-
|
|
1823
|
-
})(
|
|
1972
|
+
entities2.TestSuiteSpec = _TestSuiteSpec;
|
|
1973
|
+
})(entities = v12.entities || (v12.entities = {}));
|
|
1824
1974
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
1825
1975
|
})(testsystem3 || (testsystem3 = {}));
|
|
1826
1976
|
|
|
@@ -1830,8 +1980,8 @@ var testsystem4;
|
|
|
1830
1980
|
((testsystem7) => {
|
|
1831
1981
|
let v1;
|
|
1832
1982
|
((v12) => {
|
|
1833
|
-
let
|
|
1834
|
-
((
|
|
1983
|
+
let events;
|
|
1984
|
+
((events2) => {
|
|
1835
1985
|
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
1986
|
const _TestBeginEventRequest = class _TestBeginEventRequest extends pb_16.Message {
|
|
1837
1987
|
constructor(data) {
|
|
@@ -1898,7 +2048,7 @@ var testsystem4;
|
|
|
1898
2048
|
};
|
|
1899
2049
|
_one_of_decls = new WeakMap();
|
|
1900
2050
|
let TestBeginEventRequest = _TestBeginEventRequest;
|
|
1901
|
-
|
|
2051
|
+
events2.TestBeginEventRequest = _TestBeginEventRequest;
|
|
1902
2052
|
const _TestEndEventRequest = class _TestEndEventRequest extends pb_16.Message {
|
|
1903
2053
|
constructor(data) {
|
|
1904
2054
|
super();
|
|
@@ -1964,7 +2114,7 @@ var testsystem4;
|
|
|
1964
2114
|
};
|
|
1965
2115
|
_one_of_decls2 = new WeakMap();
|
|
1966
2116
|
let TestEndEventRequest = _TestEndEventRequest;
|
|
1967
|
-
|
|
2117
|
+
events2.TestEndEventRequest = _TestEndEventRequest;
|
|
1968
2118
|
const _StepBeginEventRequest = class _StepBeginEventRequest extends pb_16.Message {
|
|
1969
2119
|
constructor(data) {
|
|
1970
2120
|
super();
|
|
@@ -2030,7 +2180,7 @@ var testsystem4;
|
|
|
2030
2180
|
};
|
|
2031
2181
|
_one_of_decls3 = new WeakMap();
|
|
2032
2182
|
let StepBeginEventRequest = _StepBeginEventRequest;
|
|
2033
|
-
|
|
2183
|
+
events2.StepBeginEventRequest = _StepBeginEventRequest;
|
|
2034
2184
|
const _StepEndEventRequest = class _StepEndEventRequest extends pb_16.Message {
|
|
2035
2185
|
constructor(data) {
|
|
2036
2186
|
super();
|
|
@@ -2096,7 +2246,7 @@ var testsystem4;
|
|
|
2096
2246
|
};
|
|
2097
2247
|
_one_of_decls4 = new WeakMap();
|
|
2098
2248
|
let StepEndEventRequest = _StepEndEventRequest;
|
|
2099
|
-
|
|
2249
|
+
events2.StepEndEventRequest = _StepEndEventRequest;
|
|
2100
2250
|
const _TestFailureEventRequest = class _TestFailureEventRequest extends pb_16.Message {
|
|
2101
2251
|
constructor(data) {
|
|
2102
2252
|
super();
|
|
@@ -2242,7 +2392,7 @@ var testsystem4;
|
|
|
2242
2392
|
};
|
|
2243
2393
|
_one_of_decls5 = new WeakMap();
|
|
2244
2394
|
let TestFailureEventRequest = _TestFailureEventRequest;
|
|
2245
|
-
|
|
2395
|
+
events2.TestFailureEventRequest = _TestFailureEventRequest;
|
|
2246
2396
|
const _TestErrorEventRequest = class _TestErrorEventRequest extends pb_16.Message {
|
|
2247
2397
|
constructor(data) {
|
|
2248
2398
|
super();
|
|
@@ -2388,7 +2538,7 @@ var testsystem4;
|
|
|
2388
2538
|
};
|
|
2389
2539
|
_one_of_decls6 = new WeakMap();
|
|
2390
2540
|
let TestErrorEventRequest = _TestErrorEventRequest;
|
|
2391
|
-
|
|
2541
|
+
events2.TestErrorEventRequest = _TestErrorEventRequest;
|
|
2392
2542
|
const _StdErrorEventRequest = class _StdErrorEventRequest extends pb_16.Message {
|
|
2393
2543
|
constructor(data) {
|
|
2394
2544
|
super();
|
|
@@ -2404,6 +2554,9 @@ var testsystem4;
|
|
|
2404
2554
|
if ("timestamp" in data && data.timestamp != void 0) {
|
|
2405
2555
|
this.timestamp = data.timestamp;
|
|
2406
2556
|
}
|
|
2557
|
+
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
2558
|
+
this.test_case_run_id = data.test_case_run_id;
|
|
2559
|
+
}
|
|
2407
2560
|
}
|
|
2408
2561
|
}
|
|
2409
2562
|
get test_id() {
|
|
@@ -2427,6 +2580,12 @@ var testsystem4;
|
|
|
2427
2580
|
get has_timestamp() {
|
|
2428
2581
|
return pb_16.Message.getField(this, 3) != null;
|
|
2429
2582
|
}
|
|
2583
|
+
get test_case_run_id() {
|
|
2584
|
+
return pb_16.Message.getFieldWithDefault(this, 4, "");
|
|
2585
|
+
}
|
|
2586
|
+
set test_case_run_id(value) {
|
|
2587
|
+
pb_16.Message.setField(this, 4, value);
|
|
2588
|
+
}
|
|
2430
2589
|
static fromObject(data) {
|
|
2431
2590
|
const message = new _StdErrorEventRequest({});
|
|
2432
2591
|
if (data.test_id != null) {
|
|
@@ -2438,6 +2597,9 @@ var testsystem4;
|
|
|
2438
2597
|
if (data.timestamp != null) {
|
|
2439
2598
|
message.timestamp = google.protobuf.Timestamp.fromObject(data.timestamp);
|
|
2440
2599
|
}
|
|
2600
|
+
if (data.test_case_run_id != null) {
|
|
2601
|
+
message.test_case_run_id = data.test_case_run_id;
|
|
2602
|
+
}
|
|
2441
2603
|
return message;
|
|
2442
2604
|
}
|
|
2443
2605
|
toObject() {
|
|
@@ -2451,6 +2613,9 @@ var testsystem4;
|
|
|
2451
2613
|
if (this.timestamp != null) {
|
|
2452
2614
|
data.timestamp = this.timestamp.toObject();
|
|
2453
2615
|
}
|
|
2616
|
+
if (this.test_case_run_id != null) {
|
|
2617
|
+
data.test_case_run_id = this.test_case_run_id;
|
|
2618
|
+
}
|
|
2454
2619
|
return data;
|
|
2455
2620
|
}
|
|
2456
2621
|
serialize(w) {
|
|
@@ -2461,6 +2626,8 @@ var testsystem4;
|
|
|
2461
2626
|
writer.writeString(2, this.message);
|
|
2462
2627
|
if (this.has_timestamp)
|
|
2463
2628
|
writer.writeMessage(3, this.timestamp, () => this.timestamp.serialize(writer));
|
|
2629
|
+
if (this.test_case_run_id.length)
|
|
2630
|
+
writer.writeString(4, this.test_case_run_id);
|
|
2464
2631
|
if (!w)
|
|
2465
2632
|
return writer.getResultBuffer();
|
|
2466
2633
|
}
|
|
@@ -2479,6 +2646,9 @@ var testsystem4;
|
|
|
2479
2646
|
case 3:
|
|
2480
2647
|
reader.readMessage(message.timestamp, () => message.timestamp = google.protobuf.Timestamp.deserialize(reader));
|
|
2481
2648
|
break;
|
|
2649
|
+
case 4:
|
|
2650
|
+
message.test_case_run_id = reader.readString();
|
|
2651
|
+
break;
|
|
2482
2652
|
default:
|
|
2483
2653
|
reader.skipField();
|
|
2484
2654
|
}
|
|
@@ -2494,7 +2664,7 @@ var testsystem4;
|
|
|
2494
2664
|
};
|
|
2495
2665
|
_one_of_decls7 = new WeakMap();
|
|
2496
2666
|
let StdErrorEventRequest = _StdErrorEventRequest;
|
|
2497
|
-
|
|
2667
|
+
events2.StdErrorEventRequest = _StdErrorEventRequest;
|
|
2498
2668
|
const _StdOutputEventRequest = class _StdOutputEventRequest extends pb_16.Message {
|
|
2499
2669
|
constructor(data) {
|
|
2500
2670
|
super();
|
|
@@ -2510,6 +2680,9 @@ var testsystem4;
|
|
|
2510
2680
|
if ("timestamp" in data && data.timestamp != void 0) {
|
|
2511
2681
|
this.timestamp = data.timestamp;
|
|
2512
2682
|
}
|
|
2683
|
+
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
2684
|
+
this.test_case_run_id = data.test_case_run_id;
|
|
2685
|
+
}
|
|
2513
2686
|
}
|
|
2514
2687
|
}
|
|
2515
2688
|
get test_id() {
|
|
@@ -2533,6 +2706,12 @@ var testsystem4;
|
|
|
2533
2706
|
get has_timestamp() {
|
|
2534
2707
|
return pb_16.Message.getField(this, 3) != null;
|
|
2535
2708
|
}
|
|
2709
|
+
get test_case_run_id() {
|
|
2710
|
+
return pb_16.Message.getFieldWithDefault(this, 4, "");
|
|
2711
|
+
}
|
|
2712
|
+
set test_case_run_id(value) {
|
|
2713
|
+
pb_16.Message.setField(this, 4, value);
|
|
2714
|
+
}
|
|
2536
2715
|
static fromObject(data) {
|
|
2537
2716
|
const message = new _StdOutputEventRequest({});
|
|
2538
2717
|
if (data.test_id != null) {
|
|
@@ -2544,6 +2723,9 @@ var testsystem4;
|
|
|
2544
2723
|
if (data.timestamp != null) {
|
|
2545
2724
|
message.timestamp = google.protobuf.Timestamp.fromObject(data.timestamp);
|
|
2546
2725
|
}
|
|
2726
|
+
if (data.test_case_run_id != null) {
|
|
2727
|
+
message.test_case_run_id = data.test_case_run_id;
|
|
2728
|
+
}
|
|
2547
2729
|
return message;
|
|
2548
2730
|
}
|
|
2549
2731
|
toObject() {
|
|
@@ -2557,6 +2739,9 @@ var testsystem4;
|
|
|
2557
2739
|
if (this.timestamp != null) {
|
|
2558
2740
|
data.timestamp = this.timestamp.toObject();
|
|
2559
2741
|
}
|
|
2742
|
+
if (this.test_case_run_id != null) {
|
|
2743
|
+
data.test_case_run_id = this.test_case_run_id;
|
|
2744
|
+
}
|
|
2560
2745
|
return data;
|
|
2561
2746
|
}
|
|
2562
2747
|
serialize(w) {
|
|
@@ -2567,6 +2752,8 @@ var testsystem4;
|
|
|
2567
2752
|
writer.writeString(2, this.message);
|
|
2568
2753
|
if (this.has_timestamp)
|
|
2569
2754
|
writer.writeMessage(3, this.timestamp, () => this.timestamp.serialize(writer));
|
|
2755
|
+
if (this.test_case_run_id.length)
|
|
2756
|
+
writer.writeString(4, this.test_case_run_id);
|
|
2570
2757
|
if (!w)
|
|
2571
2758
|
return writer.getResultBuffer();
|
|
2572
2759
|
}
|
|
@@ -2585,6 +2772,9 @@ var testsystem4;
|
|
|
2585
2772
|
case 3:
|
|
2586
2773
|
reader.readMessage(message.timestamp, () => message.timestamp = google.protobuf.Timestamp.deserialize(reader));
|
|
2587
2774
|
break;
|
|
2775
|
+
case 4:
|
|
2776
|
+
message.test_case_run_id = reader.readString();
|
|
2777
|
+
break;
|
|
2588
2778
|
default:
|
|
2589
2779
|
reader.skipField();
|
|
2590
2780
|
}
|
|
@@ -2600,7 +2790,7 @@ var testsystem4;
|
|
|
2600
2790
|
};
|
|
2601
2791
|
_one_of_decls8 = new WeakMap();
|
|
2602
2792
|
let StdOutputEventRequest = _StdOutputEventRequest;
|
|
2603
|
-
|
|
2793
|
+
events2.StdOutputEventRequest = _StdOutputEventRequest;
|
|
2604
2794
|
const _SuiteBeginEventRequest = class _SuiteBeginEventRequest extends pb_16.Message {
|
|
2605
2795
|
constructor(data) {
|
|
2606
2796
|
super();
|
|
@@ -2666,7 +2856,7 @@ var testsystem4;
|
|
|
2666
2856
|
};
|
|
2667
2857
|
_one_of_decls9 = new WeakMap();
|
|
2668
2858
|
let SuiteBeginEventRequest = _SuiteBeginEventRequest;
|
|
2669
|
-
|
|
2859
|
+
events2.SuiteBeginEventRequest = _SuiteBeginEventRequest;
|
|
2670
2860
|
const _SuiteEndEventRequest = class _SuiteEndEventRequest extends pb_16.Message {
|
|
2671
2861
|
constructor(data) {
|
|
2672
2862
|
super();
|
|
@@ -2732,7 +2922,7 @@ var testsystem4;
|
|
|
2732
2922
|
};
|
|
2733
2923
|
_one_of_decls10 = new WeakMap();
|
|
2734
2924
|
let SuiteEndEventRequest = _SuiteEndEventRequest;
|
|
2735
|
-
|
|
2925
|
+
events2.SuiteEndEventRequest = _SuiteEndEventRequest;
|
|
2736
2926
|
const _HeartbeatEventRequest = class _HeartbeatEventRequest extends pb_16.Message {
|
|
2737
2927
|
constructor(data) {
|
|
2738
2928
|
super();
|
|
@@ -2818,8 +3008,8 @@ var testsystem4;
|
|
|
2818
3008
|
};
|
|
2819
3009
|
_one_of_decls11 = new WeakMap();
|
|
2820
3010
|
let HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2821
|
-
|
|
2822
|
-
})(
|
|
3011
|
+
events2.HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
3012
|
+
})(events = v12.events || (v12.events = {}));
|
|
2823
3013
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
2824
3014
|
})(testsystem4 || (testsystem4 = {}));
|
|
2825
3015
|
|
|
@@ -2830,8 +3020,8 @@ var testsystem5;
|
|
|
2830
3020
|
((testsystem7) => {
|
|
2831
3021
|
let v1;
|
|
2832
3022
|
((v12) => {
|
|
2833
|
-
let
|
|
2834
|
-
((
|
|
3023
|
+
let observer;
|
|
3024
|
+
((observer2) => {
|
|
2835
3025
|
var _one_of_decls;
|
|
2836
3026
|
const _AckResponse = class _AckResponse extends pb_17.Message {
|
|
2837
3027
|
constructor(data) {
|
|
@@ -2945,7 +3135,7 @@ var testsystem5;
|
|
|
2945
3135
|
};
|
|
2946
3136
|
_one_of_decls = new WeakMap();
|
|
2947
3137
|
let AckResponse = _AckResponse;
|
|
2948
|
-
|
|
3138
|
+
observer2.AckResponse = _AckResponse;
|
|
2949
3139
|
class UnimplementedTestEventCollectorService {
|
|
2950
3140
|
}
|
|
2951
3141
|
UnimplementedTestEventCollectorService.definition = {
|
|
@@ -3049,7 +3239,7 @@ var testsystem5;
|
|
|
3049
3239
|
responseDeserialize: (bytes) => AckResponse.deserialize(new Uint8Array(bytes))
|
|
3050
3240
|
}
|
|
3051
3241
|
};
|
|
3052
|
-
|
|
3242
|
+
observer2.UnimplementedTestEventCollectorService = UnimplementedTestEventCollectorService;
|
|
3053
3243
|
class TestEventCollectorClient extends grpc_1.makeGenericClientConstructor(UnimplementedTestEventCollectorService.definition, "TestEventCollector", {}) {
|
|
3054
3244
|
constructor(address, credentials, options) {
|
|
3055
3245
|
super(address, credentials, options);
|
|
@@ -3088,51 +3278,28 @@ var testsystem5;
|
|
|
3088
3278
|
};
|
|
3089
3279
|
}
|
|
3090
3280
|
}
|
|
3091
|
-
|
|
3092
|
-
})(
|
|
3281
|
+
observer2.TestEventCollectorClient = TestEventCollectorClient;
|
|
3282
|
+
})(observer = v12.observer || (v12.observer = {}));
|
|
3093
3283
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
3094
3284
|
})(testsystem5 || (testsystem5 = {}));
|
|
3095
3285
|
|
|
3096
3286
|
// 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
|
-
),
|
|
3287
|
+
var testsystem6 = Object.assign(
|
|
3288
|
+
{},
|
|
3289
|
+
testsystem,
|
|
3290
|
+
testsystem2,
|
|
3291
|
+
testsystem3,
|
|
3292
|
+
testsystem4,
|
|
3122
3293
|
testsystem5
|
|
3123
3294
|
);
|
|
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
3295
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3130
3296
|
0 && (module.exports = {
|
|
3131
3297
|
common,
|
|
3132
|
-
entities,
|
|
3133
3298
|
events,
|
|
3134
3299
|
google,
|
|
3135
3300
|
observer,
|
|
3301
|
+
testCase,
|
|
3302
|
+
testSuite,
|
|
3136
3303
|
testsystem
|
|
3137
3304
|
});
|
|
3138
3305
|
//# sourceMappingURL=index.js.map
|