◆ Configure()
| void FiftyOne.Pipeline.JavaScript.Tests.JavaScriptBuilderElementTestsBase.Configure | ( | Mock< IFlowData > | flowData, |
| JObject | jsonData = null,
|
||
| string | hostName = "localhost",
|
||
| string | protocol = "https",
|
||
| string | userAgent = "iPhone",
|
||
| string | latitude = "51",
|
||
| string | longitude = "-1",
|
||
| string | jsObjName = null
|
||
| ) |
Configure the flow data to respond in the way we want for this test.
- Parameters
-
- flowData - The mock flow data instance to configure
- jsonData - The JSON data to embed in the flow data. This will be copied into the JavaScript that is produced.
- hostName - The host name to add to the evidence. The JavaScriptBuilder should use this to generate the callback URL.
- protocol - The protocol to add to the evidence. The JavaScriptBuilder should use this to generate the callback URL.
- userAgent - The User-Agent to add to the evidence.
- latitude - The latitude to add to the evidence.
- longitude - The longitude to add to the evidence.
