| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcdx.scorebot.net.tests.Test<EmailService>
cdx.scorebot.net.tests.email.Sendmail
public class Sendmail
tries to send an email
| Constructor Summary | |
|---|---|
|   | Sendmail(EmailService service)Instantiates a test (with no configuration) for the purpose of instantiating tests of this type with different configurations later. | 
| protected  | Sendmail(EmailService service,
         java.util.HashMap<java.lang.String,ConfigOption> config)Instantiates a test with the specified config (it will verify that it includes all needed configuration options). | 
| Method Summary | |
|---|---|
| protected  java.util.HashMap<java.lang.String,ConfigOption> | getDefaultConfigValues()gets a key-value pair of what options are available for configuration | 
|  Test | instantiate(java.util.HashMap<java.lang.String,ConfigOption> config)Instantiates a test of this type with the specified config (verify that it includes all needed configuration options). | 
| static void | main(java.lang.String[] args) | 
| protected  void | prepareDefaultResults(TestEvent results)give all results the test returns some default value | 
|  void | run(TestEvent results)run the test and put all results into results | 
|  void | verifyConfigValue(java.lang.String optionName,
                  ConfigOption optionValue)Determine whether the specified configuration option is a valid value. | 
| Methods inherited from class cdx.scorebot.net.tests.Test | 
|---|
| equals, getConfig, getConfig, getDefaultConfigValuesCopy, getInitialConfigCopy, getService, run, setService, verifyConfig | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Sendmail(EmailService service)
service - the service this test will run against
protected Sendmail(EmailService service,
                   java.util.HashMap<java.lang.String,ConfigOption> config)
service - the service this test will run againstconfig - the test configuration information used when the test is
                  run (warning: these options may change when verified)| Method Detail | 
|---|
protected java.util.HashMap<java.lang.String,ConfigOption> getDefaultConfigValues()
getDefaultConfigValues in class Test<EmailService>public Test instantiate(java.util.HashMap<java.lang.String,ConfigOption> config)
instantiate in class Test<EmailService>config - the test configuration information used when the test is
                 run (warning: these options may change when verified)
protected void prepareDefaultResults(TestEvent results)
Test
prepareDefaultResults in class Test<EmailService>public void run(TestEvent results)
run in class Test<EmailService>results - the TestEvent into which all results will be stored
public void verifyConfigValue(java.lang.String optionName,
                              ConfigOption optionValue)
                       throws TestMisconfigurationException
verifyConfigValue in class Test<EmailService>optionName - the name of the option (the key in the config HashMap)optionValue - the value of the option (the value in the config HashMap)
TestMisconfigurationException - thrown if a config value is invalid (the message describes the problem)public static void main(java.lang.String[] args)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||