We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de87f8f commit a6bcbe7Copy full SHA for a6bcbe7
cpp/ql/src/Metrics/Files/FNumberOfTests.ql
@@ -18,6 +18,9 @@ Expr getTest() {
18
or
19
// boost tests; http://www.boost.org/
20
result.(FunctionCall).getTarget().hasQualifiedName("boost::unit_test", "make_test_case")
21
+ or
22
+ // googletest tests; https://github.com/google/googletest/
23
+ result.(FunctionCall).getTarget().hasQualifiedName("testing::internal", "MakeAndRegisterTestInfo")
24
}
25
26
from File f, int n
0 commit comments