org.exoplatform.jcr.benchmark.jcrapi
Class AbstractAddItemTest

java.lang.Object
  extended by org.exoplatform.jcr.benchmark.JCRTestBase
      extended by org.exoplatform.jcr.benchmark.jcrapi.AbstractAddItemTest
Direct Known Subclasses:
AbstractAddItemEmptyContentTest, NodeSetNodePropertyTest, NodeSetValueArrayPropertyTest, NodeSetValuePropertyTest, NodeSetValueTypedPropertyTest

public abstract class AbstractAddItemTest
extends JCRTestBase

Created by The eXo Platform SAS

Version:
$Id: AbstractAddItemTest.java 35531 2009-08-14 09:34:08Z NZamosenchuk $
Author:
Vitaliy Obmanyuk

Field Summary
protected  javax.jcr.Node rootNode
           
 
Fields inherited from class org.exoplatform.jcr.benchmark.JCRTestBase
log
 
Constructor Summary
AbstractAddItemTest()
           
 
Method Summary
protected  void addParent(javax.jcr.Node parent)
           
protected abstract  void createContent(javax.jcr.Node parent, com.sun.japex.TestCase tc, JCRTestContext context)
           
 void doFinish(com.sun.japex.TestCase tc, JCRTestContext context)
           
 void doPrepare(com.sun.japex.TestCase tc, JCRTestContext context)
           
protected  javax.jcr.Node nextParent()
           
 
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

rootNode

protected javax.jcr.Node rootNode
Constructor Detail

AbstractAddItemTest

public AbstractAddItemTest()
Method Detail

doPrepare

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

createContent

protected abstract void createContent(javax.jcr.Node parent,
                                      com.sun.japex.TestCase tc,
                                      JCRTestContext context)
                               throws java.lang.Exception
Throws:
java.lang.Exception

nextParent

protected javax.jcr.Node nextParent()

addParent

protected void addParent(javax.jcr.Node parent)

doFinish

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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.