org.exoplatform.jcr.benchmark.usecases.portal
Class PageUsecasesTest
java.lang.Object
org.exoplatform.jcr.benchmark.JCRTestBase
org.exoplatform.jcr.benchmark.usecases.portal.PageUsecasesTest
public class PageUsecasesTest
- extends JCRTestBase
Portal-like JCR usecase test. Originally developed for testing cluster performance and scalability.
- Version:
- $Id: PageUsecases.java 34360 2009-07-22 23:58:59Z nzamosenchuk $
- Author:
- Nikolay Zamosenchuk
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageUsecasesTest
public PageUsecasesTest()
waitUntilKeyPressed
public static void waitUntilKeyPressed(int timesToWait)
throws java.io.IOException
- Used to synchronize over cluster. Requires Enter pressing.
- Parameters:
timesToWait -
- Throws:
java.io.IOException
waitUntilTimeout
public static void waitUntilTimeout(int timesToWait,
int sleepTime)
- Used to synchronize over cluster. Sleeps for sleepTime seconds
- Parameters:
timesToWait - sleepTime -
doPrepare
public void doPrepare(com.sun.japex.TestCase tc,
JCRTestContext context)
throws java.lang.Exception
- Overrides:
doPrepare in class JCRTestBase
- Throws:
java.lang.Exception
doRun
public void doRun(com.sun.japex.TestCase tc,
JCRTestContext context)
throws java.lang.Exception
- Specified by:
doRun in class JCRTestBase
- Throws:
java.lang.Exception
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.