public static void GlobalBeforeTestRun() { Installer = new WindowsNeo4jInstaller(); Installer.DownloadNeo4j(); try { Installer.InstallServer(); Installer.StartServer(); } catch { try { GlobalAfterTestRun(); } catch { /*Do Nothing*/ } throw; } ChangeUserPassword("neo4j", "TOUFU"); ChangeUserPassword("TOUFU", "neo4j"); CreateNewDriver(); }
public static void GlobalBeforeTestRun() { Installer = new WindowsNeo4jInstaller(); Installer.DownloadNeo4j(); try { Installer.InstallServer(); Installer.StartServer(); } catch { try { GlobalAfterTestRun(); } catch { /*Do Nothing*/ } throw; } CreateNewDriver(); }