org.apache.sling.commons.testing.integration
Class HttpTestBase.TestNode

java.lang.Object
  extended by org.apache.sling.commons.testing.integration.HttpTestBase.TestNode
Enclosing class:
HttpTestBase

protected class HttpTestBase.TestNode
extends java.lang.Object

Class that creates a test node under the given parentPath, and stores useful values for testing. Created for JspScriptingTest, older test classes do not use it, but it might simplify them.


Field Summary
 java.lang.String nodeUrl
           
 java.lang.String resourceType
           
 java.lang.String scriptPath
           
 java.lang.String testText
           
 
Constructor Summary
HttpTestBase.TestNode(java.lang.String parentPath, java.util.Map<java.lang.String,java.lang.String> properties)
           
 
Method Summary
 void delete()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testText

public final java.lang.String testText

nodeUrl

public final java.lang.String nodeUrl

resourceType

public final java.lang.String resourceType

scriptPath

public final java.lang.String scriptPath
Constructor Detail

HttpTestBase.TestNode

public HttpTestBase.TestNode(java.lang.String parentPath,
                             java.util.Map<java.lang.String,java.lang.String> properties)
                      throws java.io.IOException
Throws:
java.io.IOException
Method Detail

delete

public void delete()
            throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2007-2009. All Rights Reserved.