public abstract class IPSTest
extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
protected IServiceProvider |
adminZeroCore |
protected IServiceProvider |
core |
protected java.lang.String |
ipsHost |
protected int |
ipsPort |
protected java.lang.String |
latd |
protected java.lang.String |
pass |
protected StoreClient |
sc |
protected java.lang.String |
userUid |
Constructor and Description |
---|
IPSTest() |
Modifier and Type | Method and Description |
---|---|
protected int |
addOneEmail(java.util.Date delivery) |
protected int |
addOneEmail(java.util.Date delivery,
java.lang.String folder,
int size,
FlagsList fl) |
protected int |
addOneEmail(java.lang.String subject,
java.util.Date delivery,
java.lang.String folder,
int size,
FlagsList fl) |
protected java.lang.String |
confValue(java.lang.String key) |
protected java.io.InputStream |
data(java.lang.String name) |
protected void |
deleteMail(int uid) |
protected Folder |
folder(java.lang.String folder) |
protected org.apache.james.mime4j.dom.Message |
getRandomMessage(java.lang.String subject,
java.util.Date delivery,
int size) |
void |
setUp() |
protected StoreClient |
store() |
protected StoreClient |
store(ITagProducer tp) |
void |
tearDown() |
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
protected StoreClient sc
protected java.lang.String latd
protected java.lang.String pass
protected java.lang.String ipsHost
protected int ipsPort
protected IServiceProvider core
protected IServiceProvider adminZeroCore
protected java.lang.String userUid
protected Folder folder(java.lang.String folder) throws ServerFault
ServerFault
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected java.io.InputStream data(java.lang.String name)
protected java.lang.String confValue(java.lang.String key)
protected StoreClient store()
protected StoreClient store(ITagProducer tp)
protected int addOneEmail(java.util.Date delivery) throws org.apache.james.mime4j.MimeException, java.io.IOException, IMAPException
org.apache.james.mime4j.MimeException
java.io.IOException
IMAPException
protected int addOneEmail(java.util.Date delivery, java.lang.String folder, int size, FlagsList fl) throws org.apache.james.mime4j.MimeException, java.io.IOException, IMAPException
org.apache.james.mime4j.MimeException
java.io.IOException
IMAPException
protected int addOneEmail(java.lang.String subject, java.util.Date delivery, java.lang.String folder, int size, FlagsList fl) throws org.apache.james.mime4j.MimeException, java.io.IOException, IMAPException
org.apache.james.mime4j.MimeException
java.io.IOException
IMAPException
protected void deleteMail(int uid) throws IMAPException
IMAPException
protected org.apache.james.mime4j.dom.Message getRandomMessage(java.lang.String subject, java.util.Date delivery, int size) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public void tearDown()
tearDown
in class junit.framework.TestCase
Copyright © 2021. All Rights Reserved.