2020-06-10 00:08:19 -07:00
|
|
|
package cash.z.ecc.android.sdk.annotation
|
2019-01-23 02:45:26 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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. This annotation is only leveraged in debug builds.
|
|
|
|
*
|
|
|
|
* Note: the counterpart to this annotation in the debug buildType applies the OpenClass annotation but here we do not.
|
|
|
|
*/
|
|
|
|
@Target(AnnotationTarget.CLASS)
|
2020-06-09 20:28:21 -07:00
|
|
|
annotation class OpenForTesting
|