protected EyesBase(IServerConnectorFactory serverConnectorFactory, ClassicRunner runner, Logger logger) { Init_(runner, logger); ServerConnectorFactory = serverConnectorFactory; if (runner_.ServerConnector != null) { ServerConnector = runner_.ServerConnector; } else { ServerConnector = ServerConnectorFactory.CreateNewServerConnector(Logger); runner_.ServerConnector = ServerConnector; } }
private void Init_(ClassicRunner runner, Logger logger) { runner_ = runner ?? new ClassicRunner(); Logger = logger ?? new Logger(); runner_.SetEyes(this); //EnsureConfiguration_(); UpdateActualAssembly_(); runningSession_ = null; UserInputs = new List <Trigger>(); properties_ = new PropertiesCollection(); setScaleProvider_ = provider => { scaleProvider_ = provider; }; scaleProvider_ = NullScaleProvider.Instance; cutProvider_ = NullCutProvider.Instance; }
public EyesBase(ClassicRunner runner) : this(runner.ServerConnectorFactory, runner, runner.Logger) { }
protected RunningTest(ClassicRunner runner, IServerConnectorFactory serverConnectorFactory, Logger logger = null) : base(serverConnectorFactory, runner, logger) { }
protected RunningTest(ClassicRunner runner) : base(runner) { BrowserInfo = null; }