File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,9 @@ class TestLibrary extends RefType {
24
24
}
25
25
}
26
26
27
- /** Holds if the given callable is part of a common testing library or framework. */
28
- private predicate isTestLibrary ( DotNet:: Callable c ) { c .getDeclaringType ( ) instanceof TestLibrary }
29
-
30
27
/** Holds if the given callable is not worth supporting. */
31
28
private predicate isUninteresting ( DotNet:: Callable c ) {
32
- isTestLibrary ( c ) or
29
+ c . getDeclaringType ( ) instanceof TestLibrary or
33
30
c .( Constructor ) .isParameterless ( )
34
31
}
35
32
Original file line number Diff line number Diff line change @@ -31,12 +31,9 @@ private string containerAsJar(Container container) {
31
31
if container instanceof JarFile then result = container .getBaseName ( ) else result = "rt.jar"
32
32
}
33
33
34
- /** Holds if the given callable is part of a common testing library or framework. */
35
- private predicate isTestLibrary ( Callable c ) { c .getDeclaringType ( ) instanceof TestLibrary }
36
-
37
34
/** Holds if the given callable is not worth supporting. */
38
35
private predicate isUninteresting ( Callable c ) {
39
- isTestLibrary ( c ) or
36
+ c . getDeclaringType ( ) instanceof TestLibrary or
40
37
c .( Constructor ) .isParameterless ( )
41
38
}
42
39
You can’t perform that action at this time.
0 commit comments