public IntegrationTestFixture()
 {
     try
     {
         _installer.DownloadNeo4j();
         _installer.InstallServer();
         _installer.StartServer();
     }
     catch
     {
         try { Dispose(); } catch { /*Do nothing*/ }
         throw;
     }
     Neo4jHome = _installer.Neo4jHome.FullName;
 }
Exemplo n.º 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");
        }
Exemplo n.º 3
0
 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();
 }