Skip to content

Commit 134eeb1

Browse files
author
Stephan Brandauer
committed
Java: tests for automodel application mode, test that local calls are not candidates
1 parent 414be0f commit 134eeb1

File tree

1 file changed

+6
-0
lines changed
  • java/ql/test/query-tests/Telemetry/AutomodelApplicationModeExtractCandidates

1 file changed

+6
-0
lines changed

java/ql/test/query-tests/Telemetry/AutomodelApplicationModeExtractCandidates/Test.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,10 @@ public static InputStream getInputStream(Path openPath) throws Exception {
3333
openPath // no candidate (known sink)
3434
);
3535
}
36+
37+
public static InputStream getInputStream(String openPath) throws Exception {
38+
return AutomodelApplicationModeExtractCandidates.getInputStream(
39+
Paths.get(openPath) // no candidate (argument to local call)
40+
);
41+
}
3642
}

0 commit comments

Comments
 (0)