2020-06-10 00:08:19 -07:00
|
|
|
package cash.z.ecc.android.sdk.annotation
|
2019-01-23 02:45:26 -08:00
|
|
|
|
|
|
|
@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)
|
2020-06-09 20:28:21 -07:00
|
|
|
annotation class OpenForTesting
|