Property | Type | Description | |
---|---|---|---|
addQuery | void | ||
addUpdateResponseNode | void | ||
getParamValue | string | ||
getRequestIdentifiers | void | ||
getResponse | string | ||
isFileWorthy | bool | ||
loadXml | void | ||
saveSource | void | ||
selectRpc | |||
updateQuery | void | ||
updateRequestRpc | void | ||
updateResponse | void | ||
verifyStoredRequest | void |
Method | Description | |
---|---|---|
MockXmlSource ( string siteId ) : System |
Constructs a MockXmlSource
|
|
MockXmlSource ( string siteId, bool updateRpc ) : System | ||
addRequest ( |
Adds the request/response to the document or saves the response to an external file
|
|
query ( |
Performs the mock query, retrieving the result from the preloaded XML document but throws an exception if the document does not contain the call
|
|
query2 ( |
Method | Description | |
---|---|---|
addQuery ( string rpcName, |
Adds a query to the mock connection file
|
|
addUpdateResponseNode ( |
Adds or updates an existing query node in the mock connection file
|
|
getParamValue ( |
Generate the value to store in the paramenter attribute if the param type is a list, a hashcode will be generated from that list
|
|
getRequestIdentifiers ( |
Load the parameters which identify the request
|
|
getResponse ( |
Get the response from the selected query node
|
|
isFileWorthy ( string response ) : bool |
Checks the response to see if it is multi line
|
|
loadXml ( string path ) : void | ||
saveSource ( ) : void | ||
selectRpc ( string xpath ) : |
Looks up the query with the xpath
|
|
updateQuery ( |
Updates a query in the mock connection file
|
|
updateRequestRpc ( |
||
updateResponse ( |
||
verifyStoredRequest ( |
Validates the saved request string matches the vq.buildMessage() string
|
public MockXmlSource ( string siteId ) : System | ||
siteId | string | |
return | System |
public MockXmlSource ( string siteId, bool updateRpc ) : System | ||
siteId | string | |
updateRpc | bool | |
return | System |
public addRequest ( |
||
mq | ||
response | string | the response for the request |
update | bool | |
return | void |
public query ( |
||
mq | ||
return | string |
public query2 ( |
||
mq | ||
return | void |