public class appendMessages_Test extends MailTest
Append given Messages to this folder.
api2test: public void appendMessages(Message msgs[])
how2test: Test this API by appending an entire mailbox to another testfolder.
Test this method on open/closed folder. Check that the expected
number of messages got appended, if so then the test passes,
otherwise it fails.
Note: Folder implementations must not abort this operation if a Message
in the given message array turns out to be an expunged Message.
auth, debug, errors, from, host, iofile, log, mailbox, msgcount, newName, out, password, pattern, portnum, portvalue, properties, protocol, proxy, rootpath, session, status, subject, testbox, testname, to, tportnum, tportvalue, transport_host, transport_protocol, user, workdir
Constructor and Description |
---|
appendMessages_Test() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] argv) |
com.sun.javatest.Status |
run(java.lang.String[] argv,
java.io.PrintWriter log,
java.io.PrintWriter out)
Default run() method ; sets i/o streams.
|
checkMem, checkStatus, connect2host, createInputStream, createSession, ExceptionTest, getRootFolder, handlException, parseArgs, run
public static void main(java.lang.String[] argv)
public com.sun.javatest.Status run(java.lang.String[] argv, java.io.PrintWriter log, java.io.PrintWriter out)
MailTest