@stanterprise/protobuf 0.0.20 → 0.1.0
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-XWJCF6BO.mjs → chunk-34GQCWQN.mjs} +3 -3
- package/dist/{chunk-AEDC4CB5.mjs → chunk-4YJNHYW7.mjs} +33 -32
- package/dist/{chunk-AEDC4CB5.mjs.map → chunk-4YJNHYW7.mjs.map} +1 -1
- package/dist/{chunk-YUDCZY2W.mjs → chunk-EMALOWTT.mjs} +4 -1
- package/dist/{chunk-YUDCZY2W.mjs.map → chunk-EMALOWTT.mjs.map} +1 -1
- package/dist/{chunk-4SR4H5H3.mjs → chunk-FBR2J74U.mjs} +3 -3
- package/dist/{chunk-7ZKHPRD4.mjs → chunk-RGAFE2QL.mjs} +6 -6
- package/dist/{chunk-6LZLCU56.mjs → chunk-WBCHUWL7.mjs} +2 -2
- package/dist/{chunk-WYXRRQPZ.mjs → chunk-WHGMBNCF.mjs} +2 -2
- package/dist/{chunk-ULRGJR5R.mjs → chunk-XIP55YQC.mjs} +109 -3
- package/dist/chunk-XIP55YQC.mjs.map +1 -0
- package/dist/{chunk-B3U6NKBI.mjs → chunk-XYL4P7DJ.mjs} +3 -3
- package/dist/index.js +136 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/testsystem/index.js +136 -28
- package/dist/testsystem/index.js.map +1 -1
- package/dist/testsystem/index.mjs +9 -9
- package/dist/testsystem/v1/common/index.mjs +2 -2
- package/dist/testsystem/v1/entities/index.mjs +3 -3
- package/dist/testsystem/v1/events/index.js +106 -0
- package/dist/testsystem/v1/events/index.js.map +1 -1
- package/dist/testsystem/v1/events/index.mjs +4 -4
- package/dist/testsystem/v1/index.js +136 -28
- package/dist/testsystem/v1/index.js.map +1 -1
- package/dist/testsystem/v1/index.mjs +9 -9
- package/dist/testsystem/v1/observer/index.js +136 -28
- package/dist/testsystem/v1/observer/index.js.map +1 -1
- package/dist/testsystem/v1/observer/index.mjs +5 -5
- package/lib/testsystem/v1/events/events.ts +125 -0
- package/package.json +1 -1
- package/dist/chunk-ULRGJR5R.mjs.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/google/protobuf/duration.d.ts +0 -33
- package/dist/lib/google/protobuf/duration.d.ts.map +0 -1
- package/dist/lib/google/protobuf/timestamp.d.ts +0 -33
- package/dist/lib/google/protobuf/timestamp.d.ts.map +0 -1
- package/dist/lib/index.d.ts +0 -9
- package/dist/lib/index.d.ts.map +0 -1
- package/dist/lib/testsystem/v1/common/common.d.ts +0 -61
- package/dist/lib/testsystem/v1/common/common.d.ts.map +0 -1
- package/dist/lib/testsystem/v1/entities/test_case.d.ts +0 -233
- package/dist/lib/testsystem/v1/entities/test_case.d.ts.map +0 -1
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts +0 -140
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts.map +0 -1
- package/dist/lib/testsystem/v1/events/events.d.ts +0 -408
- package/dist/lib/testsystem/v1/events/events.d.ts.map +0 -1
- package/dist/lib/testsystem/v1/observer/observer.d.ts +0 -202
- package/dist/lib/testsystem/v1/observer/observer.d.ts.map +0 -1
- package/dist/testsystem/index.d.ts +0 -2
- package/dist/testsystem/index.d.ts.map +0 -1
- package/dist/testsystem/v1/common/index.d.ts +0 -6
- package/dist/testsystem/v1/common/index.d.ts.map +0 -1
- package/dist/testsystem/v1/entities/index.d.ts +0 -11
- package/dist/testsystem/v1/entities/index.d.ts.map +0 -1
- package/dist/testsystem/v1/events/index.d.ts +0 -28
- package/dist/testsystem/v1/events/index.d.ts.map +0 -1
- package/dist/testsystem/v1/index.d.ts +0 -5
- package/dist/testsystem/v1/index.d.ts.map +0 -1
- package/dist/testsystem/v1/observer/index.d.ts +0 -6
- package/dist/testsystem/v1/observer/index.d.ts.map +0 -1
- /package/dist/{chunk-XWJCF6BO.mjs.map → chunk-34GQCWQN.mjs.map} +0 -0
- /package/dist/{chunk-4SR4H5H3.mjs.map → chunk-FBR2J74U.mjs.map} +0 -0
- /package/dist/{chunk-7ZKHPRD4.mjs.map → chunk-RGAFE2QL.mjs.map} +0 -0
- /package/dist/{chunk-6LZLCU56.mjs.map → chunk-WBCHUWL7.mjs.map} +0 -0
- /package/dist/{chunk-WYXRRQPZ.mjs.map → chunk-WHGMBNCF.mjs.map} +0 -0
- /package/dist/{chunk-B3U6NKBI.mjs.map → chunk-XYL4P7DJ.mjs.map} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import "../../chunk-
|
|
1
|
+
import "../../chunk-RGAFE2QL.mjs";
|
|
2
2
|
import {
|
|
3
3
|
common_exports
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-WHGMBNCF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
entities_exports
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-34GQCWQN.mjs";
|
|
8
8
|
import {
|
|
9
9
|
events_exports
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-XYL4P7DJ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
observer_exports
|
|
13
|
-
} from "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
13
|
+
} from "../../chunk-FBR2J74U.mjs";
|
|
14
|
+
import "../../chunk-4YJNHYW7.mjs";
|
|
15
|
+
import "../../chunk-XIP55YQC.mjs";
|
|
16
|
+
import "../../chunk-WBCHUWL7.mjs";
|
|
17
|
+
import "../../chunk-EMALOWTT.mjs";
|
|
18
18
|
export {
|
|
19
19
|
common_exports as common,
|
|
20
20
|
entities_exports as entities,
|
|
@@ -8,6 +8,7 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
|
8
8
|
var __typeError = (msg) => {
|
|
9
9
|
throw TypeError(msg);
|
|
10
10
|
};
|
|
11
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
12
|
var __export = (target, all) => {
|
|
12
13
|
for (var name in all)
|
|
13
14
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -29,6 +30,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
30
|
mod
|
|
30
31
|
));
|
|
31
32
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
33
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
32
34
|
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
33
35
|
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
34
36
|
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);
|
|
@@ -2010,6 +2012,9 @@ var testsystem4;
|
|
|
2010
2012
|
if ("run_id" in data && data.run_id != void 0) {
|
|
2011
2013
|
this.run_id = data.run_id;
|
|
2012
2014
|
}
|
|
2015
|
+
if ("retry_index" in data && data.retry_index != void 0) {
|
|
2016
|
+
this.retry_index = data.retry_index;
|
|
2017
|
+
}
|
|
2013
2018
|
}
|
|
2014
2019
|
}
|
|
2015
2020
|
get test_id() {
|
|
@@ -2051,6 +2056,12 @@ var testsystem4;
|
|
|
2051
2056
|
set run_id(value) {
|
|
2052
2057
|
pb_16.Message.setField(this, 6, value);
|
|
2053
2058
|
}
|
|
2059
|
+
get retry_index() {
|
|
2060
|
+
return pb_16.Message.getFieldWithDefault(this, 7, 0);
|
|
2061
|
+
}
|
|
2062
|
+
set retry_index(value) {
|
|
2063
|
+
pb_16.Message.setField(this, 7, value);
|
|
2064
|
+
}
|
|
2054
2065
|
static fromObject(data) {
|
|
2055
2066
|
const message = new _TestFailureEventRequest({});
|
|
2056
2067
|
if (data.test_id != null) {
|
|
@@ -2071,6 +2082,9 @@ var testsystem4;
|
|
|
2071
2082
|
if (data.run_id != null) {
|
|
2072
2083
|
message.run_id = data.run_id;
|
|
2073
2084
|
}
|
|
2085
|
+
if (data.retry_index != null) {
|
|
2086
|
+
message.retry_index = data.retry_index;
|
|
2087
|
+
}
|
|
2074
2088
|
return message;
|
|
2075
2089
|
}
|
|
2076
2090
|
toObject() {
|
|
@@ -2093,6 +2107,9 @@ var testsystem4;
|
|
|
2093
2107
|
if (this.run_id != null) {
|
|
2094
2108
|
data.run_id = this.run_id;
|
|
2095
2109
|
}
|
|
2110
|
+
if (this.retry_index != null) {
|
|
2111
|
+
data.retry_index = this.retry_index;
|
|
2112
|
+
}
|
|
2096
2113
|
return data;
|
|
2097
2114
|
}
|
|
2098
2115
|
serialize(w) {
|
|
@@ -2109,6 +2126,8 @@ var testsystem4;
|
|
|
2109
2126
|
writer.writeRepeatedMessage(5, this.attachments, (item) => item.serialize(writer));
|
|
2110
2127
|
if (this.run_id.length)
|
|
2111
2128
|
writer.writeString(6, this.run_id);
|
|
2129
|
+
if (this.retry_index != 0)
|
|
2130
|
+
writer.writeInt32(7, this.retry_index);
|
|
2112
2131
|
if (!w)
|
|
2113
2132
|
return writer.getResultBuffer();
|
|
2114
2133
|
}
|
|
@@ -2136,6 +2155,9 @@ var testsystem4;
|
|
|
2136
2155
|
case 6:
|
|
2137
2156
|
message.run_id = reader.readString();
|
|
2138
2157
|
break;
|
|
2158
|
+
case 7:
|
|
2159
|
+
message.retry_index = reader.readInt32();
|
|
2160
|
+
break;
|
|
2139
2161
|
default:
|
|
2140
2162
|
reader.skipField();
|
|
2141
2163
|
}
|
|
@@ -2176,6 +2198,9 @@ var testsystem4;
|
|
|
2176
2198
|
if ("run_id" in data && data.run_id != void 0) {
|
|
2177
2199
|
this.run_id = data.run_id;
|
|
2178
2200
|
}
|
|
2201
|
+
if ("retry_index" in data && data.retry_index != void 0) {
|
|
2202
|
+
this.retry_index = data.retry_index;
|
|
2203
|
+
}
|
|
2179
2204
|
}
|
|
2180
2205
|
}
|
|
2181
2206
|
get test_id() {
|
|
@@ -2217,6 +2242,12 @@ var testsystem4;
|
|
|
2217
2242
|
set run_id(value) {
|
|
2218
2243
|
pb_16.Message.setField(this, 6, value);
|
|
2219
2244
|
}
|
|
2245
|
+
get retry_index() {
|
|
2246
|
+
return pb_16.Message.getFieldWithDefault(this, 7, 0);
|
|
2247
|
+
}
|
|
2248
|
+
set retry_index(value) {
|
|
2249
|
+
pb_16.Message.setField(this, 7, value);
|
|
2250
|
+
}
|
|
2220
2251
|
static fromObject(data) {
|
|
2221
2252
|
const message = new _TestErrorEventRequest({});
|
|
2222
2253
|
if (data.test_id != null) {
|
|
@@ -2237,6 +2268,9 @@ var testsystem4;
|
|
|
2237
2268
|
if (data.run_id != null) {
|
|
2238
2269
|
message.run_id = data.run_id;
|
|
2239
2270
|
}
|
|
2271
|
+
if (data.retry_index != null) {
|
|
2272
|
+
message.retry_index = data.retry_index;
|
|
2273
|
+
}
|
|
2240
2274
|
return message;
|
|
2241
2275
|
}
|
|
2242
2276
|
toObject() {
|
|
@@ -2259,6 +2293,9 @@ var testsystem4;
|
|
|
2259
2293
|
if (this.run_id != null) {
|
|
2260
2294
|
data.run_id = this.run_id;
|
|
2261
2295
|
}
|
|
2296
|
+
if (this.retry_index != null) {
|
|
2297
|
+
data.retry_index = this.retry_index;
|
|
2298
|
+
}
|
|
2262
2299
|
return data;
|
|
2263
2300
|
}
|
|
2264
2301
|
serialize(w) {
|
|
@@ -2275,6 +2312,8 @@ var testsystem4;
|
|
|
2275
2312
|
writer.writeRepeatedMessage(5, this.attachments, (item) => item.serialize(writer));
|
|
2276
2313
|
if (this.run_id.length)
|
|
2277
2314
|
writer.writeString(6, this.run_id);
|
|
2315
|
+
if (this.retry_index != 0)
|
|
2316
|
+
writer.writeInt32(7, this.retry_index);
|
|
2278
2317
|
if (!w)
|
|
2279
2318
|
return writer.getResultBuffer();
|
|
2280
2319
|
}
|
|
@@ -2302,6 +2341,9 @@ var testsystem4;
|
|
|
2302
2341
|
case 6:
|
|
2303
2342
|
message.run_id = reader.readString();
|
|
2304
2343
|
break;
|
|
2344
|
+
case 7:
|
|
2345
|
+
message.retry_index = reader.readInt32();
|
|
2346
|
+
break;
|
|
2305
2347
|
default:
|
|
2306
2348
|
reader.skipField();
|
|
2307
2349
|
}
|
|
@@ -2339,6 +2381,9 @@ var testsystem4;
|
|
|
2339
2381
|
if ("run_id" in data && data.run_id != void 0) {
|
|
2340
2382
|
this.run_id = data.run_id;
|
|
2341
2383
|
}
|
|
2384
|
+
if ("retry_index" in data && data.retry_index != void 0) {
|
|
2385
|
+
this.retry_index = data.retry_index;
|
|
2386
|
+
}
|
|
2342
2387
|
}
|
|
2343
2388
|
}
|
|
2344
2389
|
get test_id() {
|
|
@@ -2374,6 +2419,12 @@ var testsystem4;
|
|
|
2374
2419
|
set run_id(value) {
|
|
2375
2420
|
pb_16.Message.setField(this, 5, value);
|
|
2376
2421
|
}
|
|
2422
|
+
get retry_index() {
|
|
2423
|
+
return pb_16.Message.getFieldWithDefault(this, 6, 0);
|
|
2424
|
+
}
|
|
2425
|
+
set retry_index(value) {
|
|
2426
|
+
pb_16.Message.setField(this, 6, value);
|
|
2427
|
+
}
|
|
2377
2428
|
static fromObject(data) {
|
|
2378
2429
|
const message = new _StdErrorEventRequest({});
|
|
2379
2430
|
if (data.test_id != null) {
|
|
@@ -2391,6 +2442,9 @@ var testsystem4;
|
|
|
2391
2442
|
if (data.run_id != null) {
|
|
2392
2443
|
message.run_id = data.run_id;
|
|
2393
2444
|
}
|
|
2445
|
+
if (data.retry_index != null) {
|
|
2446
|
+
message.retry_index = data.retry_index;
|
|
2447
|
+
}
|
|
2394
2448
|
return message;
|
|
2395
2449
|
}
|
|
2396
2450
|
toObject() {
|
|
@@ -2410,6 +2464,9 @@ var testsystem4;
|
|
|
2410
2464
|
if (this.run_id != null) {
|
|
2411
2465
|
data.run_id = this.run_id;
|
|
2412
2466
|
}
|
|
2467
|
+
if (this.retry_index != null) {
|
|
2468
|
+
data.retry_index = this.retry_index;
|
|
2469
|
+
}
|
|
2413
2470
|
return data;
|
|
2414
2471
|
}
|
|
2415
2472
|
serialize(w) {
|
|
@@ -2424,6 +2481,8 @@ var testsystem4;
|
|
|
2424
2481
|
writer.writeString(4, this.test_case_run_id);
|
|
2425
2482
|
if (this.run_id.length)
|
|
2426
2483
|
writer.writeString(5, this.run_id);
|
|
2484
|
+
if (this.retry_index != 0)
|
|
2485
|
+
writer.writeInt32(6, this.retry_index);
|
|
2427
2486
|
if (!w)
|
|
2428
2487
|
return writer.getResultBuffer();
|
|
2429
2488
|
}
|
|
@@ -2448,6 +2507,9 @@ var testsystem4;
|
|
|
2448
2507
|
case 5:
|
|
2449
2508
|
message.run_id = reader.readString();
|
|
2450
2509
|
break;
|
|
2510
|
+
case 6:
|
|
2511
|
+
message.retry_index = reader.readInt32();
|
|
2512
|
+
break;
|
|
2451
2513
|
default:
|
|
2452
2514
|
reader.skipField();
|
|
2453
2515
|
}
|
|
@@ -2485,6 +2547,9 @@ var testsystem4;
|
|
|
2485
2547
|
if ("run_id" in data && data.run_id != void 0) {
|
|
2486
2548
|
this.run_id = data.run_id;
|
|
2487
2549
|
}
|
|
2550
|
+
if ("retry_index" in data && data.retry_index != void 0) {
|
|
2551
|
+
this.retry_index = data.retry_index;
|
|
2552
|
+
}
|
|
2488
2553
|
}
|
|
2489
2554
|
}
|
|
2490
2555
|
get test_id() {
|
|
@@ -2520,6 +2585,12 @@ var testsystem4;
|
|
|
2520
2585
|
set run_id(value) {
|
|
2521
2586
|
pb_16.Message.setField(this, 5, value);
|
|
2522
2587
|
}
|
|
2588
|
+
get retry_index() {
|
|
2589
|
+
return pb_16.Message.getFieldWithDefault(this, 6, 0);
|
|
2590
|
+
}
|
|
2591
|
+
set retry_index(value) {
|
|
2592
|
+
pb_16.Message.setField(this, 6, value);
|
|
2593
|
+
}
|
|
2523
2594
|
static fromObject(data) {
|
|
2524
2595
|
const message = new _StdOutputEventRequest({});
|
|
2525
2596
|
if (data.test_id != null) {
|
|
@@ -2537,6 +2608,9 @@ var testsystem4;
|
|
|
2537
2608
|
if (data.run_id != null) {
|
|
2538
2609
|
message.run_id = data.run_id;
|
|
2539
2610
|
}
|
|
2611
|
+
if (data.retry_index != null) {
|
|
2612
|
+
message.retry_index = data.retry_index;
|
|
2613
|
+
}
|
|
2540
2614
|
return message;
|
|
2541
2615
|
}
|
|
2542
2616
|
toObject() {
|
|
@@ -2556,6 +2630,9 @@ var testsystem4;
|
|
|
2556
2630
|
if (this.run_id != null) {
|
|
2557
2631
|
data.run_id = this.run_id;
|
|
2558
2632
|
}
|
|
2633
|
+
if (this.retry_index != null) {
|
|
2634
|
+
data.retry_index = this.retry_index;
|
|
2635
|
+
}
|
|
2559
2636
|
return data;
|
|
2560
2637
|
}
|
|
2561
2638
|
serialize(w) {
|
|
@@ -2570,6 +2647,8 @@ var testsystem4;
|
|
|
2570
2647
|
writer.writeString(4, this.test_case_run_id);
|
|
2571
2648
|
if (this.run_id.length)
|
|
2572
2649
|
writer.writeString(5, this.run_id);
|
|
2650
|
+
if (this.retry_index != 0)
|
|
2651
|
+
writer.writeInt32(6, this.retry_index);
|
|
2573
2652
|
if (!w)
|
|
2574
2653
|
return writer.getResultBuffer();
|
|
2575
2654
|
}
|
|
@@ -2594,6 +2673,9 @@ var testsystem4;
|
|
|
2594
2673
|
case 5:
|
|
2595
2674
|
message.run_id = reader.readString();
|
|
2596
2675
|
break;
|
|
2676
|
+
case 6:
|
|
2677
|
+
message.retry_index = reader.readInt32();
|
|
2678
|
+
break;
|
|
2597
2679
|
default:
|
|
2598
2680
|
reader.skipField();
|
|
2599
2681
|
}
|
|
@@ -2995,7 +3077,12 @@ var testsystem4;
|
|
|
2995
3077
|
if ("duration" in data && data.duration != void 0) {
|
|
2996
3078
|
this.duration = data.duration;
|
|
2997
3079
|
}
|
|
3080
|
+
if ("metadata" in data && data.metadata != void 0) {
|
|
3081
|
+
this.metadata = data.metadata;
|
|
3082
|
+
}
|
|
2998
3083
|
}
|
|
3084
|
+
if (!this.metadata)
|
|
3085
|
+
this.metadata = /* @__PURE__ */ new Map();
|
|
2999
3086
|
}
|
|
3000
3087
|
get run_id() {
|
|
3001
3088
|
return pb_16.Message.getFieldWithDefault(this, 1, "");
|
|
@@ -3027,6 +3114,12 @@ var testsystem4;
|
|
|
3027
3114
|
get has_duration() {
|
|
3028
3115
|
return pb_16.Message.getField(this, 4) != null;
|
|
3029
3116
|
}
|
|
3117
|
+
get metadata() {
|
|
3118
|
+
return pb_16.Message.getField(this, 5);
|
|
3119
|
+
}
|
|
3120
|
+
set metadata(value) {
|
|
3121
|
+
pb_16.Message.setField(this, 5, value);
|
|
3122
|
+
}
|
|
3030
3123
|
static fromObject(data) {
|
|
3031
3124
|
const message = new _TestRunEndEventRequest({});
|
|
3032
3125
|
if (data.run_id != null) {
|
|
@@ -3041,6 +3134,9 @@ var testsystem4;
|
|
|
3041
3134
|
if (data.duration != null) {
|
|
3042
3135
|
message.duration = google2.protobuf.Duration.fromObject(data.duration);
|
|
3043
3136
|
}
|
|
3137
|
+
if (typeof data.metadata == "object") {
|
|
3138
|
+
message.metadata = new Map(Object.entries(data.metadata));
|
|
3139
|
+
}
|
|
3044
3140
|
return message;
|
|
3045
3141
|
}
|
|
3046
3142
|
toObject() {
|
|
@@ -3057,6 +3153,9 @@ var testsystem4;
|
|
|
3057
3153
|
if (this.duration != null) {
|
|
3058
3154
|
data.duration = this.duration.toObject();
|
|
3059
3155
|
}
|
|
3156
|
+
if (this.metadata != null) {
|
|
3157
|
+
data.metadata = Object.fromEntries(this.metadata);
|
|
3158
|
+
}
|
|
3060
3159
|
return data;
|
|
3061
3160
|
}
|
|
3062
3161
|
serialize(w) {
|
|
@@ -3069,6 +3168,12 @@ var testsystem4;
|
|
|
3069
3168
|
writer.writeMessage(3, this.start_time, () => this.start_time.serialize(writer));
|
|
3070
3169
|
if (this.has_duration)
|
|
3071
3170
|
writer.writeMessage(4, this.duration, () => this.duration.serialize(writer));
|
|
3171
|
+
for (const [key, value] of this.metadata) {
|
|
3172
|
+
writer.writeMessage(5, this.metadata, () => {
|
|
3173
|
+
writer.writeString(1, key);
|
|
3174
|
+
writer.writeString(2, value);
|
|
3175
|
+
});
|
|
3176
|
+
}
|
|
3072
3177
|
if (!w)
|
|
3073
3178
|
return writer.getResultBuffer();
|
|
3074
3179
|
}
|
|
@@ -3090,6 +3195,9 @@ var testsystem4;
|
|
|
3090
3195
|
case 4:
|
|
3091
3196
|
reader.readMessage(message.duration, () => message.duration = google2.protobuf.Duration.deserialize(reader));
|
|
3092
3197
|
break;
|
|
3198
|
+
case 5:
|
|
3199
|
+
reader.readMessage(message, () => pb_16.Map.deserializeBinary(message.metadata, reader, reader.readString, reader.readString));
|
|
3200
|
+
break;
|
|
3093
3201
|
default:
|
|
3094
3202
|
reader.skipField();
|
|
3095
3203
|
}
|
|
@@ -3235,7 +3343,7 @@ var testsystem5;
|
|
|
3235
3343
|
observer2.AckResponse = _AckResponse;
|
|
3236
3344
|
class UnimplementedTestEventCollectorService {
|
|
3237
3345
|
}
|
|
3238
|
-
UnimplementedTestEventCollectorService
|
|
3346
|
+
__publicField(UnimplementedTestEventCollectorService, "definition", {
|
|
3239
3347
|
ReportRunStart: {
|
|
3240
3348
|
path: "/testsystem.v1.observer.TestEventCollector/ReportRunStart",
|
|
3241
3349
|
requestStream: false,
|
|
@@ -3353,50 +3461,50 @@ var testsystem5;
|
|
|
3353
3461
|
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
3354
3462
|
responseDeserialize: (bytes) => AckResponse2.deserialize(new Uint8Array(bytes))
|
|
3355
3463
|
}
|
|
3356
|
-
};
|
|
3464
|
+
});
|
|
3357
3465
|
observer2.UnimplementedTestEventCollectorService = UnimplementedTestEventCollectorService;
|
|
3358
3466
|
class TestEventCollectorClient2 extends grpc_1.makeGenericClientConstructor(UnimplementedTestEventCollectorService.definition, "TestEventCollector", {}) {
|
|
3359
3467
|
constructor(address, credentials, options) {
|
|
3360
3468
|
super(address, credentials, options);
|
|
3361
|
-
this
|
|
3469
|
+
__publicField(this, "ReportRunStart", (message, metadata, options, callback) => {
|
|
3362
3470
|
return super.ReportRunStart(message, metadata, options, callback);
|
|
3363
|
-
};
|
|
3364
|
-
this
|
|
3471
|
+
});
|
|
3472
|
+
__publicField(this, "ReportSuiteBegin", (message, metadata, options, callback) => {
|
|
3365
3473
|
return super.ReportSuiteBegin(message, metadata, options, callback);
|
|
3366
|
-
};
|
|
3367
|
-
this
|
|
3474
|
+
});
|
|
3475
|
+
__publicField(this, "ReportSuiteEnd", (message, metadata, options, callback) => {
|
|
3368
3476
|
return super.ReportSuiteEnd(message, metadata, options, callback);
|
|
3369
|
-
};
|
|
3370
|
-
this
|
|
3477
|
+
});
|
|
3478
|
+
__publicField(this, "ReportTestBegin", (message, metadata, options, callback) => {
|
|
3371
3479
|
return super.ReportTestBegin(message, metadata, options, callback);
|
|
3372
|
-
};
|
|
3373
|
-
this
|
|
3480
|
+
});
|
|
3481
|
+
__publicField(this, "ReportTestEnd", (message, metadata, options, callback) => {
|
|
3374
3482
|
return super.ReportTestEnd(message, metadata, options, callback);
|
|
3375
|
-
};
|
|
3376
|
-
this
|
|
3483
|
+
});
|
|
3484
|
+
__publicField(this, "ReportStepBegin", (message, metadata, options, callback) => {
|
|
3377
3485
|
return super.ReportStepBegin(message, metadata, options, callback);
|
|
3378
|
-
};
|
|
3379
|
-
this
|
|
3486
|
+
});
|
|
3487
|
+
__publicField(this, "ReportStepEnd", (message, metadata, options, callback) => {
|
|
3380
3488
|
return super.ReportStepEnd(message, metadata, options, callback);
|
|
3381
|
-
};
|
|
3382
|
-
this
|
|
3489
|
+
});
|
|
3490
|
+
__publicField(this, "ReportTestFailure", (message, metadata, options, callback) => {
|
|
3383
3491
|
return super.ReportTestFailure(message, metadata, options, callback);
|
|
3384
|
-
};
|
|
3385
|
-
this
|
|
3492
|
+
});
|
|
3493
|
+
__publicField(this, "ReportTestError", (message, metadata, options, callback) => {
|
|
3386
3494
|
return super.ReportTestError(message, metadata, options, callback);
|
|
3387
|
-
};
|
|
3388
|
-
this
|
|
3495
|
+
});
|
|
3496
|
+
__publicField(this, "ReportStdError", (message, metadata, options, callback) => {
|
|
3389
3497
|
return super.ReportStdError(message, metadata, options, callback);
|
|
3390
|
-
};
|
|
3391
|
-
this
|
|
3498
|
+
});
|
|
3499
|
+
__publicField(this, "ReportStdOutput", (message, metadata, options, callback) => {
|
|
3392
3500
|
return super.ReportStdOutput(message, metadata, options, callback);
|
|
3393
|
-
};
|
|
3394
|
-
this
|
|
3501
|
+
});
|
|
3502
|
+
__publicField(this, "ReportRunEnd", (message, metadata, options, callback) => {
|
|
3395
3503
|
return super.ReportRunEnd(message, metadata, options, callback);
|
|
3396
|
-
};
|
|
3397
|
-
this
|
|
3504
|
+
});
|
|
3505
|
+
__publicField(this, "Heartbeat", (message, metadata, options, callback) => {
|
|
3398
3506
|
return super.Heartbeat(message, metadata, options, callback);
|
|
3399
|
-
};
|
|
3507
|
+
});
|
|
3400
3508
|
}
|
|
3401
3509
|
}
|
|
3402
3510
|
observer2.TestEventCollectorClient = TestEventCollectorClient2;
|