Skip to content

Commit cd874f7

Browse files
authored
Merge pull request #454 from geoffw0/move-tests
CPP: Move the tests from library-tests/queries
2 parents 86e31a5 + 1d464ae commit cd874f7

File tree

20 files changed

+11
-13
lines changed

20 files changed

+11
-13
lines changed

cpp/ql/test/library-tests/queries/expr_has_no_effect/expr_has_no_effect.expected

Lines changed: 0 additions & 7 deletions
This file was deleted.

cpp/ql/test/library-tests/queries/expr_has_no_effect/expr_has_no_effect.qlref

Lines changed: 0 additions & 1 deletion
This file was deleted.

cpp/ql/test/library-tests/queries/todo_fixme/.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

cpp/ql/test/library-tests/queries/todo_fixme/todo.expected

Lines changed: 0 additions & 3 deletions
This file was deleted.

cpp/ql/test/library-tests/queries/todo_fixme/todo.qlref

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
todo.c text eol=lf
2+
todo_fixme.cpp text eol=lf

cpp/ql/test/library-tests/queries/todo_fixme/fixme.expected renamed to cpp/ql/test/query-tests/Documentation/TodoComments/FixmeComments.expected

File renamed without changes.

cpp/ql/test/library-tests/queries/todo_fixme/fixme.qlref renamed to cpp/ql/test/query-tests/Documentation/TodoComments/FixmeComments.qlref

File renamed without changes.

cpp/ql/test/query-tests/Documentation/TodoComments/TodoComments.expected

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@
66
| todo.c:17:1:21:15 | /* Some comment\n * TODO This is a mid-comment\n * multi-line comment with two\n * TODO comments\n * inside it */ | TODO comment: comments [...] |
77
| todo.c:23:1:23:53 | /* TODO This comment mentions TODO in its body too */ | TODO comment: This comment mentions TODO in its body too |
88
| todo.c:25:1:25:40 | // TODO: Can have C++-style comments too | TODO comment: Can have C++-style comments too |
9+
| todo_fixme.cpp:1:1:1:17 | // TODO: Thing 1. | TODO comment: Thing 1. |
10+
| todo_fixme.cpp:2:1:2:20 | /* TODO: Thing 2. */ | TODO comment: Thing 2. |
11+
| todo_fixme.cpp:3:1:5:3 | /**\n * TODO: Thing 3.\n */ | TODO comment: Thing 3. |

cpp/ql/test/library-tests/queries/todo_fixme/todo_fixme.cpp renamed to cpp/ql/test/query-tests/Documentation/TodoComments/todo_fixme.cpp

File renamed without changes.

0 commit comments

Comments
 (0)