| |
|
| org.apache.james.core.MimeMessageTest org.apache.james.core.MimeMessageFromStreamTest org.apache.james.core.MimeMessageWrapperTest
mw | TestableMimeMessageWrapper mw(Code) | | |
testAddHeaderAndSave | public void testAddHeaderAndSave()(Code) | | |
testAddReturnPathOnBadMessage | public void testAddReturnPathOnBadMessage() throws Exception(Code) | | |
testDeferredHeaderLoading | public void testDeferredHeaderLoading() throws MessagingException, IOException(Code) | | this is commented out due optimisation reverts (JAMES-559)
public void testDeferredMessageLoadingWhileWriting() throws MessagingException, IOException {
mw.setMessageLoadable(false);
assertEquals("foo",mw.getSubject());
assertFalse(mw.isModified());
mw.setSubject("newSubject");
assertEquals("newSubject",mw.getSubject());
assertFalse(mw.messageParsed());
assertTrue(mw.isModified());
mw.setMessageLoadable(true);
}
|
testDeferredMessageLoading | public void testDeferredMessageLoading() throws MessagingException, IOException(Code) | | |
testGetSubjectFolding | public void testGetSubjectFolding()(Code) | | |
testMessageCloned | public void testMessageCloned() throws MessagingException, IOException, InterruptedException(Code) | | See JAMES-474
MimeMessageWrapper(MimeMessage) should clone the original message.
|
testReplaceReturnPathOnBadMessage | public void testReplaceReturnPathOnBadMessage() throws Exception(Code) | | |
|
|
|