Runs the specified query. @param query query string @return query result @throws QueryException query exception
(final String query)
| 105 | * @throws QueryException query exception |
| 106 | */ |
| 107 | protected static Value run(final String query) throws QueryException { |
| 108 | try(QueryProcessor qp = new QueryProcessor(query, context)) { |
| 109 | return qp.value(); |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | /** |
| 114 | * Compares the actual and the expected value. |