abstract class AbstractEasyMockLogPolicyBase extends java.lang.Object implements PowerMockPolicy
Constructor and Description |
---|
AbstractEasyMockLogPolicyBase() |
Modifier and Type | Method and Description |
---|---|
void |
applyClassLoadingPolicy(MockPolicyClassLoadingSettings settings)
Apply all class-loading related policies that must be present before the
interception policies can take place.
|
void |
applyInterceptionPolicy(MockPolicyInterceptionSettings settings)
Apply the interception policies, for example which methods that should be
suppressed or which methods that should be intercepted and return some
else than their original value.
|
protected abstract java.lang.String[] |
getFullyQualifiedNamesOfClassesToLoadByMockClassloader() |
protected abstract java.lang.String |
getLogFrameworkName() |
protected abstract java.lang.String |
getLoggerClassToMock() |
protected abstract java.lang.String |
getLoggerFactoryClassName() |
protected abstract java.lang.String |
getLoggerMethodName() |
public void applyClassLoadingPolicy(MockPolicyClassLoadingSettings settings)
applyClassLoadingPolicy
in interface PowerMockPolicy
settings
- The settings objects where the class-loading policies can be
applied.public void applyInterceptionPolicy(MockPolicyInterceptionSettings settings)
applyInterceptionPolicy
in interface PowerMockPolicy
settings
- The settings objects where the interception policies can be
applied.protected abstract java.lang.String getLoggerMethodName()
protected abstract java.lang.String getLoggerFactoryClassName()
protected abstract java.lang.String getLoggerClassToMock()
protected abstract java.lang.String getLogFrameworkName()
getLoggerFactoryClassName()
cannot be
found in the classpath.protected abstract java.lang.String[] getFullyQualifiedNamesOfClassesToLoadByMockClassloader()