\r\n

51Degrees Pipeline .NET  4.4Newer Version 4.5

51Degrees Pipeline for .NET

FiftyOne.Pipeline.JavaScript.Tests.JavaScriptBuilderElementTestsBase Class Reference

Inheritance diagram for FiftyOne.Pipeline.JavaScript.Tests.JavaScriptBuilderElementTestsBase:

[legend]

Public Member Functions

virtual async Task  Init ()
void  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. More...
virtual Task  Cleanup ()

Static Public Member Functions

static async Task  ClassInit (TestContext context)
static async Task  ClassCleanup ()

Static Public Attributes

static INetwork  Interceptor => Driver?.Manage().Network

Properties

string  ClientServerUrl [get]
static ChromeDriver  Driver [get] ILoggerFactory  LoggerFactory [get] static Action< NetworkRequestSentEventArgs >  OnRequestSent = null [get, set]

Member Function Documentation

◆ 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.
On This Page