|
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.Object org.im4java.test.AbstractTestCase org.im4java.test.TestCase23
public class TestCase23
This class implements a test for chaining commands via im4java (i.e. piping the output of one im4java-command to a second).
Note that chaining is inherent complex, because you have to take care of closing the pipe between commands yourself in case of errors. If you pipe commands on the commandline, the shell takes care of this and you don't have to care about it, but with java, it's different.
Field Summary |
---|
Fields inherited from class org.im4java.test.AbstractTestCase |
---|
iArgs, iImageDir, iTmpImage |
Constructor Summary | |
---|---|
TestCase23()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Return the description of the test. |
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 |
Constructor Detail |
---|
public TestCase23()
Method Detail |
---|
public java.lang.String getDescription()
getDescription
in interface TestCase
public static void main(java.lang.String[] args)
public void run() throws java.lang.Exception
run
in interface TestCase
java.lang.Exception
public void processInitiated(ProcessEvent pEvent)
processInitiated
in interface ProcessEventListener
public void processStarted(ProcessEvent pEvent)
processStarted
in interface ProcessEventListener
public 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 |