コード例 #1
0
 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();
 }
コード例 #2
0
 public static void GlobalBeforeTestRun()
 {
     Installer = new WindowsNeo4jInstaller();
     Installer.DownloadNeo4j();
     try
     {
         Installer.InstallServer();
         Installer.StartServer();
     }
     catch
     {
         try
         {
             GlobalAfterTestRun();
         }
         catch
         {
             /*Do Nothing*/
         }
         throw;
     }
     CreateNewDriver();
 }