mirror of
https://github.com/alibaba/testable-mock.git
synced 2025-03-14 11:50:28 +08:00
remove unused mock type
This commit is contained in:
parent
e586d5db79
commit
d7ffbcbc32
@ -1,7 +1,5 @@
|
||||
package com.alibaba.testable.core.annotation;
|
||||
|
||||
import com.alibaba.testable.core.model.MockType;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
/**
|
||||
@ -14,11 +12,6 @@ import java.lang.annotation.*;
|
||||
@Documented
|
||||
public @interface TestableMock {
|
||||
|
||||
/**
|
||||
* type of mock method
|
||||
*/
|
||||
MockType value() default MockType.MEMBER_METHOD;
|
||||
|
||||
/**
|
||||
* mock specified method instead of method with same name
|
||||
*/
|
||||
|
@ -1,14 +0,0 @@
|
||||
package com.alibaba.testable.core.model;
|
||||
|
||||
/**
|
||||
* Type of mock method
|
||||
*
|
||||
* @author flin
|
||||
*/
|
||||
public enum MockType {
|
||||
|
||||
MEMBER_METHOD,
|
||||
STATIC_METHOD,
|
||||
CONSTRUCTOR
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user