Beispiel #1
0
 public void Initialize()
 {
     application = new AuctionSniperDriver();
     auction     = new FakeAuctionServer("54321");
     auction2    = new FakeAuctionServer("65432");
 }
Beispiel #2
0
 public virtual void ShowsSniperHasWonAuction(FakeAuctionServer auction, int lastPrice)
 {
     Window.ShowsSniperStatus(auction.ItemId, lastPrice, lastPrice, AuctionSniper.Common.Constants.STATUS_WON);
 }
Beispiel #3
0
 public virtual void HasShownSniperIsBidding(FakeAuctionServer auction, int lastPrice, int lastBid)
 {
     Window.ShowsSniperStatus(auction.ItemId, lastPrice, lastBid, AuctionSniper.Common.Constants.STATUS_BIDDING);
 }
Beispiel #4
0
 public virtual void HasShownSniperIsWinning(FakeAuctionServer auction, int winningBid)
 {
     Window.ShowsSniperStatus(auction.ItemId, winningBid, winningBid, AuctionSniper.Common.Constants.STATUS_WINNING);
 }
Beispiel #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");
 }
 public virtual void ShowsSniperHasWonAuction(FakeAuctionServer auction, int lastPrice)
 {
     Window.ShowsSniperStatus(auction.ItemId, lastPrice, lastPrice, AuctionSniper.Common.Constants.STATUS_WON);
 }
 public virtual void ShowsSniperHasLostAuction(FakeAuctionServer auction)
 {
     Window.ShowsSniperStatus(auction.ItemId, AuctionSniper.Common.Constants.STATUS_LOST);
 }
 public virtual void HasShownSniperIsWinning(FakeAuctionServer auction, int winningBid)
 {
     Window.ShowsSniperStatus(auction.ItemId, winningBid, winningBid, AuctionSniper.Common.Constants.STATUS_WINNING);
 }
 public virtual void HasShownSniperIsBidding(FakeAuctionServer auction, int lastPrice, int lastBid)
 {
     Window.ShowsSniperStatus(auction.ItemId, lastPrice, lastBid, AuctionSniper.Common.Constants.STATUS_BIDDING);
 }