Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AgentWrapper"/> class.
 /// </summary>
 /// <param name="agentHost">The agent host.</param>
 /// <param name="testRunner">The test runner.</param>
 /// <param name="updateReceiver">The update receiver.</param>
 /// <param name="versionProvider">The version provider.</param>
 public AgentWrapper(AgentHost agentHost, Common.Agent.Agent testRunner, TestUpdateReceiver updateReceiver, TestingVersionProvider versionProvider)
 {
     this.versionProvider = versionProvider;
     AgentHost = agentHost;
     UpdateReceiver = updateReceiver;
     TestRunner = agentHost != null ? agentHost.TestRunner : testRunner;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ClientWrapper"/> class.
 /// </summary>
 /// <param name="testRunnner">The test runnner.</param>
 /// <param name="updateReceiver">The update receiver.</param>
 public ClientWrapper(Client testRunnner, TestUpdateReceiver updateReceiver)
 {
     TestRunner = testRunnner;
     UpdateReceiver = updateReceiver;
 }