public static void Setup(TestContext context)
        {
            // orientDbDir needs to point to the path of an OrientDB installation (pointing to the folder that contains the bin, lib, config sub folders)
            var orientDBDir = Path.GetFullPath(Path.Combine(Environment.CurrentDirectory, @"..\..\..\..\..\..\orient.server"));
            // jreDir needs to point to a JRE (or JDK)
            var jreDir = @"C:\Program Files\Java\jre7";

            DbRunner.StartOrientDb(orientDBDir, jreDir);
        }
Exemple #2
0
        public static void Setup()
        {
            // orientDbDir needs to point to the path of an OrientDB installation (pointing to the folder that contains the bin, lib, config sub folders)
            var orientDBDir = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, _orientServerDirectory));
            //var orientDBDir = @"C:/lang/orientdb-enterprise-2.0.3";
            // jreDir needs to point to a JRE (or JDK)
            var jreDir = @"C:\Program Files\Java\jre7";

            DbRunner.StartOrientDb(orientDBDir, jreDir);
        }
Exemple #3
0
 public static void TearDown()
 {
     DbRunner.StopOrientDb(_orientServerDirectory);
 }
 public static void TearDown()
 {
     DbRunner.StopOrientDb();
 }