org.apache.commons.mail
Class EmailAttachmentTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.mail.BaseEmailTestCase
              extended by org.apache.commons.mail.EmailAttachmentTest
All Implemented Interfaces:
junit.framework.Test

public class EmailAttachmentTest
extends BaseEmailTestCase

JUnit test case for EmailAttachment Class

Since:
1.0
Version:
$Id: EmailAttachmentTest.java 511703 2007-02-26 02:45:23Z dion $
Author:
Corey Scott

Field Summary
 
Fields inherited from class org.apache.commons.mail.BaseEmailTestCase
BODY_END_PAD, BODY_START_PAD, fakeMailServer, strTestMailFrom, strTestMailServer, strTestMailTo, strTestPasswd, strTestURL, strTestUser, testCharsNotValid, testCharsValid
 
Constructor Summary
EmailAttachmentTest(String name)
           
 
Method Summary
protected  void setUp()
           
 void testGetSetDescription()
           
 void testGetSetDisposition()
           
 void testGetSetName()
           
 void testGetSetPath()
           
 void testGetSetURL()
           
 
Methods inherited from class org.apache.commons.mail.BaseEmailTestCase
getMailServer, getMailServerPort, getMessageAsString, isMailServerStopped, saveEmailToFile, tearDown, validateSend, validateSend, validateSend
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmailAttachmentTest

public EmailAttachmentTest(String name)
Parameters:
name - name
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testGetSetDescription

public void testGetSetDescription()

testGetSetName

public void testGetSetName()

testGetSetPath

public void testGetSetPath()

testGetSetURL

public void testGetSetURL()

testGetSetDisposition

public void testGetSetDisposition()


Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.