Skip to content

Commit 0b156ff

Browse files
authored
Lobster Json inputs and inputs from file test cases (#330)
`lobster-json` testcases for `inputs` & `inputs_from_file` parameters having files, directories and files & directories as inputs.
1 parent 560c413 commit 0b156ff

17 files changed

Lines changed: 1900 additions & 5 deletions
Lines changed: 315 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,315 @@
1+
{
2+
"data": [
3+
{
4+
"tag": "json ./inputs_non_critical.json:Non_Critical_1",
5+
"location": {
6+
"kind": "file",
7+
"file": "./inputs_non_critical.json",
8+
"line": null,
9+
"column": null
10+
},
11+
"name": "./inputs_non_critical.json:Non_Critical_1",
12+
"messages": [],
13+
"just_up": [],
14+
"just_down": [],
15+
"just_global": [],
16+
"refs": [
17+
"req Blind Spot Monitoring",
18+
"req Rear Cross Traffic Alert"
19+
],
20+
"framework": "JSON",
21+
"kind": "Test Vector",
22+
"status": null
23+
},
24+
{
25+
"tag": "json ./inputs_non_critical.json:Non_Critical_2",
26+
"location": {
27+
"kind": "file",
28+
"file": "./inputs_non_critical.json",
29+
"line": null,
30+
"column": null
31+
},
32+
"name": "./inputs_non_critical.json:Non_Critical_2",
33+
"messages": [],
34+
"just_up": [],
35+
"just_down": [],
36+
"just_global": [],
37+
"refs": [
38+
"req Automatic Emergency Braking",
39+
"req Collision Warning"
40+
],
41+
"framework": "JSON",
42+
"kind": "Test Vector",
43+
"status": null
44+
},
45+
{
46+
"tag": "json ./inputs_non_critical.json:Non_Critical_3",
47+
"location": {
48+
"kind": "file",
49+
"file": "./inputs_non_critical.json",
50+
"line": null,
51+
"column": null
52+
},
53+
"name": "./inputs_non_critical.json:Non_Critical_3",
54+
"messages": [],
55+
"just_up": [],
56+
"just_down": [],
57+
"just_global": [],
58+
"refs": [
59+
"req Parking Sensors",
60+
"req Rearview Camera"
61+
],
62+
"framework": "JSON",
63+
"kind": "Test Vector",
64+
"status": null
65+
},
66+
{
67+
"tag": "json ./inputs_safety.json:Safety_Features_1",
68+
"location": {
69+
"kind": "file",
70+
"file": "./inputs_safety.json",
71+
"line": null,
72+
"column": null
73+
},
74+
"name": "./inputs_safety.json:Safety_Features_1",
75+
"messages": [],
76+
"just_up": [],
77+
"just_down": [],
78+
"just_global": [],
79+
"refs": [
80+
"req Air Conditioning",
81+
"req Climate Control"
82+
],
83+
"framework": "JSON",
84+
"kind": "Test Vector",
85+
"status": null
86+
},
87+
{
88+
"tag": "json ./inputs_safety.json:Safety_Features_2",
89+
"location": {
90+
"kind": "file",
91+
"file": "./inputs_safety.json",
92+
"line": null,
93+
"column": null
94+
},
95+
"name": "./inputs_safety.json:Safety_Features_2",
96+
"messages": [],
97+
"just_up": [],
98+
"just_down": [],
99+
"just_global": [],
100+
"refs": [
101+
"req Cruise Control",
102+
"req Adaptive Cruise Control"
103+
],
104+
"framework": "JSON",
105+
"kind": "Test Vector",
106+
"status": null
107+
},
108+
{
109+
"tag": "json ./inputs_safety.json:Safety_Features_3",
110+
"location": {
111+
"kind": "file",
112+
"file": "./inputs_safety.json",
113+
"line": null,
114+
"column": null
115+
},
116+
"name": "./inputs_safety.json:Safety_Features_3",
117+
"messages": [],
118+
"just_up": [],
119+
"just_down": [],
120+
"just_global": [],
121+
"refs": [
122+
"req Lane Assist",
123+
"req Lane Departure Warning"
124+
],
125+
"framework": "JSON",
126+
"kind": "Test Vector",
127+
"status": null
128+
},
129+
{
130+
"tag": "json ./inputs_safety.json:Safety_Features_4",
131+
"location": {
132+
"kind": "file",
133+
"file": "./inputs_safety.json",
134+
"line": null,
135+
"column": null
136+
},
137+
"name": "./inputs_safety.json:Safety_Features_4",
138+
"messages": [],
139+
"just_up": [],
140+
"just_down": [],
141+
"just_global": [],
142+
"refs": [
143+
"req Blind Spot Monitoring",
144+
"req Rear Cross Traffic Alert"
145+
],
146+
"framework": "JSON",
147+
"kind": "Test Vector",
148+
"status": null
149+
},
150+
{
151+
"tag": "json ./inputs_safety.json:Safety_Features_5",
152+
"location": {
153+
"kind": "file",
154+
"file": "./inputs_safety.json",
155+
"line": null,
156+
"column": null
157+
},
158+
"name": "./inputs_safety.json:Safety_Features_5",
159+
"messages": [],
160+
"just_up": [],
161+
"just_down": [],
162+
"just_global": [],
163+
"refs": [
164+
"req Automatic Emergency Braking",
165+
"req Collision Warning"
166+
],
167+
"framework": "JSON",
168+
"kind": "Test Vector",
169+
"status": null
170+
},
171+
{
172+
"tag": "json ./inputs_safety.json:Safety_Features_6",
173+
"location": {
174+
"kind": "file",
175+
"file": "./inputs_safety.json",
176+
"line": null,
177+
"column": null
178+
},
179+
"name": "./inputs_safety.json:Safety_Features_6",
180+
"messages": [],
181+
"just_up": [],
182+
"just_down": [],
183+
"just_global": [],
184+
"refs": [
185+
"req Parking Sensors",
186+
"req Rearview Camera"
187+
],
188+
"framework": "JSON",
189+
"kind": "Test Vector",
190+
"status": null
191+
},
192+
{
193+
"tag": "json ./inputs_safety.json:Safety_Features_7",
194+
"location": {
195+
"kind": "file",
196+
"file": "./inputs_safety.json",
197+
"line": null,
198+
"column": null
199+
},
200+
"name": "./inputs_safety.json:Safety_Features_7",
201+
"messages": [],
202+
"just_up": [
203+
"Testing justification attribute which is only relevant for tag_attribute and not name_attribute"
204+
],
205+
"just_down": [],
206+
"just_global": [],
207+
"framework": "JSON",
208+
"kind": "Test Vector",
209+
"status": null
210+
},
211+
{
212+
"tag": "json ./nested_directory_data/car_software_critical.json:Emergency Braking System Activation",
213+
"location": {
214+
"kind": "file",
215+
"file": "./nested_directory_data/car_software_critical.json",
216+
"line": null,
217+
"column": null
218+
},
219+
"name": "./nested_directory_data/car_software_critical.json:Emergency Braking System Activation",
220+
"messages": [],
221+
"just_up": [],
222+
"just_down": [],
223+
"just_global": [],
224+
"refs": [
225+
"req ADSF-001"
226+
],
227+
"framework": "JSON",
228+
"kind": "Test Vector",
229+
"status": null
230+
},
231+
{
232+
"tag": "json ./nested_directory_data/car_software_critical.json:Lane Keeping Assist on Curved Roads",
233+
"location": {
234+
"kind": "file",
235+
"file": "./nested_directory_data/car_software_critical.json",
236+
"line": null,
237+
"column": null
238+
},
239+
"name": "./nested_directory_data/car_software_critical.json:Lane Keeping Assist on Curved Roads",
240+
"messages": [],
241+
"just_up": [],
242+
"just_down": [],
243+
"just_global": [],
244+
"refs": [
245+
"req ADSF-002"
246+
],
247+
"framework": "JSON",
248+
"kind": "Test Vector",
249+
"status": null
250+
},
251+
{
252+
"tag": "json ./nested_directory_data/car_software_critical.json:Adaptive Cruise Control Distance Maintenance",
253+
"location": {
254+
"kind": "file",
255+
"file": "./nested_directory_data/car_software_critical.json",
256+
"line": null,
257+
"column": null
258+
},
259+
"name": "./nested_directory_data/car_software_critical.json:Adaptive Cruise Control Distance Maintenance",
260+
"messages": [],
261+
"just_up": [],
262+
"just_down": [],
263+
"just_global": [],
264+
"refs": [
265+
"req ADSF-003"
266+
],
267+
"framework": "JSON",
268+
"kind": "Test Vector",
269+
"status": null
270+
},
271+
{
272+
"tag": "json ./nested_directory_data/car_software_critical.json:Pedestrian Detection and Response",
273+
"location": {
274+
"kind": "file",
275+
"file": "./nested_directory_data/car_software_critical.json",
276+
"line": null,
277+
"column": null
278+
},
279+
"name": "./nested_directory_data/car_software_critical.json:Pedestrian Detection and Response",
280+
"messages": [],
281+
"just_up": [],
282+
"just_down": [],
283+
"just_global": [],
284+
"refs": [
285+
"req ADSF-004"
286+
],
287+
"framework": "JSON",
288+
"kind": "Test Vector",
289+
"status": null
290+
},
291+
{
292+
"tag": "json ./nested_directory_data/car_software_critical.json:Driver Alertness Monitoring System Assessment",
293+
"location": {
294+
"kind": "file",
295+
"file": "./nested_directory_data/car_software_critical.json",
296+
"line": null,
297+
"column": null
298+
},
299+
"name": "./nested_directory_data/car_software_critical.json:Driver Alertness Monitoring System Assessment",
300+
"messages": [],
301+
"just_up": [],
302+
"just_down": [],
303+
"just_global": [],
304+
"refs": [
305+
"req ADSF-005"
306+
],
307+
"framework": "JSON",
308+
"kind": "Test Vector",
309+
"status": null
310+
}
311+
],
312+
"generator": "lobster-json",
313+
"schema": "lobster-act-trace",
314+
"version": 3
315+
}

0 commit comments

Comments
 (0)