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 TypeMethodDescriptionintintintintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetIgnoreUnusedProperties(boolean ignoreUnusedProperties) voidsetMaxNumOfConcreteCandidatesToReplaceInterfaceParam(int maxNumOfConcreteCandidatesToReplaceInterfaceParam) voidsetMaxRecursionDepth(int maxRecursionDepth) voidsetMinPercentOfExcessiveSettersToPreferMapCtor(int minPercentOfExcessiveSettersToPreferMapCtor) voidsetMinPercentOfInteractionWithPropertiesToTriggerConstructorOptimization(int minPercentOfInteractionWithPropertiesToTriggerConstructorOptimization) voidsetRenderInternalMethodCallStubs(boolean renderInternalMethodCallStubs) voidsetReplaceInterfaceParamsWithConcreteTypes(boolean replaceInterfaceParamsWithConcreteTypes) voidsetStubMockMethodCallsReturnValues(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()
-