remove unused mock type

This commit is contained in:
Fan Lin 2020-11-15 14:36:57 +08:00
parent e586d5db79
commit d7ffbcbc32
2 changed files with 0 additions and 21 deletions

View File

@ -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
*/

View File

@ -1,14 +0,0 @@
package com.alibaba.testable.core.model;
/**
* Type of mock method
*
* @author flin
*/
public enum MockType {
MEMBER_METHOD,
STATIC_METHOD,
CONSTRUCTOR
}