Skip to content

Commit 9f234e9

Browse files
committed
Ruby: Merge duplicate tests
1 parent 7b9519f commit 9f234e9

File tree

5 files changed

+135
-416
lines changed

5 files changed

+135
-416
lines changed

ruby/ql/test/library-tests/frameworks/active_support/ActiveSupportDataFlow.expected

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,40 @@ edges
102102
| active_support.rb:134:10:134:10 | b [element] : | active_support.rb:134:10:134:13 | ...[...] |
103103
| active_support.rb:135:10:135:10 | b [element] : | active_support.rb:135:10:135:13 | ...[...] |
104104
| active_support.rb:135:10:135:10 | b [element] : | active_support.rb:135:10:135:13 | ...[...] |
105+
| active_support.rb:139:7:139:16 | call to source : | active_support.rb:140:34:140:34 | x : |
106+
| active_support.rb:140:7:140:35 | call to new : | active_support.rb:141:8:141:8 | y |
107+
| active_support.rb:140:34:140:34 | x : | active_support.rb:140:7:140:35 | call to new : |
108+
| active_support.rb:146:7:146:16 | call to source : | active_support.rb:147:21:147:21 | b : |
109+
| active_support.rb:147:7:147:22 | call to safe_concat : | active_support.rb:148:8:148:8 | y |
110+
| active_support.rb:147:21:147:21 | b : | active_support.rb:147:7:147:22 | call to safe_concat : |
111+
| active_support.rb:153:7:153:16 | call to source : | active_support.rb:154:17:154:17 | b : |
112+
| active_support.rb:154:3:154:3 | [post] x : | active_support.rb:155:8:155:8 | x |
113+
| active_support.rb:154:17:154:17 | b : | active_support.rb:154:3:154:3 | [post] x : |
114+
| active_support.rb:159:7:159:16 | call to source : | active_support.rb:161:34:161:34 | a : |
115+
| active_support.rb:161:7:161:35 | call to new : | active_support.rb:162:7:162:7 | x : |
116+
| active_support.rb:161:34:161:34 | a : | active_support.rb:161:7:161:35 | call to new : |
117+
| active_support.rb:162:7:162:7 | x : | active_support.rb:162:7:162:17 | call to concat : |
118+
| active_support.rb:162:7:162:17 | call to concat : | active_support.rb:163:8:163:8 | y |
119+
| active_support.rb:167:7:167:16 | call to source : | active_support.rb:169:34:169:34 | a : |
120+
| active_support.rb:169:7:169:35 | call to new : | active_support.rb:170:7:170:7 | x : |
121+
| active_support.rb:169:34:169:34 | a : | active_support.rb:169:7:169:35 | call to new : |
122+
| active_support.rb:170:7:170:7 | x : | active_support.rb:170:7:170:20 | call to insert : |
123+
| active_support.rb:170:7:170:20 | call to insert : | active_support.rb:171:8:171:8 | y |
124+
| active_support.rb:175:7:175:16 | call to source : | active_support.rb:177:34:177:34 | a : |
125+
| active_support.rb:177:7:177:35 | call to new : | active_support.rb:178:7:178:7 | x : |
126+
| active_support.rb:177:34:177:34 | a : | active_support.rb:177:7:177:35 | call to new : |
127+
| active_support.rb:178:7:178:7 | x : | active_support.rb:178:7:178:18 | call to prepend : |
128+
| active_support.rb:178:7:178:18 | call to prepend : | active_support.rb:179:8:179:8 | y |
129+
| active_support.rb:183:7:183:16 | call to source : | active_support.rb:184:34:184:34 | a : |
130+
| active_support.rb:184:7:184:35 | call to new : | active_support.rb:185:7:185:7 | x : |
131+
| active_support.rb:184:34:184:34 | a : | active_support.rb:184:7:184:35 | call to new : |
132+
| active_support.rb:185:7:185:7 | x : | active_support.rb:185:7:185:12 | call to to_s : |
133+
| active_support.rb:185:7:185:12 | call to to_s : | active_support.rb:186:8:186:8 | y |
134+
| active_support.rb:190:7:190:16 | call to source : | active_support.rb:191:34:191:34 | a : |
135+
| active_support.rb:191:7:191:35 | call to new : | active_support.rb:192:7:192:7 | x : |
136+
| active_support.rb:191:34:191:34 | a : | active_support.rb:191:7:191:35 | call to new : |
137+
| active_support.rb:192:7:192:7 | x : | active_support.rb:192:7:192:16 | call to to_param : |
138+
| active_support.rb:192:7:192:16 | call to to_param : | active_support.rb:193:8:193:8 | y |
105139
nodes
106140
| active_support.rb:9:9:9:18 | call to source : | semmle.label | call to source : |
107141
| active_support.rb:10:10:10:10 | x : | semmle.label | x : |
@@ -234,6 +268,48 @@ nodes
234268
| active_support.rb:135:10:135:10 | b [element] : | semmle.label | b [element] : |
235269
| active_support.rb:135:10:135:13 | ...[...] | semmle.label | ...[...] |
236270
| active_support.rb:135:10:135:13 | ...[...] | semmle.label | ...[...] |
271+
| active_support.rb:139:7:139:16 | call to source : | semmle.label | call to source : |
272+
| active_support.rb:140:7:140:35 | call to new : | semmle.label | call to new : |
273+
| active_support.rb:140:34:140:34 | x : | semmle.label | x : |
274+
| active_support.rb:141:8:141:8 | y | semmle.label | y |
275+
| active_support.rb:146:7:146:16 | call to source : | semmle.label | call to source : |
276+
| active_support.rb:147:7:147:22 | call to safe_concat : | semmle.label | call to safe_concat : |
277+
| active_support.rb:147:21:147:21 | b : | semmle.label | b : |
278+
| active_support.rb:148:8:148:8 | y | semmle.label | y |
279+
| active_support.rb:153:7:153:16 | call to source : | semmle.label | call to source : |
280+
| active_support.rb:154:3:154:3 | [post] x : | semmle.label | [post] x : |
281+
| active_support.rb:154:17:154:17 | b : | semmle.label | b : |
282+
| active_support.rb:155:8:155:8 | x | semmle.label | x |
283+
| active_support.rb:159:7:159:16 | call to source : | semmle.label | call to source : |
284+
| active_support.rb:161:7:161:35 | call to new : | semmle.label | call to new : |
285+
| active_support.rb:161:34:161:34 | a : | semmle.label | a : |
286+
| active_support.rb:162:7:162:7 | x : | semmle.label | x : |
287+
| active_support.rb:162:7:162:17 | call to concat : | semmle.label | call to concat : |
288+
| active_support.rb:163:8:163:8 | y | semmle.label | y |
289+
| active_support.rb:167:7:167:16 | call to source : | semmle.label | call to source : |
290+
| active_support.rb:169:7:169:35 | call to new : | semmle.label | call to new : |
291+
| active_support.rb:169:34:169:34 | a : | semmle.label | a : |
292+
| active_support.rb:170:7:170:7 | x : | semmle.label | x : |
293+
| active_support.rb:170:7:170:20 | call to insert : | semmle.label | call to insert : |
294+
| active_support.rb:171:8:171:8 | y | semmle.label | y |
295+
| active_support.rb:175:7:175:16 | call to source : | semmle.label | call to source : |
296+
| active_support.rb:177:7:177:35 | call to new : | semmle.label | call to new : |
297+
| active_support.rb:177:34:177:34 | a : | semmle.label | a : |
298+
| active_support.rb:178:7:178:7 | x : | semmle.label | x : |
299+
| active_support.rb:178:7:178:18 | call to prepend : | semmle.label | call to prepend : |
300+
| active_support.rb:179:8:179:8 | y | semmle.label | y |
301+
| active_support.rb:183:7:183:16 | call to source : | semmle.label | call to source : |
302+
| active_support.rb:184:7:184:35 | call to new : | semmle.label | call to new : |
303+
| active_support.rb:184:34:184:34 | a : | semmle.label | a : |
304+
| active_support.rb:185:7:185:7 | x : | semmle.label | x : |
305+
| active_support.rb:185:7:185:12 | call to to_s : | semmle.label | call to to_s : |
306+
| active_support.rb:186:8:186:8 | y | semmle.label | y |
307+
| active_support.rb:190:7:190:16 | call to source : | semmle.label | call to source : |
308+
| active_support.rb:191:7:191:35 | call to new : | semmle.label | call to new : |
309+
| active_support.rb:191:34:191:34 | a : | semmle.label | a : |
310+
| active_support.rb:192:7:192:7 | x : | semmle.label | x : |
311+
| active_support.rb:192:7:192:16 | call to to_param : | semmle.label | call to to_param : |
312+
| active_support.rb:193:8:193:8 | y | semmle.label | y |
237313
subpaths
238314
#select
239315
| active_support.rb:106:10:106:13 | ...[...] | active_support.rb:104:10:104:17 | call to source : | active_support.rb:106:10:106:13 | ...[...] | $@ | active_support.rb:104:10:104:17 | call to source : | call to source : |

0 commit comments

Comments
 (0)