org.exoplatform.jcr.benchmark.registryservice
Class AbstractRegistryServiceTest
java.lang.Object
org.exoplatform.jcr.benchmark.JCRTestBase
org.exoplatform.jcr.benchmark.registryservice.AbstractRegistryServiceTest
- Direct Known Subclasses:
- CreateEntry, GetEntry, GetRegistry, InitRegistryEntry, RecreateEntry, RemoveEntry
public abstract class AbstractRegistryServiceTest
- extends JCRTestBase
Created by The eXo Platform SAS
It's abstract test for RegistryService testings. This class provides
basic preparations, such as acquiring RegistryService and some additional
instances.
- Version:
- $Id:$
- Author:
- Nikolay Zamosenchuk
| Fields inherited from class org.exoplatform.jcr.benchmark.JCRTestBase |
log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
container
protected org.exoplatform.container.StandaloneContainer container
registryService
protected RegistryService registryService
sessionProvider
protected SessionProvider sessionProvider
sumIterations
protected int sumIterations
GENERIC_ENTRY
protected static final java.lang.String GENERIC_ENTRY
- See Also:
- Constant Field Values
AbstractRegistryServiceTest
public AbstractRegistryServiceTest()
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 void createContent(com.sun.japex.TestCase tc,
JCRTestContext context)
throws java.lang.Exception
- Creates content in registry on doPrepare() phase. Used for read, update,
delete tests.
- Parameters:
tc - context -
- Throws:
java.lang.Exception
nextUser
public java.lang.String nextUser()
- Returns:
- next saved name in internal list.
addUser
public void addUser(java.lang.String name)
- Adds name to internal list of names. Can later be accessed by nextUser(). *
- Parameters:
name -
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.