Exemplo n.º 1
0
        public void BeforeTest(ITest test)
        {
            TestContext.WriteLine("Setting up server and initial webdriver");

            ServerInstance = new ReturnAppFactory();
            ServerInstance.InitializeBaseData();
        }
Exemplo n.º 2
0
        public TemporarySettingsScope(ReturnAppFactory app)
        {
            this._app = app;

            var config =
                new MapperConfiguration(configure: cfg => { cfg.CreateMap <T, T>(); });

            this._mapper = config.CreateMapper();
        }
Exemplo n.º 3
0
 internal WebDriverContainer(IWebDriver webDriver, ReturnAppFactory owner)
 {
     this._webDriver = webDriver;
     this._owner     = owner;
 }