Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe7add7

Browse files
committed
Java: Account for the repo move in NonSecurityTestClass.
1 parent a29f615 commit fe7add7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

java/ql/src/semmle/code/java/security/SecurityTests.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class NonSecurityTestClass extends TestClass {
77
NonSecurityTestClass() {
88
not exists(RefType s | this.getASupertype*().getSourceDeclaration() = s and s.fromSource() |
99
s.getLocation().getFile().getAbsolutePath().matches("%semmle%") or
10+
s.getLocation().getFile().getAbsolutePath().matches("%ql/java/ql/test/%") or
1011
s.getLocation().getFile().getAbsolutePath().matches("%CWE%")
1112
)
1213
}

0 commit comments

Comments
 (0)