mirror of
https://github.com/bitwarden/android.git
synced 2026-04-28 20:08:27 -05:00
[BWA-91] Add OmitFromCoverage annotation (#217)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.bitwarden.authenticator.data.platform.annotation
|
||||
|
||||
/**
|
||||
* Used to omit the annotated class from test coverage reporting. This should be used sparingly and
|
||||
* is intended for non-testable classes that are placed in packages along with testable ones.
|
||||
*/
|
||||
@Target(
|
||||
AnnotationTarget.CLASS,
|
||||
AnnotationTarget.FILE,
|
||||
AnnotationTarget.FUNCTION,
|
||||
)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
annotation class OmitFromCoverage
|
||||
Reference in New Issue
Block a user