|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITokenTester
Interface that all token testers should implement. The implementation is in charge Important, remember to register the class either in TestToken class or by the setting testtoken.testimpl in testtoken.properties.
| Method Summary | |
|---|---|
java.lang.String |
getTestSuiteName()
|
void |
initialize(java.util.Properties props,
java.io.PrintStream out)
Method called directly after the class have been instantiated. |
boolean |
runTests(IToken token)
Method used to perform tests of the token, should send feed back of the tests to the given print stream. |
boolean |
tokenSupported(java.lang.String tokenImpl)
Method used to check if this implementation is supported by the given token |
| Method Detail |
|---|
void initialize(java.util.Properties props,
java.io.PrintStream out)
props - the entire testtoken.property file, if file doesn'tout - the stream to print status output of the tests.
exist will an empty Properties be used.java.lang.String getTestSuiteName()
boolean tokenSupported(java.lang.String tokenImpl)
tokenImpl - class path to check
boolean runTests(IToken token)
throws java.lang.Exception
token - the token to perform tests on
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||