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

Method module2

basex-core/src/test/java/org/basex/query/ModuleTest.java:40–45  ·  view source on GitHub ↗

Tests the QueryContext#parseLibrary method. @throws Exception exception

()

Source from the content-addressed store, hash-verified

38 * @throws Exception exception
39 */
40 @Test public void module2() throws Exception {
41 final IOFile file = new IOFile("src/test/resources/recmod/a.xqm");
42 try(QueryContext qc = new QueryContext(context)) {
43 qc.parse(file.readString(), file.path());
44 }
45 }
46
47 /**
48 * Tests a repository import.

Callers

nothing calls this directly

Calls 3

parseMethod · 0.45
readStringMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected