org.edg.security.voms.notification
Class EmailNotificationTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.edg.security.voms.notification.EmailNotificationTest
All Implemented Interfaces:
junit.framework.Test

public class EmailNotificationTest
extends junit.framework.TestCase

Unit test cases for the EmailNotification class.

See Also:
EmailNotification

Nested Class Summary
 class EmailNotificationTest.TestNotification
           
 
Field Summary
protected static org.apache.log4j.Logger log
           
protected  javax.mail.Session session
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
EmailNotificationTest(java.lang.String name)
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void testSend()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

log

protected static org.apache.log4j.Logger log

session

protected javax.mail.Session session
Constructor Detail

EmailNotificationTest

public EmailNotificationTest(java.lang.String name)
Method Detail

suite

public static junit.framework.Test suite()

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
java.lang.Exception

testSend

public void testSend()
              throws java.lang.Exception
java.lang.Exception