Пример #1
0
 public void Initialize()
 {
     application = new AuctionSniperDriver();
     auction     = new FakeAuctionServer("54321");
     auction2    = new FakeAuctionServer("65432");
 }
Пример #2
0
 public virtual void ShowsSniperHasWonAuction(FakeAuctionServer auction, int lastPrice)
 {
     Window.ShowsSniperStatus(auction.ItemId, lastPrice, lastPrice, AuctionSniper.Common.Constants.STATUS_WON);
 }
Пример #3
0
 public virtual void HasShownSniperIsBidding(FakeAuctionServer auction, int lastPrice, int lastBid)
 {
     Window.ShowsSniperStatus(auction.ItemId, lastPrice, lastBid, AuctionSniper.Common.Constants.STATUS_BIDDING);
 }
Пример #4
0
 public virtual void HasShownSniperIsWinning(FakeAuctionServer auction, int winningBid)
 {
     Window.ShowsSniperStatus(auction.ItemId, winningBid, winningBid, AuctionSniper.Common.Constants.STATUS_WINNING);
 }
Пример #5
0
 public virtual void ShowsSniperHasLostAuction(FakeAuctionServer auction)
 {
     Window.ShowsSniperStatus(auction.ItemId, AuctionSniper.Common.Constants.STATUS_LOST);
 }
 public void Initialize()
 {
     application = new AuctionSniperDriver();
     auction = new FakeAuctionServer("54321");
     auction2 = new FakeAuctionServer("65432");
 }
Пример #7
0
 public virtual void ShowsSniperHasWonAuction(FakeAuctionServer auction, int lastPrice)
 {
     Window.ShowsSniperStatus(auction.ItemId, lastPrice, lastPrice, AuctionSniper.Common.Constants.STATUS_WON);
 }
Пример #8
0
 public virtual void ShowsSniperHasLostAuction(FakeAuctionServer auction)
 {
     Window.ShowsSniperStatus(auction.ItemId, AuctionSniper.Common.Constants.STATUS_LOST);
 }
Пример #9
0
 public virtual void HasShownSniperIsWinning(FakeAuctionServer auction, int winningBid)
 {
     Window.ShowsSniperStatus(auction.ItemId, winningBid, winningBid, AuctionSniper.Common.Constants.STATUS_WINNING);
 }
Пример #10
0
 public virtual void HasShownSniperIsBidding(FakeAuctionServer auction, int lastPrice, int lastBid)
 {
     Window.ShowsSniperStatus(auction.ItemId, lastPrice, lastBid, AuctionSniper.Common.Constants.STATUS_BIDDING);
 }