public class getHeader_Test extends MailTest
Get all the headers for this header_name.
api2test: public String[] getHeader(String name)
how2test: Call this API with various input header names. Verity that it returns
list/array of headers. Write out this list to stdio. If this operation
is successfull then this testcase passes, otherwise it fails.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
bcc |
static java.lang.String |
cc |
static java.lang.String |
content_encode |
static java.lang.String |
content_md5 |
static java.lang.String |
contentlength |
static java.lang.String |
contentype |
static java.lang.String |
date |
static java.lang.String |
from |
static java.lang.String |
mime_version |
static java.lang.String |
msgid |
static java.lang.String |
reference |
static java.lang.String |
replyto |
static java.lang.String |
returnpath |
static java.lang.String |
subject |
static java.lang.String |
to |
static java.lang.String |
xmailer |
auth, debug, errors, host, iofile, log, mailbox, msgcount, newName, out, password, pattern, portnum, portvalue, properties, protocol, proxy, rootpath, session, status, testbox, testname, tportnum, tportvalue, transport_host, transport_protocol, user, workdir
Constructor and Description |
---|
getHeader_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 java.lang.String msgid
public static java.lang.String date
public static java.lang.String to
public static java.lang.String cc
public static java.lang.String bcc
public static java.lang.String from
public static java.lang.String replyto
public static java.lang.String returnpath
public static java.lang.String subject
public static java.lang.String xmailer
public static java.lang.String reference
public static java.lang.String mime_version
public static java.lang.String contentype
public static java.lang.String content_encode
public static java.lang.String contentlength
public static java.lang.String content_md5
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