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