mirror of
https://github.com/github/codeql.git
synced 2026-04-22 23:35:14 +02:00
Add test for empty argfile
This commit is contained in:
1
java/ql/test/library-tests/empty-argfile/Test.java
Normal file
1
java/ql/test/library-tests/empty-argfile/Test.java
Normal file
@@ -0,0 +1 @@
|
||||
public class Test { }
|
||||
0
java/ql/test/library-tests/empty-argfile/argfile
Normal file
0
java/ql/test/library-tests/empty-argfile/argfile
Normal file
1
java/ql/test/library-tests/empty-argfile/options
Normal file
1
java/ql/test/library-tests/empty-argfile/options
Normal file
@@ -0,0 +1 @@
|
||||
//semmle-extractor-options: --javac-args @${testdir}/argfile
|
||||
1
java/ql/test/library-tests/empty-argfile/test.expected
Normal file
1
java/ql/test/library-tests/empty-argfile/test.expected
Normal file
@@ -0,0 +1 @@
|
||||
| Test.java:1:14:1:17 | Test |
|
||||
5
java/ql/test/library-tests/empty-argfile/test.ql
Normal file
5
java/ql/test/library-tests/empty-argfile/test.ql
Normal file
@@ -0,0 +1,5 @@
|
||||
import java
|
||||
|
||||
from Class c
|
||||
where c.fromSource()
|
||||
select c
|
||||
Reference in New Issue
Block a user