Public Member Functions | |
void | stress () throws Exception |
void | startTest (boolean random) throws Exception |
void | parseElement () throws Exception |
void | parseXmlfromFile (String fileName) throws Exception |
void | fill (Element element, boolean random) throws Exception |
Protected Member Functions | |
AbsDeploymentTest () | |
void | checkDiff (String xmlOriginal, String xmlParsed) throws Exception |
boolean | aleatOK () |
int | nbAleat () |
void | addElement (Element element, Method method, Class[] argsMethod, boolean random) throws Exception |
void | setElement (Element element, Method method, Class[] argsMethod, boolean random) throws Exception |
void | fillString (Element element, Method method, boolean random) throws Exception |
void | fillQName (Element element, Method method, boolean random) throws Exception |
String | getNameCounterForElement (Element element, Method method) |
String | convertUpperCaseToXml (String name) |
Definition at line 48 of file AbsDeploymentTest.java.
|
Build a new Test Definition at line 58 of file AbsDeploymentTest.java. |
|
Add to an element its sub element Add many times a sub-element if random is not set to true
Definition at line 219 of file AbsDeploymentTest.java. |
|
Random for returning true or false
Definition at line 198 of file AbsDeploymentTest.java. |
|
Check the difference between original xml and parsed xml
Definition at line 136 of file AbsDeploymentTest.java. |
|
Convert the name of an element into its xml string representation example : WebApp --> web-app
Definition at line 335 of file AbsDeploymentTest.java. |
|
Fill the structure of the given element. Fill randomly if random is set to true
Definition at line 159 of file AbsDeploymentTest.java. |
|
Set the QName attribute of the given element
Definition at line 290 of file AbsDeploymentTest.java. |
|
Set the string attribute of the given element
Definition at line 276 of file AbsDeploymentTest.java. |
|
Gives a Name + counter for a type of an element This is used to add counter when adding xml attributes Only use in order to make easier the read of the parsed XML file
Definition at line 306 of file AbsDeploymentTest.java. |
|
Gives a number between 0 and 5
Definition at line 206 of file AbsDeploymentTest.java. |
|
Gets the xml after digester parsing
Definition at line 100 of file AbsDeploymentTest.java. References org.objectweb.jonas_lib.deployment.xml.AbsElement.toXML(). |
Here is the call graph for this function:
|
parse with validation from an xml file
Definition at line 115 of file AbsDeploymentTest.java. |
|
Set the subelement of an element The subelement may not be set if random is used
Definition at line 238 of file AbsDeploymentTest.java. |
|
Defines the function for the specific test
Definition at line 87 of file AbsDeploymentTest.java. References org.objectweb.jonas_lib.deployment.xml.AbsElement.toXML(). |
Here is the call graph for this function:
|
Create an xml structure and then parse the resulting xml and check the result No validation is done if random is set to true
Definition at line 67 of file AbsDeploymentTest.java. |