@stanterprise/protobuf 0.0.18 → 0.0.19
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/{chunk-LJC4OR2K.mjs → chunk-4KEOGRTV.mjs} +8 -8
- package/dist/chunk-4KEOGRTV.mjs.map +1 -0
- package/dist/{chunk-NAR56EZC.mjs → chunk-IO237NIP.mjs} +25 -24
- package/dist/chunk-IO237NIP.mjs.map +1 -0
- package/dist/{chunk-VZW7JSLB.mjs → chunk-LT6VIEMZ.mjs} +9 -9
- package/dist/{chunk-VZW7JSLB.mjs.map → chunk-LT6VIEMZ.mjs.map} +1 -1
- package/dist/{chunk-5DJKNU7K.mjs → chunk-RZDGHCWW.mjs} +6 -6
- package/dist/{chunk-5DJKNU7K.mjs.map → chunk-RZDGHCWW.mjs.map} +1 -1
- package/dist/{chunk-2XDGK4PE.mjs → chunk-S22XQJQE.mjs} +3 -3
- package/dist/{chunk-AOE34GC6.mjs → chunk-VKI55KY6.mjs} +6 -6
- package/dist/{chunk-S5P2S67H.mjs → chunk-WYXRRQPZ.mjs} +2 -2
- package/dist/{chunk-3VVXARSH.mjs → chunk-YFUPSN57.mjs} +3 -3
- package/dist/{chunk-VBR2HXFF.mjs → chunk-YUDCZY2W.mjs} +3 -1
- package/dist/chunk-YUDCZY2W.mjs.map +1 -0
- package/dist/index.js +36 -33
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- 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 +10 -10
- package/dist/lib/testsystem/v1/entities/test_case.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts +2 -1
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/events/events.d.ts +4 -4
- package/dist/lib/testsystem/v1/events/events.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/observer/observer.d.ts +5 -5
- package/dist/lib/testsystem/v1/observer/observer.d.ts.map +1 -1
- package/dist/testsystem/index.js +38 -35
- package/dist/testsystem/index.js.map +1 -1
- package/dist/testsystem/index.mjs +9 -9
- package/dist/testsystem/v1/common/index.js +2 -0
- package/dist/testsystem/v1/common/index.js.map +1 -1
- package/dist/testsystem/v1/common/index.mjs +2 -2
- package/dist/testsystem/v1/entities/index.js +25 -22
- package/dist/testsystem/v1/entities/index.js.map +1 -1
- package/dist/testsystem/v1/entities/index.mjs +3 -3
- package/dist/testsystem/v1/events/index.d.ts +2 -2
- package/dist/testsystem/v1/events/index.d.ts.map +1 -1
- package/dist/testsystem/v1/events/index.js +34 -31
- package/dist/testsystem/v1/events/index.js.map +1 -1
- package/dist/testsystem/v1/events/index.mjs +6 -6
- package/dist/testsystem/v1/index.js +38 -35
- package/dist/testsystem/v1/index.js.map +1 -1
- package/dist/testsystem/v1/index.mjs +9 -9
- package/dist/testsystem/v1/observer/index.js +36 -33
- package/dist/testsystem/v1/observer/index.js.map +1 -1
- package/dist/testsystem/v1/observer/index.mjs +5 -5
- package/lib/testsystem/v1/common/common.ts +3 -1
- package/lib/testsystem/v1/entities/test_case.ts +28 -28
- package/lib/testsystem/v1/entities/test_suite.ts +2 -1
- package/lib/testsystem/v1/events/events.ts +7 -7
- package/lib/testsystem/v1/observer/observer.ts +7 -7
- package/package.json +1 -1
- package/dist/chunk-LJC4OR2K.mjs.map +0 -1
- package/dist/chunk-NAR56EZC.mjs.map +0 -1
- package/dist/chunk-VBR2HXFF.mjs.map +0 -1
- /package/dist/{chunk-2XDGK4PE.mjs.map → chunk-S22XQJQE.mjs.map} +0 -0
- /package/dist/{chunk-AOE34GC6.mjs.map → chunk-VKI55KY6.mjs.map} +0 -0
- /package/dist/{chunk-S5P2S67H.mjs.map → chunk-WYXRRQPZ.mjs.map} +0 -0
- /package/dist/{chunk-3VVXARSH.mjs.map → chunk-YFUPSN57.mjs.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
testsystem,
|
|
3
3
|
testsystem2
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IO237NIP.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YUDCZY2W.mjs";
|
|
8
8
|
|
|
9
9
|
// testsystem/v1/entities/index.ts
|
|
10
10
|
var entities_exports = {};
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
SuiteType,
|
|
27
27
|
entities_exports
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-YFUPSN57.mjs.map
|
|
@@ -28,6 +28,8 @@ var testsystem;
|
|
|
28
28
|
TestStatus2[TestStatus2["BROKEN"] = 4] = "BROKEN";
|
|
29
29
|
TestStatus2[TestStatus2["TIMEDOUT"] = 5] = "TIMEDOUT";
|
|
30
30
|
TestStatus2[TestStatus2["INTERRUPTED"] = 6] = "INTERRUPTED";
|
|
31
|
+
TestStatus2[TestStatus2["RUNNING"] = 7] = "RUNNING";
|
|
32
|
+
TestStatus2[TestStatus2["NOT_RUN"] = 8] = "NOT_RUN";
|
|
31
33
|
})(TestStatus = common2.TestStatus || (common2.TestStatus = {}));
|
|
32
34
|
const _Attachment = class _Attachment extends pb_1.Message {
|
|
33
35
|
constructor(data) {
|
|
@@ -176,4 +178,4 @@ export {
|
|
|
176
178
|
__privateAdd,
|
|
177
179
|
testsystem
|
|
178
180
|
};
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
181
|
+
//# sourceMappingURL=chunk-YUDCZY2W.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../lib/testsystem/v1/common/common.ts"],"sourcesContent":["/**\n * Generated by the protoc-gen-ts. DO NOT EDIT!\n * compiler version: 3.19.1\n * source: testsystem/v1/common/common.proto\n * git: https://github.com/thesayyn/protoc-gen-ts */\nimport * as pb_1 from \"google-protobuf\";\nexport namespace testsystem.v1.common {\n export enum TestStatus {\n UNKNOWN = 0,\n PASSED = 1,\n FAILED = 2,\n SKIPPED = 3,\n BROKEN = 4,\n TIMEDOUT = 5,\n INTERRUPTED = 6,\n RUNNING = 7,\n NOT_RUN = 8\n }\n export class Attachment extends pb_1.Message {\n #one_of_decls: number[][] = [[3, 4]];\n constructor(data?: any[] | ({\n name?: string;\n mime_type?: string;\n } & (({\n content?: Uint8Array;\n uri?: never;\n } | {\n content?: never;\n uri?: string;\n })))) {\n super();\n pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);\n if (!Array.isArray(data) && typeof data == \"object\") {\n if (\"name\" in data && data.name != undefined) {\n this.name = data.name;\n }\n if (\"mime_type\" in data && data.mime_type != undefined) {\n this.mime_type = data.mime_type;\n }\n if (\"content\" in data && data.content != undefined) {\n this.content = data.content;\n }\n if (\"uri\" in data && data.uri != undefined) {\n this.uri = data.uri;\n }\n }\n }\n get name() {\n return pb_1.Message.getFieldWithDefault(this, 1, \"\") as string;\n }\n set name(value: string) {\n pb_1.Message.setField(this, 1, value);\n }\n get mime_type() {\n return pb_1.Message.getFieldWithDefault(this, 2, \"\") as string;\n }\n set mime_type(value: string) {\n pb_1.Message.setField(this, 2, value);\n }\n get content() {\n return pb_1.Message.getFieldWithDefault(this, 3, new Uint8Array(0)) as Uint8Array;\n }\n set content(value: Uint8Array) {\n pb_1.Message.setOneofField(this, 3, this.#one_of_decls[0], value);\n }\n get has_content() {\n return pb_1.Message.getField(this, 3) != null;\n }\n get uri() {\n return pb_1.Message.getFieldWithDefault(this, 4, \"\") as string;\n }\n set uri(value: string) {\n pb_1.Message.setOneofField(this, 4, this.#one_of_decls[0], value);\n }\n get has_uri() {\n return pb_1.Message.getField(this, 4) != null;\n }\n get payload() {\n const cases: {\n [index: number]: \"none\" | \"content\" | \"uri\";\n } = {\n 0: \"none\",\n 3: \"content\",\n 4: \"uri\"\n };\n return cases[pb_1.Message.computeOneofCase(this, [3, 4])];\n }\n static fromObject(data: {\n name?: string;\n mime_type?: string;\n content?: Uint8Array;\n uri?: string;\n }): Attachment {\n const message = new Attachment({});\n if (data.name != null) {\n message.name = data.name;\n }\n if (data.mime_type != null) {\n message.mime_type = data.mime_type;\n }\n if (data.content != null) {\n message.content = data.content;\n }\n if (data.uri != null) {\n message.uri = data.uri;\n }\n return message;\n }\n toObject() {\n const data: {\n name?: string;\n mime_type?: string;\n content?: Uint8Array;\n uri?: string;\n } = {};\n if (this.name != null) {\n data.name = this.name;\n }\n if (this.mime_type != null) {\n data.mime_type = this.mime_type;\n }\n if (this.content != null) {\n data.content = this.content;\n }\n if (this.uri != null) {\n data.uri = this.uri;\n }\n return data;\n }\n serialize(): Uint8Array;\n serialize(w: pb_1.BinaryWriter): void;\n serialize(w?: pb_1.BinaryWriter): Uint8Array | void {\n const writer = w || new pb_1.BinaryWriter();\n if (this.name.length)\n writer.writeString(1, this.name);\n if (this.mime_type.length)\n writer.writeString(2, this.mime_type);\n if (this.has_content)\n writer.writeBytes(3, this.content);\n if (this.has_uri)\n writer.writeString(4, this.uri);\n if (!w)\n return writer.getResultBuffer();\n }\n static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Attachment {\n const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new Attachment();\n while (reader.nextField()) {\n if (reader.isEndGroup())\n break;\n switch (reader.getFieldNumber()) {\n case 1:\n message.name = reader.readString();\n break;\n case 2:\n message.mime_type = reader.readString();\n break;\n case 3:\n message.content = reader.readBytes();\n break;\n case 4:\n message.uri = reader.readString();\n break;\n default: reader.skipField();\n }\n }\n return message;\n }\n serializeBinary(): Uint8Array {\n return this.serialize();\n }\n static deserializeBinary(bytes: Uint8Array): Attachment {\n return Attachment.deserialize(bytes);\n }\n }\n}\n"],"mappings":";;;;;;;;;;;;;AAKA,YAAY,UAAU;AACf,IAAU;AAAA,CAAV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UACJ;AACA,iBAAO;AAAA,QACX;AAAA,QACA,kBAA8B;AAC1B,iBAAO,KAAK,UAAU;AAAA,QAC1B;AAAA,QACA,OAAO,kBAAkB,OAA+B;AACpD,iBAAO,YAAW,YAAY,KAAK;AAAA,QACvC;AAAA,MACJ;AA1JI;AADG,UAAM,aAAN;AAAA,MAAAA,QAAM;AAAA,OAZc,SAAAD,IAAA,WAAAA,IAAA;AAAA,KAAH,KAAAD,YAAA,OAAAA,YAAA;AAAA,GAAX;","names":["testsystem","v1","common","TestStatus"]}
|
package/dist/index.js
CHANGED
|
@@ -161,6 +161,8 @@ var testsystem;
|
|
|
161
161
|
TestStatus2[TestStatus2["BROKEN"] = 4] = "BROKEN";
|
|
162
162
|
TestStatus2[TestStatus2["TIMEDOUT"] = 5] = "TIMEDOUT";
|
|
163
163
|
TestStatus2[TestStatus2["INTERRUPTED"] = 6] = "INTERRUPTED";
|
|
164
|
+
TestStatus2[TestStatus2["RUNNING"] = 7] = "RUNNING";
|
|
165
|
+
TestStatus2[TestStatus2["NOT_RUN"] = 8] = "NOT_RUN";
|
|
164
166
|
})(TestStatus = common2.TestStatus || (common2.TestStatus = {}));
|
|
165
167
|
const _Attachment = class _Attachment extends pb_12.Message {
|
|
166
168
|
constructor(data) {
|
|
@@ -423,8 +425,8 @@ var testsystem2;
|
|
|
423
425
|
if ("run_id" in data && data.run_id != void 0) {
|
|
424
426
|
this.run_id = data.run_id;
|
|
425
427
|
}
|
|
426
|
-
if ("
|
|
427
|
-
this.
|
|
428
|
+
if ("test_suite_id" in data && data.test_suite_id != void 0) {
|
|
429
|
+
this.test_suite_id = data.test_suite_id;
|
|
428
430
|
}
|
|
429
431
|
if ("status" in data && data.status != void 0) {
|
|
430
432
|
this.status = data.status;
|
|
@@ -496,10 +498,10 @@ var testsystem2;
|
|
|
496
498
|
set run_id(value) {
|
|
497
499
|
pb_14.Message.setField(this, 4, value);
|
|
498
500
|
}
|
|
499
|
-
get
|
|
501
|
+
get test_suite_id() {
|
|
500
502
|
return pb_14.Message.getFieldWithDefault(this, 5, "");
|
|
501
503
|
}
|
|
502
|
-
set
|
|
504
|
+
set test_suite_id(value) {
|
|
503
505
|
pb_14.Message.setField(this, 5, value);
|
|
504
506
|
}
|
|
505
507
|
get status() {
|
|
@@ -609,8 +611,8 @@ var testsystem2;
|
|
|
609
611
|
if (data.run_id != null) {
|
|
610
612
|
message.run_id = data.run_id;
|
|
611
613
|
}
|
|
612
|
-
if (data.
|
|
613
|
-
message.
|
|
614
|
+
if (data.test_suite_id != null) {
|
|
615
|
+
message.test_suite_id = data.test_suite_id;
|
|
614
616
|
}
|
|
615
617
|
if (data.status != null) {
|
|
616
618
|
message.status = data.status;
|
|
@@ -670,8 +672,8 @@ var testsystem2;
|
|
|
670
672
|
if (this.run_id != null) {
|
|
671
673
|
data.run_id = this.run_id;
|
|
672
674
|
}
|
|
673
|
-
if (this.
|
|
674
|
-
data.
|
|
675
|
+
if (this.test_suite_id != null) {
|
|
676
|
+
data.test_suite_id = this.test_suite_id;
|
|
675
677
|
}
|
|
676
678
|
if (this.status != null) {
|
|
677
679
|
data.status = this.status;
|
|
@@ -727,8 +729,8 @@ var testsystem2;
|
|
|
727
729
|
writer.writeString(3, this.description);
|
|
728
730
|
if (this.run_id.length)
|
|
729
731
|
writer.writeString(4, this.run_id);
|
|
730
|
-
if (this.
|
|
731
|
-
writer.writeString(5, this.
|
|
732
|
+
if (this.test_suite_id.length)
|
|
733
|
+
writer.writeString(5, this.test_suite_id);
|
|
732
734
|
if (this.status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
733
735
|
writer.writeEnum(6, this.status);
|
|
734
736
|
if (this.has_start_time)
|
|
@@ -783,7 +785,7 @@ var testsystem2;
|
|
|
783
785
|
message.run_id = reader.readString();
|
|
784
786
|
break;
|
|
785
787
|
case 5:
|
|
786
|
-
message.
|
|
788
|
+
message.test_suite_id = reader.readString();
|
|
787
789
|
break;
|
|
788
790
|
case 6:
|
|
789
791
|
message.status = reader.readEnum();
|
|
@@ -855,8 +857,8 @@ var testsystem2;
|
|
|
855
857
|
if ("run_id" in data && data.run_id != void 0) {
|
|
856
858
|
this.run_id = data.run_id;
|
|
857
859
|
}
|
|
858
|
-
if ("
|
|
859
|
-
this.
|
|
860
|
+
if ("test_case_id" in data && data.test_case_id != void 0) {
|
|
861
|
+
this.test_case_id = data.test_case_id;
|
|
860
862
|
}
|
|
861
863
|
if ("title" in data && data.title != void 0) {
|
|
862
864
|
this.title = data.title;
|
|
@@ -913,10 +915,10 @@ var testsystem2;
|
|
|
913
915
|
set run_id(value) {
|
|
914
916
|
pb_14.Message.setField(this, 2, value);
|
|
915
917
|
}
|
|
916
|
-
get
|
|
918
|
+
get test_case_id() {
|
|
917
919
|
return pb_14.Message.getFieldWithDefault(this, 3, "");
|
|
918
920
|
}
|
|
919
|
-
set
|
|
921
|
+
set test_case_id(value) {
|
|
920
922
|
pb_14.Message.setField(this, 3, value);
|
|
921
923
|
}
|
|
922
924
|
get title() {
|
|
@@ -1011,8 +1013,8 @@ var testsystem2;
|
|
|
1011
1013
|
if (data.run_id != null) {
|
|
1012
1014
|
message.run_id = data.run_id;
|
|
1013
1015
|
}
|
|
1014
|
-
if (data.
|
|
1015
|
-
message.
|
|
1016
|
+
if (data.test_case_id != null) {
|
|
1017
|
+
message.test_case_id = data.test_case_id;
|
|
1016
1018
|
}
|
|
1017
1019
|
if (data.title != null) {
|
|
1018
1020
|
message.title = data.title;
|
|
@@ -1063,8 +1065,8 @@ var testsystem2;
|
|
|
1063
1065
|
if (this.run_id != null) {
|
|
1064
1066
|
data.run_id = this.run_id;
|
|
1065
1067
|
}
|
|
1066
|
-
if (this.
|
|
1067
|
-
data.
|
|
1068
|
+
if (this.test_case_id != null) {
|
|
1069
|
+
data.test_case_id = this.test_case_id;
|
|
1068
1070
|
}
|
|
1069
1071
|
if (this.title != null) {
|
|
1070
1072
|
data.title = this.title;
|
|
@@ -1113,8 +1115,8 @@ var testsystem2;
|
|
|
1113
1115
|
writer.writeString(1, this.id);
|
|
1114
1116
|
if (this.run_id.length)
|
|
1115
1117
|
writer.writeString(2, this.run_id);
|
|
1116
|
-
if (this.
|
|
1117
|
-
writer.writeString(3, this.
|
|
1118
|
+
if (this.test_case_id.length)
|
|
1119
|
+
writer.writeString(3, this.test_case_id);
|
|
1118
1120
|
if (this.title.length)
|
|
1119
1121
|
writer.writeString(4, this.title);
|
|
1120
1122
|
if (this.description.length)
|
|
@@ -1161,7 +1163,7 @@ var testsystem2;
|
|
|
1161
1163
|
message.run_id = reader.readString();
|
|
1162
1164
|
break;
|
|
1163
1165
|
case 3:
|
|
1164
|
-
message.
|
|
1166
|
+
message.test_case_id = reader.readString();
|
|
1165
1167
|
break;
|
|
1166
1168
|
case 4:
|
|
1167
1169
|
message.title = reader.readString();
|
|
@@ -1236,6 +1238,7 @@ var testsystem3;
|
|
|
1236
1238
|
SuiteType2[SuiteType2["ROOT"] = 0] = "ROOT";
|
|
1237
1239
|
SuiteType2[SuiteType2["PROJECT"] = 1] = "PROJECT";
|
|
1238
1240
|
SuiteType2[SuiteType2["SUBSUITE"] = 2] = "SUBSUITE";
|
|
1241
|
+
SuiteType2[SuiteType2["FILE"] = 3] = "FILE";
|
|
1239
1242
|
})(SuiteType = entities2.SuiteType || (entities2.SuiteType = {}));
|
|
1240
1243
|
const _TestSuiteRun = class _TestSuiteRun extends pb_15.Message {
|
|
1241
1244
|
constructor(data) {
|
|
@@ -2814,7 +2817,7 @@ var testsystem4;
|
|
|
2814
2817
|
_one_of_decls11 = new WeakMap();
|
|
2815
2818
|
let HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2816
2819
|
events2.HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2817
|
-
const
|
|
2820
|
+
const _ReportRunStartEventRequest = class _ReportRunStartEventRequest extends pb_16.Message {
|
|
2818
2821
|
constructor(data) {
|
|
2819
2822
|
super();
|
|
2820
2823
|
__privateAdd(this, _one_of_decls12, []);
|
|
@@ -2870,7 +2873,7 @@ var testsystem4;
|
|
|
2870
2873
|
pb_16.Message.setField(this, 5, value);
|
|
2871
2874
|
}
|
|
2872
2875
|
static fromObject(data) {
|
|
2873
|
-
const message = new
|
|
2876
|
+
const message = new _ReportRunStartEventRequest({});
|
|
2874
2877
|
if (data.run_id != null) {
|
|
2875
2878
|
message.run_id = data.run_id;
|
|
2876
2879
|
}
|
|
@@ -2927,7 +2930,7 @@ var testsystem4;
|
|
|
2927
2930
|
return writer.getResultBuffer();
|
|
2928
2931
|
}
|
|
2929
2932
|
static deserialize(bytes) {
|
|
2930
|
-
const reader = bytes instanceof pb_16.BinaryReader ? bytes : new pb_16.BinaryReader(bytes), message = new
|
|
2933
|
+
const reader = bytes instanceof pb_16.BinaryReader ? bytes : new pb_16.BinaryReader(bytes), message = new _ReportRunStartEventRequest();
|
|
2931
2934
|
while (reader.nextField()) {
|
|
2932
2935
|
if (reader.isEndGroup())
|
|
2933
2936
|
break;
|
|
@@ -2957,12 +2960,12 @@ var testsystem4;
|
|
|
2957
2960
|
return this.serialize();
|
|
2958
2961
|
}
|
|
2959
2962
|
static deserializeBinary(bytes) {
|
|
2960
|
-
return
|
|
2963
|
+
return _ReportRunStartEventRequest.deserialize(bytes);
|
|
2961
2964
|
}
|
|
2962
2965
|
};
|
|
2963
2966
|
_one_of_decls12 = new WeakMap();
|
|
2964
|
-
let
|
|
2965
|
-
events2.
|
|
2967
|
+
let ReportRunStartEventRequest = _ReportRunStartEventRequest;
|
|
2968
|
+
events2.ReportRunStartEventRequest = _ReportRunStartEventRequest;
|
|
2966
2969
|
const _TestRunEndEventRequest = class _TestRunEndEventRequest extends pb_16.Message {
|
|
2967
2970
|
constructor(data) {
|
|
2968
2971
|
super();
|
|
@@ -3222,12 +3225,12 @@ var testsystem5;
|
|
|
3222
3225
|
class UnimplementedTestEventCollectorService {
|
|
3223
3226
|
}
|
|
3224
3227
|
UnimplementedTestEventCollectorService.definition = {
|
|
3225
|
-
|
|
3226
|
-
path: "/testsystem.v1.observer.TestEventCollector/
|
|
3228
|
+
ReportRunStart: {
|
|
3229
|
+
path: "/testsystem.v1.observer.TestEventCollector/ReportRunStart",
|
|
3227
3230
|
requestStream: false,
|
|
3228
3231
|
responseStream: false,
|
|
3229
3232
|
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
3230
|
-
requestDeserialize: (bytes) => testsystem4.v1.events.
|
|
3233
|
+
requestDeserialize: (bytes) => testsystem4.v1.events.ReportRunStartEventRequest.deserialize(new Uint8Array(bytes)),
|
|
3231
3234
|
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
3232
3235
|
responseDeserialize: (bytes) => AckResponse.deserialize(new Uint8Array(bytes))
|
|
3233
3236
|
},
|
|
@@ -3344,8 +3347,8 @@ var testsystem5;
|
|
|
3344
3347
|
class TestEventCollectorClient extends grpc_1.makeGenericClientConstructor(UnimplementedTestEventCollectorService.definition, "TestEventCollector", {}) {
|
|
3345
3348
|
constructor(address, credentials, options) {
|
|
3346
3349
|
super(address, credentials, options);
|
|
3347
|
-
this.
|
|
3348
|
-
return super.
|
|
3350
|
+
this.ReportRunStart = (message, metadata, options, callback) => {
|
|
3351
|
+
return super.ReportRunStart(message, metadata, options, callback);
|
|
3349
3352
|
};
|
|
3350
3353
|
this.ReportSuiteBegin = (message, metadata, options, callback) => {
|
|
3351
3354
|
return super.ReportSuiteBegin(message, metadata, options, callback);
|