org.rhq.plugins.augeas.test
Class AbstractAugeasConfigurationComponentTest
java.lang.Object
org.rhq.plugins.augeas.test.AbstractAugeasConfigurationComponentTest
public abstract class AbstractAugeasConfigurationComponentTest
- extends java.lang.Object
A base class for integration tests for instances of AugeasConfigurationComponent.
- Author:
- Ian Springer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEST_GROUP
public static final java.lang.String TEST_GROUP
- See Also:
- Constant Field Values
IS_WINDOWS
protected static final boolean IS_WINDOWS
AUGEAS_ROOT
protected static final java.io.File AUGEAS_ROOT
AbstractAugeasConfigurationComponentTest
public AbstractAugeasConfigurationComponentTest()
start
public void start()
resetConfigFiles
public void resetConfigFiles()
throws java.io.IOException
- Throws:
java.io.IOException
testResourceConfigLoad
public void testResourceConfigLoad()
throws java.lang.Exception
- Throws:
java.lang.Exception
testResourceConfigUpdate
public void testResourceConfigUpdate()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop()
getPluginName
protected abstract java.lang.String getPluginName()
getResourceTypeName
protected abstract java.lang.String getResourceTypeName()
getExpectedResourceConfig
protected abstract Configuration getExpectedResourceConfig()
getUpdatedResourceConfig
protected abstract Configuration getUpdatedResourceConfig()
createPluginContainerConfiguration
protected PluginContainerConfiguration createPluginContainerConfiguration()
throws java.io.IOException
- Throws:
java.io.IOException
getResourceType
protected static ResourceType getResourceType(java.lang.String resourceTypeName,
java.lang.String pluginName)
getResourceType
protected final ResourceType getResourceType()
getResource
protected Resource getResource()
resetConfigFiles
protected void resetConfigFiles(Configuration pluginConfig)
throws java.io.IOException
- Throws:
java.io.IOException
isResourceConfigSupported
protected boolean isResourceConfigSupported()
tweakDefaultPluginConfig
protected void tweakDefaultPluginConfig(Configuration defaultPluginConfig)
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.