@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.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,8 +366,8 @@ var testsystem2;
|
|
|
355
366
|
((testsystem7) => {
|
|
356
367
|
let v1;
|
|
357
368
|
((v12) => {
|
|
358
|
-
let
|
|
359
|
-
((
|
|
369
|
+
let entities;
|
|
370
|
+
((entities2) => {
|
|
360
371
|
var _one_of_decls, _one_of_decls2, _one_of_decls3;
|
|
361
372
|
const _TestCaseSpec = class _TestCaseSpec extends pb_14.Message {
|
|
362
373
|
constructor(data) {
|
|
@@ -546,7 +557,7 @@ var testsystem2;
|
|
|
546
557
|
};
|
|
547
558
|
_one_of_decls = new WeakMap();
|
|
548
559
|
let TestCaseSpec = _TestCaseSpec;
|
|
549
|
-
|
|
560
|
+
entities2.TestCaseSpec = _TestCaseSpec;
|
|
550
561
|
const _TestCaseRun = class _TestCaseRun extends pb_14.Message {
|
|
551
562
|
constructor(data) {
|
|
552
563
|
super();
|
|
@@ -592,6 +603,18 @@ var testsystem2;
|
|
|
592
603
|
if ("actual_tags" in data && data.actual_tags != void 0) {
|
|
593
604
|
this.actual_tags = data.actual_tags;
|
|
594
605
|
}
|
|
606
|
+
if ("duration" in data && data.duration != void 0) {
|
|
607
|
+
this.duration = data.duration;
|
|
608
|
+
}
|
|
609
|
+
if ("retry_count" in data && data.retry_count != void 0) {
|
|
610
|
+
this.retry_count = data.retry_count;
|
|
611
|
+
}
|
|
612
|
+
if ("retry_index" in data && data.retry_index != void 0) {
|
|
613
|
+
this.retry_index = data.retry_index;
|
|
614
|
+
}
|
|
615
|
+
if ("timeout" in data && data.timeout != void 0) {
|
|
616
|
+
this.timeout = data.timeout;
|
|
617
|
+
}
|
|
595
618
|
}
|
|
596
619
|
if (!this.metadata)
|
|
597
620
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -677,6 +700,33 @@ var testsystem2;
|
|
|
677
700
|
set actual_tags(value) {
|
|
678
701
|
pb_14.Message.setField(this, 13, value);
|
|
679
702
|
}
|
|
703
|
+
get duration() {
|
|
704
|
+
return pb_14.Message.getWrapperField(this, google2.protobuf.Duration, 14);
|
|
705
|
+
}
|
|
706
|
+
set duration(value) {
|
|
707
|
+
pb_14.Message.setWrapperField(this, 14, value);
|
|
708
|
+
}
|
|
709
|
+
get has_duration() {
|
|
710
|
+
return pb_14.Message.getField(this, 14) != null;
|
|
711
|
+
}
|
|
712
|
+
get retry_count() {
|
|
713
|
+
return pb_14.Message.getFieldWithDefault(this, 15, 0);
|
|
714
|
+
}
|
|
715
|
+
set retry_count(value) {
|
|
716
|
+
pb_14.Message.setField(this, 15, value);
|
|
717
|
+
}
|
|
718
|
+
get retry_index() {
|
|
719
|
+
return pb_14.Message.getFieldWithDefault(this, 16, 0);
|
|
720
|
+
}
|
|
721
|
+
set retry_index(value) {
|
|
722
|
+
pb_14.Message.setField(this, 16, value);
|
|
723
|
+
}
|
|
724
|
+
get timeout() {
|
|
725
|
+
return pb_14.Message.getFieldWithDefault(this, 17, 0);
|
|
726
|
+
}
|
|
727
|
+
set timeout(value) {
|
|
728
|
+
pb_14.Message.setField(this, 17, value);
|
|
729
|
+
}
|
|
680
730
|
static fromObject(data) {
|
|
681
731
|
const message = new _TestCaseRun({});
|
|
682
732
|
if (data.id != null) {
|
|
@@ -718,6 +768,18 @@ var testsystem2;
|
|
|
718
768
|
if (data.actual_tags != null) {
|
|
719
769
|
message.actual_tags = data.actual_tags;
|
|
720
770
|
}
|
|
771
|
+
if (data.duration != null) {
|
|
772
|
+
message.duration = google2.protobuf.Duration.fromObject(data.duration);
|
|
773
|
+
}
|
|
774
|
+
if (data.retry_count != null) {
|
|
775
|
+
message.retry_count = data.retry_count;
|
|
776
|
+
}
|
|
777
|
+
if (data.retry_index != null) {
|
|
778
|
+
message.retry_index = data.retry_index;
|
|
779
|
+
}
|
|
780
|
+
if (data.timeout != null) {
|
|
781
|
+
message.timeout = data.timeout;
|
|
782
|
+
}
|
|
721
783
|
return message;
|
|
722
784
|
}
|
|
723
785
|
toObject() {
|
|
@@ -761,6 +823,18 @@ var testsystem2;
|
|
|
761
823
|
if (this.actual_tags != null) {
|
|
762
824
|
data.actual_tags = this.actual_tags;
|
|
763
825
|
}
|
|
826
|
+
if (this.duration != null) {
|
|
827
|
+
data.duration = this.duration.toObject();
|
|
828
|
+
}
|
|
829
|
+
if (this.retry_count != null) {
|
|
830
|
+
data.retry_count = this.retry_count;
|
|
831
|
+
}
|
|
832
|
+
if (this.retry_index != null) {
|
|
833
|
+
data.retry_index = this.retry_index;
|
|
834
|
+
}
|
|
835
|
+
if (this.timeout != null) {
|
|
836
|
+
data.timeout = this.timeout;
|
|
837
|
+
}
|
|
764
838
|
return data;
|
|
765
839
|
}
|
|
766
840
|
serialize(w) {
|
|
@@ -795,6 +869,14 @@ var testsystem2;
|
|
|
795
869
|
writer.writeRepeatedString(12, this.errors);
|
|
796
870
|
if (this.actual_tags.length)
|
|
797
871
|
writer.writeRepeatedString(13, this.actual_tags);
|
|
872
|
+
if (this.has_duration)
|
|
873
|
+
writer.writeMessage(14, this.duration, () => this.duration.serialize(writer));
|
|
874
|
+
if (this.retry_count != 0)
|
|
875
|
+
writer.writeInt32(15, this.retry_count);
|
|
876
|
+
if (this.retry_index != 0)
|
|
877
|
+
writer.writeInt32(16, this.retry_index);
|
|
878
|
+
if (this.timeout != 0)
|
|
879
|
+
writer.writeInt32(17, this.timeout);
|
|
798
880
|
if (!w)
|
|
799
881
|
return writer.getResultBuffer();
|
|
800
882
|
}
|
|
@@ -843,6 +925,18 @@ var testsystem2;
|
|
|
843
925
|
case 13:
|
|
844
926
|
pb_14.Message.addToRepeatedField(message, 13, reader.readString());
|
|
845
927
|
break;
|
|
928
|
+
case 14:
|
|
929
|
+
reader.readMessage(message.duration, () => message.duration = google2.protobuf.Duration.deserialize(reader));
|
|
930
|
+
break;
|
|
931
|
+
case 15:
|
|
932
|
+
message.retry_count = reader.readInt32();
|
|
933
|
+
break;
|
|
934
|
+
case 16:
|
|
935
|
+
message.retry_index = reader.readInt32();
|
|
936
|
+
break;
|
|
937
|
+
case 17:
|
|
938
|
+
message.timeout = reader.readInt32();
|
|
939
|
+
break;
|
|
846
940
|
default:
|
|
847
941
|
reader.skipField();
|
|
848
942
|
}
|
|
@@ -858,7 +952,7 @@ var testsystem2;
|
|
|
858
952
|
};
|
|
859
953
|
_one_of_decls2 = new WeakMap();
|
|
860
954
|
let TestCaseRun = _TestCaseRun;
|
|
861
|
-
|
|
955
|
+
entities2.TestCaseRun = _TestCaseRun;
|
|
862
956
|
const _StepRun = class _StepRun extends pb_14.Message {
|
|
863
957
|
constructor(data) {
|
|
864
958
|
super();
|
|
@@ -910,6 +1004,9 @@ var testsystem2;
|
|
|
910
1004
|
if ("location" in data && data.location != void 0) {
|
|
911
1005
|
this.location = data.location;
|
|
912
1006
|
}
|
|
1007
|
+
if ("category" in data && data.category != void 0) {
|
|
1008
|
+
this.category = data.category;
|
|
1009
|
+
}
|
|
913
1010
|
}
|
|
914
1011
|
if (!this.metadata)
|
|
915
1012
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -1010,6 +1107,12 @@ var testsystem2;
|
|
|
1010
1107
|
set location(value) {
|
|
1011
1108
|
pb_14.Message.setField(this, 15, value);
|
|
1012
1109
|
}
|
|
1110
|
+
get category() {
|
|
1111
|
+
return pb_14.Message.getFieldWithDefault(this, 16, "");
|
|
1112
|
+
}
|
|
1113
|
+
set category(value) {
|
|
1114
|
+
pb_14.Message.setField(this, 16, value);
|
|
1115
|
+
}
|
|
1013
1116
|
static fromObject(data) {
|
|
1014
1117
|
const message = new _StepRun({});
|
|
1015
1118
|
if (data.id != null) {
|
|
@@ -1057,6 +1160,9 @@ var testsystem2;
|
|
|
1057
1160
|
if (data.location != null) {
|
|
1058
1161
|
message.location = data.location;
|
|
1059
1162
|
}
|
|
1163
|
+
if (data.category != null) {
|
|
1164
|
+
message.category = data.category;
|
|
1165
|
+
}
|
|
1060
1166
|
return message;
|
|
1061
1167
|
}
|
|
1062
1168
|
toObject() {
|
|
@@ -1106,6 +1212,9 @@ var testsystem2;
|
|
|
1106
1212
|
if (this.location != null) {
|
|
1107
1213
|
data.location = this.location;
|
|
1108
1214
|
}
|
|
1215
|
+
if (this.category != null) {
|
|
1216
|
+
data.category = this.category;
|
|
1217
|
+
}
|
|
1109
1218
|
return data;
|
|
1110
1219
|
}
|
|
1111
1220
|
serialize(w) {
|
|
@@ -1144,6 +1253,8 @@ var testsystem2;
|
|
|
1144
1253
|
writer.writeRepeatedString(14, this.errors);
|
|
1145
1254
|
if (this.location.length)
|
|
1146
1255
|
writer.writeString(15, this.location);
|
|
1256
|
+
if (this.category.length)
|
|
1257
|
+
writer.writeString(16, this.category);
|
|
1147
1258
|
if (!w)
|
|
1148
1259
|
return writer.getResultBuffer();
|
|
1149
1260
|
}
|
|
@@ -1198,6 +1309,9 @@ var testsystem2;
|
|
|
1198
1309
|
case 15:
|
|
1199
1310
|
message.location = reader.readString();
|
|
1200
1311
|
break;
|
|
1312
|
+
case 16:
|
|
1313
|
+
message.category = reader.readString();
|
|
1314
|
+
break;
|
|
1201
1315
|
default:
|
|
1202
1316
|
reader.skipField();
|
|
1203
1317
|
}
|
|
@@ -1213,8 +1327,8 @@ var testsystem2;
|
|
|
1213
1327
|
};
|
|
1214
1328
|
_one_of_decls3 = new WeakMap();
|
|
1215
1329
|
let StepRun = _StepRun;
|
|
1216
|
-
|
|
1217
|
-
})(
|
|
1330
|
+
entities2.StepRun = _StepRun;
|
|
1331
|
+
})(entities = v12.entities || (v12.entities = {}));
|
|
1218
1332
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
1219
1333
|
})(testsystem2 || (testsystem2 = {}));
|
|
1220
1334
|
|
|
@@ -1224,15 +1338,15 @@ var testsystem3;
|
|
|
1224
1338
|
((testsystem7) => {
|
|
1225
1339
|
let v1;
|
|
1226
1340
|
((v12) => {
|
|
1227
|
-
let
|
|
1228
|
-
((
|
|
1341
|
+
let entities;
|
|
1342
|
+
((entities2) => {
|
|
1229
1343
|
var _one_of_decls, _one_of_decls2;
|
|
1230
1344
|
let SuiteType;
|
|
1231
1345
|
((SuiteType2) => {
|
|
1232
1346
|
SuiteType2[SuiteType2["ROOT"] = 0] = "ROOT";
|
|
1233
1347
|
SuiteType2[SuiteType2["PROJECT"] = 1] = "PROJECT";
|
|
1234
1348
|
SuiteType2[SuiteType2["SUBSUITE"] = 2] = "SUBSUITE";
|
|
1235
|
-
})(SuiteType =
|
|
1349
|
+
})(SuiteType = entities2.SuiteType || (entities2.SuiteType = {}));
|
|
1236
1350
|
const _TestSuiteRun = class _TestSuiteRun extends pb_15.Message {
|
|
1237
1351
|
constructor(data) {
|
|
1238
1352
|
super();
|
|
@@ -1269,6 +1383,9 @@ var testsystem3;
|
|
|
1269
1383
|
if ("initiated_by" in data && data.initiated_by != void 0) {
|
|
1270
1384
|
this.initiated_by = data.initiated_by;
|
|
1271
1385
|
}
|
|
1386
|
+
if ("project_name" in data && data.project_name != void 0) {
|
|
1387
|
+
this.project_name = data.project_name;
|
|
1388
|
+
}
|
|
1272
1389
|
}
|
|
1273
1390
|
if (!this.metadata)
|
|
1274
1391
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -1342,6 +1459,12 @@ var testsystem3;
|
|
|
1342
1459
|
set initiated_by(value) {
|
|
1343
1460
|
pb_15.Message.setField(this, 10, value);
|
|
1344
1461
|
}
|
|
1462
|
+
get project_name() {
|
|
1463
|
+
return pb_15.Message.getFieldWithDefault(this, 11, "");
|
|
1464
|
+
}
|
|
1465
|
+
set project_name(value) {
|
|
1466
|
+
pb_15.Message.setField(this, 11, value);
|
|
1467
|
+
}
|
|
1345
1468
|
static fromObject(data) {
|
|
1346
1469
|
const message = new _TestSuiteRun({});
|
|
1347
1470
|
if (data.id != null) {
|
|
@@ -1374,6 +1497,9 @@ var testsystem3;
|
|
|
1374
1497
|
if (data.initiated_by != null) {
|
|
1375
1498
|
message.initiated_by = data.initiated_by;
|
|
1376
1499
|
}
|
|
1500
|
+
if (data.project_name != null) {
|
|
1501
|
+
message.project_name = data.project_name;
|
|
1502
|
+
}
|
|
1377
1503
|
return message;
|
|
1378
1504
|
}
|
|
1379
1505
|
toObject() {
|
|
@@ -1408,6 +1534,9 @@ var testsystem3;
|
|
|
1408
1534
|
if (this.initiated_by != null) {
|
|
1409
1535
|
data.initiated_by = this.initiated_by;
|
|
1410
1536
|
}
|
|
1537
|
+
if (this.project_name != null) {
|
|
1538
|
+
data.project_name = this.project_name;
|
|
1539
|
+
}
|
|
1411
1540
|
return data;
|
|
1412
1541
|
}
|
|
1413
1542
|
serialize(w) {
|
|
@@ -1436,6 +1565,8 @@ var testsystem3;
|
|
|
1436
1565
|
writer.writeString(9, this.test_suite_spec_id);
|
|
1437
1566
|
if (this.initiated_by.length)
|
|
1438
1567
|
writer.writeString(10, this.initiated_by);
|
|
1568
|
+
if (this.project_name.length)
|
|
1569
|
+
writer.writeString(11, this.project_name);
|
|
1439
1570
|
if (!w)
|
|
1440
1571
|
return writer.getResultBuffer();
|
|
1441
1572
|
}
|
|
@@ -1475,6 +1606,9 @@ var testsystem3;
|
|
|
1475
1606
|
case 10:
|
|
1476
1607
|
message.initiated_by = reader.readString();
|
|
1477
1608
|
break;
|
|
1609
|
+
case 11:
|
|
1610
|
+
message.project_name = reader.readString();
|
|
1611
|
+
break;
|
|
1478
1612
|
default:
|
|
1479
1613
|
reader.skipField();
|
|
1480
1614
|
}
|
|
@@ -1490,7 +1624,7 @@ var testsystem3;
|
|
|
1490
1624
|
};
|
|
1491
1625
|
_one_of_decls = new WeakMap();
|
|
1492
1626
|
let TestSuiteRun = _TestSuiteRun;
|
|
1493
|
-
|
|
1627
|
+
entities2.TestSuiteRun = _TestSuiteRun;
|
|
1494
1628
|
const _TestSuiteSpec = class _TestSuiteSpec extends pb_15.Message {
|
|
1495
1629
|
constructor(data) {
|
|
1496
1630
|
super();
|
|
@@ -1533,6 +1667,9 @@ var testsystem3;
|
|
|
1533
1667
|
if ("owner" in data && data.owner != void 0) {
|
|
1534
1668
|
this.owner = data.owner;
|
|
1535
1669
|
}
|
|
1670
|
+
if ("project" in data && data.project != void 0) {
|
|
1671
|
+
this.project = data.project;
|
|
1672
|
+
}
|
|
1536
1673
|
}
|
|
1537
1674
|
if (!this.metadata)
|
|
1538
1675
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -1609,6 +1746,12 @@ var testsystem3;
|
|
|
1609
1746
|
set owner(value) {
|
|
1610
1747
|
pb_15.Message.setField(this, 12, value);
|
|
1611
1748
|
}
|
|
1749
|
+
get project() {
|
|
1750
|
+
return pb_15.Message.getFieldWithDefault(this, 13, "");
|
|
1751
|
+
}
|
|
1752
|
+
set project(value) {
|
|
1753
|
+
pb_15.Message.setField(this, 13, value);
|
|
1754
|
+
}
|
|
1612
1755
|
static fromObject(data) {
|
|
1613
1756
|
const message = new _TestSuiteSpec({});
|
|
1614
1757
|
if (data.id != null) {
|
|
@@ -1647,6 +1790,9 @@ var testsystem3;
|
|
|
1647
1790
|
if (data.owner != null) {
|
|
1648
1791
|
message.owner = data.owner;
|
|
1649
1792
|
}
|
|
1793
|
+
if (data.project != null) {
|
|
1794
|
+
message.project = data.project;
|
|
1795
|
+
}
|
|
1650
1796
|
return message;
|
|
1651
1797
|
}
|
|
1652
1798
|
toObject() {
|
|
@@ -1687,6 +1833,9 @@ var testsystem3;
|
|
|
1687
1833
|
if (this.owner != null) {
|
|
1688
1834
|
data.owner = this.owner;
|
|
1689
1835
|
}
|
|
1836
|
+
if (this.project != null) {
|
|
1837
|
+
data.project = this.project;
|
|
1838
|
+
}
|
|
1690
1839
|
return data;
|
|
1691
1840
|
}
|
|
1692
1841
|
serialize(w) {
|
|
@@ -1719,6 +1868,8 @@ var testsystem3;
|
|
|
1719
1868
|
writer.writeString(11, this.author);
|
|
1720
1869
|
if (this.owner.length)
|
|
1721
1870
|
writer.writeString(12, this.owner);
|
|
1871
|
+
if (this.project.length)
|
|
1872
|
+
writer.writeString(13, this.project);
|
|
1722
1873
|
if (!w)
|
|
1723
1874
|
return writer.getResultBuffer();
|
|
1724
1875
|
}
|
|
@@ -1764,6 +1915,9 @@ var testsystem3;
|
|
|
1764
1915
|
case 12:
|
|
1765
1916
|
message.owner = reader.readString();
|
|
1766
1917
|
break;
|
|
1918
|
+
case 13:
|
|
1919
|
+
message.project = reader.readString();
|
|
1920
|
+
break;
|
|
1767
1921
|
default:
|
|
1768
1922
|
reader.skipField();
|
|
1769
1923
|
}
|
|
@@ -1779,8 +1933,8 @@ var testsystem3;
|
|
|
1779
1933
|
};
|
|
1780
1934
|
_one_of_decls2 = new WeakMap();
|
|
1781
1935
|
let TestSuiteSpec = _TestSuiteSpec;
|
|
1782
|
-
|
|
1783
|
-
})(
|
|
1936
|
+
entities2.TestSuiteSpec = _TestSuiteSpec;
|
|
1937
|
+
})(entities = v12.entities || (v12.entities = {}));
|
|
1784
1938
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
1785
1939
|
})(testsystem3 || (testsystem3 = {}));
|
|
1786
1940
|
|
|
@@ -1790,8 +1944,8 @@ var testsystem4;
|
|
|
1790
1944
|
((testsystem7) => {
|
|
1791
1945
|
let v1;
|
|
1792
1946
|
((v12) => {
|
|
1793
|
-
let
|
|
1794
|
-
((
|
|
1947
|
+
let events;
|
|
1948
|
+
((events2) => {
|
|
1795
1949
|
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
1950
|
const _TestBeginEventRequest = class _TestBeginEventRequest extends pb_16.Message {
|
|
1797
1951
|
constructor(data) {
|
|
@@ -1858,7 +2012,7 @@ var testsystem4;
|
|
|
1858
2012
|
};
|
|
1859
2013
|
_one_of_decls = new WeakMap();
|
|
1860
2014
|
let TestBeginEventRequest = _TestBeginEventRequest;
|
|
1861
|
-
|
|
2015
|
+
events2.TestBeginEventRequest = _TestBeginEventRequest;
|
|
1862
2016
|
const _TestEndEventRequest = class _TestEndEventRequest extends pb_16.Message {
|
|
1863
2017
|
constructor(data) {
|
|
1864
2018
|
super();
|
|
@@ -1924,7 +2078,7 @@ var testsystem4;
|
|
|
1924
2078
|
};
|
|
1925
2079
|
_one_of_decls2 = new WeakMap();
|
|
1926
2080
|
let TestEndEventRequest = _TestEndEventRequest;
|
|
1927
|
-
|
|
2081
|
+
events2.TestEndEventRequest = _TestEndEventRequest;
|
|
1928
2082
|
const _StepBeginEventRequest = class _StepBeginEventRequest extends pb_16.Message {
|
|
1929
2083
|
constructor(data) {
|
|
1930
2084
|
super();
|
|
@@ -1990,7 +2144,7 @@ var testsystem4;
|
|
|
1990
2144
|
};
|
|
1991
2145
|
_one_of_decls3 = new WeakMap();
|
|
1992
2146
|
let StepBeginEventRequest = _StepBeginEventRequest;
|
|
1993
|
-
|
|
2147
|
+
events2.StepBeginEventRequest = _StepBeginEventRequest;
|
|
1994
2148
|
const _StepEndEventRequest = class _StepEndEventRequest extends pb_16.Message {
|
|
1995
2149
|
constructor(data) {
|
|
1996
2150
|
super();
|
|
@@ -2056,7 +2210,7 @@ var testsystem4;
|
|
|
2056
2210
|
};
|
|
2057
2211
|
_one_of_decls4 = new WeakMap();
|
|
2058
2212
|
let StepEndEventRequest = _StepEndEventRequest;
|
|
2059
|
-
|
|
2213
|
+
events2.StepEndEventRequest = _StepEndEventRequest;
|
|
2060
2214
|
const _TestFailureEventRequest = class _TestFailureEventRequest extends pb_16.Message {
|
|
2061
2215
|
constructor(data) {
|
|
2062
2216
|
super();
|
|
@@ -2202,7 +2356,7 @@ var testsystem4;
|
|
|
2202
2356
|
};
|
|
2203
2357
|
_one_of_decls5 = new WeakMap();
|
|
2204
2358
|
let TestFailureEventRequest = _TestFailureEventRequest;
|
|
2205
|
-
|
|
2359
|
+
events2.TestFailureEventRequest = _TestFailureEventRequest;
|
|
2206
2360
|
const _TestErrorEventRequest = class _TestErrorEventRequest extends pb_16.Message {
|
|
2207
2361
|
constructor(data) {
|
|
2208
2362
|
super();
|
|
@@ -2348,7 +2502,7 @@ var testsystem4;
|
|
|
2348
2502
|
};
|
|
2349
2503
|
_one_of_decls6 = new WeakMap();
|
|
2350
2504
|
let TestErrorEventRequest = _TestErrorEventRequest;
|
|
2351
|
-
|
|
2505
|
+
events2.TestErrorEventRequest = _TestErrorEventRequest;
|
|
2352
2506
|
const _StdErrorEventRequest = class _StdErrorEventRequest extends pb_16.Message {
|
|
2353
2507
|
constructor(data) {
|
|
2354
2508
|
super();
|
|
@@ -2364,6 +2518,9 @@ var testsystem4;
|
|
|
2364
2518
|
if ("timestamp" in data && data.timestamp != void 0) {
|
|
2365
2519
|
this.timestamp = data.timestamp;
|
|
2366
2520
|
}
|
|
2521
|
+
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
2522
|
+
this.test_case_run_id = data.test_case_run_id;
|
|
2523
|
+
}
|
|
2367
2524
|
}
|
|
2368
2525
|
}
|
|
2369
2526
|
get test_id() {
|
|
@@ -2387,6 +2544,12 @@ var testsystem4;
|
|
|
2387
2544
|
get has_timestamp() {
|
|
2388
2545
|
return pb_16.Message.getField(this, 3) != null;
|
|
2389
2546
|
}
|
|
2547
|
+
get test_case_run_id() {
|
|
2548
|
+
return pb_16.Message.getFieldWithDefault(this, 4, "");
|
|
2549
|
+
}
|
|
2550
|
+
set test_case_run_id(value) {
|
|
2551
|
+
pb_16.Message.setField(this, 4, value);
|
|
2552
|
+
}
|
|
2390
2553
|
static fromObject(data) {
|
|
2391
2554
|
const message = new _StdErrorEventRequest({});
|
|
2392
2555
|
if (data.test_id != null) {
|
|
@@ -2398,6 +2561,9 @@ var testsystem4;
|
|
|
2398
2561
|
if (data.timestamp != null) {
|
|
2399
2562
|
message.timestamp = google.protobuf.Timestamp.fromObject(data.timestamp);
|
|
2400
2563
|
}
|
|
2564
|
+
if (data.test_case_run_id != null) {
|
|
2565
|
+
message.test_case_run_id = data.test_case_run_id;
|
|
2566
|
+
}
|
|
2401
2567
|
return message;
|
|
2402
2568
|
}
|
|
2403
2569
|
toObject() {
|
|
@@ -2411,6 +2577,9 @@ var testsystem4;
|
|
|
2411
2577
|
if (this.timestamp != null) {
|
|
2412
2578
|
data.timestamp = this.timestamp.toObject();
|
|
2413
2579
|
}
|
|
2580
|
+
if (this.test_case_run_id != null) {
|
|
2581
|
+
data.test_case_run_id = this.test_case_run_id;
|
|
2582
|
+
}
|
|
2414
2583
|
return data;
|
|
2415
2584
|
}
|
|
2416
2585
|
serialize(w) {
|
|
@@ -2421,6 +2590,8 @@ var testsystem4;
|
|
|
2421
2590
|
writer.writeString(2, this.message);
|
|
2422
2591
|
if (this.has_timestamp)
|
|
2423
2592
|
writer.writeMessage(3, this.timestamp, () => this.timestamp.serialize(writer));
|
|
2593
|
+
if (this.test_case_run_id.length)
|
|
2594
|
+
writer.writeString(4, this.test_case_run_id);
|
|
2424
2595
|
if (!w)
|
|
2425
2596
|
return writer.getResultBuffer();
|
|
2426
2597
|
}
|
|
@@ -2439,6 +2610,9 @@ var testsystem4;
|
|
|
2439
2610
|
case 3:
|
|
2440
2611
|
reader.readMessage(message.timestamp, () => message.timestamp = google.protobuf.Timestamp.deserialize(reader));
|
|
2441
2612
|
break;
|
|
2613
|
+
case 4:
|
|
2614
|
+
message.test_case_run_id = reader.readString();
|
|
2615
|
+
break;
|
|
2442
2616
|
default:
|
|
2443
2617
|
reader.skipField();
|
|
2444
2618
|
}
|
|
@@ -2454,7 +2628,7 @@ var testsystem4;
|
|
|
2454
2628
|
};
|
|
2455
2629
|
_one_of_decls7 = new WeakMap();
|
|
2456
2630
|
let StdErrorEventRequest = _StdErrorEventRequest;
|
|
2457
|
-
|
|
2631
|
+
events2.StdErrorEventRequest = _StdErrorEventRequest;
|
|
2458
2632
|
const _StdOutputEventRequest = class _StdOutputEventRequest extends pb_16.Message {
|
|
2459
2633
|
constructor(data) {
|
|
2460
2634
|
super();
|
|
@@ -2470,6 +2644,9 @@ var testsystem4;
|
|
|
2470
2644
|
if ("timestamp" in data && data.timestamp != void 0) {
|
|
2471
2645
|
this.timestamp = data.timestamp;
|
|
2472
2646
|
}
|
|
2647
|
+
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
2648
|
+
this.test_case_run_id = data.test_case_run_id;
|
|
2649
|
+
}
|
|
2473
2650
|
}
|
|
2474
2651
|
}
|
|
2475
2652
|
get test_id() {
|
|
@@ -2493,6 +2670,12 @@ var testsystem4;
|
|
|
2493
2670
|
get has_timestamp() {
|
|
2494
2671
|
return pb_16.Message.getField(this, 3) != null;
|
|
2495
2672
|
}
|
|
2673
|
+
get test_case_run_id() {
|
|
2674
|
+
return pb_16.Message.getFieldWithDefault(this, 4, "");
|
|
2675
|
+
}
|
|
2676
|
+
set test_case_run_id(value) {
|
|
2677
|
+
pb_16.Message.setField(this, 4, value);
|
|
2678
|
+
}
|
|
2496
2679
|
static fromObject(data) {
|
|
2497
2680
|
const message = new _StdOutputEventRequest({});
|
|
2498
2681
|
if (data.test_id != null) {
|
|
@@ -2504,6 +2687,9 @@ var testsystem4;
|
|
|
2504
2687
|
if (data.timestamp != null) {
|
|
2505
2688
|
message.timestamp = google.protobuf.Timestamp.fromObject(data.timestamp);
|
|
2506
2689
|
}
|
|
2690
|
+
if (data.test_case_run_id != null) {
|
|
2691
|
+
message.test_case_run_id = data.test_case_run_id;
|
|
2692
|
+
}
|
|
2507
2693
|
return message;
|
|
2508
2694
|
}
|
|
2509
2695
|
toObject() {
|
|
@@ -2517,6 +2703,9 @@ var testsystem4;
|
|
|
2517
2703
|
if (this.timestamp != null) {
|
|
2518
2704
|
data.timestamp = this.timestamp.toObject();
|
|
2519
2705
|
}
|
|
2706
|
+
if (this.test_case_run_id != null) {
|
|
2707
|
+
data.test_case_run_id = this.test_case_run_id;
|
|
2708
|
+
}
|
|
2520
2709
|
return data;
|
|
2521
2710
|
}
|
|
2522
2711
|
serialize(w) {
|
|
@@ -2527,6 +2716,8 @@ var testsystem4;
|
|
|
2527
2716
|
writer.writeString(2, this.message);
|
|
2528
2717
|
if (this.has_timestamp)
|
|
2529
2718
|
writer.writeMessage(3, this.timestamp, () => this.timestamp.serialize(writer));
|
|
2719
|
+
if (this.test_case_run_id.length)
|
|
2720
|
+
writer.writeString(4, this.test_case_run_id);
|
|
2530
2721
|
if (!w)
|
|
2531
2722
|
return writer.getResultBuffer();
|
|
2532
2723
|
}
|
|
@@ -2545,6 +2736,9 @@ var testsystem4;
|
|
|
2545
2736
|
case 3:
|
|
2546
2737
|
reader.readMessage(message.timestamp, () => message.timestamp = google.protobuf.Timestamp.deserialize(reader));
|
|
2547
2738
|
break;
|
|
2739
|
+
case 4:
|
|
2740
|
+
message.test_case_run_id = reader.readString();
|
|
2741
|
+
break;
|
|
2548
2742
|
default:
|
|
2549
2743
|
reader.skipField();
|
|
2550
2744
|
}
|
|
@@ -2560,7 +2754,7 @@ var testsystem4;
|
|
|
2560
2754
|
};
|
|
2561
2755
|
_one_of_decls8 = new WeakMap();
|
|
2562
2756
|
let StdOutputEventRequest = _StdOutputEventRequest;
|
|
2563
|
-
|
|
2757
|
+
events2.StdOutputEventRequest = _StdOutputEventRequest;
|
|
2564
2758
|
const _SuiteBeginEventRequest = class _SuiteBeginEventRequest extends pb_16.Message {
|
|
2565
2759
|
constructor(data) {
|
|
2566
2760
|
super();
|
|
@@ -2626,7 +2820,7 @@ var testsystem4;
|
|
|
2626
2820
|
};
|
|
2627
2821
|
_one_of_decls9 = new WeakMap();
|
|
2628
2822
|
let SuiteBeginEventRequest = _SuiteBeginEventRequest;
|
|
2629
|
-
|
|
2823
|
+
events2.SuiteBeginEventRequest = _SuiteBeginEventRequest;
|
|
2630
2824
|
const _SuiteEndEventRequest = class _SuiteEndEventRequest extends pb_16.Message {
|
|
2631
2825
|
constructor(data) {
|
|
2632
2826
|
super();
|
|
@@ -2692,7 +2886,7 @@ var testsystem4;
|
|
|
2692
2886
|
};
|
|
2693
2887
|
_one_of_decls10 = new WeakMap();
|
|
2694
2888
|
let SuiteEndEventRequest = _SuiteEndEventRequest;
|
|
2695
|
-
|
|
2889
|
+
events2.SuiteEndEventRequest = _SuiteEndEventRequest;
|
|
2696
2890
|
const _HeartbeatEventRequest = class _HeartbeatEventRequest extends pb_16.Message {
|
|
2697
2891
|
constructor(data) {
|
|
2698
2892
|
super();
|
|
@@ -2778,8 +2972,8 @@ var testsystem4;
|
|
|
2778
2972
|
};
|
|
2779
2973
|
_one_of_decls11 = new WeakMap();
|
|
2780
2974
|
let HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2781
|
-
|
|
2782
|
-
})(
|
|
2975
|
+
events2.HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2976
|
+
})(events = v12.events || (v12.events = {}));
|
|
2783
2977
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
2784
2978
|
})(testsystem4 || (testsystem4 = {}));
|
|
2785
2979
|
|
|
@@ -2790,8 +2984,8 @@ var testsystem5;
|
|
|
2790
2984
|
((testsystem7) => {
|
|
2791
2985
|
let v1;
|
|
2792
2986
|
((v12) => {
|
|
2793
|
-
let
|
|
2794
|
-
((
|
|
2987
|
+
let observer;
|
|
2988
|
+
((observer2) => {
|
|
2795
2989
|
var _one_of_decls;
|
|
2796
2990
|
const _AckResponse = class _AckResponse extends pb_17.Message {
|
|
2797
2991
|
constructor(data) {
|
|
@@ -2905,7 +3099,7 @@ var testsystem5;
|
|
|
2905
3099
|
};
|
|
2906
3100
|
_one_of_decls = new WeakMap();
|
|
2907
3101
|
let AckResponse = _AckResponse;
|
|
2908
|
-
|
|
3102
|
+
observer2.AckResponse = _AckResponse;
|
|
2909
3103
|
class UnimplementedTestEventCollectorService {
|
|
2910
3104
|
}
|
|
2911
3105
|
UnimplementedTestEventCollectorService.definition = {
|
|
@@ -3009,7 +3203,7 @@ var testsystem5;
|
|
|
3009
3203
|
responseDeserialize: (bytes) => AckResponse.deserialize(new Uint8Array(bytes))
|
|
3010
3204
|
}
|
|
3011
3205
|
};
|
|
3012
|
-
|
|
3206
|
+
observer2.UnimplementedTestEventCollectorService = UnimplementedTestEventCollectorService;
|
|
3013
3207
|
class TestEventCollectorClient extends grpc_1.makeGenericClientConstructor(UnimplementedTestEventCollectorService.definition, "TestEventCollector", {}) {
|
|
3014
3208
|
constructor(address, credentials, options) {
|
|
3015
3209
|
super(address, credentials, options);
|
|
@@ -3048,50 +3242,27 @@ var testsystem5;
|
|
|
3048
3242
|
};
|
|
3049
3243
|
}
|
|
3050
3244
|
}
|
|
3051
|
-
|
|
3052
|
-
})(
|
|
3245
|
+
observer2.TestEventCollectorClient = TestEventCollectorClient;
|
|
3246
|
+
})(observer = v12.observer || (v12.observer = {}));
|
|
3053
3247
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
3054
3248
|
})(testsystem5 || (testsystem5 = {}));
|
|
3055
3249
|
|
|
3056
3250
|
// 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
|
-
),
|
|
3251
|
+
var testsystem6 = Object.assign(
|
|
3252
|
+
{},
|
|
3253
|
+
testsystem,
|
|
3254
|
+
testsystem2,
|
|
3255
|
+
testsystem3,
|
|
3256
|
+
testsystem4,
|
|
3082
3257
|
testsystem5
|
|
3083
3258
|
);
|
|
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
3259
|
export {
|
|
3090
|
-
common,
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3260
|
+
testsystem as common,
|
|
3261
|
+
testsystem4 as events,
|
|
3262
|
+
timestamp_exports as google,
|
|
3263
|
+
testsystem5 as observer,
|
|
3264
|
+
testsystem2 as testCase,
|
|
3265
|
+
testsystem3 as testSuite,
|
|
3095
3266
|
testsystem6 as testsystem
|
|
3096
3267
|
};
|
|
3097
3268
|
//# sourceMappingURL=index.mjs.map
|