Class MockXmlHttpRequest
Object
|
+--MockXmlHttpRequest
- class
MockXmlHttpRequest
A MockXmlHttpRequest implements the XmlHttpRequest API. It is intended for use when testing code that deals with AJAX.
Defined in jsUnitAjax.js
Method Summary |
void
|
open(method, url, isAsync, userName, password)
Implements open by storing all the arguments
|
void
|
send(data)
Implements send by noting that send was called and storing the data given
|
void
|
setRequestHeader(label, value)
Implements setRequestHeader by storing each header and its value in a hash
|
requestHeaderNamesToValues
Object requestHeaderNamesToValues
stores the headers set on the request
MockXmlHttpRequest
MockXmlHttpRequest()
open
void open(method, url, isAsync, userName, password)
Implements open by storing all the arguments
send
void send(data)
Implements send by noting that send was called and storing the data given
setRequestHeader
void setRequestHeader(label, value)
Implements setRequestHeader by storing each header and its value in a hash
www.jsunit.net
Documentation generated by
JSDoc on Sun Sep 9 15:34:58 2007