private TransactionalGraphEngine dbEngine;
private SchemaVersion version;
private DynamicJAXBContext context = nodeIngestor.getContextForVersion(version);
-
+
/**
* Parent query.
*
*/
@Test
public void parentQuery() throws UnsupportedEncodingException, AAIException {
- version = new SchemaVersion("v8");
+ version = new SchemaVersion("v10");
dbEngine = new JanusGraphDBEngine(QueryStyle.GREMLIN_UNIQUE,
loaderFactory.createLoaderForVersion(ModelType.MOXY, version),
false);
String parentResultType = "";
String resultType = "complex";
String containerType = "";
-
+
testSet(query, expected, expected, parentResultType, resultType, containerType);
-
+
}
-
+
/**
* Parent plural query.
*
String parentResultType = "";
String resultType = "complex";
String containerType = "complexes";
-
+
testSet(query, expected, expected, parentResultType, resultType, containerType);
-
+
}
/**
String parentResultType = "complex";
String resultType = "ctag-pool";
String containerType = "";
-
+
testSet(query, expected, parentExpected, parentResultType, resultType, containerType);
-
+
}
-
+
/**
* Naming exceptions.
*
String parentResultType = "port-group";
String resultType = "cvlan-tag";
String containerType = "";
-
+
testSet(query, expected, parentExpected, parentResultType, resultType, containerType);
-
+
}
-
+
/**
* Gets the all.
*
String parentResultType = "port-group";
String resultType = "cvlan-tag";
String containerType = "cvlan-tags";
-
+
testSet(query, expected, parentExpected, parentResultType, resultType, containerType);
-
+
}
-
+
/**
* Test set.
*