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

Method test

basex-core/src/test/java/org/basex/core/LangTest.java:21–30  ·  view source on GitHub ↗

Tests files.

()

Source from the content-addressed store, hash-verified

19 * Tests files.
20 */
21 @Test public void test() {
22 try {
23 final ArrayOutput ao = new ArrayOutput();
24 System.setErr(new PrintStream(ao));
25 Lang.check();
26 if(ao.size() != 0) fail(ao.toString());
27 } finally {
28 System.setErr(ERR);
29 }
30 }
31}

Callers

nothing calls this directly

Calls 3

checkMethod · 0.95
toStringMethod · 0.95
sizeMethod · 0.65

Tested by

no test coverage detected