Exemplo n.º 1
0
 public void RestartServerWithUpdatedSettings(IDictionary <string, string> keyValuePair)
 {
     try
     {
         _installer.StopServer();
         _installer.UpdateSettings(keyValuePair);
         _installer.StartServer();
     }
     catch
     {
         try { Dispose(); } catch { /*Do nothing*/ }
         throw;
     }
 }
Exemplo n.º 2
0
        public static void GlobalAfterTestRun()
        {
            DisposeDriver();

            try
            {
                Installer.StopServer();
            }
            catch
            {
                // ignored
            }
            Installer.UninstallServer();
        }