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

Method doc

basex-core/src/test/java/org/basex/core/CatalogTest.java:103–109  ·  view source on GitHub ↗

Test method.

()

Source from the content-addressed store, hash-verified

101
102 /** Test method.*/
103 @Test public void doc() {
104 final Function func = DOC;
105
106 set(MainOptions.CATALOG, CATALOG);
107 query(func.args("http://doc.xml", " { 'dtd': true() }"), "<doc>X</doc>");
108 query(func.args("http://doc.xml", " { 'dtd': false() }"), "<doc/>");
109 }
110
111 /** Test method.*/
112 @Test public void parseXml() {

Callers

nothing calls this directly

Calls 3

setMethod · 0.65
argsMethod · 0.65
queryMethod · 0.45

Tested by

no test coverage detected