mirror of
https://github.com/alibaba/testable-mock.git
synced 2025-01-25 11:51:15 +08:00
better test case
This commit is contained in:
parent
012022d691
commit
1df9374691
@ -12,16 +12,6 @@ import java.lang.annotation.*;
|
||||
@Documented
|
||||
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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user