Created
April 24, 2019 14:44
-
-
Save marcosholgado/9707d8a3ebe0f3734c3bf65e8f8d6de6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MyOtherLeakRunListener: FailTestOnLeakRunListener() { | |
| override fun skipLeakDetectionReason(description: Description): String? { | |
| return if(description.getAnnotation(LeakTest::class.java) != null) | |
| null | |
| else | |
| "Skip Leak test" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment