MCPcopy Create free account
hub / github.com/BaseXdb/basex / asString

Method asString

basex-tests/src/main/java/org/basex/tests/w3c/QT3TS.java:921–923  ·  view source on GitHub ↗

Returns the string representation of a query result. @param query query string @param value optional context value @return optional expected test suite result

(final String query, final XdmValue value)

Source from the content-addressed store, hash-verified

919 * @return optional expected test suite result
920 */
921 String asString(final String query, final XdmValue value) {
922 return XQuery.string(query, value, ctx);
923 }
924
925 /**
926 * Returns the boolean representation of a query result.

Callers 7

runMethod · 0.95
testSetMethod · 0.95
testCaseMethod · 0.95
assertErrorMethod · 0.95
assertXMLMethod · 0.95
serializationMatchesMethod · 0.95

Calls 1

stringMethod · 0.95

Tested by

no test coverage detected