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

Method createAndDrop

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

Create and Drop Tests.

()

Source from the content-addressed store, hash-verified

50
51 /** Create and Drop Tests. */
52 @Test public void createAndDrop() {
53 ok(new CreateDB(NAME, FILE), session1);
54 pins(1, NAME);
55 ok(new CreateDB(NAME, FILE), session1);
56 pins(1, NAME);
57 no(new CreateDB(NAME, FILE), session2);
58 pins(1, NAME);
59 no(new CreateDB(NAME, FILE), session2);
60 pins(1, NAME);
61 no(new DropDB(NAME), session2);
62 pins(1, NAME);
63 ok(new DropDB(NAME), session1);
64 pins(0, NAME);
65 }
66
67 /** Close and Open Tests. */
68 @Test public void closeAndOpen() {

Callers

nothing calls this directly

Calls 3

okMethod · 0.95
pinsMethod · 0.95
noMethod · 0.95

Tested by

no test coverage detected