|
The im4java Library, Version 1.4.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.im4java.test.AbstractTestCase
org.im4java.test.TestCase21
public class TestCase21
This class tests the parallel processing features of im4java. It uses the
class ProcessExecutor to limit resource-usage and implements
the interface ProcessEventListener to control success or failure
of individual conversions.
| Field Summary | |
|---|---|
protected IMOperation |
iOp
The operation associated with this test-case. |
| Fields inherited from class org.im4java.test.AbstractTestCase |
|---|
iArgs, iImageDir, iTmpImage |
| Constructor Summary | |
|---|---|
TestCase21()
The default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Return the description of the test. |
protected java.util.List<java.lang.String> |
load()
Load all files into a list. |
static void |
main(java.lang.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. |
| Methods inherited from class org.im4java.test.AbstractTestCase |
|---|
runTest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IMOperation iOp
| Constructor Detail |
|---|
public TestCase21()
| Method Detail |
|---|
public java.lang.String getDescription()
getDescription in interface TestCasepublic static void main(java.lang.String[] args)
protected java.util.List<java.lang.String> load()
public void run()
throws java.lang.Exception
run in interface TestCasejava.lang.Exceptionpublic void processInitiated(ProcessEvent pEvent)
processInitiated in interface ProcessEventListenerpublic void processStarted(ProcessEvent pEvent)
processStarted in interface ProcessEventListenerpublic void processTerminated(ProcessEvent pEvent)
processTerminated in interface ProcessEventListener
|
The im4java Library, Version 1.4.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||