org.objectweb.jonas_web.deployment.tests
Class WebDeploymentTest

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.tests.AbsDeploymentTest
      extended by org.objectweb.jonas_web.deployment.tests.WebDeploymentTest

public class WebDeploymentTest
extends AbsDeploymentTest

Defines a class for Web deployment tests

Author:
Florent Benoit, Philippe Coq

Constructor Summary
WebDeploymentTest()
           
 
Method Summary
 AbsElement getTopLevelElement()
           
 java.lang.String parse(java.io.Reader reader, java.lang.String name, boolean validation)
          Parse the specific reader
 
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

WebDeploymentTest

public WebDeploymentTest()
Method Detail

getTopLevelElement

public AbsElement getTopLevelElement()
                              throws java.lang.Exception
Specified by:
getTopLevelElement in class AbsDeploymentTest
Returns:
the top level element
Throws:
java.lang.Exception - if the top level element can't be returned

parse

public java.lang.String parse(java.io.Reader reader,
                              java.lang.String name,
                              boolean validation)
                       throws java.lang.Exception
Parse the specific reader

Specified by:
parse in class AbsDeploymentTest
Parameters:
reader - contains the stream of the file
name - the name
validation - true or false for enable or disable validation
Returns:
the parsed string
Throws:
java.lang.Exception - if the parsing can't be done
See Also:
AbsDeploymentTest.parse(java.io.Reader, java.lang.String, boolean)