org.objectweb.jonas_ear.deployment.tests
Class EarDeploymentTest

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.tests.AbsDeploymentTest
      extended by org.objectweb.jonas_ear.deployment.tests.EarDeploymentTest

public class EarDeploymentTest
extends AbsDeploymentTest

Defines a class for Ear deployment tests (application.xml)

Author:
Helene Joanin, Philippe Coq

Constructor Summary
EarDeploymentTest()
           
 
Method Summary
 AbsElement getTopLevelElement()
           
 java.lang.String parse(java.io.Reader reader, java.lang.String name, boolean validation)
          Returns the XML document as a String.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.tests.AbsDeploymentTest
addElement, aleatOK, checkDiff, convertUpperCaseToXml, fill, fillQName, fillString, getNameCounterForElement, nbAleat, parseElement, parseXmlfromFile, setElement, startTest, stress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EarDeploymentTest

public EarDeploymentTest()
Method Detail

getTopLevelElement

public AbsElement getTopLevelElement()
                              throws java.lang.Exception
Specified by:
getTopLevelElement in class AbsDeploymentTest
Returns:
Returns the Application XML Element
Throws:
java.lang.Exception - never thrown

parse

public java.lang.String parse(java.io.Reader reader,
                              java.lang.String name,
                              boolean validation)
                       throws java.lang.Exception
Returns the XML document as a String.

Specified by:
parse in class AbsDeploymentTest
Parameters:
reader - Reader of an application.xml file
name - not used
validation - true/false
Returns:
Returns the XML document as a String.
Throws:
java.lang.Exception - when parsing fails