public IntegrationTestFixture()
 {
     try
     {
         _installer.DownloadNeo4j();
         _installer.InstallServer();
         _installer.StartServer();
     }
     catch
     {
         try { Dispose(); } catch { /*Do nothing*/ }
         throw;
     }
     Neo4jHome = _installer.Neo4jHome.FullName;
 }
示例#2
0
        public IntegrationTestFixture()
        {
            try
            {
                _installer.DownloadNeo4j();
                _installer.InstallServer();
                _installer.StartServer();
            }
            catch
            {
                try { Dispose(); } catch { /*Do nothing*/ }
                throw;
            }
            Neo4jHome = _installer.Neo4jHome.FullName;

            // work around for the default password problem
            ChangeUserPassword("neo4j", "TOUFU");
            ChangeUserPassword("TOUFU", "neo4j");
        }
 public static void GlobalBeforeTestRun()
 {
     Installer = new ExternalPythonInstaller();
     Installer.DownloadNeo4j();
     try
     {
         Installer.InstallServer();
         Installer.StartServer();
     }
     catch
     {
         try
         {
             GlobalAfterTestRun();
         }
         catch
         {
             /*Do Nothing*/
         }
         throw;
     }
     AuthToken = AuthTokens.Basic("neo4j", "neo4j");
     CreateNewDriver();
 }