Skip to content

Commit 6ef3299

Browse files
committed
Java: Promote java/mocking-all-non-private-methods-means-unit-test-is-too-big to quality status
1 parent bec59c5 commit 6ef3299

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

java/ql/integration-tests/java/query-suite/java-code-quality-extended.qls.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ ql/java/ql/src/Likely Bugs/Concurrency/ScheduledThreadPoolExecutorZeroThread.ql
3737
ql/java/ql/src/Likely Bugs/Concurrency/SynchOnBoxedType.ql
3838
ql/java/ql/src/Likely Bugs/Concurrency/SynchSetUnsynchGet.ql
3939
ql/java/ql/src/Likely Bugs/Frameworks/JUnit/JUnit5MissingNestedAnnotation.ql
40+
ql/java/ql/src/Likely Bugs/Frameworks/JUnit/MockingAllNonPrivateMethodsMeansUnitTestIsTooBig.ql
4041
ql/java/ql/src/Likely Bugs/Inheritance/NoNonFinalInConstructor.ql
4142
ql/java/ql/src/Likely Bugs/Likely Typos/ContainerSizeCmpZero.ql
4243
ql/java/ql/src/Likely Bugs/Likely Typos/ContradictoryTypeChecks.ql

java/ql/integration-tests/java/query-suite/java-code-quality.qls.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ ql/java/ql/src/Likely Bugs/Concurrency/ScheduledThreadPoolExecutorZeroThread.ql
3535
ql/java/ql/src/Likely Bugs/Concurrency/SynchOnBoxedType.ql
3636
ql/java/ql/src/Likely Bugs/Concurrency/SynchSetUnsynchGet.ql
3737
ql/java/ql/src/Likely Bugs/Frameworks/JUnit/JUnit5MissingNestedAnnotation.ql
38+
ql/java/ql/src/Likely Bugs/Frameworks/JUnit/MockingAllNonPrivateMethodsMeansUnitTestIsTooBig.ql
3839
ql/java/ql/src/Likely Bugs/Inheritance/NoNonFinalInConstructor.ql
3940
ql/java/ql/src/Likely Bugs/Likely Typos/ContainerSizeCmpZero.ql
4041
ql/java/ql/src/Likely Bugs/Likely Typos/ContradictoryTypeChecks.ql

java/ql/src/Likely Bugs/Frameworks/JUnit/MockingAllNonPrivateMethodsMeansUnitTestIsTooBig.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
* @kind problem
77
* @precision high
88
* @problem.severity recommendation
9-
* @tags maintainability
9+
* @tags quality
10+
* maintainability
1011
* readability
1112
*/
1213

0 commit comments

Comments
 (0)