mirror of
https://github.com/alibaba/testable-mock.git
synced 2025-01-26 20:30:29 +08:00
better test case
This commit is contained in:
parent
012022d691
commit
1df9374691
@ -12,16 +12,6 @@ import java.lang.annotation.*;
|
|||||||
@Documented
|
@Documented
|
||||||
public @interface TestableInject {
|
public @interface TestableInject {
|
||||||
|
|
||||||
/**
|
|
||||||
* only enable for invocation from specified methods
|
|
||||||
*/
|
|
||||||
String[] sourceMethods() default {};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* only enable for invocation from specified test cases
|
|
||||||
*/
|
|
||||||
String[] testMethods() default {};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* mock method of specified class instead of the class under test
|
* mock method of specified class instead of the class under test
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user