public void StartBiddingIn(FakeAuctionServer auction)
 {
     _driver = new AuctionSniperDriver(new Main(), 1000);
     var main = new MainPresenter(_driver.Main);
     main.Main(SharedConstants.XMPP_HOSTNAME, SNIPER_XMPP_ID, SNIPER_PASSWORD, auction.ItemId);
     _driver.LaunchApplicationInItsOwnThread();
     _driver.ShowsSniperStatus(SharedConstants.STATUS_JOINING);
 }
Пример #2
0
 private void StartApplication()
 {
     _application = Application.Launch(
         new ProcessStartInfo("AuctionSniper.UI.Wpf.exe",
                              Arguments()));
     _application.WaitWhileBusy();
     _driver = new AuctionSniperDriver(_application);
     _driver.HasColumnTitles();
 }
        public void StartBiddingIn(FakeAuctionServer auction)
        {
            _driver = new AuctionSniperDriver(new Main(), 1000);
            var main = new MainPresenter(_driver.Main);

            main.Main(SharedConstants.XMPP_HOSTNAME, SNIPER_XMPP_ID, SNIPER_PASSWORD, auction.ItemId);
            _driver.LaunchApplicationInItsOwnThread();
            _driver.ShowsSniperStatus(SharedConstants.STATUS_JOINING);
        }