@stanterprise/protobuf 0.0.8 → 0.0.9
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 +1094 -590
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1094 -590
- package/dist/index.mjs.map +1 -1
- package/dist/lib/google/protobuf/duration.d.ts +33 -0
- package/dist/lib/google/protobuf/duration.d.ts.map +1 -0
- package/dist/lib/index.d.ts +4 -3
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/entities/{entities.d.ts → test_case.d.ts} +102 -150
- package/dist/lib/testsystem/v1/entities/test_case.d.ts.map +1 -0
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts +166 -0
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts.map +1 -0
- package/dist/lib/testsystem/v1/events/events.d.ts +32 -31
- package/dist/lib/testsystem/v1/events/events.d.ts.map +1 -1
- package/lib/google/protobuf/duration.ts +98 -0
- package/lib/index.ts +11 -5
- package/lib/testsystem/v1/entities/{entities.ts → test_case.ts} +387 -563
- package/lib/testsystem/v1/entities/test_suite.ts +639 -0
- package/lib/testsystem/v1/events/events.ts +44 -43
- package/package.json +1 -1
- package/dist/lib/testsystem/v1/entities/entities.d.ts.map +0 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by the protoc-gen-ts. DO NOT EDIT!
|
|
3
|
+
* compiler version: 3.19.1
|
|
4
|
+
* source: google/protobuf/duration.proto
|
|
5
|
+
* git: https://github.com/thesayyn/protoc-gen-ts */
|
|
6
|
+
import * as pb_1 from "google-protobuf";
|
|
7
|
+
export declare namespace google.protobuf {
|
|
8
|
+
class Duration extends pb_1.Message {
|
|
9
|
+
#private;
|
|
10
|
+
constructor(data?: any[] | {
|
|
11
|
+
seconds?: number;
|
|
12
|
+
nanos?: number;
|
|
13
|
+
});
|
|
14
|
+
get seconds(): number;
|
|
15
|
+
set seconds(value: number);
|
|
16
|
+
get nanos(): number;
|
|
17
|
+
set nanos(value: number);
|
|
18
|
+
static fromObject(data: {
|
|
19
|
+
seconds?: number;
|
|
20
|
+
nanos?: number;
|
|
21
|
+
}): Duration;
|
|
22
|
+
toObject(): {
|
|
23
|
+
seconds?: number;
|
|
24
|
+
nanos?: number;
|
|
25
|
+
};
|
|
26
|
+
serialize(): Uint8Array;
|
|
27
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
28
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Duration;
|
|
29
|
+
serializeBinary(): Uint8Array;
|
|
30
|
+
static deserializeBinary(bytes: Uint8Array): Duration;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=duration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"duration.d.ts","sourceRoot":"","sources":["../../../../lib/google/protobuf/duration.ts"],"names":[],"mappings":"AAAA;;;;oDAIoD;AACpD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,yBAAiB,MAAM,CAAC,QAAQ,CAAC;IAC7B,MAAa,QAAS,SAAQ,IAAI,CAAC,OAAO;;oBAE1B,IAAI,CAAC,EAAE,GAAG,EAAE,GAAG;YACvB,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,KAAK,CAAC,EAAE,MAAM,CAAC;SAClB;QAYD,IAAI,OAAO,IAGQ,MAAM,CADxB;QACD,IAAI,OAAO,CAAC,KAAK,EAAE,MAAM,EAExB;QACD,IAAI,KAAK,IAGQ,MAAM,CADtB;QACD,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,EAEtB;QACD,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE;YACpB,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,KAAK,CAAC,EAAE,MAAM,CAAC;SAClB,GAAG,QAAQ;QAUZ,QAAQ;sBAEU,MAAM;oBACR,MAAM;;QAUtB,SAAS,IAAI,UAAU;QACvB,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,YAAY,GAAG,IAAI;QAUrC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC,YAAY,GAAG,QAAQ;QAiBnE,eAAe,IAAI,UAAU;QAG7B,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,UAAU,GAAG,QAAQ;KAGxD;CACJ"}
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as googleTimestamp from '../lib/google/protobuf/timestamp';
|
|
2
2
|
import * as testsystemCommon from '../lib/testsystem/v1/common/common';
|
|
3
|
-
import * as
|
|
3
|
+
import * as testsystemEntitiesTestCase from '../lib/testsystem/v1/entities/test_case';
|
|
4
|
+
import * as testsystemEntitiesTestSuite from '../lib/testsystem/v1/entities/test_suite';
|
|
4
5
|
import * as testsystemEvents from '../lib/testsystem/v1/events/events';
|
|
5
6
|
import * as testsystemObserver from '../lib/testsystem/v1/observer/observer';
|
|
6
|
-
type TestsystemNS = typeof testsystemCommon.testsystem & typeof
|
|
7
|
+
type TestsystemNS = typeof testsystemCommon.testsystem & typeof testsystemEntitiesTestCase.testsystem & typeof testsystemEntitiesTestSuite.testsystem & typeof testsystemEvents.testsystem & typeof testsystemObserver.testsystem;
|
|
7
8
|
declare const testsystem: TestsystemNS;
|
|
8
9
|
declare const common: typeof testsystemCommon.testsystem.v1.common;
|
|
9
|
-
declare const entities: typeof
|
|
10
|
+
declare const entities: typeof testsystemEntitiesTestCase.testsystem.v1.entities & typeof testsystemEntitiesTestSuite.testsystem.v1.entities;
|
|
10
11
|
declare const events: typeof testsystemEvents.testsystem.v1.events;
|
|
11
12
|
declare const observer: typeof testsystemObserver.testsystem.v1.observer;
|
|
12
13
|
export { common, entities, events, observer };
|
package/dist/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,eAAe,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,gBAAgB,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,eAAe,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,gBAAgB,MAAM,oCAAoC,CAAC;AAEvE,OAAO,KAAK,0BAA0B,MAAM,yCAAyC,CAAC;AACtF,OAAO,KAAK,2BAA2B,MAAM,0CAA0C,CAAC;AACxF,OAAO,KAAK,gBAAgB,MAAM,oCAAoC,CAAC;AACvE,OAAO,KAAK,kBAAkB,MAAM,wCAAwC,CAAC;AAE7E,KAAK,YAAY,GAAG,OAAO,gBAAgB,CAAC,UAAU,GACpD,OAAO,0BAA0B,CAAC,UAAU,GAC5C,OAAO,2BAA2B,CAAC,UAAU,GAC7C,OAAO,gBAAgB,CAAC,UAAU,GAClC,OAAO,kBAAkB,CAAC,UAAU,CAAC;AAkBvC,QAAA,MAAM,UAAU,EAAE,YAYD,CAAC;AAClB,QAAA,MAAM,MAAM,8CAAwC,CAAC;AACrD,QAAA,MAAM,QAAQ,sHAAyB,CAAC;AACxC,QAAA,MAAM,MAAM,8CAAwC,CAAC;AACrD,QAAA,MAAM,QAAQ,kDAA4C,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,eAAO,MAAM,MAAM,+BAAyB,CAAC"}
|
|
@@ -1,27 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated by the protoc-gen-ts. DO NOT EDIT!
|
|
3
3
|
* compiler version: 3.19.1
|
|
4
|
-
* source: testsystem/v1/entities/
|
|
4
|
+
* source: testsystem/v1/entities/test_case.proto
|
|
5
5
|
* git: https://github.com/thesayyn/protoc-gen-ts */
|
|
6
6
|
import * as dependency_1 from "./../common/common";
|
|
7
7
|
import * as dependency_2 from "./../../../google/protobuf/timestamp";
|
|
8
|
+
import * as dependency_3 from "./../../../google/protobuf/duration";
|
|
8
9
|
import * as pb_1 from "google-protobuf";
|
|
9
10
|
export declare namespace testsystem.v1.entities {
|
|
10
|
-
|
|
11
|
-
ROOT = 0,
|
|
12
|
-
PROJECT = 1,
|
|
13
|
-
SUBSUITE = 2
|
|
14
|
-
}
|
|
15
|
-
class TestCase extends pb_1.Message {
|
|
11
|
+
class TestCaseSpec extends pb_1.Message {
|
|
16
12
|
#private;
|
|
17
13
|
constructor(data?: any[] | {
|
|
18
14
|
id?: string;
|
|
19
15
|
name?: string;
|
|
20
16
|
description?: string;
|
|
21
|
-
steps?: Step[];
|
|
22
17
|
metadata?: Map<string, string>;
|
|
23
18
|
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
24
|
-
|
|
19
|
+
parent_suite_id?: string;
|
|
20
|
+
tags?: string[];
|
|
25
21
|
});
|
|
26
22
|
get id(): string;
|
|
27
23
|
set id(value: string);
|
|
@@ -29,129 +25,151 @@ export declare namespace testsystem.v1.entities {
|
|
|
29
25
|
set name(value: string);
|
|
30
26
|
get description(): string;
|
|
31
27
|
set description(value: string);
|
|
32
|
-
get steps(): Step[];
|
|
33
|
-
set steps(value: Step[]);
|
|
34
28
|
get metadata(): Map<string, string>;
|
|
35
29
|
set metadata(value: Map<string, string>);
|
|
36
30
|
get status(): dependency_1.testsystem.v1.common.TestStatus;
|
|
37
31
|
set status(value: dependency_1.testsystem.v1.common.TestStatus);
|
|
38
|
-
get
|
|
39
|
-
set
|
|
40
|
-
get
|
|
32
|
+
get parent_suite_id(): string;
|
|
33
|
+
set parent_suite_id(value: string);
|
|
34
|
+
get tags(): string[];
|
|
35
|
+
set tags(value: string[]);
|
|
41
36
|
static fromObject(data: {
|
|
42
37
|
id?: string;
|
|
43
38
|
name?: string;
|
|
44
39
|
description?: string;
|
|
45
|
-
steps?: ReturnType<typeof Step.prototype.toObject>[];
|
|
46
40
|
metadata?: {
|
|
47
41
|
[key: string]: string;
|
|
48
42
|
};
|
|
49
43
|
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
50
|
-
|
|
51
|
-
|
|
44
|
+
parent_suite_id?: string;
|
|
45
|
+
tags?: string[];
|
|
46
|
+
}): TestCaseSpec;
|
|
52
47
|
toObject(): {
|
|
53
48
|
id?: string;
|
|
54
49
|
name?: string;
|
|
55
50
|
description?: string;
|
|
56
|
-
steps?: ReturnType<typeof Step.prototype.toObject>[];
|
|
57
51
|
metadata?: {
|
|
58
52
|
[key: string]: string;
|
|
59
53
|
};
|
|
60
54
|
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
61
|
-
|
|
55
|
+
parent_suite_id?: string;
|
|
56
|
+
tags?: string[];
|
|
62
57
|
};
|
|
63
58
|
serialize(): Uint8Array;
|
|
64
59
|
serialize(w: pb_1.BinaryWriter): void;
|
|
65
|
-
static deserialize(bytes: Uint8Array | pb_1.BinaryReader):
|
|
60
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): TestCaseSpec;
|
|
66
61
|
serializeBinary(): Uint8Array;
|
|
67
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
62
|
+
static deserializeBinary(bytes: Uint8Array): TestCaseSpec;
|
|
68
63
|
}
|
|
69
|
-
class
|
|
64
|
+
class TestCaseRun extends pb_1.Message {
|
|
70
65
|
#private;
|
|
71
66
|
constructor(data?: any[] | {
|
|
72
67
|
id?: string;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
68
|
+
test_id?: string;
|
|
69
|
+
run_id?: string;
|
|
70
|
+
test_suite_run_id?: string;
|
|
71
|
+
title?: string;
|
|
72
|
+
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
73
|
+
start_time?: dependency_2.google.protobuf.Timestamp;
|
|
74
|
+
attachments?: dependency_1.testsystem.v1.common.Attachment[];
|
|
75
|
+
error_message?: string;
|
|
76
|
+
stack_trace?: string;
|
|
78
77
|
metadata?: Map<string, string>;
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
errors?: string[];
|
|
79
|
+
actual_tags?: string[];
|
|
81
80
|
});
|
|
82
81
|
get id(): string;
|
|
83
82
|
set id(value: string);
|
|
84
|
-
get
|
|
85
|
-
set
|
|
86
|
-
get
|
|
87
|
-
set
|
|
88
|
-
get
|
|
89
|
-
set
|
|
90
|
-
get
|
|
91
|
-
set
|
|
92
|
-
get
|
|
93
|
-
set
|
|
83
|
+
get test_id(): string;
|
|
84
|
+
set test_id(value: string);
|
|
85
|
+
get run_id(): string;
|
|
86
|
+
set run_id(value: string);
|
|
87
|
+
get test_suite_run_id(): string;
|
|
88
|
+
set test_suite_run_id(value: string);
|
|
89
|
+
get title(): string;
|
|
90
|
+
set title(value: string);
|
|
91
|
+
get status(): dependency_1.testsystem.v1.common.TestStatus;
|
|
92
|
+
set status(value: dependency_1.testsystem.v1.common.TestStatus);
|
|
93
|
+
get start_time(): dependency_2.google.protobuf.Timestamp;
|
|
94
|
+
set start_time(value: dependency_2.google.protobuf.Timestamp);
|
|
95
|
+
get has_start_time(): boolean;
|
|
96
|
+
get attachments(): dependency_1.testsystem.v1.common.Attachment[];
|
|
97
|
+
set attachments(value: dependency_1.testsystem.v1.common.Attachment[]);
|
|
98
|
+
get error_message(): string;
|
|
99
|
+
set error_message(value: string);
|
|
100
|
+
get stack_trace(): string;
|
|
101
|
+
set stack_trace(value: string);
|
|
94
102
|
get metadata(): Map<string, string>;
|
|
95
103
|
set metadata(value: Map<string, string>);
|
|
96
|
-
get
|
|
97
|
-
set
|
|
98
|
-
get
|
|
99
|
-
set
|
|
100
|
-
get has_parent_suite(): boolean;
|
|
104
|
+
get errors(): string[];
|
|
105
|
+
set errors(value: string[]);
|
|
106
|
+
get actual_tags(): string[];
|
|
107
|
+
set actual_tags(value: string[]);
|
|
101
108
|
static fromObject(data: {
|
|
102
109
|
id?: string;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
110
|
+
test_id?: string;
|
|
111
|
+
run_id?: string;
|
|
112
|
+
test_suite_run_id?: string;
|
|
113
|
+
title?: string;
|
|
114
|
+
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
115
|
+
start_time?: ReturnType<typeof dependency_2.google.protobuf.Timestamp.prototype.toObject>;
|
|
116
|
+
attachments?: ReturnType<typeof dependency_1.testsystem.v1.common.Attachment.prototype.toObject>[];
|
|
117
|
+
error_message?: string;
|
|
118
|
+
stack_trace?: string;
|
|
108
119
|
metadata?: {
|
|
109
120
|
[key: string]: string;
|
|
110
121
|
};
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}):
|
|
122
|
+
errors?: string[];
|
|
123
|
+
actual_tags?: string[];
|
|
124
|
+
}): TestCaseRun;
|
|
114
125
|
toObject(): {
|
|
115
126
|
id?: string;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
127
|
+
test_id?: string;
|
|
128
|
+
run_id?: string;
|
|
129
|
+
test_suite_run_id?: string;
|
|
130
|
+
title?: string;
|
|
131
|
+
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
132
|
+
start_time?: ReturnType<typeof dependency_2.google.protobuf.Timestamp.prototype.toObject>;
|
|
133
|
+
attachments?: ReturnType<typeof dependency_1.testsystem.v1.common.Attachment.prototype.toObject>[];
|
|
134
|
+
error_message?: string;
|
|
135
|
+
stack_trace?: string;
|
|
121
136
|
metadata?: {
|
|
122
137
|
[key: string]: string;
|
|
123
138
|
};
|
|
124
|
-
|
|
125
|
-
|
|
139
|
+
errors?: string[];
|
|
140
|
+
actual_tags?: string[];
|
|
126
141
|
};
|
|
127
142
|
serialize(): Uint8Array;
|
|
128
143
|
serialize(w: pb_1.BinaryWriter): void;
|
|
129
|
-
static deserialize(bytes: Uint8Array | pb_1.BinaryReader):
|
|
144
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): TestCaseRun;
|
|
130
145
|
serializeBinary(): Uint8Array;
|
|
131
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
146
|
+
static deserializeBinary(bytes: Uint8Array): TestCaseRun;
|
|
132
147
|
}
|
|
133
|
-
class
|
|
148
|
+
class StepRun extends pb_1.Message {
|
|
134
149
|
#private;
|
|
135
150
|
constructor(data?: any[] | {
|
|
136
151
|
id?: string;
|
|
137
|
-
|
|
152
|
+
run_id?: string;
|
|
153
|
+
test_case_run_id?: string;
|
|
138
154
|
title?: string;
|
|
139
155
|
description?: string;
|
|
140
156
|
start_time?: dependency_2.google.protobuf.Timestamp;
|
|
157
|
+
duration?: dependency_3.google.protobuf.Duration;
|
|
141
158
|
type?: string;
|
|
142
|
-
duration?: number;
|
|
143
159
|
metadata?: Map<string, string>;
|
|
144
160
|
parent_step_id?: string;
|
|
145
|
-
sub_steps?: Step[];
|
|
146
161
|
worker_index?: string;
|
|
147
162
|
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
148
163
|
error?: string;
|
|
164
|
+
errors?: string[];
|
|
149
165
|
location?: string;
|
|
150
166
|
});
|
|
151
167
|
get id(): string;
|
|
152
168
|
set id(value: string);
|
|
153
|
-
get
|
|
154
|
-
set
|
|
169
|
+
get run_id(): string;
|
|
170
|
+
set run_id(value: string);
|
|
171
|
+
get test_case_run_id(): string;
|
|
172
|
+
set test_case_run_id(value: string);
|
|
155
173
|
get title(): string;
|
|
156
174
|
set title(value: string);
|
|
157
175
|
get description(): string;
|
|
@@ -159,134 +177,68 @@ export declare namespace testsystem.v1.entities {
|
|
|
159
177
|
get start_time(): dependency_2.google.protobuf.Timestamp;
|
|
160
178
|
set start_time(value: dependency_2.google.protobuf.Timestamp);
|
|
161
179
|
get has_start_time(): boolean;
|
|
180
|
+
get duration(): dependency_3.google.protobuf.Duration;
|
|
181
|
+
set duration(value: dependency_3.google.protobuf.Duration);
|
|
182
|
+
get has_duration(): boolean;
|
|
162
183
|
get type(): string;
|
|
163
184
|
set type(value: string);
|
|
164
|
-
get duration(): number;
|
|
165
|
-
set duration(value: number);
|
|
166
185
|
get metadata(): Map<string, string>;
|
|
167
186
|
set metadata(value: Map<string, string>);
|
|
168
187
|
get parent_step_id(): string;
|
|
169
188
|
set parent_step_id(value: string);
|
|
170
|
-
get sub_steps(): Step[];
|
|
171
|
-
set sub_steps(value: Step[]);
|
|
172
189
|
get worker_index(): string;
|
|
173
190
|
set worker_index(value: string);
|
|
174
191
|
get status(): dependency_1.testsystem.v1.common.TestStatus;
|
|
175
192
|
set status(value: dependency_1.testsystem.v1.common.TestStatus);
|
|
176
193
|
get error(): string;
|
|
177
194
|
set error(value: string);
|
|
195
|
+
get errors(): string[];
|
|
196
|
+
set errors(value: string[]);
|
|
178
197
|
get location(): string;
|
|
179
198
|
set location(value: string);
|
|
180
199
|
static fromObject(data: {
|
|
181
200
|
id?: string;
|
|
182
|
-
|
|
201
|
+
run_id?: string;
|
|
202
|
+
test_case_run_id?: string;
|
|
183
203
|
title?: string;
|
|
184
204
|
description?: string;
|
|
185
205
|
start_time?: ReturnType<typeof dependency_2.google.protobuf.Timestamp.prototype.toObject>;
|
|
206
|
+
duration?: ReturnType<typeof dependency_3.google.protobuf.Duration.prototype.toObject>;
|
|
186
207
|
type?: string;
|
|
187
|
-
duration?: number;
|
|
188
208
|
metadata?: {
|
|
189
209
|
[key: string]: string;
|
|
190
210
|
};
|
|
191
211
|
parent_step_id?: string;
|
|
192
|
-
sub_steps?: ReturnType<typeof Step.prototype.toObject>[];
|
|
193
212
|
worker_index?: string;
|
|
194
213
|
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
195
214
|
error?: string;
|
|
215
|
+
errors?: string[];
|
|
196
216
|
location?: string;
|
|
197
|
-
}):
|
|
217
|
+
}): StepRun;
|
|
198
218
|
toObject(): {
|
|
199
219
|
id?: string;
|
|
200
|
-
|
|
220
|
+
run_id?: string;
|
|
221
|
+
test_case_run_id?: string;
|
|
201
222
|
title?: string;
|
|
202
223
|
description?: string;
|
|
203
224
|
start_time?: ReturnType<typeof dependency_2.google.protobuf.Timestamp.prototype.toObject>;
|
|
225
|
+
duration?: ReturnType<typeof dependency_3.google.protobuf.Duration.prototype.toObject>;
|
|
204
226
|
type?: string;
|
|
205
|
-
duration?: number;
|
|
206
227
|
metadata?: {
|
|
207
228
|
[key: string]: string;
|
|
208
229
|
};
|
|
209
230
|
parent_step_id?: string;
|
|
210
|
-
sub_steps?: ReturnType<typeof Step.prototype.toObject>[];
|
|
211
231
|
worker_index?: string;
|
|
212
232
|
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
213
233
|
error?: string;
|
|
214
|
-
location?: string;
|
|
215
|
-
};
|
|
216
|
-
serialize(): Uint8Array;
|
|
217
|
-
serialize(w: pb_1.BinaryWriter): void;
|
|
218
|
-
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Step;
|
|
219
|
-
serializeBinary(): Uint8Array;
|
|
220
|
-
static deserializeBinary(bytes: Uint8Array): Step;
|
|
221
|
-
}
|
|
222
|
-
class TestResult extends pb_1.Message {
|
|
223
|
-
#private;
|
|
224
|
-
constructor(data?: any[] | {
|
|
225
|
-
id?: string;
|
|
226
|
-
test_id?: string;
|
|
227
|
-
title?: string;
|
|
228
|
-
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
229
|
-
start_time?: dependency_2.google.protobuf.Timestamp;
|
|
230
|
-
attachments?: dependency_1.testsystem.v1.common.Attachment[];
|
|
231
|
-
error_message?: string;
|
|
232
|
-
stack_trace?: string;
|
|
233
|
-
metadata?: Map<string, string>;
|
|
234
|
-
errors?: string[];
|
|
235
|
-
});
|
|
236
|
-
get id(): string;
|
|
237
|
-
set id(value: string);
|
|
238
|
-
get test_id(): string;
|
|
239
|
-
set test_id(value: string);
|
|
240
|
-
get title(): string;
|
|
241
|
-
set title(value: string);
|
|
242
|
-
get status(): dependency_1.testsystem.v1.common.TestStatus;
|
|
243
|
-
set status(value: dependency_1.testsystem.v1.common.TestStatus);
|
|
244
|
-
get start_time(): dependency_2.google.protobuf.Timestamp;
|
|
245
|
-
set start_time(value: dependency_2.google.protobuf.Timestamp);
|
|
246
|
-
get has_start_time(): boolean;
|
|
247
|
-
get attachments(): dependency_1.testsystem.v1.common.Attachment[];
|
|
248
|
-
set attachments(value: dependency_1.testsystem.v1.common.Attachment[]);
|
|
249
|
-
get error_message(): string;
|
|
250
|
-
set error_message(value: string);
|
|
251
|
-
get stack_trace(): string;
|
|
252
|
-
set stack_trace(value: string);
|
|
253
|
-
get metadata(): Map<string, string>;
|
|
254
|
-
set metadata(value: Map<string, string>);
|
|
255
|
-
get errors(): string[];
|
|
256
|
-
set errors(value: string[]);
|
|
257
|
-
static fromObject(data: {
|
|
258
|
-
id?: string;
|
|
259
|
-
test_id?: string;
|
|
260
|
-
title?: string;
|
|
261
|
-
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
262
|
-
start_time?: ReturnType<typeof dependency_2.google.protobuf.Timestamp.prototype.toObject>;
|
|
263
|
-
attachments?: ReturnType<typeof dependency_1.testsystem.v1.common.Attachment.prototype.toObject>[];
|
|
264
|
-
error_message?: string;
|
|
265
|
-
stack_trace?: string;
|
|
266
|
-
metadata?: {
|
|
267
|
-
[key: string]: string;
|
|
268
|
-
};
|
|
269
|
-
errors?: string[];
|
|
270
|
-
}): TestResult;
|
|
271
|
-
toObject(): {
|
|
272
|
-
id?: string;
|
|
273
|
-
test_id?: string;
|
|
274
|
-
title?: string;
|
|
275
|
-
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
276
|
-
start_time?: ReturnType<typeof dependency_2.google.protobuf.Timestamp.prototype.toObject>;
|
|
277
|
-
attachments?: ReturnType<typeof dependency_1.testsystem.v1.common.Attachment.prototype.toObject>[];
|
|
278
|
-
error_message?: string;
|
|
279
|
-
stack_trace?: string;
|
|
280
|
-
metadata?: {
|
|
281
|
-
[key: string]: string;
|
|
282
|
-
};
|
|
283
234
|
errors?: string[];
|
|
235
|
+
location?: string;
|
|
284
236
|
};
|
|
285
237
|
serialize(): Uint8Array;
|
|
286
238
|
serialize(w: pb_1.BinaryWriter): void;
|
|
287
|
-
static deserialize(bytes: Uint8Array | pb_1.BinaryReader):
|
|
239
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): StepRun;
|
|
288
240
|
serializeBinary(): Uint8Array;
|
|
289
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
241
|
+
static deserializeBinary(bytes: Uint8Array): StepRun;
|
|
290
242
|
}
|
|
291
243
|
}
|
|
292
|
-
//# sourceMappingURL=
|
|
244
|
+
//# sourceMappingURL=test_case.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test_case.d.ts","sourceRoot":"","sources":["../../../../../lib/testsystem/v1/entities/test_case.ts"],"names":[],"mappings":"AAAA;;;;oDAIoD;AACpD,OAAO,KAAK,YAAY,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,YAAY,MAAM,sCAAsC,CAAC;AACrE,OAAO,KAAK,YAAY,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,yBAAiB,UAAU,CAAC,EAAE,CAAC,QAAQ,CAAC;IACpC,MAAa,YAAa,SAAQ,IAAI,CAAC,OAAO;;oBAE9B,IAAI,CAAC,EAAE,GAAG,EAAE,GAAG;YACvB,EAAE,CAAC,EAAE,MAAM,CAAC;YACZ,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,QAAQ,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YAC/B,MAAM,CAAC,EAAE,YAAY,CAAC,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC;YACtD,eAAe,CAAC,EAAE,MAAM,CAAC;YACzB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;SACnB;QA6BD,IAAI,EAAE,IAGQ,MAAM,CADnB;QACD,IAAI,EAA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,CAAC;YACtD,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;YAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;SACrB,GAAG,OAAO;QAiDX,QAAQ;iBAEK,MAAM;qBACF,MAAM;+BACI,MAAM;oBACjB,MAAM;0BACA,MAAM;yBACP,UAAU,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC;uBAC9E,UAAU,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC;mBAC/E,MAAM;uBACF;gBACP,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;aACzB;6BACgB,MAAM;2BACR,MAAM;qBACZ,YAAY,CAAC,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,UAAU;oBAC7C,MAAM;qBACL,MAAM,EAAE;uBACN,MAAM;;QAiDzB,SAAS,IAAI,UAAU;QACvB,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,YAAY,GAAG,IAAI;QAwCrC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC,YAAY,GAAG,OAAO;QAwDlE,eAAe,IAAI,UAAU;QAG7B,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO;KAGvD;CACJ"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by the protoc-gen-ts. DO NOT EDIT!
|
|
3
|
+
* compiler version: 3.19.1
|
|
4
|
+
* source: testsystem/v1/entities/test_suite.proto
|
|
5
|
+
* git: https://github.com/thesayyn/protoc-gen-ts */
|
|
6
|
+
import * as dependency_1 from "./../common/common";
|
|
7
|
+
import * as dependency_2 from "./../../../google/protobuf/timestamp";
|
|
8
|
+
import * as dependency_3 from "./../../../google/protobuf/duration";
|
|
9
|
+
import * as pb_1 from "google-protobuf";
|
|
10
|
+
export declare namespace testsystem.v1.entities {
|
|
11
|
+
enum SuiteType {
|
|
12
|
+
ROOT = 0,
|
|
13
|
+
PROJECT = 1,
|
|
14
|
+
SUBSUITE = 2
|
|
15
|
+
}
|
|
16
|
+
class TestSuiteRun extends pb_1.Message {
|
|
17
|
+
#private;
|
|
18
|
+
constructor(data?: any[] | {
|
|
19
|
+
id?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
description?: string;
|
|
22
|
+
start_time?: dependency_2.google.protobuf.Timestamp;
|
|
23
|
+
end_time?: dependency_2.google.protobuf.Timestamp;
|
|
24
|
+
duration?: dependency_3.google.protobuf.Duration;
|
|
25
|
+
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
26
|
+
metadata?: Map<string, string>;
|
|
27
|
+
test_suite_spec_id?: string;
|
|
28
|
+
initiated_by?: string;
|
|
29
|
+
});
|
|
30
|
+
get id(): string;
|
|
31
|
+
set id(value: string);
|
|
32
|
+
get name(): string;
|
|
33
|
+
set name(value: string);
|
|
34
|
+
get description(): string;
|
|
35
|
+
set description(value: string);
|
|
36
|
+
get start_time(): dependency_2.google.protobuf.Timestamp;
|
|
37
|
+
set start_time(value: dependency_2.google.protobuf.Timestamp);
|
|
38
|
+
get has_start_time(): boolean;
|
|
39
|
+
get end_time(): dependency_2.google.protobuf.Timestamp;
|
|
40
|
+
set end_time(value: dependency_2.google.protobuf.Timestamp);
|
|
41
|
+
get has_end_time(): boolean;
|
|
42
|
+
get duration(): dependency_3.google.protobuf.Duration;
|
|
43
|
+
set duration(value: dependency_3.google.protobuf.Duration);
|
|
44
|
+
get has_duration(): boolean;
|
|
45
|
+
get status(): dependency_1.testsystem.v1.common.TestStatus;
|
|
46
|
+
set status(value: dependency_1.testsystem.v1.common.TestStatus);
|
|
47
|
+
get metadata(): Map<string, string>;
|
|
48
|
+
set metadata(value: Map<string, string>);
|
|
49
|
+
get test_suite_spec_id(): string;
|
|
50
|
+
set test_suite_spec_id(value: string);
|
|
51
|
+
get initiated_by(): string;
|
|
52
|
+
set initiated_by(value: string);
|
|
53
|
+
static fromObject(data: {
|
|
54
|
+
id?: string;
|
|
55
|
+
name?: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
start_time?: ReturnType<typeof dependency_2.google.protobuf.Timestamp.prototype.toObject>;
|
|
58
|
+
end_time?: ReturnType<typeof dependency_2.google.protobuf.Timestamp.prototype.toObject>;
|
|
59
|
+
duration?: ReturnType<typeof dependency_3.google.protobuf.Duration.prototype.toObject>;
|
|
60
|
+
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
61
|
+
metadata?: {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
};
|
|
64
|
+
test_suite_spec_id?: string;
|
|
65
|
+
initiated_by?: string;
|
|
66
|
+
}): TestSuiteRun;
|
|
67
|
+
toObject(): {
|
|
68
|
+
id?: string;
|
|
69
|
+
name?: string;
|
|
70
|
+
description?: string;
|
|
71
|
+
start_time?: ReturnType<typeof dependency_2.google.protobuf.Timestamp.prototype.toObject>;
|
|
72
|
+
end_time?: ReturnType<typeof dependency_2.google.protobuf.Timestamp.prototype.toObject>;
|
|
73
|
+
duration?: ReturnType<typeof dependency_3.google.protobuf.Duration.prototype.toObject>;
|
|
74
|
+
status?: dependency_1.testsystem.v1.common.TestStatus;
|
|
75
|
+
metadata?: {
|
|
76
|
+
[key: string]: string;
|
|
77
|
+
};
|
|
78
|
+
test_suite_spec_id?: string;
|
|
79
|
+
initiated_by?: string;
|
|
80
|
+
};
|
|
81
|
+
serialize(): Uint8Array;
|
|
82
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
83
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): TestSuiteRun;
|
|
84
|
+
serializeBinary(): Uint8Array;
|
|
85
|
+
static deserializeBinary(bytes: Uint8Array): TestSuiteRun;
|
|
86
|
+
}
|
|
87
|
+
class TestSuiteSpec extends pb_1.Message {
|
|
88
|
+
#private;
|
|
89
|
+
constructor(data?: any[] | {
|
|
90
|
+
id?: string;
|
|
91
|
+
name?: string;
|
|
92
|
+
run_id?: string;
|
|
93
|
+
test_spec_ids?: string[];
|
|
94
|
+
sub_suite_ids?: string[];
|
|
95
|
+
description?: string;
|
|
96
|
+
location?: string;
|
|
97
|
+
metadata?: Map<string, string>;
|
|
98
|
+
type?: SuiteType;
|
|
99
|
+
parent_suite_id?: string;
|
|
100
|
+
author?: string;
|
|
101
|
+
owner?: string;
|
|
102
|
+
});
|
|
103
|
+
get id(): string;
|
|
104
|
+
set id(value: string);
|
|
105
|
+
get name(): string;
|
|
106
|
+
set name(value: string);
|
|
107
|
+
get run_id(): string;
|
|
108
|
+
set run_id(value: string);
|
|
109
|
+
get test_spec_ids(): string[];
|
|
110
|
+
set test_spec_ids(value: string[]);
|
|
111
|
+
get sub_suite_ids(): string[];
|
|
112
|
+
set sub_suite_ids(value: string[]);
|
|
113
|
+
get description(): string;
|
|
114
|
+
set description(value: string);
|
|
115
|
+
get location(): string;
|
|
116
|
+
set location(value: string);
|
|
117
|
+
get metadata(): Map<string, string>;
|
|
118
|
+
set metadata(value: Map<string, string>);
|
|
119
|
+
get type(): SuiteType;
|
|
120
|
+
set type(value: SuiteType);
|
|
121
|
+
get parent_suite_id(): string;
|
|
122
|
+
set parent_suite_id(value: string);
|
|
123
|
+
get author(): string;
|
|
124
|
+
set author(value: string);
|
|
125
|
+
get owner(): string;
|
|
126
|
+
set owner(value: string);
|
|
127
|
+
static fromObject(data: {
|
|
128
|
+
id?: string;
|
|
129
|
+
name?: string;
|
|
130
|
+
run_id?: string;
|
|
131
|
+
test_spec_ids?: string[];
|
|
132
|
+
sub_suite_ids?: string[];
|
|
133
|
+
description?: string;
|
|
134
|
+
location?: string;
|
|
135
|
+
metadata?: {
|
|
136
|
+
[key: string]: string;
|
|
137
|
+
};
|
|
138
|
+
type?: SuiteType;
|
|
139
|
+
parent_suite_id?: string;
|
|
140
|
+
author?: string;
|
|
141
|
+
owner?: string;
|
|
142
|
+
}): TestSuiteSpec;
|
|
143
|
+
toObject(): {
|
|
144
|
+
id?: string;
|
|
145
|
+
name?: string;
|
|
146
|
+
run_id?: string;
|
|
147
|
+
test_spec_ids?: string[];
|
|
148
|
+
sub_suite_ids?: string[];
|
|
149
|
+
description?: string;
|
|
150
|
+
location?: string;
|
|
151
|
+
metadata?: {
|
|
152
|
+
[key: string]: string;
|
|
153
|
+
};
|
|
154
|
+
type?: SuiteType;
|
|
155
|
+
parent_suite_id?: string;
|
|
156
|
+
author?: string;
|
|
157
|
+
owner?: string;
|
|
158
|
+
};
|
|
159
|
+
serialize(): Uint8Array;
|
|
160
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
161
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): TestSuiteSpec;
|
|
162
|
+
serializeBinary(): Uint8Array;
|
|
163
|
+
static deserializeBinary(bytes: Uint8Array): TestSuiteSpec;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
//# sourceMappingURL=test_suite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test_suite.d.ts","sourceRoot":"","sources":["../../../../../lib/testsystem/v1/entities/test_suite.ts"],"names":[],"mappings":"AAAA;;;;oDAIoD;AACpD,OAAO,KAAK,YAAY,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,YAAY,MAAM,sCAAsC,CAAC;AACrE,OAAO,KAAK,YAAY,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,yBAAiB,UAAU,CAAC,EAAE,CAAC,QAAQ,CAAC;IACpC,KAAY,SAAS;QACjB,IAAI,IAAI;QACR,OAAO,IAAI;QACX,QAAQ,IAAI;KACf;IACD,MAAa,YAAa,SAAQ,IAAI,CAAC,OAAO;;oBAE9B,IAAI,CAAC,EAAE,GAAG,EAAE,GAAG;YACvB,EAAE,CAAC,EAAE,MAAM,CAAC;YACZ,IAAI,CAAC,EAAE,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