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

Method user

basex-core/src/test/java/org/basex/BaseXClientTest.java:51–56  ·  view source on GitHub ↗

Test client with different user. @throws IOException I/O exception

()

Source from the content-addressed store, hash-verified

49 * @throws IOException I/O exception
50 */
51 @Test public void user() throws IOException {
52 run("-cEXIT", "-cDROP USER " + NAME);
53 equals("5" + Prop.NL, new String[] { "-U" + NAME, "-P" + NAME, "-q5" },
54 new String[] { "-cCREATE USER " + NAME + ' ' + NAME });
55 run("-cEXIT", "-cDROP USER " + NAME);
56 }
57
58 /**
59 * Runs a request and compares the result with the expected result.

Callers

nothing calls this directly

Calls 2

runMethod · 0.95
equalsMethod · 0.95

Tested by

no test coverage detected