opencard.tests.terminal
Class TerminalInfo
java.lang.Object
|
+--opencard.core.service.CardService
|
+--opencard.tests.terminal.TestBean
|
+--opencard.tests.terminal.TerminalInfo
- public class TerminalInfo
- extends TestBean
The TerminalInfo .
It is derived from the TestBean which provide most of the required
functionality.
SAMPLE:
TerminalInfo tib = new TerminalInfo();
tib.setId("CTTest1");
tib.addExpectedResult(0);
tib.execute();
- Version:
- $Id: TerminalInfo.java,v 1.1 1999/12/03 09:31:37 damke Exp $
- See Also:
TestBean
|
Method Summary |
void |
execute()
Execute using a previously defined CardTerminal |
java.lang.String |
formatString()
|
| Methods inherited from class opencard.tests.terminal.TestBean |
addExpectedResult,
addExpectedResult,
addUnexpectedResult,
addUnexpectedResult,
checkResult,
clearResultLookup,
getId,
getLabel,
getResult,
getResultString,
getTitle,
isDetails,
lookupResult,
lookupResult,
setDetails,
setId,
setLabel,
setResult,
setResult,
setResult,
toString |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
TerminalInfo
public TerminalInfo()
- Default constructor.
Sets a Label for the friendly log-output
Since the TestBeans should be beans, please declare only the default
constructor.
execute
public void execute()
throws TestFailedException
- Execute using a previously defined CardTerminal
- Throws:
- throws - an TestFailedException, if result of this exceution
is unexpected or not listed in the result lookup table
- Overrides:
- execute in class TestBean
formatString
public java.lang.String formatString()
throws CardTerminalException
|