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

Method pins

basex-core/src/test/java/org/basex/core/PoolTest.java:91–93  ·  view source on GitHub ↗

Checks the number of database pins for the specified database. @param pin expected number of pins @param name name of database

(final int pin, final String name)

Source from the content-addressed store, hash-verified

89 * @param name name of database
90 */
91 private static void pins(final int pin, final String name) {
92 assertEquals(pin, server.context.datas.pins(name));
93 }
94
95 /**
96 * Assumes that this command is successful.

Callers 2

createAndDropMethod · 0.95
closeAndOpenMethod · 0.95

Calls 1

assertEqualsMethod · 0.80

Tested by

no test coverage detected