Files
Henning Makholm 66b3c7cf07 JS tests: add queries.xml
The `queries.xml` file defines which extractor the `codeql test` runner will use
to extract databases for the tests. In the future one will be able to write this
information in `qlpack.yml`, but we can't do that immediately because the
_existing_ CodeQL tooling would refuse to parse a `qlpack.yml` that has the new
field in it.

Adding a queries.xml file means that the normalization of file names in the test
output changes even with the old QLTest, so there are a number of consequential
updates of expected output files.
2019-12-07 02:38:02 +01:00

40 lines
1.5 KiB
Plaintext

test_query14
| tst.js:9:1:9:3 | h() | Unable to find a callee for this call site. |
test_query21
| tst.js:19:4:19:9 | @param | @param tag is missing name. |
test_query15
test_query10
| tst.js:31:1:33:1 | functio ... ++i);\\n} | This function uses i like a local variable. |
test_query4
| tst.js:29:1:29:5 | 1 + 2 | This expression should be bracketed to clarify precedence rules. |
test_query19
test_query17
test_query18
| m.js:1:1:3:0 | <toplevel> | 0 |
test_query8
| tst.js:1:2:1:24 | { x: 23 ... x: 56 } | Property x is defined both $@ and $@. | tst.js:1:4:1:8 | x: 23 | here | tst.js:1:18:1:22 | x: 56 | here |
test_query11
| tst.js:21:12:21:12 | x | Dead store of local variable. |
| tst.js:31:12:31:12 | x | Dead store of local variable. |
| tst.js:31:15:31:15 | y | Dead store of local variable. |
| tst.js:31:18:31:18 | x | Dead store of local variable. |
test_query12
test_query20
test_query3
| tst.js:27:1:27:4 | <!-- | Do not use HTML comments. |
test_query1
| | 0 |
| tutorials | 0 |
| tutorials/Introducing the JavaScript libraries | 2 |
test_query13
test_query9
| tst.js:3:1:3:15 | function f() {} | tst.js:6:5:6:19 | function f() {} |
| tst.js:6:5:6:19 | function f() {} | tst.js:3:1:3:15 | function f() {} |
test_query5
test_query2
| tst.js:25:3:25:3 | , | Omitted array elements are bad style. |
test_query6
| tst.js:31:1:33:1 | functio ... ++i);\\n} | This function has two parameters that bind the same variable. |
test_query7
| tst.js:35:1:35:9 | var j, j; | Variable j is declared both $@ and $@. | tst.js:35:5:35:5 | j | here | tst.js:35:8:35:8 | j | here |