Class GameServerSideTestAccess


public class GameServerSideTestAccess extends GameServerSide
  • Field Details

  • Constructor Details

    • GameServerSideTestAccess

      public GameServerSideTestAccess(WhatNextManager whatNextMgr, Options serverOptions, Variant variant)
      The normal constructor to be used everywhere
      Parameters:
      whatNextMgr - A WhatNextManager object which manages the main control flow which thing to do 'next' when this game is over.
      serverOptions - The server side options, initialized from the GetPlayers dialog and/or command line options.
      variant - Variant of this game
  • Method Details

    • storeLocalClient

      protected void storeLocalClient(String playerName, Client c)
      Overrides:
      storeLocalClient in class GameServerSide
    • showLocalClients

      public void showLocalClients()
    • getClientForName

      public Client getClientForName(String name)
    • getLastGame

      public static GameServerSideTestAccess getLastGame()
    • clearLastGame

      public static void clearLastGame()
    • notifyTestCaseGameIsUpNow

      protected void notifyTestCaseGameIsUpNow()
      Overrides:
      notifyTestCaseGameIsUpNow in class GameServerSide
    • staticWaitThatGameComesUp

      public static GameServerSideTestAccess staticWaitThatGameComesUp()
    • waitThatGameComesUp

      public void waitThatGameComesUp()
    • waitThatGameIsCompleted

      public void waitThatGameIsCompleted()