Add test for the case of a module definition in a file not named module-info.java in a buildless extraction

This commit is contained in:
Chris Smowton
2023-09-21 14:40:42 +01:00
parent e9e58d97be
commit 14998606b7
6 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
Test2.java:
# 0| [CompilationUnit] Test2
# 1| 1: [Class] Test2

View File

@@ -0,0 +1,2 @@
| Test2.java:0:0:0:0 | Test2 |
| Test.java:0:0:0:0 | Test.java |

View File

@@ -0,0 +1,5 @@
import sys
from create_database_utils import *
run_codeql_database_create([], lang="java", extra_args=["--extractor-option=buildless=true"])