Skip to content

Commit

Permalink
Remove JMockTestWithoutRunWithOrRuleAnnotation, which isn't enabled.
Browse files Browse the repository at this point in the history
I spot checked some cases this would fire on, and it seems that Mockery is used a _lot_ in JUnit3 tests, for which this check would false positive.

PiperOrigin-RevId: 439277961
  • Loading branch information
graememorgan authored and Error Prone Team committed Apr 4, 2022
1 parent 1be56c2 commit 3cc8786
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 245 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@
import com.google.errorprone.bugpatterns.IsInstanceOfClass;
import com.google.errorprone.bugpatterns.IterableAndIterator;
import com.google.errorprone.bugpatterns.IterablePathParameter;
import com.google.errorprone.bugpatterns.JMockTestWithoutRunWithOrRuleAnnotation;
import com.google.errorprone.bugpatterns.JUnit3FloatingPointComparisonWithoutDelta;
import com.google.errorprone.bugpatterns.JUnit3TestNotRun;
import com.google.errorprone.bugpatterns.JUnit4ClassAnnotationNonStatic;
Expand Down Expand Up @@ -1049,7 +1048,6 @@ public static ScannerSupplier errorChecks() {
InterfaceWithOnlyStatics.class,
InterruptedExceptionSwallowed.class,
IterablePathParameter.class,
JMockTestWithoutRunWithOrRuleAnnotation.class,
Java7ApiChecker.class,
Java8ApiChecker.class,
LambdaFunctionalInterface.class,
Expand Down

This file was deleted.

4 changes: 0 additions & 4 deletions docs/bugpattern/JMockTestWithoutRunWithOrRuleAnnotation.md

This file was deleted.

0 comments on commit 3cc8786

Please sign in to comment.