public void SetUpTestProcessStateChecker() { m_mockServerInfoMgr = new MockServerInfoMgr(); m_mockServerInfoMgr.Init(new List <ServerInfo>()); m_mockMonitoringLoggerMgr = new MockMonitoringLoggerMgr(); m_servableStateUpdater = new ServableStateUpdater(m_mockServerInfoMgr, m_mockMonitoringLoggerMgr); }
public void SetUpTestServerController() { m_mockServerInfoMgr = new MockServerInfoMgr(); m_mockServerInfoMgr.Init(new List <ServerInfo>()); m_mockServerInfoMgr.AddServerInfo(TEST_SERVER_TYPE, TEST_SERVER_NAME, TEST_SERVER_EXE_PATH, WORLD_ID, SERVER_ID); m_mockProcessSystem = new MockProcessSystem(); m_mockMonitoringLoggerMgr = new MockMonitoringLoggerMgr(); m_ServerController = new ServerController(m_mockServerInfoMgr, m_mockProcessSystem, m_mockMonitoringLoggerMgr); }
public void SetUpTestProcessStateChecker() { m_mockServerInfoMgr = new MockServerInfoMgr(); m_mockServerInfoMgr.Init(new List <ServerInfo>()); m_testProcessSystem = new TestProcessSystem(); m_mockMonitoringLoggerMgr = new MockMonitoringLoggerMgr(); m_processStateChecker = new ProcessStateChecker(m_mockServerInfoMgr, m_testProcessSystem, m_mockMonitoringLoggerMgr); m_mockServerInfoMgr.AddServerInfo(TEST_SERVER_TYPE, TEST_SERVER_NAME, TEST_SERVER_EXE_PATH, WORLD_ID, SERVER_ID); m_refServerInfo = m_mockServerInfoMgr.Find(TEST_SERVER_NAME); }