pt.despodata.java.ddata.tests
Class DDataSendSimpleMailTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bypt.moredata.tests.TestCase
              extended bypt.despodata.java.ddata.tests.DDataSendSimpleMailTest
All Implemented Interfaces:
junit.framework.Test

public class DDataSendSimpleMailTest
extends TestCase

DDataSendSimpleMailTest.java Company MoreData

Version:
$Revision: 1.1.1.1 $
Author:
betap

Field Summary
 DDataSendSimpleMail mail
           
 
Constructor Summary
DDataSendSimpleMailTest(java.lang.String testName)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
          Test setup.
static junit.framework.Test suite()
           
protected  void tearDown()
          Undo test changes.
 void testComposeMail()
          Test of composeMail method, of class pt.despodata.java.ddata.DDataSendSimpleMail.
 void testMissingTest()
          Este teste verifica se esta classe de testes implementa pelo menos um teste por cada metodo public da classe que esta a ser testada.
 void testRun()
          Test of run method, of class pt.despodata.java.ddata.DDataSendSimpleMail.
 void testSendMail()
          Test of sendMail method, of class pt.despodata.java.ddata.DDataSendSimpleMail.
 void testSetFrom()
          Test of setFrom method, of class pt.despodata.java.ddata.DDataSendSimpleMail.
 void testSetMessage()
          Test of setMessage method, of class pt.despodata.java.ddata.DDataSendSimpleMail.
 void testSetSmtpServer()
          Test of setSmtpServer method, of class pt.despodata.java.ddata.DDataSendSimpleMail.
 void testSetSubject()
          Test of setSubject method, of class pt.despodata.java.ddata.DDataSendSimpleMail.
 void testSetTo()
          Test of setTo method, of class pt.despodata.java.ddata.DDataSendSimpleMail.
 
Methods inherited from class pt.moredata.tests.TestCase
assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, main, testMissingTest
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
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
 

Field Detail

mail

public DDataSendSimpleMail mail
Constructor Detail

DDataSendSimpleMailTest

public DDataSendSimpleMailTest(java.lang.String testName)
Method Detail

setUp

protected void setUp()
Test setup. This method is executed once for each test method.


tearDown

protected void tearDown()
Undo test changes. This method is executed once for each test method.


main

public static void main(java.lang.String[] args)

suite

public static junit.framework.Test suite()

testMissingTest

public void testMissingTest()
                     throws java.lang.SecurityException
Este teste verifica se esta classe de testes implementa pelo menos um teste por cada metodo public da classe que esta a ser testada.

Throws:
java.lang.SecurityException

testSetTo

public void testSetTo()
Test of setTo method, of class pt.despodata.java.ddata.DDataSendSimpleMail.


testSetFrom

public void testSetFrom()
Test of setFrom method, of class pt.despodata.java.ddata.DDataSendSimpleMail.


testSetSmtpServer

public void testSetSmtpServer()
Test of setSmtpServer method, of class pt.despodata.java.ddata.DDataSendSimpleMail.


testSetMessage

public void testSetMessage()
Test of setMessage method, of class pt.despodata.java.ddata.DDataSendSimpleMail.


testSetSubject

public void testSetSubject()
Test of setSubject method, of class pt.despodata.java.ddata.DDataSendSimpleMail.


testComposeMail

public void testComposeMail()
Test of composeMail method, of class pt.despodata.java.ddata.DDataSendSimpleMail.


testRun

public void testRun()
Test of run method, of class pt.despodata.java.ddata.DDataSendSimpleMail.


testSendMail

public void testSendMail()
Test of sendMail method, of class pt.despodata.java.ddata.DDataSendSimpleMail.