public class delete_Test extends MailTest
Delete this Folder.
api2test: public boolean delete(boolean recurse)
how2test: Call this API. Check the value of boolean object returned, if its TRUE then test passes otherwise it fails.
a) This method will succeed only on a closed Folder.
The recurse flag controls whether the deletion affects subfolders or not.
b) if true, all subfolders are deleted, then this folder itself is deleted.
c) if false, the behaviour is dependent on the folder type. See javdoc info.
status: returns a JCK status object.
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 |
---|
delete_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