|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.jcr.benchmark.ext.asyncrep.AsyncTestBase
public abstract class AsyncTestBase
Created by The eXo Platform SAS.
Date:
| Field Summary | |
|---|---|
java.io.File |
content
File content generated in doPrepare(); |
int |
COUNT_I
Default saves count. |
int |
COUNT_J
Default file per save count. |
int |
fc
File per save Count. |
protected static org.exoplatform.services.log.Log |
log
|
int |
sc
Saves Count. |
| Constructor Summary | |
|---|---|
AsyncTestBase()
|
|
| Method Summary | |
|---|---|
static java.io.File |
createBLOBfile(int sizeKb)
Create File with random content and fixed size. |
void |
doFinish(com.sun.japex.TestCase tc,
AsyncTestContext context)
Do finish operations. |
void |
doPrepare(com.sun.japex.TestCase tc,
AsyncTestContext context)
Do test prepare. |
abstract void |
doRun(com.sun.japex.TestCase tc,
AsyncTestContext context)
Run test. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.exoplatform.services.log.Log log
public final int COUNT_I
public final int COUNT_J
public java.io.File content
public int sc
public int fc
| Constructor Detail |
|---|
public AsyncTestBase()
| Method Detail |
|---|
public void doPrepare(com.sun.japex.TestCase tc,
AsyncTestContext context)
throws java.lang.Exception
tc - - TestCase.context - - AsyncTestContext.
java.lang.Exception - - internal Exception.
public void doFinish(com.sun.japex.TestCase tc,
AsyncTestContext context)
throws java.lang.Exception
tc - - TestCase.context - - AsyncTestContext.
java.lang.Exception - - internal Exception.
public abstract void doRun(com.sun.japex.TestCase tc,
AsyncTestContext context)
throws java.lang.Exception
tc - - TestCase.context - - AsyncTestContext.
java.lang.Exception - - internal Exception.
public static java.io.File createBLOBfile(int sizeKb)
throws java.io.IOException
sizeKb - - file size in Kb.
java.io.IOException - - if IO exception occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||