org.alfresco.repo.imap
Class ImapServiceImplTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.imap.ImapServiceImplTest
All Implemented Interfaces:
junit.framework.Test

public class ImapServiceImplTest
extends junit.framework.TestCase

Unit test for ImapServiceImpl


Constructor Summary
ImapServiceImplTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testAttachmentExtraction()
          Test attachment extraction with a TNEF message
 void testCreateMailbox()
           
 void testDeleteMailbox()
           
 void testDuplicateMailboxes()
           
 void testGetFlags()
           
 void testGetFolder()
           
 void testListMailbox()
           
 void testListSubscribedMailbox()
           
 void testRenameAccentedMailbox()
           
 void testRenameMailbox()
           
 void testRenameMailboxDuplicate()
           
 void testSetFlag()
           
 void testSetFlags()
           
 void testSubscribe()
           
 void testUnsubscribe()
           
 
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

ImapServiceImplTest

public ImapServiceImplTest()
Method Detail

setUp

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

tearDown

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

testGetFolder

public void testGetFolder()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testListMailbox

public void testListMailbox()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testListSubscribedMailbox

public void testListSubscribedMailbox()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testCreateMailbox

public void testCreateMailbox()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testDuplicateMailboxes

public void testDuplicateMailboxes()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testRenameMailbox

public void testRenameMailbox()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testRenameMailboxDuplicate

public void testRenameMailboxDuplicate()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testDeleteMailbox

public void testDeleteMailbox()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testSubscribe

public void testSubscribe()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testUnsubscribe

public void testUnsubscribe()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testSetFlags

public void testSetFlags()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testSetFlag

public void testSetFlag()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testGetFlags

public void testGetFlags()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testRenameAccentedMailbox

public void testRenameAccentedMailbox()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testAttachmentExtraction

public void testAttachmentExtraction()
                              throws java.lang.Exception
Test attachment extraction with a TNEF message

Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.