Update test data

This commit is contained in:
Arthur Baars
2024-09-13 10:22:01 +02:00
parent c634b0a000
commit 085aad3b3c
7 changed files with 11 additions and 10 deletions

View File

@@ -1,13 +1,4 @@
private import codeql.rust.elements
cached
predicate toBeTested(Element e) {
exists(File f |
f.getName().matches("%rust/ql/test%") and
(
e = f
or
e.(Locatable).getLocation().getFile() = f
)
)
}
predicate toBeTested(Element e) { any() }

View File

@@ -1,2 +1,3 @@
| file://:0:0:0:0 | | UnknownFile | getName: | |
| lib.rs:0:0:0:0 | lib.rs | DbFile | getName: | lib.rs |
| test.rs:0:0:0:0 | test.rs | DbFile | getName: | test.rs |

View File

@@ -0,0 +1 @@
| file://:0:0:0:0 | GenericArgs |

View File

@@ -0,0 +1,7 @@
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 0 |
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 0 |
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 0 |
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 0 |
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 0 |
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 0 |
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 1 |

View File

@@ -0,0 +1 @@
| file://:0:0:0:0 | Module | 0 | gen_module.rs:6:5:6:19 | baz |