org.davesag.generica.test
Class MailerTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.davesag.generica.test.MailerTest
All Implemented Interfaces:
Serializable, Test

public class MailerTest
extends TestCase
implements Serializable

MailerTest is collection of all of the tests on The Mailer utility. Makes a good example of use. Note the actual sending of mail has been commented out as I know it works and I can't keep sending myself mail now can I.

Since:
Generica 1.0
Version:
CVS Revision $Id: MailerTest.java,v 1.9 2004/04/02 22:45:27 davesag Exp $
Author:
Dave Sag http://www.davesag.com
See Also:
Serialized Form

Constructor Summary
MailerTest()
          null constructor
MailerTest(String name)
          Constructor that takes a test name.
 
Method Summary
static Test suite()
          suite of tests
 void testSendSimpleMail()
          just tests that set up and tear down work okay.
 String toString()
          test name
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailerTest

public MailerTest()
null constructor


MailerTest

public MailerTest(String name)
Constructor that takes a test name.

Parameters:
name - the name of this suite of tests
Method Detail

testSendSimpleMail

public void testSendSimpleMail()
just tests that set up and tear down work okay.


suite

public static Test suite()
suite of tests

Returns:
test suite

toString

public String toString()
test name

Returns:
name of test


Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.