Class FileTemplateConfig
java.lang.Object
com.weirddev.testme.intellij.template.FileTemplateConfig
Date: 25/09/2017
- Author:
- Yaron Yamin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setIgnoreUnusedProperties
(boolean ignoreUnusedProperties) void
setMaxNumOfConcreteCandidatesToReplaceInterfaceParam
(int maxNumOfConcreteCandidatesToReplaceInterfaceParam) void
setMaxRecursionDepth
(int maxRecursionDepth) void
setMinPercentOfExcessiveSettersToPreferMapCtor
(int minPercentOfExcessiveSettersToPreferMapCtor) void
setMinPercentOfInteractionWithPropertiesToTriggerConstructorOptimization
(int minPercentOfInteractionWithPropertiesToTriggerConstructorOptimization) void
setRenderInternalMethodCallStubs
(boolean renderInternalMethodCallStubs) void
setReplaceInterfaceParamsWithConcreteTypes
(boolean replaceInterfaceParamsWithConcreteTypes) void
setStubMockMethodCallsReturnValues
(boolean stubMockMethodCallsReturnValues)
-
Field Details
-
DEFAULT_MAX_RECURSION_DEPTH
public static final int DEFAULT_MAX_RECURSION_DEPTH- See Also:
-
-
Constructor Details
-
FileTemplateConfig
-
-
Method Details
-
isReformatCode
public boolean isReformatCode() -
isOptimizeImports
public boolean isOptimizeImports() -
getMaxRecursionDepth
public int getMaxRecursionDepth() -
isReplaceFqn
public boolean isReplaceFqn() -
isIgnoreUnusedProperties
public boolean isIgnoreUnusedProperties() -
isReplaceInterfaceParamsWithConcreteTypes
public boolean isReplaceInterfaceParamsWithConcreteTypes() -
getMinPercentOfExcessiveSettersToPreferMapCtor
public int getMinPercentOfExcessiveSettersToPreferMapCtor() -
setMaxRecursionDepth
public void setMaxRecursionDepth(int maxRecursionDepth) -
setReplaceInterfaceParamsWithConcreteTypes
public void setReplaceInterfaceParamsWithConcreteTypes(boolean replaceInterfaceParamsWithConcreteTypes) -
setMinPercentOfExcessiveSettersToPreferMapCtor
public void setMinPercentOfExcessiveSettersToPreferMapCtor(int minPercentOfExcessiveSettersToPreferMapCtor) -
getMinPercentOfInteractionWithPropertiesToTriggerConstructorOptimization
public int getMinPercentOfInteractionWithPropertiesToTriggerConstructorOptimization() -
setMinPercentOfInteractionWithPropertiesToTriggerConstructorOptimization
public void setMinPercentOfInteractionWithPropertiesToTriggerConstructorOptimization(int minPercentOfInteractionWithPropertiesToTriggerConstructorOptimization) -
isStubMockMethodCallsReturnValues
public boolean isStubMockMethodCallsReturnValues() -
getMaxNumOfConcreteCandidatesToReplaceInterfaceParam
public int getMaxNumOfConcreteCandidatesToReplaceInterfaceParam() -
setStubMockMethodCallsReturnValues
public void setStubMockMethodCallsReturnValues(boolean stubMockMethodCallsReturnValues) -
setIgnoreUnusedProperties
public void setIgnoreUnusedProperties(boolean ignoreUnusedProperties) -
setMaxNumOfConcreteCandidatesToReplaceInterfaceParam
public void setMaxNumOfConcreteCandidatesToReplaceInterfaceParam(int maxNumOfConcreteCandidatesToReplaceInterfaceParam) -
isGenerateTestsForInheritedMethods
public boolean isGenerateTestsForInheritedMethods() -
isRenderInternalMethodCallStubs
public boolean isRenderInternalMethodCallStubs() -
setRenderInternalMethodCallStubs
public void setRenderInternalMethodCallStubs(boolean renderInternalMethodCallStubs) -
isThrowSpecificExceptionTypes
public boolean isThrowSpecificExceptionTypes()
-