org.exoplatform.jcr.benchmark.jcrapi.node.read
Class AbstractNodeTest

java.lang.Object
  extended by org.exoplatform.jcr.benchmark.JCRTestBase
      extended by org.exoplatform.jcr.benchmark.jcrapi.node.read.AbstractNodeTest
Direct Known Subclasses:
NodeGetIndexTest, NodeGetNodesByPatternTest, NodeGetNodesTest, NodeGetNodesTraverseTest, NodeGetNodeTest, NodeGetPrimaryItemTest, NodeGetPropertiesByPatternTest, NodeGetPropertiesTest, NodeGetPropertiesTraverseTest, NodeGetPropertyTest, NodeGetReferencesTest, NodeGetUUIDTest, NodeHasNodesTest, NodeHasNodeTest, NodeHasPropertiesTest, NodeHasPropertyTest

public abstract class AbstractNodeTest
extends JCRTestBase

Created by The eXo Platform SAS

Version:
$Id: AbstractNodeTest.java 42361 2010-01-06 00:20:47Z pnedonosko $
Author:
Peter Nedonosko

Field Summary
protected  javax.jcr.Node node
           
protected  java.lang.String nodeName
           
protected  java.lang.String propertyName
           
protected  javax.jcr.Node root
           
 
Fields inherited from class org.exoplatform.jcr.benchmark.JCRTestBase
log
 
Constructor Summary
AbstractNodeTest()
           
 
Method Summary
protected  void addChildNodes(JCRTestContext context, int amount)
           
protected  void addChildProperties(JCRTestContext context, int amount)
           
 void doFinish(com.sun.japex.TestCase tc, JCRTestContext context)
           
 void doPrepare(com.sun.japex.TestCase tc, JCRTestContext context)
           
protected  void initChildNodes(JCRTestContext context)
           
protected  void initChildProperties(JCRTestContext context)
           
 
Methods inherited from class org.exoplatform.jcr.benchmark.JCRTestBase
doRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

root

protected javax.jcr.Node root

nodeName

protected java.lang.String nodeName

propertyName

protected java.lang.String propertyName

node

protected javax.jcr.Node node
Constructor Detail

AbstractNodeTest

public AbstractNodeTest()
Method Detail

doFinish

public void doFinish(com.sun.japex.TestCase tc,
                     JCRTestContext context)
              throws java.lang.Exception
Overrides:
doFinish in class JCRTestBase
Throws:
java.lang.Exception

doPrepare

public void doPrepare(com.sun.japex.TestCase tc,
                      JCRTestContext context)
               throws java.lang.Exception
Overrides:
doPrepare in class JCRTestBase
Throws:
java.lang.Exception

initChildNodes

protected void initChildNodes(JCRTestContext context)
                       throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

initChildProperties

protected void initChildProperties(JCRTestContext context)
                            throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

addChildNodes

protected void addChildNodes(JCRTestContext context,
                             int amount)
                      throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

addChildProperties

protected void addChildProperties(JCRTestContext context,
                                  int amount)
                           throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


Copyright © 2010 eXo Platform SAS. All Rights Reserved.