Class AbstractProcessExecutorTestCase
- java.lang.Object
-
- de.hybris.platform.mediaconversion.os.process.AbstractProcessExecutorTestCase
-
- Direct Known Subclasses:
EmbeddedProcessExecutorTest
,LimitedProcessExecutorTest
,ProcessExecutorClientTest
,ProcessExecutorFactoryTest
public abstract class AbstractProcessExecutorTestCase extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractProcessExecutorTestCase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract int
amountOfThreads()
void
cleanUp()
protected abstract ProcessExecutor
createExecutor()
void
setupExecutor()
void
testEcho()
void
testMultithreadedEcho()
-
-
-
Method Detail
-
setupExecutor
public void setupExecutor() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createExecutor
protected abstract ProcessExecutor createExecutor() throws java.lang.Exception
- Throws:
java.lang.Exception
-
amountOfThreads
protected abstract int amountOfThreads()
-
cleanUp
public void cleanUp() throws java.io.IOException
- Throws:
java.io.IOException
-
testEcho
public void testEcho() throws java.io.IOException
- Throws:
java.io.IOException
-
testMultithreadedEcho
public void testMultithreadedEcho() throws java.io.IOException, java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
-
-