nowinandroid
nowinandroid copied to clipboard
Fix #1984 where TestMethodNameDetector does not scan some tests
What I have done and why
Fix #1984 where TestMethodNameDetector does not scan some tests.
The reason this is happening is because the annotations in the unit tests are of usage type AnnotationUsageType.DEFINTION but the detector does not opt in to scan these.
I have based my solution on IgnoreWithoutReasonDetector which is conceptually similar.