use of com.yahoo.search.query.QueryTree in project vespa by vespa-engine.
the class VespaSearcherTestCase method assertMarshals.
private void assertMarshals(Item root) {
QueryTree r = new QueryTree(root);
String marshalledQuery = searcher.marshalQuery(r);
assertEquals("Marshalled form '" + marshalledQuery + "' recreates the original", r, parseQuery(marshalledQuery, ""));
}
Aggregations