public abstract class AbstractAugeasConfigurationComponentTest extends Object
AugeasConfigurationComponent.| Modifier and Type | Field and Description |
|---|---|
protected static File |
AUGEAS_ROOT |
protected static boolean |
IS_WINDOWS |
static String |
TEST_GROUP |
| Constructor and Description |
|---|
AbstractAugeasConfigurationComponentTest() |
| Modifier and Type | Method and Description |
|---|---|
protected PluginContainerConfiguration |
createPluginContainerConfiguration() |
protected abstract org.rhq.core.domain.configuration.Configuration |
getExpectedResourceConfig() |
protected abstract String |
getPluginName() |
protected Set<org.rhq.core.domain.resource.Resource> |
getResources() |
protected org.rhq.core.domain.resource.ResourceType |
getResourceType() |
protected static org.rhq.core.domain.resource.ResourceType |
getResourceType(String resourceTypeName,
String pluginName) |
protected abstract String |
getResourceTypeName() |
protected static Set<org.rhq.core.domain.resource.ResourceType> |
getResourceTypes(String pluginName) |
protected abstract org.rhq.core.domain.configuration.Configuration |
getUpdatedResourceConfig() |
protected boolean |
isResourceConfigSupported() |
void |
resetConfigFiles() |
protected void |
resetConfigFiles(org.rhq.core.domain.configuration.Configuration pluginConfig,
boolean deleteRoot) |
void |
start() |
void |
stop() |
void |
testResourceConfigLoad() |
void |
testResourceConfigUpdate() |
protected void |
tweakDefaultPluginConfig(org.rhq.core.domain.configuration.Configuration defaultPluginConfig) |
public static final String TEST_GROUP
protected static final boolean IS_WINDOWS
protected static final File AUGEAS_ROOT
public AbstractAugeasConfigurationComponentTest()
public void start()
public void resetConfigFiles()
throws IOException
IOExceptionpublic void stop()
protected abstract String getPluginName()
protected abstract String getResourceTypeName()
protected abstract org.rhq.core.domain.configuration.Configuration getExpectedResourceConfig()
protected abstract org.rhq.core.domain.configuration.Configuration getUpdatedResourceConfig()
protected PluginContainerConfiguration createPluginContainerConfiguration() throws IOException
IOExceptionprotected static Set<org.rhq.core.domain.resource.ResourceType> getResourceTypes(String pluginName)
protected static org.rhq.core.domain.resource.ResourceType getResourceType(String resourceTypeName, String pluginName)
protected final org.rhq.core.domain.resource.ResourceType getResourceType()
protected Set<org.rhq.core.domain.resource.Resource> getResources()
protected void resetConfigFiles(org.rhq.core.domain.configuration.Configuration pluginConfig,
boolean deleteRoot)
throws IOException
IOExceptionprotected boolean isResourceConfigSupported()
protected void tweakDefaultPluginConfig(org.rhq.core.domain.configuration.Configuration defaultPluginConfig)
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.