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

Method init

basex-api/src/test/java/org/basex/http/auth/AuthTest.java:33–38  ·  view source on GitHub ↗

Initializes the test. @param meth method @throws Exception exception

(final String meth)

Source from the content-addressed store, hash-verified

31 * @throws Exception exception
32 */
33 protected static void init(final String meth) throws Exception {
34 Prop.put(StaticOptions.AUTHMETHOD, meth);
35 method = meth;
36 init(REST_ROOT, true, true);
37 ctx = new Context();
38 }
39
40 /**
41 * Stops the test.

Callers 10

startMethod · 0.45
startMethod · 0.45
startMethod · 0.45
registerMethod · 0.45
startMethod · 0.45
startMethod · 0.45
startMethod · 0.45
startMethod · 0.45
startMethod · 0.45
registerMethod · 0.45

Calls 1

putMethod · 0.95

Tested by

no test coverage detected