Skip to content

Commit d58bb47

Browse files
committed
Refactor tests
1 parent ab4dc30 commit d58bb47

File tree

6 files changed

+76
-218
lines changed

6 files changed

+76
-218
lines changed

java/ql/src/Security/CWE/CWE-295/InsecureTrustManager.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ import DataFlow::PathGraph
1616

1717
from DataFlow::PathNode source, DataFlow::PathNode sink
1818
where any(InsecureTrustManagerConfiguration cfg).hasFlowPath(source, sink)
19-
select sink, source, sink, "This $@, that is defined $@, trusts any certificate and is used here.",
19+
select sink, source, sink, "This $@, which is defined $@ and trusts any certificate, is used here.",
2020
source, "TrustManager", source.getNode().asExpr().(ClassInstanceExpr).getConstructedType(), "here"

java/ql/test/query-tests/security/CWE-295/InsecureTrustManager/InsecureTrustManager.expected

Lines changed: 0 additions & 94 deletions
This file was deleted.

java/ql/test/query-tests/security/CWE-295/InsecureTrustManager/InsecureTrustManager.qlref

Lines changed: 0 additions & 1 deletion
This file was deleted.

java/ql/test/query-tests/security/CWE-295/InsecureTrustManager/InsecureTrustManagerTest.expected

Whitespace-only changes.

0 commit comments

Comments
 (0)