zcash-android-wallet-sdk/sdk-lib/src/debug/java/cash/z/ecc/android/sdk/annotation/OpenForTesting.kt

16 lines
588 B
Kotlin

package cash.z.ecc.android.sdk.annotation
@Target(AnnotationTarget.CLASS)
annotation class OpenClass
/**
* Used in conjunction with the kotlin-allopen plugin to make any class with this annotation open for extension.
* Typically, we apply this to classes that we want to mock in androidTests because unit tests don't have this problem,
* it's only an issue with JUnit4 Instrumentation tests.
*
* Note: the counterpart to this annotation in the release buildType does not apply the OpenClass annotation
*/
@OpenClass
@Target(AnnotationTarget.CLASS)
annotation class OpenForTesting