|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.as.subsystem.test.AbstractSubsystemTest de.smartics.properties.jboss.extension.SubsystemParsingTestCase
public class SubsystemParsingTestCase
Tests all management expects for subsystem, parsing, marshaling, model definition and other Here is an example that allows you a fine grained controler over what is tested and how. So it can give you ideas what can be done and tested. If you have no need for advanced testing of subsystem you look at SubsystemBaseParsingTestCase
that testes same stuff but most of the code is hidden inside of test harness
Field Summary |
---|
Fields inherited from class org.jboss.as.subsystem.test.AbstractSubsystemTest |
---|
mainSubsystemName |
Constructor Summary | |
---|---|
SubsystemParsingTestCase() |
Method Summary | |
---|---|
void |
testDescribeHandler() Starts a controller with the given subsystem xml and then checks that a second controller started with the operations from its describe action results in the same model |
void |
testInstallIntoController() Test that the model created from the xml looks as expected |
void |
testParseAndMarshalModel() Starts a controller with a given subsystem xml and then checks that a second controller started with the xml marshalled from the first one results in the same model |
void |
testParseSubsystem() Tests that the xml is parsed into the correct operations |
void |
testSubsystemRemoval() Tests that the subsystem can be removed |
Methods inherited from class org.jboss.as.subsystem.test.AbstractSubsystemTest |
---|
assertRemoveSubsystemResources, assertRemoveSubsystemResources, checkResultAndGetContents, cleanup, compare, compareXml, compareXml, getMainExtension, getMainSubsystemName, getProcessType, grabRootResource, initializeParser, installInController, installInController, installInController, installInController, normalizeXML, outputModel, parse, parse, readResource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubsystemParsingTestCase()
Method Detail |
---|
public void testParseSubsystem() throws Exception
Exception
public void testInstallIntoController() throws Exception
Exception
public void testParseAndMarshalModel() throws Exception
Exception
public void testDescribeHandler() throws Exception
Exception
public void testSubsystemRemoval() throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |