Skip to content

Commit 6349903

Browse files
committed
JS: Move FlowSummary/Summaries.qll into testUtilities
1 parent e34064e commit 6349903

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

javascript/ql/test/library-tests/FlowSummary/test.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import javascript
22
import testUtilities.ConsistencyChecking
3-
import Summaries
3+
import testUtilities.InlineSummaries
44

55
DataFlow::CallNode getACall(string name) {
66
result.getCalleeName() = name

javascript/ql/test/library-tests/FlowSummary/Summaries.qll renamed to javascript/ql/test/testUtilities/InlineSummaries.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ class MkSummary extends SummarizedCallable {
1111
mkSummary.getLocation().getStartLine()
1212
}
1313

14-
override DataFlow::InvokeNode getACall() {
14+
override DataFlow::InvokeNode getACallSimple() {
1515
result = mkSummary.flow().(DataFlow::CallNode).getAnInvocation()
1616
}
1717

18-
override predicate propagatesFlowExt(string input, string output, boolean preservesValue) {
18+
override predicate propagatesFlow(string input, string output, boolean preservesValue) {
1919
preservesValue = true and
2020
(
2121
// mkSummary(input, output)

0 commit comments

Comments
 (0)