[BWA-91] Add OmitFromCoverage annotation (#217)

This commit is contained in:
Patrick Honkonen
2024-10-02 14:43:07 -04:00
committed by GitHub
parent e2e49a4555
commit 8ad9bc5eed

View File

@@ -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