public class TestCase21 extends AbstractTestCase implements ProcessEventListener
ProcessExecutor to limit resource-usage and implements
the interface ProcessEventListener to control success or failure
of individual conversions.| Modifier and Type | Field and Description |
|---|---|
protected IMOperation |
iOp
The operation associated with this test-case.
|
iArgs, iImageDir, iTmpImage| Constructor and Description |
|---|
TestCase21()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the description of the test.
|
protected List<String> |
load()
Load all files into a list.
|
static void |
main(String[] args)
Main method.
|
void |
processInitiated(ProcessEvent pEvent)
This method is called at process initiation.
|
void |
processStarted(ProcessEvent pEvent)
This method is called at process startup.
|
void |
processTerminated(ProcessEvent pEvent)
This method is called at normal or abnormal process termination.
|
void |
run()
Run the test.
|
runTestprotected IMOperation iOp
public String getDescription()
getDescription in interface TestCasepublic static void main(String[] args)
public void run()
throws Exception
public void processInitiated(ProcessEvent pEvent)
processInitiated in interface ProcessEventListenerpublic void processStarted(ProcessEvent pEvent)
processStarted in interface ProcessEventListenerpublic void processTerminated(ProcessEvent pEvent)
processTerminated in interface ProcessEventListenerCopyright © 2019. All rights reserved.