moves test databases to "target"
@@ -31,10 +31,6 @@ import org.junit.AfterClass;
public abstract class GraphNoTxAbstractTest {
protected static OrientGraphNoTx graph;
- public static enum ENV {
- DEV, RELEASE, CI
- }
-
public static ENV getEnvironment() {
String envName = System.getProperty("orientdb.test.env", "dev").toUpperCase();
ENV result = null;
@@ -58,7 +54,7 @@ public abstract class GraphNoTxAbstractTest {
public static void init(final String dbName) {
final String storageType = getStorageType();
- final String buildDirectory = System.getProperty("buildDirectory", ".");
+ final String buildDirectory = "./target/";
// OFileUtils.deleteRecursively(new File(buildDirectory + "/" + dbName));
@@ -76,4 +72,8 @@ public abstract class GraphNoTxAbstractTest {
graph = null;
}
}
+
+ public static enum ENV {
+ DEV, RELEASE, CI
+ }
}
