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

Method test

basex-core/src/main/java/org/basex/query/expr/Logical.java:58–66  ·  view source on GitHub ↗
(final QueryContext qc, final InputInfo ii, final long pos)

Source from the content-addressed store, hash-verified

56 }
57
58 @Override
59 public final boolean test(final QueryContext qc, final InputInfo ii, final long pos)
60 throws QueryException {
61 final boolean or = or();
62 for(final Expr expr : exprs) {
63 if(expr.test(qc, info, 0) == or) return or;
64 }
65 return !or;
66 }
67
68 @Override
69 public final boolean indexAccessible(final IndexInfo ii) throws QueryException {

Callers 1

itemMethod · 0.95

Calls 2

orMethod · 0.95
testMethod · 0.65

Tested by

no test coverage detected