FileDocCategorySizeDatePackage
EmailTaskTest.javaAPI DocApache Ant 1.701526Wed Dec 13 06:16:22 GMT 2006org.apache.tools.ant.taskdefs.email

EmailTaskTest

public class EmailTaskTest extends org.apache.tools.ant.BuildFileTest
TODO : develop these testcases - the email task needs to have attributes allowing to simulate sending mail and to catch the output in text files or streams

Fields Summary
Constructors Summary
public EmailTaskTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

        configureProject("src/etc/testcases/taskdefs/email/mail.xml");
    
public voidtest1()

        expectBuildException("test1", "SMTP auth only possible with MIME mail");
    
public voidtest2()

        expectBuildException("test2", "SSL only possible with MIME mail");